LiteLLMModels

Gemini Flash Experimental API Pricing

As of October 10, 2026, Gemini Flash Experimental is free to use on Google Vertex AI. It has a 1,000,000-token context window and returns up to 8,192 tokens per response.

By GoogleModel ID vertex_ai/gemini-flash-experimentalPrices updated Checked
Price
Free
Per 1M characters
$0
Context window
1,000,000 tokens
Max output
8,192 tokens
Providers
1
Added to LiteLLM
October 2024

Gemini Flash Experimental 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.

ProviderModel name in LiteLLMPer 1M charsInputOutputContext
Google Vertex AIvertex_ai/gemini-flash-experimental$0$0$01M

What Gemini Flash Experimental costs in practice

Embedding 10,000 documents of 500 tokens each

Google Vertex AI$0

Use Gemini Flash Experimental with LiteLLM

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

Python SDK
from litellm import embedding

response = embedding(
    model="vertex_ai/gemini-flash-experimental",
    input=["hello world"],
)
Proxy config.yaml
model_list:
  - model_name: gemini-flash-experimental
    litellm_params:
      model: vertex_ai/gemini-flash-experimental
      vertex_project: os.environ/VERTEX_PROJECT
      vertex_location: os.environ/VERTEX_LOCATION
Call the proxy
curl http://0.0.0.0:4000/v1/embeddings \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "gemini-flash-experimental",
    "input": "hello world"
  }'

Gemini Flash Experimental FAQ

How much does Gemini Flash Experimental cost?

Gemini Flash Experimental is free to use on Google Vertex AI.

What is the context window of Gemini Flash Experimental?

Gemini Flash Experimental has a 1,000,000-token context window and returns up to 8,192 tokens per response.

Which providers offer Gemini Flash Experimental?

Gemini Flash Experimental is available from Google Vertex AI through LiteLLM, using the model name vertex_ai/gemini-flash-experimental.

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

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

When did LiteLLM add Gemini Flash Experimental?

Gemini Flash Experimental was added to LiteLLM's model price file in October 2024.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: Google Vertex AI.

Provider pages: Google Vertex AI.