GPT-5 API pricing (August 2026)
What it costs at real volumes
A chat-shaped workload: 800 input tokens and 300 output tokens per request, no caching, no batch.
Specifications
- Provider
- OpenAI
- Context window
- 400K tokens
- Max output
- 128K tokens
- Tier
- frontier
- Status
- GA
- Blended $/1M (3:1)
- $3.44
- Cache break-even hit rate
- 0% — caching always saves
- Prices verified
- 4 Aug 2026
Source: OpenAI pricing. Finitizer is not affiliated with OpenAI.
Similar models
Other gpt models
- GPT-5 mini-$2.75
- GPT-5 nano-$3.30
- GPT-4.1+$0.063
- GPT-4.1 mini-$2.74
- GPT-4.1 nano-$3.26
- GPT-4o+$0.938
- GPT-4o mini-$3.18
- o3+$0.063
- o4-mini-$1.51
Closest prices elsewhere
- Gemini 2.5 Pro+$0
- Grok 4.5$-0.438
- Claude Sonnet 5+$0.563
- Claude Haiku 4.5-$1.44
Frequently asked questions
How much does GPT-5 cost per 1M tokens?
GPT-5 costs $1.25 per million input tokens and $10.00 per million output tokens at OpenAI list prices. Output is 8.0x the input rate, so the input:output ratio of your workload drives the real cost more than the headline price.
Does GPT-5 support prompt caching?
Yes. Cached input is billed at $0.125 per million tokens, 10x cheaper than uncached input. There is no cache-write premium, so caching is never a net loss.
What is the batch discount for GPT-5?
Requests submitted through the asynchronous batch endpoint are billed at 50% off both input and output rates, bringing input to $0.625 and output to $5.00 per million tokens.
What is GPT-5's context window?
400K tokens of context with up to 128K output tokens per request. A larger context window raises the ceiling on what you can send, not the price per token — but filling it on every request is one of the most common causes of an unexpected bill.
Running GPT-5 in production?
Finitizer TokenOps attributes real token spend to teams, features, and prompts — so you find out which workload moved the bill before the invoice does.