Side by side pricing and context for GPT-5 and Gemini 3.1 Pro. Rates are curated catalog values with last verified dates on each model page.
GPT-5
OpenAI frontier model for hard coding, agents, and long-context production work. Use when quality matters more than the cheapest token rate, then check cache and batch in TokenCALC before you scale.
Input $1.25 / Output $10.00 per 1M
Context 400K · Exact (o200k_base)
Gemini 3.1 Pro
Newer Gemini Pro preview with higher list rates and long-context tiers. Confirm the preview model id and re-verify pricing before production lock-in.
Input $2.00 / Output $12.00 per 1M
Context 1M · Approx (Gemini family)
Quick take
- GPT-5 is cheaper on input in this catalog snapshot.
- GPT-5 is cheaper on output in this catalog snapshot.
- Both last verified on their model pages (2026-08-02 / 2026-08-02).
Rate table
| Metric | GPT-5 | Gemini 3.1 Pro |
|---|---|---|
| Input / 1M | $1.25 | $2.00 |
| Output / 1M | $10.00 | $12.00 |
| Cached input / 1M | $0.125 | $0.200 |
| Context | 400K | 1M |
| Tokenizer | Exact (o200k_base) | Approx (Gemini family) |