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 GenImplicit CachingReasoningVision (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
Per Query
Capabilities
Providers
ZDR
No Training
Release Date
1M
2.6s
178tps
$1.50/M$9.00/M
Read:$0.15/M
Write:
$14.00/K
+ input costs
+4
google logo
vertex logo
05/19/2026
1M
0.5s
230tps
$0.25/M$1.50/M
Read:$0.03/M
Write:
$14.00/K
+ input costs
+4
google logo
vertex logo
03/03/2026
1M
4.3s
102tps
$2.00/M
$12.00/M
Read:
$0.2/M
Write:
$14.00/K
+ input costs
+4
google logo
vertex logo
02/19/2026
1M
0.8s
163tps
$0.50/M
$3.00/M
Read:
$0.05/M
Write:
$14.00/K
+ input costs
+4
google logo
vertex logo
12/17/2025
1M
0.5s
237tps
$0.10/M$0.40/M
Read:$0.01/M
Write:
$35.00/K
+ input costs
+4
google logo
vertex logo
06/17/2025
1M
0.4s
190tps
$0.30/M$2.50/M
Read:$0.03/M
Write:
$35.00/K
+ input costs
+4
google logo
vertex logo
03/20/2025