Google · live price
Nano Banana 2 (Gemini 3.1 Flash Image Preview) API pricing
Gemini 3.1 Flash Image Preview, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines...
- Input
- $0.5
- per 1M tokens
- Output
- $3
- per 1M tokens
- Cached input
- –
- per 1M tokens
- Context
- 66K
- 59K max output
List price from OpenRouter, which passes Google's price through without markup. Refreshed hourly. Released February 26, 2026. Model id google/gemini-3.1-flash-image-preview.
What Nano Banana 2 (Gemini 3.1 Flash Image Preview) costs in practice
1,000 chat messages
$2.00
1,000 input + 500 output tokens each
1,000 RAG questions
$5.50
8,000 input + 500 output tokens each
100 coding-agent steps
$2.10
30,000 input + 2,000 output tokens each, no caching
Nano Banana 2 (Gemini 3.1 Flash Image Preview) price history
Nano Banana 2 (Gemini 3.1 Flash Image Preview) price by host
- Google AI Studio$0.5 in · $3 out · 66K ctx · 99.9% uptime 24h
Where to buy Google credits for less
Disclosure: this site is run by the team behind smaaart, one of the options compared. Tables are ranked by price only, from live quotes and published fees, including when smaaart isn't first. How we compare
Nano Banana 2 (Gemini 3.1 Flash Image Preview) cost calculator
Cheaper alternatives to Nano Banana 2 (Gemini 3.1 Flash Image Preview)
| Model | Input / 1M | Output / 1M |
|---|---|---|
| OpenAI: GPT-6 Luna Pro | $0.1 | $0.5 |
| OpenAI: GPT-6 Luna | $0.1 | $0.5 |
| Qwen: Qwen3.8 Omni Flash | $0.15 | $0.47 |
| Z.ai: GLM 5.3 FlashX | $0.37 | $1.25 |
| DeepSeek: DeepSeek V4.1 Flash | $0.03 | $0.5 |
| Qwen: Qwen3.8 Flash | $0.15 | $0.47 |
Other Google models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Gemini 3.1 Pro Preview Custom Tools | $2 | $12 |
| Gemini 3.1 Flash Lite Preview | $0.25 | $1.50 |
| Gemini 3.1 Pro Preview | $2 | $12 |
| Gemma 4 31B | $0.09 | $0.34 |
| Gemma 4 26B A4B | $0.09 | $0.3 |
| Gemini 3.1 Flash Lite | $0.25 | $1.50 |