Google: Gemini 3.1 Pro Preview Custom Tools

google/gemini-3.1-pro-preview-customtools — available through the Autonomous Relay Agents API, served by Google.

Google: Gemini 3.1 Pro Preview Custom Tools has a 1,048,576-token context window and costs $2.00 per million input tokens and $12.00 per million output tokens, at the provider's list price on your own key.

Context length
1,048,576 tokens
Input
$2.00 per M
Output
$12.00 per M
Served by
google
Input modalities
text, audio, image, video, file

This is a BYOK-only model: requests use your own provider key. Prices shown are the provider's list prices.

Call it

Any OpenAI-compatible client works: change the base URL and send this model id.

curl https://autonomousrelay.com/v1/chat/completions \
  -H "Authorization: Bearer $AUTONOMOUS_RELAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "google/gemini-3.1-pro-preview-customtools", "messages": [{"role": "user", "content": "Hello"}]}'

Compare

In collections