gemini-3.1-flash-image

Gemini 3.1 Flash Image (Nano Banana 2) API — price per token

Gemini 3.1 Flash Image — Nano Banana 2 — is Google's image-generation Flash model: text and image in, rendered images out, billed per image-output token.

Pricing per 1M tokens

RateOfficial GoogleHere (−50%)
Input$0.5$0.25
Cached input$0.05$0.025
Output$3$1.5
Image output$60$30

Input

Official Google
$0.5
Here (−50%)
$0.25

Cached input

Official Google
$0.05
Here (−50%)
$0.025

Output

Official Google
$3
Here (−50%)
$1.5

Image output

Official Google
$60
Here (−50%)
$30

Every request is metered at the official rate first, then the flat 50% B2C discount is subtracted before it touches your prepaid balance. Context window: 128K tokens. Max output: 32K tokens.

Best for

  • Image generation and editing inside production apps.
  • Multimodal pipelines that mix text and rendered output.
  • High-volume creative and asset workflows.

Good to know

  • Image output bills separately at $60 per 1M image-output tokens ($30 here); text output bills at the standard $3.00 rate.
  • 128K context window and 32K max output — smaller than the text Flash line.

How to use Gemini 3.1 Flash Image (Nano Banana 2)

Create a free account, generate one key, and point any Gemini-compatible tool at https://gemini.api.apitoken.sale with model ID gemini-3.1-flash-image — the native /v1beta/models/gemini-3.1-flash-image:generateContent surface works, authenticated with x-goog-api-key. New accounts include $10 of API usage at official prices — enough to test the model before topping up.

Frequently asked questions

How much does the Gemini 3.1 Flash Image API cost?

Officially $0.50 per 1M input tokens and $3.00 per 1M text output tokens, plus $60 per 1M image-output tokens. On apiToken.sale the flat 50% discount applies to every call — $0.25/$1.50, and $30 per 1M image-output tokens.

What is the model ID for Nano Banana 2?

gemini-3.1-flash-image. Use it unchanged with the Google GenAI SDK or any Gemini-compatible tool pointed at https://gemini.api.apitoken.sale, with the key sent as x-goog-api-key.

Flash Image or a text Flash model?

Flash Image is the image-generation model — use it when the response must include rendered images. For text-only work, gemini-3.6-flash gives you a larger context window and lower output cost.

Run Gemini 3.1 Flash Image (Nano Banana 2) on the native Gemini API at a flat 50% off — instant key, prepaid balance, card or crypto.