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.
- 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.
| Provider | Model name in LiteLLM | Per image | Input | Output | Context |
|---|---|---|---|---|---|
| Google AI Studio | gemini-2.0-flash-exp-image-generation | $0.039 | $0 | $0 | 32K |
| Google AI Studio | gemini/gemini-2.0-flash-exp-image-generation | $0.039 | $0 | $0 | 32K |
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.
- Image input
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.
from litellm import image_generation
response = image_generation(
model="gemini-2.0-flash-exp-image-generation",
prompt="A cute baby sea otter",
)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_KEYcurl 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.
