impulse

Gemini 2.5 Flash Preview

Frontier labPreview
API id gemini-2.5-flash-preview-09-2025
Input / 1M
$0.30
at Vertex AI
Output / 1M
$2.50
at Vertex AI
Context window
1M
tokens
Max output
66K
tokens per reply
Hosts
1
1 listings
Released
-
date not published

Pricing

List prices at Vertex AI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.30$2.50
Cached input
90% off input
$0.03
Web search
$35.00 per 1,000 searches

What it costs a month

At Vertex AI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$253
  • RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$169
  • Coding agent1,000 requests a day, 40K in / 2K out, cached$283
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$1,320
Use your own numbers

Where to run it

1 host serve Gemini 2.5 Flash Preview. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
2025-09
gemini-2.5-flash-preview-09-2025
$0.30 / $2.50

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
AudioImagesTextVideoPDFs
Produces
Text
Features
Parallel tool callsPDF inputPrompt cachingURL contextBuilt-in web search

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Vertex AI.

Smaller Google models

No cheaper Google model keeps its key capabilities.

Other frontier labs

  • GPT-5.4 Nano
    OpenAI · on OpenAI
    $0.20 / $1.25
    Has every key capability
    46% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    76% less
  • GPT-6 Luna
    OpenAI · on OpenAI
    $0.10 / $0.50
    Has every key capability
    76% less
  • GPT-4o Mini
    OpenAI · on OpenAI
    $0.15 / $0.60
    Lacks reasoning
    69% less

Open-weight picks

  • Kimi K2.7 Code
    Moonshot AI · on CLF AI Gateway
    $0.38 / $1.60
    Has every key capability
    19% less
  • Inkling Small
    Independent · on DeepInfra
    $0.45 / $1.20
    Has every key capability
    25% less
  • DeepSeek Flash
    DeepSeek · on DeepSeek
    $0.30 / $1.20
    Has every key capability
    38% less
  • Qwen3.7 Plus
    Alibaba Qwen · on Replicate
    $0.276 / $1.10
    Has every key capability
    43% less

Model line

Newer and older versions, at each lab's own price.

  1. Dec 2025Gemini 3 Flash PreviewLatest$0.50 / $3.00
  2. UndatedGemini 2.5 Flash PreviewThis page$0.30 / $2.50

Call it

Using Vertex AI's API.

Python
from google import genai

client = genai.Client()  # reads GEMINI_API_KEY

response = client.models.generate_content(model="gemini-2.5-flash-preview-09-2025", contents="Hello")
print(response.text)

Quick answers

How much does Gemini 2.5 Flash Preview cost?

On Vertex AI, Gemini 2.5 Flash Preview costs $0.30 per million input tokens and $2.50 per million output tokens. Cached input costs $0.03 per million tokens.

Which APIs offer Gemini 2.5 Flash Preview?

Gemini 2.5 Flash Preview runs on 1 API: Vertex AI.

What is Gemini 2.5 Flash Preview's context window?

1M tokens, with up to 66K tokens in one reply.

Is Gemini 2.5 Flash Preview being retired?

No retirement date is scheduled for it on any API we track.

Is there a newer version of Gemini 2.5 Flash Preview?

Yes. Gemini 3 Flash Preview is the newest model in this line, released on 17 Dec 2025.

What are cheaper alternatives to Gemini 2.5 Flash Preview?

Models that cost less and keep most of what it can do: GPT-5.4 Nano on OpenAI (46% less), Claude Haiku 5.5 on Anthropic (76% less) and Kimi K2.7 Code on CLF AI Gateway (19% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Gemini 2.5 Flash Preview's API model id?

Use gemini-2.5-flash-preview-09-2025 with Vertex AI.

Sources

Raw catalog entry for gemini-2.5-flash-preview-09-2025 on Vertex AI
{
  "cache_read_input_token_cost": 3e-8,
  "input_cost_per_audio_token": 0.000001,
  "input_cost_per_token": 3e-7,
  "litellm_provider": "vertex_ai-language-models",
  "max_input_tokens": 1048576,
  "max_output_tokens": 65535,
  "mode": "chat",
  "output_cost_per_reasoning_token": 0.0000025,
  "output_cost_per_token": 0.0000025,
  "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",
  "supported_endpoints": [
    "/v1/chat/completions",
    "/v1/completions",
    "/v1/batch"
  ],
  "supported_modalities": [
    "text",
    "image",
    "audio",
    "video"
  ],
  "supported_output_modalities": [
    "text"
  ],
  "supports_audio_output": false,
  "supports_function_calling": true,
  "supports_parallel_function_calling": true,
  "supports_pdf_input": true,
  "supports_prompt_caching": true,
  "supports_reasoning": true,
  "supports_response_schema": true,
  "supports_system_messages": true,
  "supports_tool_choice": true,
  "supports_url_context": true,
  "supports_vision": true,
  "supports_web_search": true,
  "search_context_cost_per_query": {
    "search_context_size_low": 0.035,
    "search_context_size_medium": 0.035,
    "search_context_size_high": 0.035
  },
  "search_free_requests": {
    "count": 1500,
    "period": "day",
    "shared_group": "gemini-2-flash"
  },
  "google_maps_grounding_cost_per_query": 0.025,
  "supports_image_size": false
}