Gemini 3.8 Flash API Pricing & Monthly Cost Simulator

Verified 2026 unit economics for Google Gemini 3.8 Flash (google/gemini-3.8-flash): $0.825/1M uncached input, $0.083/1M cached prefix read, and $4.125/1M output across a 1,048,576-token context window (released 2026-09-02).

Runs locally in your browser — 0 bytes uploaded
Uncached Input (/1M)
$0.825
Cached Prompt Read (/1M)
$0.083 (-90%)
Output Completion (/1M)
$4.125
50% Batch API (In / Out)
$0.412 / $2.063

Interactive 30-Day Monthly Spend Simulator

Live Unit-Cost & Prompt Cache Slider (Gemini 3.8 Flash)
google/gemini-3.8-flash
Estimated 30-day spend
$153.45/mo
Cost per 1,000 calls
$5.1150
Monthly savings vs 0% cache
$44.55/mo

Technical Limits & API Capabilities

Context window
1,048,576
Max output tokens
65,536
Workload tier
Coding & Agent
Input modalities
text, image, video, file, audio
Tool Calling: Yes JSON Schema Strict: Yes Reasoning Tokens: Supported 50% Batch API: Available

Same-Category 2026 Model Alternatives (Coding & Agent)

Unit pricing and context comparison across Coding & Agent models
Model Provider Input / Cached ($/1M) Output ($/1M) Context / Max Out
Gemini 3.8 FlashGoogle$0.825 / $0.083$4.1251,048,576 / 65,536
Gemini 4 HydrogenGoogle$1.5 / $0.075$7.51,048,576 / 943,718
Gemini 4 CarbonGoogle$2 / $0.1$101,048,576 / 943,718
Muse EmberMeta$0.1 / $0.004$0.51,048,576 / 943,718
GPT-6.1 TerraOpenAI$1 / $0.05$51,050,000 / 128,000
MiniMax M3.1 FlashMiniMax$0.15 / $0.015$0.61,048,576 / 524,288
Muse Spark OpenMeta$1.25 / $0.15$4.251,048,576 / 943,718

Head-to-Head Matchups Featuring Gemini 3.8 Flash

Frequently Asked Questions

How much does Gemini 3.8 Flash cost per 1 million tokens in 2026?

Gemini 3.8 Flash by Google is billed at $0.825 per 1M uncached input tokens, $0.083 per 1M cached input read tokens (90% cache discount), and $4.125 per 1M output tokens.

What are the context window and max output token limits for Gemini 3.8 Flash?

Gemini 3.8 Flash supports a 1,048,576-token input context window and up to 65,536 completion output tokens per request, accepting text, image, video, file, audio inputs.

Does Gemini 3.8 Flash support strict JSON Schema outputs, tool calling, and Batch API?

Gemini 3.8 Flash capability profile: tool calling = Supported, strict JSON Schema structured outputs = Supported, reasoning mode = Supported, and 50% asynchronous Batch API = Supported.