返回模型列表

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 Verifiedstorage.googleapis.com ↗2026-06-09已核实
GPQA Diamondwww.helicone.ai ↗2026-06-09已核实
AIME 2025www.helicone.ai ↗2026-06-09已核实
AIME 2024www.helicone.ai ↗2026-06-09已核实
MMLUtokenmix.ai ↗2026-06-09待核实
Gemini 2.5 Pro 正式 GA,最低支持至 2026 年 10 月docs.cloud.google.com ↗2026-06-09已核实
Gemini 2.5 Pro 实验版首发即登顶 LMArenablog.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待核实
帮助与联系