Home / Providers / OpenAI / GPT-5
GPT-5 token cost
OpenAI · context 400,000 tokens · tokenizer Exact
Open in cost calculator · Count tokens · Full calculator · Official pricing
When to use 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 TokenCalculator before you scale.
Pricing
- Input
- $1.25/1M
- Output
- $10.00/1M
- Cached input
- $0.125/1M
- Batch input
- $0.625/1M
- Verified
Official pricing source · Open main calculator · Cheaper frontier models
Estimate with TokenCalculator
Preselect GPT-5 in the calculator to count tokens and project request or monthly cost. Exact vs Approx follows this model's tokenizer family. See the Exact vs Approx guide for honesty rules.
Compare
Related tools
Estimate API cost · Count tokens · Check context fit · Estimate cache savings · Compare batch pricing · Token visualizer
Related guides
LLM API pricing · Exact vs Approx · OpenAI token calculator · o200k vs cl100k: which OpenAI encoding counts your text?
Sources and references
Official documentation used for definitions, counting methods, or rate cards. Always confirm critical budgets on the provider page.