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.

Gemini 2.5 Flash is Google's generally available 2.5-series workhorse model, stabilized on June 17, 2025 after the 05-20 preview shown at Google I/O. It is built for price-performance: a 1,048,576-token input window, 65,536-token output limit, multimodal input (text, images, video, and audio on the native Gemini API), text output, tool use, structured outputs, code execution, URL context, search grounding, and controllable thinking budgets.

For TheRouter, Gemini 2.5 Flash is the default Google choice when a team needs long-context reasoning and agentic utility without paying Pro-tier prices. It is stronger and more controllable than Gemini 2.0 Flash, less expensive than Gemini 2.5 Pro, and more capable than Flash-Lite for coding, multi-step analysis, retrieval-heavy support, and high-volume document workflows. If raw frontier coding accuracy matters more than cost, route to Gemini 3 Flash/Pro or GPT-5.5-class models instead.

Best for
  • β€’ High-volume coding assistants, support agents, and internal copilots that need tool calling, structured output, and a 1M-token window at an efficient token price
  • β€’ Long document and repository analysis where 2.0-era Flash models lose reasoning quality but Pro-tier models are too expensive
  • β€’ Retrieval-heavy workflows that benefit from Google Search grounding, URL context, caching, batch, and priority/flex inference options
  • β€’ Latency-sensitive reasoning tasks where thinking can be budgeted instead of always paying for maximum deliberation
Reach for something else if
  • β€’ Frontier-grade autonomous software engineering where benchmark ceiling matters more than cost β€” prefer google/gemini-3-flash-preview, google/gemini-3-pro-preview, or openai/gpt-5.5
  • β€’ Ultra-cheap classification, routing, and simple extraction where Flash-Lite is sufficient and cheaper
  • β€’ Native image/audio generation via TheRouter chat completions β€” this model outputs text only on TheRouter; pick a dedicated image or audio model
Context Length
1.0M
Max Output
66K
Input Priceper 1M tokens
$0.324/ 1M tokens
Output Priceper 1M tokens
$2.70/ 1M tokens

Modalities

textimagepdf→text

Capabilities

Vision

Pricing Breakdown

TypeRate
Input$0.324 / 1M tokens
Output$2.70 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatstop

Specifications

Release date2025-06-17 (stable GA)developers.googleblog.com β†—verified
Knowledge cutoffJanuary 2025ai.google.dev β†—verified
Input / output modalitiesNative Gemini API: text, images, video, audio in; text out. TheRouter exposes text/image/PDF input and text output.ai.google.dev β†—verified
Native tool capabilitiesFunction calling, structured outputs, code execution, file search, URL context, search grounding, Maps grounding, caching, Batch API, flex and priority inferenceai.google.dev β†—verified
LicenseProprietary API model; available under Google Gemini API / Google Cloud terms, not open weightsai.google.dev β†—verified

Benchmarks

BenchmarkDistributionScoreSource
Global-MMLU-Lite
Aggregator-reported benchmark for Gemini 2.5 Flash; use as directional until refreshed against Google model-card tables.
88.4%%llm-stats.com β†—
AIME 2024
Aggregator-reported math result; Google separately describes the 05-20 Flash update as improved on reasoning benchmarks.
88.0%%llm-stats.com β†—
GPQA
Aggregator-reported science/reasoning score; keep confidence medium until matched to the underlying model-card methodology.
82.8%%llm-stats.com β†—
MMMU
Aggregator-reported multimodal score for the stable Flash line.
79.7%%llm-stats.com β†—

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

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."}
    ]
  }'

Chat completion

Use Gemini 2.5 Flash as an OpenAI-compatible chat model through TheRouter when you want Google long-context reasoning without changing SDKs.

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-flash","messages":[{"role":"user","content":"Summarize the migration risk in this pull request."}]}'

More from google

Similar models

Cross-provider sibling models

News & changes

2025-06-17

Gemini 2.5 Flash becomes stable GA

Google made Gemini 2.5 Flash generally available, simplified pricing to a single thinking/non-thinking tier, and positioned Flash-Lite as the cheaper high-throughput option.

re-authored by TheRouterdevelopers.googleblog.com β†—
2025-05-20

Google I/O update improves Flash efficiency and reasoning

Google described the updated Flash preview as better across reasoning, multimodality, code, and long context, while using 20-30% fewer tokens in internal evaluations.

re-authored by TheRouterblog.google β†—

Frequently asked

Is Gemini 2.5 Flash the right default Google model on TheRouter?

Yes for cost-balanced production traffic. It gives teams 1M context, thinking support, tool calling, structured outputs, and multimodal input at much lower cost than Pro-tier models. For frontier autonomous coding, evaluate Gemini 3 or GPT-5.5-class models instead.

re-authored by TheRouterai.google.dev β†—
How is Gemini 2.5 Flash different from Gemini 2.5 Flash-Lite?

Flash is the stronger price-performance model for reasoning and agentic workflows; Flash-Lite is optimized for the lowest latency and cost, with thinking off by default and a better fit for classification, summarization, and simple extraction at scale.

re-authored by TheRouterdevelopers.googleblog.com β†—
Does Gemini 2.5 Flash support OpenAI-compatible tool calling through TheRouter?

Yes. TheRouter exposes the model through OpenAI-compatible chat completions with tools in supported_params. Native Gemini tool features beyond generic function calling should be validated against the specific TheRouter route before marketing them as available.

re-authored by TheRouterai.google.dev β†—
Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release datedevelopers.googleblog.com β†—2026-06-03verified
Knowledge cutoffai.google.dev β†—2026-06-03verified
Input / output modalitiesai.google.dev β†—2026-06-03verified
Native tool capabilitiesai.google.dev β†—2026-06-03verified
Licenseai.google.dev β†—2026-06-03verified
Global-MMLU-Litellm-stats.com β†—2026-06-03to verify
AIME 2024llm-stats.com β†—2026-06-03to verify
GPQAllm-stats.com β†—2026-06-03to verify
MMMUllm-stats.com β†—2026-06-03to verify
Gemini 2.5 Flash becomes stable GAdevelopers.googleblog.com β†—2026-06-03verified
Google I/O update improves Flash efficiency and reasoningblog.google β†—2026-06-03verified
Is Gemini 2.5 Flash the right default Google model on TheRouter?ai.google.dev β†—2026-06-03to verify
How is Gemini 2.5 Flash different from Gemini 2.5 Flash-Lite?developers.googleblog.com β†—2026-06-03to verify
Does Gemini 2.5 Flash support OpenAI-compatible tool calling through TheRouter?ai.google.dev β†—2026-06-03to verify
Help & contact