Gemini 3.1 Flash Image (Nano Banana 2)

GA

Image generation/editing. Two output rates: text and thinking tokens $3.00/1M, image tokens $60.00/1M — price_output_per_mtok holds the image rate (the model's product). Google states the per-image equivalents: $0.045 per 0.5K (512px, 747 tokens), $0.067 per 1K (1024px, 1120 tokens), $0.101 per 2K, $0.151 per 4K (2520 tokens). Batch tier $0.25 in / $1.50 text out / $30.00 image out. Grounding with Google Web and Image Search: 5,000 free requests per month shared across all Gemini 3.x models, then $14 per 1,000 requests. Named by Google as the recommended replacement for all three Imagen 4 models. No context window or max output published for this model.

Gemini 3.1 Flash Image (Nano Banana 2) by Google costs $0.5 per 1M input tokens and $60 per 1M output tokens ($15.38/1M blended). It is generally available (GA).

Last verified: 13 Aug 2026 · sourced from official provider documentation

Provider
Google
Status
GA
Input price
$0.5 / 1M tokens
Output price
$60 / 1M tokens
Cached input
Blended price
$15.38 / 1M tokens
Context window
Max output
Modality
text, image, image-out
Open weights
No — API only
Knowledge cutoff
Released
28 May 2026
API string
gemini-3.1-flash-image

Source: Google official documentation ↗

FAQ

Gemini 3.1 Flash Image (Nano Banana 2) — questions & answers

How much does Gemini 3.1 Flash Image (Nano Banana 2) cost?

Gemini 3.1 Flash Image (Nano Banana 2) is priced at $0.5 per 1M input tokens and $60 per 1M output tokens ($15.38/1M blended at a 3:1 input-to-output ratio).

Is Gemini 3.1 Flash Image (Nano Banana 2) deprecated?

No — Gemini 3.1 Flash Image (Nano Banana 2) is generally available (GA) and not currently scheduled for deprecation or retirement in our tracker.

Does Gemini 3.1 Flash Image (Nano Banana 2) support image or vision input?

Yes — Gemini 3.1 Flash Image (Nano Banana 2) accepts image input. Listed modalities: text, image, image-out.

Can I self-host Gemini 3.1 Flash Image (Nano Banana 2)?

No — Gemini 3.1 Flash Image (Nano Banana 2) is proprietary. Its weights are not publicly released, so it is available only through Google's API (or hosted partners), not for self-hosting.

What is the API model string for Gemini 3.1 Flash Image (Nano Banana 2)?

The API model identifier for Gemini 3.1 Flash Image (Nano Banana 2) is "gemini-3.1-flash-image" when calling Google's API.