← model directory

google

Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)

google/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...

specs & pricing
Type
image
Provider
google
Model ID
google/gemini-3.1-flash-image-preview
Capabilities
vision, reasoning
Context window
66K tokens
Input price
$0.55 / 1M tokens
Output price
$3.30 / 1M tokens

Cloud price is billed from prepaid credits when a request fails over to the cloud. Open-weight models run free on GPUs you own — the gateway routes to your nodes first.

What it costs to run

cloud · 1M in + 1M out

$3.85

$0.55 for a million input tokens plus $3.30 for a million output tokens, billed from credits only when a request fails over to the cloud.

your hardware

cloud only

Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) is a hosted model, so it is always served from the cloud. Route easy traffic to an open model on your own hardware and keep this one for the requests that need it.

/// initialize

Call Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) through one OpenAI-compatible endpoint.

Mix it with open models on your own hardware — the gateway routes each request to the cheapest place that can serve it.

no credit card · 2 nodes free · openai-compatible

Frequently asked questions

What is the context window of Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)?
Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) accepts up to 65,536 tokens (66K) of context per request.
How much does Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) cost per million tokens?
Through Wide Area Intelligence, Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) costs $0.55 per 1M input tokens and $3.30 per 1M output tokens when served from the cloud, billed from prepaid credits. A workload of 1M input plus 1M output tokens costs $3.85.

More from google

← browse all models