G
Google: gemini-3.1-flash-image
gemini-3.1-flash-image
131.1K context32.8K outReasoningVisionCacheStructuredWeb searchSystem msg
Released Jun 18, 2026Knowledge cutoff Jan 2025Updated Aug 27, 2026
Gemini 3.1 Flash Image, 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 advanced contextual understanding with fast, cost-efficient inference, making complex image generation and iterative edits significantly more accessible. Aspect ratios can be controlled with the image_config API Parameter
Mode image_generationTokenizer Gemini
Pricing
Price per request
$0.09/ image84% off
Context window 131.1K tokensCompatible endpoints gemini, openaiVendor Google
| Group | Pricing | TTFT | Success | Uptime | Cache hit |
|---|---|---|---|---|---|
| GC-duck-2-gemini-3.1-flash-image | $0.09 · image | - | - | - | - |
| GC-AG-duck-gemini-3.1-flash-image | $0.14 · image | - | - | - | - |
Uptime
Performance
Loading performance data...
Usage & Ranking
Loading usage...
Supported parameters
All providers = every upstream serving this model supports it. Some providers = depends on which upstream handles the request. Default = the value sent when you leave the parameter unset.
| Parameter | Providers | Default |
|---|---|---|
| include_reasoning | All providers | - |
| max_tokens | All providers | - |
| reasoning | All providers | - |
| reasoning_effort | All providers | - |
| response_format | All providers | - |
| seed | All providers | - |
| structured_outputs | All providers | - |
| temperature | All providers | - |
| top_p | All providers | - |
Frequently asked questions
Use gemini-3.1-flash-image in
Similar models
Base URL
https://api.unorouter.com/v1Call gemini-3.1-flash-image from your code
Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.
bash
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-image",
"messages": [{"role": "user", "content": "Hello!"}]
}'Available endpoints
geminiopenai
Loading benchmarks...