Back to Models

Gemini 2.5 Pro

googlegoogle/gemini-2.5-pro

Strongest Gemini model quality, especially for code and complex prompts. Features advanced reasoning with thinking capabilities and excels at multi-step problem solving, code generation, and mathematical reasoning.

Context Length
1.0M
Max Output
66K
Input Price
$1.50/ 1M tokens
Output Price
$12.00/ 1M tokens

Modalities

textimagepdftext

Pricing Breakdown

TypeRate
Input$1.50 / 1M tokens
Output$12.00 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatstop

API Usage Examples

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "google/gemini-2.5-pro",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'