Gemini 3.8 Flash API pricing

✓ Matches the official page (checked 2026-12-05 13:00 UTC) · Official pricing ↗Synced 2026-12-05 13:00 UTC · Method

Gemini 3.8 Flash prices per 1M tokens
FieldPer 1M tokens
Input$0.75
Output$3.75
Cached input$0.075
Batch input$0.375
Batch output$1.875
Batch cached input$0.0375
Minimum cacheable prompt4,096 tokens

Price change announced by Google (Gemini): from 2027-01-01, input $1.50 / output $7.50 per 1M tokens (cache and batch rates change too). Prices above apply until then.

Google's free tier includes this model (input and output free of charge, within rate limits). Limits: Gemini API rate limits.

Report a wrong price

Google (Gemini) · Context window 1,048,576 · Max input 1,048,576 · Max output 65,536
vision · reasoning · tool calling · structured output
Per 1,000 tokens (1K): $0.00075 input, $0.00375 output.

Calculate my cost →

Follow this price:
Atom feed ▾
AtomJSON

Get notified in any feed reader.

Billing rules for caching, Batch and long prompts: Google (Gemini) API cost guide.

About Gemini 3.8 Flash

Gemini 3.8 Flash (model code gemini-3.8-flash, a stable version last updated in September 2026) is the Flash-tier model Google aims at long-horizon software engineering, autonomous agents and enterprise workflows. It accepts text, image, video, audio and PDF input and returns text, with an input limit of 1,048,576 tokens and an output limit of 65,536. Its capability list includes code execution, computer use, function calling, file search, and grounding with Google Search and Google Maps; the "minimal" thinking level returns an error. Google's page lists paid-tier prices of $0.75 input and $3.75 output per 1M tokens through December 31, 2026, and $1.50 and $7.50 from January 1, 2027. The free tier charges nothing for input or output.

Sources: Gemini 3.8 Flash model page (checked 2026-12-04)

Price in context

Gemini 3.8 Flash ranks No. 6 of 14 current Google (Gemini) models by output price, cheapest first (Gemini 2.5 Flash Lite is the cheapest at $0.40, Gemini 4 Carbon the most expensive at $20.00). Output tokens cost 5× the input price; the median across all 129 current models is 5×. Against the whole table (median $1.25 input / $4.50 output per 1M), Gemini 3.8 Flash is cheaper on both input and output.

Cached input costs 10% of the normal input price ($0.075 vs $0.75 per 1M), but only for prompts of at least 4,096 tokens: the 1,200-token support-chatbot prompt used in the scenarios here is shorter, so caching does not lower its cost. There is no separate cache-write charge: repeated prefixes are discounted automatically. The Batch API bills $0.375 input / $1.875 output per 1M (50% below the standard rates) for jobs that are not time-critical; the batch-processing scenario costs $1,266 per month.

The context window is 1,048,576 tokens, roughly 2,097 pages of English text; 14% of current models accept more. The closest model from another provider by price is Doubao Seed 2.1 Pro 260628 ($0.8625 / $4.3125); the cheapest reasoning model for the chatbot scenario is Hy4 Flash at $22.22 per month against $360 for Gemini 3.8 Flash.

What it costs per month

Estimated monthly cost by workload (USD)
Scenario (per month)Gemini 3.8 Flash
Customer support chatbot
5,000 req/day · 1,200 in · 400 out · cache 60%
$360
RAG over documents
2,000 req/day · 8,000 in · 600 out · cache 30%
$398
Coding agent
1,500 req/day · 25,000 in · 2,000 out · cache 80%
$574
Deep reasoning
800 req/day · 3,000 in · 6,000 out · cache 20%
$594
Batch processing
50,000 req/day · 1,500 in · 150 out · Batch
$1,266

Adjust the numbers in the calculator.

Cheaper alternatives

Lowest monthly cost for the chatbot scenario among reasoning models:

Comparisons

Other Google (Gemini) models

Genie 4, Gemini 4 Neon, Gemini 4 Hydrogen, Gemini 4 Carbon, Gemini 3.1 Pro Preview, Gemini Pro (latest), Gemini Flash (latest), Gemini 3.5 Flash Lite, Gemini 3.6 Flash, Gemini Flash Lite (latest), Gemini 3.1 Flash Lite retiring 2027-05-07 at the earliest, Gemini 3 Flash Preview, Gemini 2.5 Flash Lite · All Google (Gemini) API prices →

Models at a similar price

Gemini Flash (latest) ($0.75/$3.75), Gemini 3.6 Flash ($0.75/$3.75), Doubao Seed 2.1 Pro 260628 ($0.8625/$4.3125), Doubao Seed 2.1 Pro 260915 ($0.8625/$4.3125), GLM-5v Turbo ($1.20/$4.00), GPT-5.4 mini ($0.75/$4.50)

Price history

No price changes recorded since tracking began on 2026-10-08. See all price changes →

Source and checks

Source and checks
Data sourceLiteLLM price list (MIT)
Official pricingai.google.dev ↗
Last synced2026-12-05 13:00 UTC
Last price changeNo price changes recorded since tracking began on 2026-10-08.
Cross-checkMatches models.dev
Official checkVerified against the official page on 2026-12-05 (automatic check)
Price regionNot confirmed by an official check
Field-by-field check against the official page
FieldThis siteOfficialStatus
Input$0.75$0.75✓ official
Output$3.75$3.75✓ official
Cached input$0.075$0.075✓ official
Batch input$0.375$0.375✓ official
Batch output$1.875$1.875✓ official
Batch cached input$0.0375$0.0375✓ official
Context window1,048,576—– unchecked
Max input1,048,576—– unchecked
Max output65,536—– unchecked

✓ official = the official page's value is in use (other sources' values noted) · ✓ verified = other source equals the official page · ≠ mismatch = differs and is held for confirmation; both shown · … pending = the automatic check could not read the page · – unchecked = not listed on the official page or not checked yet

Cite: Gemini 3.8 Flash API pricing, https://apicostcheck.com/models/gemini-3.8-flash/, retrieved 2026-12-05. Reuse under CC BY 4.0; a plain or nofollow link is fine.