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
| source | URL | retrieved | |
|---|---|---|---|
| GA release date | docs.cloud.google.com β | 2026-06-09 | verified |
| Knowledge cutoff | docs.cloud.google.com β | 2026-06-09 | verified |
| License | β | β | verified |
| Thinking / reasoning | β | β | verified |
| Discontinuation commitment | docs.cloud.google.com β | 2026-06-09 | verified |
| Fine-tuning support | β | β | verified |
| SWE-bench Verified | storage.googleapis.com β | 2026-06-09 | verified |
| GPQA Diamond | www.helicone.ai β | 2026-06-09 | verified |
| AIME 2025 | www.helicone.ai β | 2026-06-09 | verified |
| AIME 2024 | www.helicone.ai β | 2026-06-09 | verified |
| MMLU | tokenmix.ai β | 2026-06-09 | to verify |
| Gemini 2.5 Pro reaches GA with minimum support until October 2026 | docs.cloud.google.com β | 2026-06-09 | verified |
| Gemini 2.5 Pro Experimental debuts at #1 on LMArena | blog.google β | 2026-06-09 | verified |
| How does Gemini 2.5 Pro's thinking mode affect cost and latency? | ai.google.dev β | 2026-06-09 | to verify |
| What is the long-context pricing threshold for Gemini 2.5 Pro? | docs.cloud.google.com β | 2026-06-09 | to verify |
| Is Gemini 2.5 Pro suitable for fine-tuning? | docs.cloud.google.com β | 2026-06-09 | to verify |