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.
- Per image
- $0.0336
- Input
- $1.50 / 1M tokens
- Output
- $7.50 / 1M tokens
- Context window
- 131,072 tokens
- Max output
- 32,768 tokens
- Providers
- 2
- Added to LiteLLM
- October 6, 2026
Gemini Nano Banana 2.1 pricing by provider
2 listings across 2 providers. 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 | Image output | Cache read | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|---|---|---|
| Google AI Studio | gemini/gemini-nano-banana-2.1 | $0.0336 | $1.50 | $7.50 | $30.00 | – | $0.75 | $3.75 | 128K |
| Google Vertex AI | vertex_ai/gemini-nano-banana-2.1 | $0.0336 | $1.50 | $7.50 | $30.00 | $0.15 | $0.75 | $3.75 | 128K |
Other Gemini Nano Banana 2.1 prices on Google AI Studio
| Web search | $14.00 per 1K searches |
What Gemini Nano Banana 2.1 costs in practice
Generating 1,000 images
| Google AI Studio | $33.60 |
| Google Vertex AI | $33.60 |
Gemini Nano Banana 2.1 features
Input: text, image, video. Output: text, image.
- Function calling
- Structured output
- Image input
- PDF input
- Video input
- Reasoning
- Prompt caching
- Web search
Use Gemini Nano Banana 2.1 with LiteLLM
Call Gemini Nano Banana 2.1 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/gemini-nano-banana-2.1",
prompt="A cute baby sea otter",
)model_list:
- model_name: gemini-nano-banana-2.1
litellm_params:
model: gemini/gemini-nano-banana-2.1
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-nano-banana-2.1",
"prompt": "A cute baby sea otter",
"n": 1,
"size": "1024x1024"
}'Gemini Nano Banana 2.1 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.
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:
- ai.google.dev/gemini-api/docs/pricing
- cloud.google.com/gemini-enterprise-agent-platform/generative-ai/pricing
LiteLLM docs: Google AI Studio, Google Vertex AI.
Provider pages: Google AI Studio, Google Vertex AI.
