Gemini 2.5 Flash
Google logo

Gemini 2.5 Flash

gemini-2.5-flash
Google
Gemini 2.5 Flash is Google’s best model in terms of both performance and cost efficiency, offering a comprehensive set of capabilities. It is the first Flash model to support visible reasoning, allowing insight into the thought process behind its responses. With its strong price–performance ratio, the model is well suited for large-scale processing, low-latency, high-throughput tasks that require reasoning, as well as agent-based application scenarios.

Pricing

PricingCache ReadInput AudioInput Audio Cached Web SearchCache Storage
$0.300$2.499
$0.03/M tokens$0.9999/M tokens$0.0999/M tokens$0.035/request$1/h/M tokens

Input Modalities

  • Text
  • Vision
  • Audio
  • Video

Output Modalities

  • Text

Capabilities

  • Tools
  • Tool calling
  • Structured outputs

Providers

VertexAI gemini-2.5-flash
Pricing$0.300$2.499
Cache Read$0.03/M tokens
Input Audio$0.9999/M tokens
Input Audio Cached $0.0999/M tokens
Web Search$0.035/request
Cache Storage$1/h/M tokens
Context1M
Max output65K
Latency13.6S
Throughput141.3TPS
Uptime
99.98% uptime 2 days ago
99.98% uptime yesterday
99.97% uptime today
Google AI Studio gemini-2.5-flash
Pricing$0.300$2.499
Cache Read$0.03/M tokens
Input Audio$0.9999/M tokens
Input Audio Cached $0.0999/M tokens
Web Search$0.035/request
Cache Storage$1/h/M tokens
Context1M
Max output65K
Latency3.0S
Throughput34.8TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
98.96% uptime today

Performance for gemini-2.5-flash

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="gemini-2.5-flash",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is Gemini 2.5 Flash?

Gemini 2.5 Flash is Google’s best model in terms of both performance and cost efficiency, offering a comprehensive set of capabilities. It is the first Flash model to support visible reasoning, allowing insight into the thought process behind its responses. With its strong price–performance ratio, the model is well suited for large-scale processing, low-latency, high-throughput tasks that require reasoning, as well as agent-based application scenarios.