Skip to content
AI Dev Toolkit.
Esc
  • AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.Tool
  • LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.Tool
  • AI Model ComparisonCompare prices, context windows and features across models.Tool
  • AI Model Pricing PagesSpecs, real costs and cheaper alternatives for popular models.Tool
  • Context Window CheckerSee whether your text fits each model's context window.Tool
  • Subscription vs API CalculatorFind out whether a chat plan or the API is cheaper for you.Tool
  • GPU / VRAM CalculatorCheck how much VRAM a local model needs and which GPUs fit.Tool
  • Claude Code Error DatabaseExact Claude Code error messages with tested fixes.Tool

Google · Model

Gemini 3.8 Flash pricing, context window and specs

Gemini 3.8 Flash costs $0.75 per million input tokens and $3.75 per million output tokens, and reads up to 1,048,576 tokens per request. By blended price it is number 15 of 20 from cheapest in Google's current line-up.

Input / 1M
$0.75
Output / 1M
$3.75
Cached / 1M
$0.075
Context
1,048,576
Max output
65,536
Released
2026-09-02

Estimate your cost with Gemini 3.8 FlashCompare all Google modelsCount tokens for Gemini 3.8 Flash

Pricing

Gemini 3.8 Flash API pricing

Price per 1M tokensInputOutput
Standard$0.75$3.75
Cached input (read)$0.075–
Batch API$0.375$1.875

Output costs 5.0× the input price, so long replies drive the bill more than long prompts. If your requests share a long fixed prefix, such as a system prompt or tool definitions, caching cuts that part to 10% of the normal input price.

Examples

What Gemini 3.8 Flash costs in practice

WorkloadTokens in / outRequests/dayPer requestPer month
Support chatbot50% cached1,500 / 4001,000$0.00212$64.45
RAG app20% cached6,000 / 500500$0.00557$84.63
Coding agent80% cached40,000 / 2,000200$0.0159$96.73
Document summariserbatch8,000 / 600300$0.00413$37.64

Change any number in the cost calculator.

Context

Context window

Gemini 3.8 Flash accepts up to 1,048,576 tokens per request, roughly 786,432 English words or 1,573 pages. That budget is shared between your prompt and the reply, and a single reply is capped at 65,536 tokens.

Filling the whole window with one prompt costs about $0.79 at list price, so for repeated long-document work, retrieval (sending only the relevant parts) or prompt caching is usually much cheaper.

Check whether your text fits Gemini 3.8 Flash’s window.

Features

Capabilities

Image input
Yes
Tool / function calling
Yes
Reasoning mode
Yes
Prompt caching
Yes
Structured output
Yes
Open weights
No
Accepts
text, image, video, file, audio
Knowledge cutoff
Not published

As declared by the provider’s API. It shows a feature exists, not how well it works.

Google

Where Gemini 3.8 Flash sits in Google’s line-up

Ranked by blended price (three parts input to one part output, $1.50 per 1M for Gemini 3.8 Flash), it is number 15 of 20 from cheapest of Google’s 20 priced models. See every Google model and price

ModelInput / 1MOutput / 1MContextReleased
Gemini 3.8 Flash (this page)$0.75$3.751,048,5762026-09-02
Gemini 3.7 Flash$0.75$3.751,048,5762026-08-13
Gemini 3.5 Flash Lite$0.30$2.501,048,5762026-07-21
Gemini 3.6 Flash$0.75$3.751,048,5762026-07-21
Gemini 3.5 Flash$1.50$91,048,5762026-05-19
Gemini 3.1 Flash Lite$0.25$1.501,048,5762026-05-07
Gemma 4 26B A4B$0.0765$0.255262,1442026-04-03
Gemma 4 31B$0.09$0.34262,1442026-04-02

Save

Cheaper alternatives

Current models from major providers, one per provider, that keep image input, tool calling, a reasoning mode, a usable context window and output limit. Compared by blended price.

Compare

Similarly priced models

  • GLM 5.1Z.ai$0.966 / $3.036
  • Qwen3 Max ThinkingQwen$0.78 / $3.90
  • Grok 4.20xAI$1.25 / $2.50
  • Kimi K2.7 CodeMoonshot AI$0.6712 / $3.35
  • GPT-5.4 MiniOpenAI$0.75 / $4.50

Current models from other major providers, closest blended price.

FAQ

Gemini 3.8 Flash questions

How much does Gemini 3.8 Flash cost?

Gemini 3.8 Flash costs $0.75 per million input tokens and $3.75 per million output tokens, with cached input at $0.075. A typical chatbot reply (1,500 tokens in, 400 out) costs about $0.00262. Use the LLM cost calculator for your own workload.

What is Gemini 3.8 Flash's context window?

1,048,576 tokens, about 786,432 English words or 1,573 printed pages, shared between your prompt and the reply. A single reply can be up to 65,536 tokens.

Does Gemini 3.8 Flash support prompt caching and batch requests?

Yes, cached input is billed at $0.075 per million tokens (10% of the normal input price). A batch API is available at $0.375 input and $1.875 output per million tokens.

What are cheaper alternatives to Gemini 3.8 Flash?

With the same essentials (image input and tool calling), the cheapest options are Seed-2.0-Mini (88% cheaper), Claude Haiku 5.5 (87% cheaper), GPT-6 Luna (87% cheaper). Cheaper doesn't mean equivalent, so test them on your own prompts.

Is Gemini 3.8 Flash open source?

No, Gemini 3.8 Flash is only available through Google's API and partners; its weights aren't published.

Updated

Sources: OpenRouter models API and LiteLLM model prices and context windows, checked daily; open-weight prices are typical hosted prices. Confirm critical numbers on Google’s pricing page. See our methodology.