LiteLLMLiteLLM/ MODELS

Gemini 2.5 Flash Preview API Pricing

By Google · 1 providervertex_ai/gemini-2.5-flash-preview-09-2025Compare
Input / output
$0.30 / $2.50 per 1M tokens
Cache read
$0.03 / 1M
Context
1M tokens
Max output
66K tokens

As of November 24, 2026, Gemini 2.5 Flash Preview costs $0.30 per 1M input tokens and $2.50 per 1M output tokens on Google Vertex AI, with cache reads at $0.03 per 1M tokens. It has a 1,048,576-token context window and returns up to 65,535 tokens per response.

Prices updated Checked

Gemini 2.5 Flash Preview pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

Gemini 2.5 Flash Preview prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputCache readContext
Google Vertex AIsnapshot 09-2025vertex_ai/gemini-2.5-flash-preview-09-2025$0.30$2.50$0.031M

Other Gemini 2.5 Flash Preview prices on Google Vertex AI

Audio input$1.00 per 1M tokens
Web search$35.00 per 1K searches

What Gemini 2.5 Flash Preview costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Google Vertex AI$1.85

100 long-document requests with 100,000 input and 2,000 output tokens each

Google Vertex AI$3.50

Gemini 2.5 Flash Preview cost calculator

At Google Vertex AI's price ($0.30 input, $2.50 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $15.50 a day, about $465 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.00155
Per day
$15.50
Per month (30 days)
$465

Gemini 2.5 Flash Preview features

Input: text, image, audio, video. Output: text.

Use Gemini 2.5 Flash Preview with LiteLLM

Call Gemini 2.5 Flash Preview through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="vertex_ai/gemini-2.5-flash-preview-09-2025",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: gemini-2.5-flash-preview
    litellm_params:
      model: vertex_ai/gemini-2.5-flash-preview-09-2025
      vertex_project: os.environ/VERTEX_PROJECT
      vertex_location: os.environ/VERTEX_LOCATION
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "gemini-2.5-flash-preview",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Gemini 2.5 Flash Preview FAQ

How much does Gemini 2.5 Flash Preview cost?

Gemini 2.5 Flash Preview costs $0.30 per 1M input tokens and $2.50 per 1M output tokens on Google Vertex AI, with cache reads at $0.03 per 1M tokens.

What is the context window of Gemini 2.5 Flash Preview?

Gemini 2.5 Flash Preview has a 1,048,576-token context window and returns up to 65,535 tokens per response.

Which providers offer Gemini 2.5 Flash Preview?

Gemini 2.5 Flash Preview is available from Google Vertex AI through LiteLLM, using the model name vertex_ai/gemini-2.5-flash-preview-09-2025.

How do I call Gemini 2.5 Flash Preview with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="vertex_ai/gemini-2.5-flash-preview-09-2025", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Gemini 2.5 Flash Preview support?

Gemini 2.5 Flash Preview supports function calling, parallel tool calls, structured output, image input, PDF input, reasoning, prompt caching and web search. It does not support audio output.

When did LiteLLM add Gemini 2.5 Flash Preview?

Gemini 2.5 Flash Preview was added to LiteLLM's model price file in October 2025.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: Google Vertex AI.

Provider pages: Google Vertex AI.