返回模型列表
Gemini 2.5 Pro
googlegoogle/gemini-2.5-pro
API 使用指南
Chat 调用
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."}]
}'函数调用
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"
}'事实档案 — 本页每条断言可在此回溯来源
| 来源 | URL | 采集于 | |
|---|---|---|---|
| GA 发布日期 | docs.cloud.google.com ↗ | 2026-06-09 | 已核实 |
| 知识截止日期 | docs.cloud.google.com ↗ | 2026-06-09 | 已核实 |
| 许可 | — | — | 已核实 |
| Thinking / 推理 | — | — | 已核实 |
| 下线承诺 | docs.cloud.google.com ↗ | 2026-06-09 | 已核实 |
| 微调支持 | — | — | 已核实 |
| SWE-bench Verified | storage.googleapis.com ↗ | 2026-06-09 | 已核实 |
| GPQA Diamond | www.helicone.ai ↗ | 2026-06-09 | 已核实 |
| AIME 2025 | www.helicone.ai ↗ | 2026-06-09 | 已核实 |
| AIME 2024 | www.helicone.ai ↗ | 2026-06-09 | 已核实 |
| MMLU | tokenmix.ai ↗ | 2026-06-09 | 待核实 |
| Gemini 2.5 Pro 正式 GA,最低支持至 2026 年 10 月 | docs.cloud.google.com ↗ | 2026-06-09 | 已核实 |
| Gemini 2.5 Pro 实验版首发即登顶 LMArena | blog.google ↗ | 2026-06-09 | 已核实 |
| Gemini 2.5 Pro 的 thinking 模式如何影响成本和延迟? | ai.google.dev ↗ | 2026-06-09 | 待核实 |
| Gemini 2.5 Pro 的长上下文定价阈值是多少? | docs.cloud.google.com ↗ | 2026-06-09 | 待核实 |
| Gemini 2.5 Pro 是否支持微调? | docs.cloud.google.com ↗ | 2026-06-09 | 待核实 |