Google API

Gemini 3.8 Flash API Pricing 2026 — Cost per 1 Million Tokens

Current Gemini 3.8 Flash API pricing from Google per 1 million tokens, including input, output and cached-token rates when available.

Limited-time offer

Gemini 3.8 Flash introductory API pricing

Introductory Standard-tier pricing through December 31, 2026: $0.75 input, $0.075 cached input and $3.75 output per 1M tokens.

-50% · Until

ModelRatePrice / 1M tokens
Gemini 3.8 Flash
Google's most intelligent GA Flash model for long-horizon software engineering, autonomous agents and complex enterprise workflows.
1,048,576 context · 65,536 max output · multimodal input · tunable thinking and built-in tools.
Introductory pricing runs through December 31, 2026; standard $1.50 input, $0.15 cached input and $7.50 output pricing starts January 1, 2027.
Input — promo through Dec 31, 2026$0.75
Gemini 3.8 FlashContext cache input — promo through Dec 31, 2026$0.075
Gemini 3.8 FlashOutput incl. thinking — promo through Dec 31, 2026$3.75

How API token cost is calculated

Multiply the number of tokens by the provider rate, then divide by 1,000,000.

cost = tokens × price per 1M ÷ 1,000,000

Example: 250,000 input tokens at $2 / 1M = $0.50.

AI Price History