LiteLLMModels

Gemini 2.0 Flash Exp Image Generation API Pricing

As of October 10, 2026, Gemini 2.0 Flash Exp Image Generation costs $0.039 per image on Google AI Studio. It has a 32,768-token context window and returns up to 32,768 tokens per response.

By GoogleModel ID gemini-2.0-flash-exp-image-generationPrices updated Checked
Per image
$0.039
Input
$0 / 1M tokens
Output
$0 / 1M tokens
Context window
32,768 tokens
Max output
32,768 tokens
Providers
1
Added to LiteLLM
February 2026

Gemini 2.0 Flash Exp Image Generation pricing by provider

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

ProviderModel name in LiteLLMPer imageInputOutputContext
Google AI Studiogemini-2.0-flash-exp-image-generation$0.039$0$032K
Google AI Studiogemini/gemini-2.0-flash-exp-image-generation$0.039$0$032K

What Gemini 2.0 Flash Exp Image Generation costs in practice

Generating 1,000 images

Google AI Studio$39.00

Gemini 2.0 Flash Exp Image Generation features

Input: text, image. Output: text, image.

Use Gemini 2.0 Flash Exp Image Generation with LiteLLM

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

Python SDK
from litellm import image_generation

response = image_generation(
    model="gemini-2.0-flash-exp-image-generation",
    prompt="A cute baby sea otter",
)
Proxy config.yaml
model_list:
  - model_name: gemini-2.0-flash-exp-image-generation
    litellm_params:
      model: gemini-2.0-flash-exp-image-generation
      api_key: os.environ/GEMINI_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "gemini-2.0-flash-exp-image-generation",
    "prompt": "A cute baby sea otter",
    "n": 1,
    "size": "1024x1024"
  }'

Gemini 2.0 Flash Exp Image Generation FAQ

How much does Gemini 2.0 Flash Exp Image Generation cost?

Gemini 2.0 Flash Exp Image Generation costs $0.039 per image on Google AI Studio.

What is the context window of Gemini 2.0 Flash Exp Image Generation?

Gemini 2.0 Flash Exp Image Generation has a 32,768-token context window and returns up to 32,768 tokens per response.

Which providers offer Gemini 2.0 Flash Exp Image Generation?

Gemini 2.0 Flash Exp Image Generation is available from Google AI Studio through LiteLLM, using the model name gemini-2.0-flash-exp-image-generation.

How do I call Gemini 2.0 Flash Exp Image Generation with an OpenAI-compatible API?

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

What features does Gemini 2.0 Flash Exp Image Generation support?

Gemini 2.0 Flash Exp Image Generation supports image input.

When did LiteLLM add Gemini 2.0 Flash Exp Image Generation?

Gemini 2.0 Flash Exp Image Generation was added to LiteLLM's model price file in February 2026.

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 AI Studio.

Provider pages: Google AI Studio.