---
title: "Nano Banana 2.1"
description: "Nano Banana 2.1 by Google: 131K context. Compare provider prices and applicable pricing conditions on the model page. Pay as you go."
canonical: https://pirouter.ai/models/google/gemini-nano-banana-2.1
last-updated: 2026-10-15
---

# Nano Banana 2.1

> Nano Banana 2.1 by Google: 131K context. Compare provider prices and applicable pricing conditions on the model page. Pay as you go.

Nano Banana 2.1 is Google's upgrade to Nano Banana 2, keeping Flash-level speed and cost while improving visual quality, prompt adherence, multi-turn character consistency and text rendering. It outputs 1K, 2K and 4K images and accepts up to 14 reference images.

## At a glance

- Model ID: `google/gemini-nano-banana-2.1`
- Also accepted as: `gemini-nano-banana-2.1`
- Vendor: Google
- Category: image
- Openness: Proprietary
- Model page: https://ai.google.dev/gemini-api/docs/models/gemini-nano-banana-2.1
- Context: 131,072 tokens
- Max output: 32,768 tokens
- Added to pirouter: 2026-10-06
- Status: Available

## Pricing (USD per 1M tokens)

|  | Input | Output | Cache read | Reasoning | Image output |
|---|---|---|---|---|---|
| Standard | $1.5 | $7.5 | $0.15 | $7.5 | $30 |

## Capabilities

- Reasoning
- System messages
- Streaming
- Vision
- Video input
- PDF input
- Image output

## Reasoning effort

- high, medium, minimal (default: medium)

## How to call it

One pirouter API key works with every API format below; create it in the console. Use one of these formats; formats not listed are not available for this model.

- API key: https://app.pirouter.ai/sign-in

### OpenAI Images

- Endpoint: `POST /v1/images/generations` on https://api.pirouter.ai
- Auth: `Authorization: Bearer <key>`
- SDK base URL: https://api.pirouter.ai/v1
- Reference: https://pirouter.ai/docs/api/images

```bash
curl https://api.pirouter.ai/v1/images/generations \
  -H "Authorization: Bearer $PIROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-nano-banana-2.1",
    "prompt": "A shiba inu drinking coffee on the moon, film grain"
  }'
```

### Gemini

- Endpoint: `POST /v1beta/models/google/gemini-nano-banana-2.1:generateContent` on https://api.pirouter.ai
- Auth: `Authorization: Bearer <key>`
- SDK base URL: https://api.pirouter.ai
- Reference: https://pirouter.ai/docs/api/generate-content

```bash
curl "https://api.pirouter.ai/v1beta/models/google/gemini-nano-banana-2.1:generateContent" \
  -H "Authorization: Bearer $PIROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{ "parts": [{ "text": "A shiba inu drinking coffee on the moon, film grain" }] }]
  }'
```

## Providers

One row per provider; pirouter sends each request to a healthy one.

| Provider | API format | Context | Max output | Input /M | Output /M | Trains on your data | Data retention |
|---|---|---|---|---|---|---|---|
| gcp | openai, gemini | 131,072 | 32,768 | $1.5 | $7.5 | No | Limited |

## Supported parameters

`max_tokens`, `reasoning`, `include_reasoning`, `stream`

## Links

- HTML: https://pirouter.ai/models/google/gemini-nano-banana-2.1
- JSON: https://pirouter.ai/api/models/google/gemini-nano-banana-2.1
- Providers JSON: https://api.pirouter.ai/v1/models/google/gemini-nano-banana-2.1/endpoints
- Leaderboard ranks (JSON): https://pirouter.ai/api/models/google/gemini-nano-banana-2.1/rankings
- Catalog: https://pirouter.ai/models
- Quickstart: https://pirouter.ai/docs/quickstart
- How routing works: https://pirouter.ai/docs/routing
- llms.txt: https://pirouter.ai/llms.txt

---

HTML version: https://pirouter.ai/models/google/gemini-nano-banana-2.1 · Machine-readable index: https://pirouter.ai/llms.txt
