gemini-3.1-flash-image-preview
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...
Pricing
| Price per request | $0.17 / request |
| Context window | 131.1K tokens |
| Compatible endpoints | gemini |
| Vendor |
Price grid
| Resolution | Price |
|---|---|
| 512 | $0.11 |
| 1K | $0.17 |
| 2K | $0.17 |
| 4K | $0.30 |
Call gemini-3.1-flash-image-preview 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.
curl https://api.unorouter.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-image-preview",
"messages": [{"role": "user", "content": "Hello!"}]
}'Frequently asked questions
How much does gemini-3.1-flash-image-preview cost per request?
gemini-3.1-flash-image-preview is billed at a fixed $0.17 per request.
How do I access gemini-3.1-flash-image-preview via API?
Send requests to the UnoRouter /v1/chat/completions endpoint with model=gemini-3.1-flash-image-preview. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.
What is the context window of gemini-3.1-flash-image-preview?
gemini-3.1-flash-image-preview supports a context window of 131.1K tokens, shared between your prompt and the model's response.
Similar models
Try gemini-3.1-flash-image-preview now
Create an API key and start making requests in under a minute.