# 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.

- Page: https://models.litellm.ai/models/gemini-2.0-flash-exp-image-generation
- Lab: Google
- LiteLLM model name: `gemini-2.0-flash-exp-image-generation`
- Context window: 32,768 tokens
- Max output: 32,768 tokens
- Added to LiteLLM: February 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Google AI Studio | `gemini-2.0-flash-exp-image-generation` | $0 | $0 | – | $0.039 | – | 32K |
| Google AI Studio | `gemini/gemini-2.0-flash-exp-image-generation` | $0 | $0 | – | $0.039 | – | 32K |

## Cost examples

Generating 1,000 images:

- Google AI Studio: $39.00

## Features

Supported: Image input.

## Use it with LiteLLM

```python
from litellm import image_generation

response = image_generation(
    model="gemini-2.0-flash-exp-image-generation",
    prompt="A cute baby sea otter",
)
```

## 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.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
