LLMCost
google

Google: Gemini 3.8 Flash API Pricing

Google: Gemini 3.8 Flash costs $0.825 per 1M input tokens and $4.13 per 1M output tokens (cache reads: $0.083). Context window: 1.0M. Prices verified 2026-10-21 · source

🔔 Price alerts coming soon

Alternatives to consider

💰 Save money
Z.ai: GLM 5.3 Flash (batch)
$0.050 in / $0.180 out
Quality score: 41.8

95% cheaper with nearly identical quality (41.8 vs 40.9)

⬆️ Upgrade smart
Meta: Muse Spark 1.2
$1.25 in / $4.25 out
Quality score: 57

+16.1 quality points for 21% more

🏠 Same provider
Google: Gemma 3 4B
$0.040 in / $0.050 out
Quality score: 4.8

Cheapest google model — 97% less per month

Price history
2026-09-03 → 2026-10-21 · 59 daily snapshots
inputoutputinput +10% over windowoutput +10%

Rebuilt daily from our snapshot archive — the chart appears once a model has 5+ snapshots of history.

Pricing behavior
2 price changes in the last 59 daily snapshots
Last move (2026-10-16): input +10%

From our own daily snapshot archive — independent of provider announcements.

Intelligence & capability
via Artificial Analysis
40.9
Intelligence index · top 20% of 288 scored
76.3
Coding index
40.2
Agentic index
$1.65
Blended $/1M (3:1 in:out)

Intelligence measures reasoning/knowledge/coding benchmarks. A high score with a low blended price = value pick; check the value chart to see where this model lands.

Input / 1M tokens
$0.825
Output / 1M tokens
$4.13
Context window
1.0M
Max output
66K

Token economics

Token typePricevs base input
Standard input$0.825—
Cache read$0.083−90%
Cache write (5m)$0.042-95%
Output$4.13—
Web search tool$14/1k searches—

Prompt caching stores repeated context server-side: reads cost far less, but writes carry a one-time premium.

Reasoning behavior
Mode: Always on (mandatory)
Effort levels:highmediumlow

Higher effort = deeper thinking = more reasoning tokens billed as output.

What would Google: Gemini 3.8 Flash cost you per month?

WorkloadRequests/moAvg tokens (in/out)Est. monthly cost
Light chatbot10,000800 / 400$23.10
Coding agent5,0008,000 / 2,000$74.25
RAG pipeline30,0004,000 / 500$160.88
Doc summarizer2,00020,000 / 1,000$41.25

Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.

About Google: Gemini 3.8 Flash

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

Compare Google: Gemini 3.8 Flash with

Popular head-to-heads — see all on the comparisons index.

Frequently asked questions

How much does Google: Gemini 3.8 Flash cost?

Google: Gemini 3.8 Flash costs $0.825 per 1M input tokens and $4.13 per 1M output tokens; cached input tokens cost $0.083 per 1M. Verified 2026-10-21 — provider source.

What is the context window?

1.0M tokens, with up to 66K output tokens per response. That's roughly 1311 pages of text in a single request.

Does it support prompt caching?

Yes — cached input is $0.083/1M, about 90% cheaper than standard input. Agents and RAG workloads with repeated context benefit most.

What's a cheaper alternative?

ScaleDown: Summarize saves about 98% on a typical workload with comparable quality.

Official resources