# Gemini Nano Banana 2.1 API Pricing

As of October 10, 2026, Gemini Nano Banana 2.1 costs $0.0336 per image on Google AI Studio, plus $1.50 per 1M input tokens. It has a 131,072-token context window and returns up to 32,768 tokens per response.

- Page: https://models.litellm.ai/models/gemini-nano-banana-2.1
- Lab: Google
- LiteLLM model name: `gemini/gemini-nano-banana-2.1`
- Context window: 131,072 tokens
- Max output: 32,768 tokens
- Added to LiteLLM: October 6, 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/gemini-nano-banana-2.1` | $1.50 | $7.50 | – | $0.0336 | – | 128K |
| Google Vertex AI | `vertex_ai/gemini-nano-banana-2.1` | $1.50 | $7.50 | $0.15 | $0.0336 | – | 128K |

## Cost examples

Generating 1,000 images:

- Google AI Studio: $33.60
- Google Vertex AI: $33.60

## Features

Supported: Image input, PDF input, Video input, Reasoning, Web search.
Not supported: Function calling, Structured output, Prompt caching.

## Use it with LiteLLM

```python
from litellm import image_generation

response = image_generation(
    model="gemini/gemini-nano-banana-2.1",
    prompt="A cute baby sea otter",
)
```

## FAQ

### How much does Gemini Nano Banana 2.1 cost?

Gemini Nano Banana 2.1 costs $0.0336 per image on Google AI Studio, plus $1.50 per 1M input tokens. Batch requests cost $0.75 per 1M input tokens and $3.75 per 1M output tokens.

### What is the context window of Gemini Nano Banana 2.1?

Gemini Nano Banana 2.1 has a 131,072-token context window and returns up to 32,768 tokens per response.

### Which providers offer Gemini Nano Banana 2.1?

Gemini Nano Banana 2.1 is available from 2 providers through LiteLLM: Google AI Studio and Google Vertex AI.

### How do I call Gemini Nano Banana 2.1 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="gemini/gemini-nano-banana-2.1", 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 Nano Banana 2.1 support?

Gemini Nano Banana 2.1 supports image input, PDF input, video input, reasoning and web search. It does not support function calling, structured output and prompt caching.

### When did LiteLLM add Gemini Nano Banana 2.1?

Gemini Nano Banana 2.1 was added to LiteLLM's model price file on October 6, 2026.

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