Gemini 2.5 Flash
Gemini 2.5 Flash is worth evaluating for coding, rag, and agents when its provider route and context window match the workload.
Use it for
- Teams evaluating coding, rag, and agents
- Workloads that can use a 1m context window
- Buyers comparing 4 tracked provider routes
Do not use it for
- Workloads where another current model has stronger sourced task evidence
- Family
- Gemini 2.5
- Released
- 2025-06-17
- Context
- 1m
- Architecture
- Decoder Only
- Knowledge cutoff
- 2025-01
- Specialization
- general
- Openness
- Proprietary
- License
- ProprietaryCommercial use: conditional
- Training
- Pretrained
Cheapest of 6 routes · GCP Vertex AI
About
Google: Gemini 2.5 Flash available via OpenRouter. Pricing: $0.3/1M input, $2.5/1M output.
Gemini 2.5 Flash is a proprietary model in the Gemini 2.5 family. The structured metadata tracks a 1m-token context window, multimodal input, function calling, tool use, structured outputs, and code execution. This page tracks provider routes through Google AI Studio, GCP Vertex AI, Replicate API, and 3 more, with the cheapest tracked route listed at $0.3 input and $2.5 output per 1M tokens. Headline tracked benchmarks include HumanEval 90.1, LiveCodeBench 76.2, and Aider Polyglot 55.1.
Top use-case fit: coding, agents, and build tasks
Coding
Q/$ C3 relevant benchmarks in the decision map.
RAG
Included by capability and metadata signals in the decision map.
Agents
Included by capability and metadata signals in the decision map.
Provider price ladder
Compare all 6Compare API pricing across 4 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| GCP Vertex AI | $0.300 | $2.50 | Serverless |
| Google AI Studio | $0.300 | $2.50 | Serverless |
| OpenRouter | $0.300 | $2.50 | Serverless |
| Replicate API | $0.300 | $2.50 | Serverless |
Available via routers & gateways(13)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 400+ models from 60+ providers via a single OpenAI-compatible API, with optional auto-routing that selects the best model per prompt.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, semantic caching, and guardrails; Apache 2.0 core is fully self-hostable with the complete feature set.
AIRouter
RouterCommercial LLM router that analyzes incoming requests and routes to the optimal model for cost/quality/latency via a drop-in OpenAI-compatible API, with a privacy-preserving embedding mode that avoids sending prompt content.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache 2.0 open-source core with a managed hosted tier for logging and analytics.
Kong AI Gateway
GatewayMulti-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
Capabilities
Benchmark peer barsfor Coding
Benchmark scores(8)
| Benchmark | Score | Version | Source |
|---|---|---|---|
| HumanEval | 90.1 | 2025-05 | https://storage.googleapis.com/deepmind-media/gemini/gemini_v2_5_report.pdf |
| LiveCodeBench | 76.2 | 2026-04 | https://livecodebench.github.io/performances_generation.json |
| Aider Polyglot | 55.1 | 2026-04 | https://aider.chat/docs/leaderboards |
| Chatbot Arena | 1320.0 | — | https://lmarena.ai |
| Massive Multi-discipline Multimodal Understanding | 79.7 | — | https://mmmu-benchmark.github.io/ |
| BFCL | 56.2 | — | https://gorilla.cs.berkeley.edu/leaderboard.html |
| MMLU PRO | 88.4 | — | https://deepmind.google/technologies/gemini/flash/ |
| Google-Proof Q&A | 82.8 | — | https://deepmind.google/technologies/gemini/flash/ |
Migration checks
No linked migration route is available for this model yet.
Rankings & picks(3)
Compare Gemini 2.5 Flash with other models
Comparison and alternatives
Browse all comparisons →Show all 53 popular comparisonssorted by 7-day search impressions
Frequently asked questions
What is the context window of Gemini 2.5 Flash?
Gemini 2.5 Flash has a context window of 1m tokens.
How much does Gemini 2.5 Flash cost?
Gemini 2.5 Flash is available at $0.3/1M input tokens through Google AI Studio.
When was Gemini 2.5 Flash released?
Gemini 2.5 Flash was released on 2025-06-17.
Which providers offer Gemini 2.5 Flash?
Gemini 2.5 Flash is available from 6 providers: Google AI Studio, GCP Vertex AI, Replicate API, OpenRouter, Vercel AI Gateway, Inceptron.
What benchmarks has Gemini 2.5 Flash been tested on?
Gemini 2.5 Flash has been evaluated on 8 benchmarks, including HumanEval, LiveCodeBench, Aider Polyglot, Chatbot Arena, Massive Multi-discipline Multimodal Understanding.
Cheapest of 6 routes · GCP Vertex AI