Skip to main content
TokenCost logoTokenCost

Gemini 3.1 Flash Image

Last verified October 12, 2026 · Google pricing ↗

$0.500/1M input · $60.00/1M output · 131K context · Google

Gemini 3.1 Flash Image costs $0.500 per 1M input tokens and $60.00 per 1M output tokens from Google, with a 131K-token context window. A typical chat reply (1,500 tokens in, 400 out) costs $0.025, or $247.50 per 10,000 requests. On that workload it is cheaper than 9 of the 169 other buyable models tracked here.

Count Tokens

—
Tokens
—
Input Cost
—
Output Cost

Estimate Monthly Cost

Monthly Cost Estimator

Quick:
<$0.0001/mo

Pick a preset above or enter custom usage

What Gemini 3.1 Flash Image Costs Per Request

At $0.500 per 1M input and $60.00 per 1M output tokens, before caching or batch discounts.

WorkloadInput / output tokensPer requestPer 10,000 requests
Chat reply1,500 / 400$0.025$247.50
RAG answer over retrieved docs8,000 / 600$0.040$400.00
Coding-agent step30,000 / 2,000$0.135$1350.00

Gemini 3.1 Flash Image vs Similarly Priced Models

Nearest buyable models by price, with the RAG answer above (8,000 in / 600 out) priced on each.

ModelInput /1MOutput /1MContextRAG answer
Gemini 3.1 Flash Image Google$0.500$60.00131K$0.040
Nano Banana 2.1 Google$1.50$30.00131K$0.030
Claude Fable 5.1 Anthropic$10.00$50.001.0M$0.110
o3 Deep Research OpenAI$10.00$40.00200K$0.104

Alternatives to Gemini 3.1 Flash Image

Pricing Details

GoogleImage generation model (Nano Banana 2). The stored output rate is the IMAGE output rate of $60.00/1M; text and thinking output bills separately at $3.00/1M. Google's official migration target for Imagen 4, which shuts down 2026-08-17. The billing unit changed with that migration: Imagen 4 charged a flat per-image fee that ignored resolution ($0.02 fast / $0.04 standard / $0.06 ultra), while this model meters pixels. Per image, confirmed against Google's own pricing footnote: 747 tokens at 0.5K = $0.045, 1,120 at 1K = $0.067, 1,680 at 2K = $0.101, 2,520 at 4K = $0.151. So Imagen 4 Fast to 1K is 3.36x and Ultra to 1K is only 1.12x. A 2K image at $0.101 is 2.52x the Imagen 4 Standard tier, and would be 5.04x from Fast, but which Imagen 4 tiers actually offered 2K is disputed between two live Google pages: the Vertex output-resolution page (updated 2026-08-04) lists Standard and Fast, while the Gemini API Imagen guide (updated 2026-07-16) lists Standard and Ultra. They agree only on Standard, so only the 2.52x figure rests on undisputed docs. Batch halves everything (input $0.25, image output $30.00, text $1.50) with a 24h window, and this is asymmetric in the new model's favour because Imagen 4 was never batch-eligible - Google's Batch API is generateContent-only and Imagen used :predict. Do not cross-apply Gemini 3 Pro Image token counts (1,120 at 2K, 2,000 at 4K) to this model; the 1,680 and 2,520 figures here come from the pricing footnote and Vertex model docs and are the only ones that reproduce the published per-image prices, so using the Pro numbers under-reads a 2K image by 50%. Thinking is on by default and cannot be disabled via the API; thinking tokens are billed at the $3.00 text rate (up to two interim thought images are not billed) and Google publishes no typical per-request count, so every per-image figure above is a floor. Cached input $0.05/1M. No free tier. Grounding $14/1,000 requests after 5,000 free/month. Output is PNG only with SynthID always applied; numberOfImages, negativePrompt, imageFormat, personGeneration and addWatermark have no equivalent. Can return FinishReason.NO_IMAGE - a success response with no image. Multi-image per prompt is bounded by the 32,768 output cap (~29 at 1K). GA 2026-05-28. DEPRECATED 2026-10-06 in favour of Nano Banana 2.1 (gemini-nano-banana-2.1), no shutdown date announced; prices unchanged. Estimated tokens.
Input / 1M tokens
$0.5
Output / 1M tokens
$60
Context Window
131K
Max Output
33K

Price History

No price change recorded since 2026-08-11, when this site started tracking this model; it launched on 2026-05-28.

Frequently Asked Questions

Common questions about Gemini 3.1 Flash Image pricing and usage

How much does Gemini 3.1 Flash Image cost?
Gemini 3.1 Flash Image costs $0.5 per 1 million input tokens and $60 per 1 million output tokens. This pricing is set by Google.
What tokenizer does Gemini 3.1 Flash Image use?
Gemini 3.1 Flash Image uses the cl100k_base tokenizer. This tokenizer has a vocabulary of ~100,000 tokens and is widely used across many models.
What is Gemini 3.1 Flash Image's context window?
Gemini 3.1 Flash Image supports a context window of 131K tokens (131,072 tokens). The maximum output length is 33K tokens.
How does Gemini 3.1 Flash Image compare to other models?
On an 8,000-token-in, 600-token-out RAG answer, Gemini 3.1 Flash Image costs $0.040 per request. The nearest-priced alternatives cost: Nano Banana 2.1 (Google) $0.030, Claude Fable 5.1 (Anthropic) $0.110, o3 Deep Research (OpenAI) $0.104. The table above lists their full rates and context windows.
How do I count tokens for Gemini 3.1 Flash Image?
Use the token counter at the top of this page or visit the homepage calculator. Paste your text and it will show the exact token count and cost for Gemini 3.1 Flash Image using the cl100k_base tokenizer.

Read More About Gemini 3.1 Flash Image