Eliminating the 4 Hidden Taxes: AI Tokens, Manual Work, SaaS Cliffs & AI Scrapers Sponsor this header →

Google: Nano Banana 2 (Gemini 3.1 Flash Image) API Pricing & Cost Breakdown

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

google/gemini-3.1-flash-image
Vision
Last checked: Nov 21, 2026
Input / 1M Tokens
$0.50
Prompt & context tokens
Output / 1M Tokens
$3.00
Generated completion tokens
Blended (3:1) / 1M
$1.13
Tier: budget
Context Window
131K
Max output: 33K

Technical Specifications

Canonical IDgoogle/gemini-3.1-flash-image
ProviderGoogle
Input Modalitiesimage, text
Output Modalitiesimage, text
Open-WeightNo (Proprietary API)
Reasoning OptimizedStandard
Vision SupportYes

Estimated Monthly API Spend

StageMonthly TokensEst. Cost
Prototype / MVP
500 req/day
22.5M in / 6.0M out $29.25/mo
Growing SaaS
10,000 req/day
600.0M in / 150.0M out $750.00/mo
Scale Production
100,000 req/day
7500.0M in / 1800.0M out $9,150/mo
Simulate Custom Volume → Cut Cost via 3-Tier Cascade →

Deploy or Route Google: Nano Banana 2 (Gemini 3.1 Flash Image)

Multi-Provider Gateway

OpenRouter

Unified API gateway for 300+ LLMs with automatic fallbacks and unified billing.

Call via OpenRouter →
Edge AI Gateway

Cloudflare Workers AI

Global edge AI gateway with response caching, rate-limiting, and serverless workers.

Build on Cloudflare →
Multimodal API

Replicate

Pay-per-second cloud API for multimodal, vision, audio, and open-weight models.

Run on Replicate →

Some outbound infrastructure and API gateway links on KostoZero are partner referrals that help keep this observatory free and independent at no extra cost to you.

Cheaper Alternatives to Google: Nano Banana 2 (Gemini 3.1 Flash Image)

ModelProviderInput / 1MOutput / 1MBlendedContext
Qwen: Qwen3.5 397B A17B Qwen $0.45 $3.00 $1.09 262K
Mistral: Mistral Large 4 Mistral AI $0.70 $2.10 $1.05 1.05M
Qwen: Qwen3.6 27B Qwen $0.32 $3.20 $1.04 262K
ByteDance Seed: Seed 2.1 Turbo Bytedance Seed $0.50 $2.50 $1.00 262K
MoonshotAI: Kimi K2.5 Moonshotai $0.50 $2.50 $1.00 262K
Perplexity: Sonar Perplexity $1.00 $1.00 $1.00 127K

Frequently Asked Questions

How much does Google: Nano Banana 2 (Gemini 3.1 Flash Image) API cost per 1M tokens?

Google: Nano Banana 2 (Gemini 3.1 Flash Image) costs $0.50 per 1M input tokens and $3.00 per 1M output tokens ($1.13 blended at a 3:1 ratio).

What is the maximum context window of Google: Nano Banana 2 (Gemini 3.1 Flash Image)?

Google: Nano Banana 2 (Gemini 3.1 Flash Image) supports up to 131,072 tokens (131K) of input context and up to 32,768 output completion tokens.

What are cheaper alternatives to Google: Nano Banana 2 (Gemini 3.1 Flash Image)?

Lower-cost options tracked right now include Qwen: Qwen3.5 397B A17B ($1.09/1M), Mistral: Mistral Large 4 ($1.05/1M), Qwen: Qwen3.6 27B ($1.04/1M).

Get Instant Price-Drop (>10%), New AI Bot & SaaS Cliff Alerts

Every 6 hours our autonomous sync checks 40+ LLMs, AI crawlers, and SaaS pricing cliffs—alerting you when prices drop >10% or new scrapers appear.