Google: Gemini 3.1 Pro Preview Custom Tools

google/gemini-3.1-pro-preview-customtools

Gemini 3.1 Pro Preview Custom Tools is a variant of Gemini 3.1 Pro that improves tool selection behavior by preventing overuse of a general bash tool when more efficient third-party...

Context window
1,048,576 tokens
Input
text · audio · image · video · file
Output
text
Relay support
Text & vision

Reference prices & points

Our global markup: 15% · 1 USD = 10,000 points · Price version 0

Billing unitOpenRouter / USDOur reference / USDPoints
Input / 1M tokens$2$2.323,000
Output / 1M tokens$12$13.8138,000
Per image$0.000002$0.00000230.023
Audio / 1M tokens$2$2.323,000
Audio cache / 1M tokens$0.2$0.232,300
Per search$0.014$0.0161161
Reasoning / 1M tokens$12$13.8138,000
Cache read / 1M tokens$0.2$0.232,300
Cache write / 1M tokens$0.375$0.431254,312.5

Actual charge = the OpenRouter request cost × the markup locked for that request. Catalogue rates may be routing references; caching, long context, images and audio are charged when used. Listed prices do not mean every capability is available through this relay.

Catalogue time: 2026-11-11T23:20:32.714Z · Live catalogue

View upstream pricing tiers

These are raw upstream pricing conditions without our markup. The final charge is multiplied by the site rate.

[
  {
    "min_prompt_tokens": 200000,
    "prompt": "0.000004",
    "completion": "0.000018",
    "audio": "0.000004",
    "input_audio_cache": "0.0000004",
    "input_cache_read": "0.0000004"
  }
]
View all upstream price fields
{
  "prompt": "0.000002",
  "completion": "0.000012",
  "image": "0.000002",
  "audio": "0.000002",
  "input_audio_cache": "0.0000002",
  "web_search": "0.014",
  "internal_reasoning": "0.000012",
  "input_cache_read": "0.0000002",
  "input_cache_write": "0.000000375",
  "overrides": [
    {
      "min_prompt_tokens": 200000,
      "prompt": "0.000004",
      "completion": "0.000018",
      "audio": "0.000004",
      "input_audio_cache": "0.0000004",
      "input_cache_read": "0.0000004"
    }
  ]
}

Integration & availability

Use /v1/chat/completions for non-streaming, multi-turn conversations. Models marked for vision accept images; documents can be extracted to text in the workspace. Create a site API key and ensure you have enough points and the service is enabled. Provider availability, context and budget limits apply.

Read the API guide → · Back to model directory