Skip to content

Model detail

Gemini Nano Banana 2.1

Provided by Google
Pay-as-you-go

Nano Banana 2.1 (Gemini Nano Banana 2.1) is Google's image generation and editing model on the Flash tier, succeeding Nano Banana 2 and Nano Banana Pro. It improves product recontextualization, mask- and ink-based editing, and factual accuracy, and renders photorealistic skin tones, detailed materials, lighting, and coherent backgrounds. It accepts text and image inputs, returns images with optional text, and supports 1K, 2K, and 4K output plus extended aspect ratios via the [image_config API Parameter]

Model specs

Model ID
gemini-nano-banana-2.1
Context length
–
Max output
32.768K
I/O modalities
Released
2026-10

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • Gemini /v1beta/models/{model}:generateContent POST
  • OpenAI-compatible /v1/chat/completions POST

03

Pricing

Flat rate, unit: /1M Tokens

Input

$1.5000 /1M Tokens

Completion

$7.5000 /1M Tokens

Image input

$1.5000 /1M Tokens

Image completion

$6.0000 /1M Tokens

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

Image generation

Gemini Nano Banana 2.1 is Google's image generation model for text-to-image work. It accepts input such as text, image and video, and returns images and text. Its capabilities are broken down in the section just below. Generate one image at your target size to check style and fidelity.

What should you check before using it?

Image output sizes and limits

Gemini Nano Banana 2.1 returns images at 1024×1024, 2048×2048, 4096×4096, 512×2048, 1024×4096, 2048×8192 and 36 more documented sizes. Confirm that your target size and aspect ratio appear in that list before you plan a render.

Why use it through MixRoute?

One MixRoute key reaches Gemini Nano Banana 2.1

One MixRoute key covers gemini-nano-banana-2.1, on the same account as the rest of the catalog. MixRoute supports calling Gemini Nano Banana 2.1 through its OpenAI-compatible endpoint; point your client at https://api.mixroute.ai/v1 with the model ID gemini-nano-banana-2.1 and re-run your integration tests.

07

Capabilities & compatibility

Unconfirmed capabilities stay "Unknown," no guesses

Available:

Streaming

Gemini Nano Banana 2.1 supports streamed responses.

EX stream: true streams tokens incrementally, so chat UIs render as they arrive.
Available:

Vision input

Gemini Nano Banana 2.1 can process image inputs alongside text.

EX Pass a base64-encoded image in a image_url content part alongside text messages.

08

Token cost estimator

Live estimate from this page's pricing, not an actual bill

This model has no cache-read price; caching is not counted

09

FAQ

Gemini Nano Banana 2.1 sits alongside grok-imagine-image-2.0, gpt-image-2, gemini-3.1-flash-image in the catalog. Compare them on the dimensions that change your bill and your users’ experience: task quality on your own prompts, latency at your concurrency, context and output limits, and cost per completed task rather than per token.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.