google / text-generation API-only released 2026-09-02

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.

Input / 1M
$0.83
Output / 1M
$4.13
Context
1M
AA Intelligence
40.9
Closed weights — available only as a hosted API text + image + video + file + audio → text View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$0.83
input / 1M
$4.13
output / 1M
$0.083
cached input / 1M
$4.95
1M in + 1M out
:batch variant $0.38 in · $1.88 out
Context window
1,048,576 tokens
Max output
65,536 tokens
Providers
2
Cheapest provider
Google AI Studio · $0.38 / $1.88
Best throughput
—
AA Intelligence / Coding / Agentic
40.9 / 76.3 / 40.2
✓ Tool calling ✓ Reasoning ✓ Structured outputs ✓ Image input ✓ File input ✓ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $0.83 input · $4.13 output per 1M tokens

Benchmarks

Third-party indices as published through OpenRouter — Artificial Analysis and Design Arena. Not measured by us.

AA Intelligence Index
40.9
AA Coding Index
76.3
AA Agentic Index
40.2
Design Arena
CategoryEloWin %Rank
androidnative 1076 33.1% #32
blender3d 1232 54.6% #6
fullstack 1244 48.1% #11
godotgamedev 1273 53% #5
mobileapps 1236 54.4% #8
python-pptxslides 1137 40.1% #21
spreadsheet 1042 40.2% #16
webapps 1238 46.7% #14
3d 1296 49.9% #20
asciiart 1267 51.6% #12
codecategories 1303 50.4% #15
dataviz 1273 51.4% #26
gamedev 1307 51% #17
svg 1293 54.8% #7
uicomponent 1314 53.8% #13
website 1300 50.1% #16

Providers

2 providers · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
Google unknown 1M $0.38 $1.88 62% —
Google AI Studio unknown 1M $0.38 $1.88 100% —
Google unknown 1M $0.75 $3.75 100% —
Google AI Studio unknown 1M $0.75 $3.75 100% —
Google unknown 1M $0.83 $4.13 100% —
Google unknown 1M $1.35 $6.75 100% —
Google AI Studio unknown 1M $1.35 $6.75 100% —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
google
Released on OpenRouter
2026-09-02
Context window
1,048,576 tokens
Max output
65,536 tokens
Input
text, image, video, file, audio
Output
text
Tokenizer
Gemini
Moderated by provider
No
OpenRouter id
google/gemini-3.8-flash
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.