AI API Prices › Google › Gemini 3.8 Flash

Gemini 3.8 Flash pricing

Gemini 3.8 Flash API cost from Google — $0.750 per 1M input tokens and $3.75 per 1M output tokens. Promotional Standard rates through Dec 31, 2026; Jan 1, 2027 input/output $1.50/$7.50. Cache storage extra. Estimate your real monthly bill below, then compare it against every other model.

Input price
$0.750
per 1M input tokens
Output price
$3.75
per 1M output tokens
Cached input
$0.075
per 1M · ~90% off input
Reference call
$0.0045
1K in + 1K out

Fast / cheap 1.048576M context · all prices USD per 1M tokens, this price verified 2026-10-09.

Promotion and storage: USD per 1M: Standard input/output/cache reads $0.75/$3.75/$0.075 through Dec 31, 2026; $1.50/$7.50/$0.15 from Jan 1, 2027. Storage $0.50 then $1 per 1M cached tokens/hour. Calculators use the displayed promotional Standard rates and exclude cache storage. Compare modes, future prices and workload examples →

Gemini 3.8 Flash capabilities & limits

Representative specs for this tier — confirm exact limits in the Google docs.

Context window1.048576M
Max output66K
Knowledge cutoffSee official model card
API formatOpenAI-compatible
✓ Vision✓ Tools / functions✓ JSON / structured✓ Prompt caching✓ Batch API

API acting up? Check live Google status → · all AI API status

Call Gemini 3.8 Flash from your code

The exact model string and endpoint to use. Uses the native Gemini API format shown below.

Model stringgemini-3.8-flash
Base URLhttps://generativelanguage.googleapis.com/v1beta
API key envGEMINI_API_KEY
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.8-flash:generateContent" \
  -H "x-goog-api-key: $GEMINI_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "contents": [{"parts": [{"text": "Hello"}]}]
  }'

Model strings follow each provider's naming convention; confirm the current id in the Google docs before relying on it.

What a Gemini 3.8 Flash API call actually costs

Blended input + output cost at Gemini 3.8 Flash's list rates — useful yardsticks before you commit to volume.

$0.0045
Short call
1K in · 1K out
$0.0041
Chat turn
3K in · 500 out
$0.019
RAG / long prompt
20K in · 1K out
$4.50
1M in + 1M out
aggregate of short calls

Gemini 3.8 Flash cost calculator

Enter your monthly volume to estimate the Gemini 3.8 Flash bill. Runs entirely in your browser.

Estimated monthly cost —

Peak/off-peak and long-context pricing are applied automatically where published. Cache-write, Batch/Flex and Fast-mode adjustments are not included. For the multi-model breakdown with the same exclusions, use the cost calculator.

Google models — Gemini 3.8 Flash in context

How Gemini 3.8 Flash prices against its siblings. Cheapest reference cost first.

Model Input /1M Output /1M Cost / call* Context Type
Gemini 1.5 Flash-8B
Cheapest capable model
$0.037 $0.150 $0.0002 1M Fast / cheap
Gemini 2.0 Flash $0.100 $0.400 $0.0005 1M Fast / cheap
Gemini 3.1 Flash-Lite
Standard text input; audio $0.50/1M. Cache storage and tools extra
$0.250 $1.50 $0.0018 1.048576M Fast / cheap
Gemini 2.5 Flash $0.300 $2.50 $0.0028 1M Balanced
Gemini 3.8 Flash
Promotional Standard rates through Dec 31, 2026; Jan 1, 2027 input/output $1.50/$7.50. Cache storage extra
$0.750 $3.75 $0.0045 1.048576M Fast / cheap
Gemini 2.5 Pro
1M context (≤200k tier)
$1.25 $10.00 $0.011 1M Flagship

*Reference cost of one call with 1,000 input + 1,000 output tokens — a neutral yardstick. Use the calculator for your real usage. Cheapest row highlighted.

Cheaper than Gemini 3.8 Flash? In the same fast / cheap tier, Gemini 1.5 Flash-8B runs $0.037 in / $0.150 out. For a 1K-input / 1K-output reference workload, the lowest-cost model tracked here is Gemini 1.5 Flash-8B — see the cheapest LLM API guide.

How Gemini 3.8 Flash pricing works

Gemini 3.8 Flash is billed per token: a lower input price of $0.750 per million tokens for everything you send, and a higher output price of $3.75 per million for everything the model generates. To turn that into a real Gemini 3.8 Flash bill, multiply by your monthly request volume and average prompt/response length — the calculator above does exactly that.

Prompt caching is the biggest lever on your Gemini 3.8 Flash cost: cached input tokens bill at just $0.075 per million — about 90% cheaper. If you reuse a long system prompt or context across calls, caching can dramatically cut the input portion of your bill.

List prices move fast — always confirm the current numbers on the official Google pricing page before relying on them for budgeting.

Gemini 3.8 Flash pricing FAQ

How much does the Gemini 3.8 Flash API cost?

Gemini 3.8 Flash costs $0.750 per 1M input tokens and $3.75 per 1M output tokens, with cached input at $0.075 per 1M (about 90% off). A typical 3K-input / 500-output call at the displayed rate works out to about $0.0041.

What is Gemini 3.8 Flash's context window?

Gemini 3.8 Flash has a 1.048576M-token context window. Standard uncached input is $0.750 per 1M tokens.

Does Gemini 3.8 Flash support prompt caching?

Yes. At Standard rates, Gemini 3.8 Flash bills cache-read tokens at $0.075 per 1M instead of $0.750 uncached — roughly 90% cheaper for the repeated part of your prompts.

Is there a cheaper alternative to Gemini 3.8 Flash?

In the same fast / cheap tier, Gemini 1.5 Flash-8B (Google) is cheaper at $0.037 in / $0.150 out. For the 1K-input / 1K-output reference workload, the lowest-cost model tracked in this catalog is Gemini 1.5 Flash-8B.

Compare Gemini 3.8 Flash with other models