Models / Gemini / Gemini 2.5 Flash
Gemini

Gemini 2.5 Flash

BYOKClosedReleased 17 Jun 2025

A closed, mid-priced multimodal model from Google with a 1M-token context window and reasoning mode. Its benchmark results sit below the registry median.

Read the full description ↓

Spec sheet

Family
Gemini
Released
17 Jun 202517 months ago
Weights
Closed
Context window
1M tokens
Largest response
66k tokens
Accepts
text, image, audio, video, file
Supports
tools, reasoning, structured output
Knowledge cutoff
January 2025
Intelligence index
–
Input price
$0.3 / 1M
Output price
$2.5 / 1M
Blended price (3:1)
$0.85 / 1M
Index points per $
–
Speed
95 tokens/sec#44
Popularity
#48 of 194by usage
Providers
2

Benchmarks

Score · rank among models tested
Terminal-BenchTasks completed in a terminal; the best result of any agent using the model
Terminal-Bench
Gemini 2.5 Flash17.1%
Rank#33 of 35
Registry median43.2%
Best84.7%
17.1%#33
LMArena textRating from blind human votes between pairs of chat responses
LMArena text
Gemini 2.5 Flash1416.9
Rank#81 of 114
Registry median1437.7
Best1538.9
1416.9#81

The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.

Providers and prices

$ per 1M tokens · from genai-prices
ProviderGatewayPydantic AI model stringInputCached inputOutputBlended
Google Vertexgateway/google-cloud:gemini-2.5-flash $0.3$0.03$2.5$0.85
OpenRouterBYOKopenrouter:google/gemini-2.5-flash $0.3$0.03$2.5$0.85

Every provider charges the same. Blended price assumes three input tokens for each output token.

Example code

# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/google-cloud:gemini-2.5-flash', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)

Ask Gemini 2.5 Flash a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

Gemini 2.5 FlashvsHy4
Terminal-Bench
04590$0.1$1$10Gemini 2.5 Flash: 17.1% at $0.85 blended
LMArena text
128014101540$0.1$1$10Gemini 2.5 Flash: 1416.9 at $0.85 blended

Score against blended price per 1M tokens (log scale). Gemini 2.5 Flash   Hy4   other models

Terminal-BenchTasks completed in a terminal; the best result of any agent using the model
Gemini 2.5 Flash17.1%
Hy4–
LMArena textRating from blind human votes between pairs of chat responses
Gemini 2.5 Flash1416.9
Hy4–
Input pricePer 1M tokens, lower is better
Gemini 2.5 Flash$0.3
Hy4$0.42
Output pricePer 1M tokens, lower is better
Gemini 2.5 Flash$2.5
Hy4$1.25
SpeedOutput tokens per second
Gemini 2.5 Flash95 t/s
Hy459 t/s
Context windowTokens
Gemini 2.5 Flash1M
Hy41M
Model stringFor Pydantic AI
Gemini 2.5 Flashgateway/google-cloud:gemini-2.5-flash
Hy4openrouter:tencent/hy4

About Gemini 2.5 Flash

Description written by an LLM from the data on this page

A closed, mid-priced multimodal model from Google with a 1M-token context window and reasoning mode. Its benchmark results sit below the registry median.

Gemini 2.5 Flash is a closed model from Google, released June 2025. For an agent, its main points are the 1M-token context window, support for tool calling and structured output, and inputs that include audio and video. At a blended $0.85 per million tokens it costs less than the registry median, and it ranks 48th of 194 for popularity.

Its benchmark results are weaker. It scores 17.1% on Terminal-Bench, 33rd of 35 and well under the 43.2% median, and it ranks 81st of 114 on LMArena text with a rating of 1416.9, below the median of 1437.6. Both results sit below the registry median, so it is not a strong choice where those measures matter most.

The model is available only through Google Vertex and OpenRouter. It has a reasoning mode and a knowledge cutoff of January 2025. No intelligence index value per dollar is available for it.

Strengths

  • 1M token context window with up to 65k output tokens
  • Accepts text, image, audio, video and file inputs
  • Blended price of $0.85 per million tokens, below the $1.01 median
  • Ranks 48th of 194 for popularity

Weaknesses

  • Terminal-Bench 17.1%, 33rd of 35, against a 43.2% median
  • LMArena text rating 1416.9, 81st of 114, below the 1437.6 median
  • Listed on only two providers, Google Vertex and OpenRouter

Best for

Cost-sensitive agents that need long context, multimodal input or tool calling, rather than terminal-based coding tasks.

One key, every model

Pydantic AI Gateway gives you the models marked with a single API key, spending limits and Logfire tracing. Bring your own key for the rest.

Start free  Read the docs