Back to Models

Gemini 2.5 Pro

googlegoogle/gemini-2.5-pro

API guide

Chat completion

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-2.5-pro",
    "messages": [{"role": "user", "content": "Explain the proof of Fermat's Last Theorem."}]
  }'

Function calling

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-2.5-pro",
    "messages": [{"role": "user", "content": "What is the weather in Tokyo?"}],
    "tools": [{
      "type": "function",
      "function": {
        "name": "get_weather",
        "description": "Get current weather for a city",
        "parameters": {
          "type": "object",
          "properties": {
            "city": {"type": "string"}
          },
          "required": ["city"]
        }
      }
    }],
    "tool_choice": "auto"
  }'
Fact ledger β€” every claim on this page traces here
sourceURLretrieved
GA release datedocs.cloud.google.com β†—2026-06-09verified
Knowledge cutoffdocs.cloud.google.com β†—2026-06-09verified
Licenseβ€”β€”verified
Thinking / reasoningβ€”β€”verified
Discontinuation commitmentdocs.cloud.google.com β†—2026-06-09verified
Fine-tuning supportβ€”β€”verified
SWE-bench Verifiedstorage.googleapis.com β†—2026-06-09verified
GPQA Diamondwww.helicone.ai β†—2026-06-09verified
AIME 2025www.helicone.ai β†—2026-06-09verified
AIME 2024www.helicone.ai β†—2026-06-09verified
MMLUtokenmix.ai β†—2026-06-09to verify
Gemini 2.5 Pro reaches GA with minimum support until October 2026docs.cloud.google.com β†—2026-06-09verified
Gemini 2.5 Pro Experimental debuts at #1 on LMArenablog.google β†—2026-06-09verified
How does Gemini 2.5 Pro's thinking mode affect cost and latency?ai.google.dev β†—2026-06-09to verify
What is the long-context pricing threshold for Gemini 2.5 Pro?docs.cloud.google.com β†—2026-06-09to verify
Is Gemini 2.5 Pro suitable for fine-tuning?docs.cloud.google.com β†—2026-06-09to verify
Help & contact