Google · preview

Gemini 3.1 Pro Preview API pricing

Preview multimodal Pro model with a 1M context window and long-context tier.

Input / million
$2.00
Cached input / million
$0.2000
Output / million
$12.00
Context window
1,000,000

Example cost

A request with 10,000 input tokens and 2,000 output tokens costs approximately $0.0440 at the recorded standard rate.

  • 10,000 standard input tokens / 1,000,000 × $2
  • 0 cached tokens / 1,000,000 × $0.2
  • 2,000 output tokens / 1,000,000 × $12

Pricing rules and limitations

Prompts above 200K use the higher rates for the request; thinking tokens are included in output billing.

Price history

EffectiveUntilInputOutputStatus
2026-03-01Current / scheduled$2.00$12.00preview