Nano Banana 2
gemini-3.1-flash-imageTest in playground →Nano Banana 2 (gemini-3.1-flash-image) costs $0.035 per image on rawroute (48% below official list price) with a 0% top-up fee and automatic failover across 4 independent verified providers.
$0.035
1K · per image
- Official
$0.067
| Specification | Value |
|---|---|
| Model ID | gemini-3.1-flash-image |
| Vendor | |
| rawroute price | $0.035 (per image) |
| Official list price | |
| Savings vs official | 47.8% |
| Resolution | 1K |
| Failover providers | 4 |
| Last verified | 28.11.2026 |
Playground
Reference images
0/10Optional. Add images to edit or use as a reference.
~0 tokens·$0.035
Call it with the SDK you already use.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.rawroute.dev/v1", api_key=os.environ["RAWROUTE_API_KEY"])
image = client.images.generate(
model="gemini-3.1-flash-image",
prompt="A lighthouse at dusk, shot on 35mm film",
n=1,
)
print(image.data[0].url or image.data[0].b64_json[:64])curl https://api.rawroute.dev/v1/images/generations \
-H "Authorization: Bearer $RAWROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-3.1-flash-image", "prompt": "A lighthouse at dusk, shot on 35mm film", "n": 1}'- /v1/images/generations
Head-to-head comparisons
Questions & specs
What is the exact API model ID for Nano Banana 2?
Pass "gemini-3.1-flash-image" in the model field. Native paths supported: /v1/images/generations.
How many failover providers back Nano Banana 2?
Nano Banana 2 routes across 4 independent verified providers. Failed requests return real HTTP status codes and are never billed.