Google: Nano Banana 2 (Gemini 3.1 Flash Image)

by Google

google/gemini-3.1-flash-image
Unavailable

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

Context

131Ktokens

About 187 pages of text at once

Max output

33Ktokens

About 47 pages in one answer

Intelligence

—

No score published for this model.

Output speed

—

Not measured yet

First token

14.1s

Reasoning models start later

From public market statistics for this model

Health, 30 days

50.00%

0 of 30 days without a fault

IranRouter’s measurements

Price & cost

Every rate in Rial. A request pays only for the tokens it actually uses.

Input1,370,497IRR / 1M tokens
Output8,222,979IRR / 1M tokens
Reasoning tokensThe output rate8,222,979IRR / 1M tokens
Image input tokensThe input rate1,370,497IRR / 1M tokens
Image output tokens164,459,580IRR / 1M tokens
Per web search38,374IRR

What would this model cost you a month?

Monthly cost

271.36MIRR

9.05M IRR a day, 4,523 IRR each request

30 days at today’s rate.

Rial price over 90 days

It moves with the exchange rate; the steps are the maker’s own price changes. Built at today’s margin, so approximate if the margin changed in the window.

InputOutput

Performance, 30 days

Health is measured by IranRouter itself: a day counts as healthy unless requests to this model failed on our side or it could not be served. First token and speed come from IranRouter’s traffic, and from public market statistics for this model on days without enough of it.

Daily health50.00%

Time to first token16.21 s

Output speed0 tokens/s

Place in the market

By usage across the global model market.

This model isn’t ranked yet.

Capabilities

Image inputYes
Audio inputNo
Tool callingNo
JSON outputYes
ReasoningReasoning levels: high, minimal, none
Web searchNo
Prompt cacheNo
Makes imagesYes
Open weightsNo
On the free planNo
Input
ImageText
Output
ImageText

Parameters it accepts

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstemperaturetop_p

Start in a minute

The official OpenAI and Anthropic SDKs; only the address and the key change.

Base URLhttps://iranrouter.com/v1
Model IDgoogle/gemini-3.1-flash-image
# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://iranrouter.com/v1",
    api_key="ir-...",
)

r = client.chat.completions.create(
    model="google/gemini-3.1-flash-image",
    messages=[{"role": "user", "content": "Hello, introduce yourself"}],
)
print(r.choices[0].message.content)
The full guide in the docs: keys, streaming and errors

Peer models

Its family and models with a close score; the last column compares one message’s cost with this model.

No peer models found.

Technical specs

ID
google/gemini-3.1-flash-image
Maker
Google
Tokenizer
Gemini
Released
Jun 18, 2026
Added to IranRouter
Aug 19, 2026
Context
131,072 tokens
Max output
32,768 tokens
Google: Nano Banana 2 (Gemini 3.1 Flash Image)One message about 6,850 IRRStart with this model