Skip to content
Dashboard

Gemini 3.1 Flash Image (Nano Banana 2)

Gemini 3.1 Flash Image (Nano Banana 2) is the generally available flash-tier image generation and editing model in the Gemini 3.1 family, combining Google Image Search grounding, configurable thinking levels, and new video-to-image input with production-ready 1K and 2K output.

Image GenReasoningVision (Image)Web Search
index.ts
import { generateText } from 'ai'
const result = await generateText({
model: 'google/gemini-3.1-flash-image',
prompt: 'Render a picture of a red balloon.',
});

More models by Google

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Release Date
1M
2.3s
181tps
$1.50/M
$7.50/M
Read:$0.15/M
Write:
$14/K
+ input costs
+3
google logo
vertex logo
07/21/2026
1M
1.3s
497tps
$0.30/M
$2.50/M
Read:$0.03/M
Write:
$14/K
+ input costs
+3
google logo
vertex logo
07/21/2026
1M
1.8s
258tps
$1.50/M
$9/M
Read:$0.15/M
Write:
$14/K
+ input costs
+3
google logo
vertex logo
05/19/2026
1M
0.6s
244tps
$0.25/M
$1.50/M
Read:$0.03/M
Write:
$14/K
+ input costs
+3
google logo
vertex logo
03/03/2026
1M
3.1s
107tps
$2/M
$12/M
Read:
$0.2/M
Write:
$14/K
+ input costs
+3
google logo
vertex logo
02/19/2026
1M
0.7s
172tps
$0.90/M
$5.40/M
Read:
$0.09/M
Write:
$14/K
+ input costs
+3
google logo
vertex logo
12/17/2025