Back to Models
Gemini 2.5 Flash
googlegoogle/gemini-2.5-flash
Best for balancing reasoning and speed. Gemini 2.5 Flash offers thinking capabilities with strong performance across coding, math, and reasoning tasks at an efficient price point.
Context Length
1.0M
Max Output
66K
Input Price
$0.360/ 1M tokens
Output Price
$3.00/ 1M tokens
Modalities
textimagepdf→text
Pricing Breakdown
| Type | Rate |
|---|---|
| Input | $0.360 / 1M tokens |
| Output | $3.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-flash",
"messages": [
{"role": "user", "content": "Summarize the key points from this input."}
]
}'