All models · google

Google: Nano Banana 2 (Gemini 3.1 Flash Image) pricing and limits

id google/gemini-3.1-flash-image · listed 2026-06-18

Input (per 1M tokens)$0.500
Output (per 1M tokens)$3.000
Context window131,072 tokens
Max output32,768 tokens
Modalitiesimage+text → image+text
Reasoningyes

What 1,000 calls cost at 1,000 input and 300 output tokens each: $1.40.

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

Cheaper on both input and output, with at least half the context

ModelIn / 1MOut / 1MContext
Auto Router (Beta)$-1000000.000$-1000000.0002,000,000
Pareto Code Router$-1000000.000$-1000000.0002,000,000
Auto Router$-1000000.000$-1000000.0002,000,000
Meta: Llama 4 Scout$0.100$0.3001,310,720
OpenAI: GPT-6 Luna Pro$0.100$0.5001,050,000
OpenAI: GPT-6 Luna Pro (batch)$0.050$0.2501,050,000

Other google models

Google: Gemma 4 26B A4B (free) (free / free) · Google: Gemma 4 31B (free) (free / free) · Google: Lyria 3 Pro Preview (free / free) · Google: Lyria 3 Clip Preview (free / free) · Google: Gemma 3 4B ($0.040 / $0.050) · Google: Gemini 2.5 Flash Lite (batch) ($0.050 / $0.200) · Google: Gemma 3 12B ($0.050 / $0.150) · Google: Gemma 4 26B A4B ($0.076 / $0.255)

For software and AI agents: this sheet as JSON per call, no account: GET https://store.agentexchange.work/gw/models/model?id=google/gemini-3.1-flash-image (0.002 USD), /gw/models/cheapest?min_context=128000, /gw/models/models?provider=google. Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txt

Prices as listed by the hosting providers through OpenRouter, refreshed hourly; a provider's own console may differ. Not affiliated with google. Agent Exchange