GPT-5 API pricing
As of October 22, 2026, OpenAI GPT-5 costs $1.25 per million input tokens and $10.00 per million output tokens on OpenAI's own API, with cached input at $0.125 per million.
- Input, per million tokens$1.25
- Output, per million tokens$10.00
- Cached input, per million$0.125
- Context window400K tokens
- Max output128K tokens
- Output speedNot measured
What a request costs
Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.
| Workload | Tokens | One request | 1,000 requests | Fits the context window |
|---|---|---|---|---|
| Chat turn | 1K input + 500 output tokens | $0.0063 | $6.25 | Yes |
| Repository review | 50K input + 3K output tokens | $0.092 | $92.50 | Yes |
| Agent loop | 200K input + 10K output tokens | $0.350 | $350.00 | Yes |
| Solved coding task | One SWE-bench Verified attempt, divided by the share that succeed | $0.39 | $390.00 |
Price history
We have read OpenAI's own price every day since October 21, 2026. It has not changed yet; any change will be listed here with its date.
- October 21, 2026 First recorded: $1.25 input, $10.00 output
Cheaper models as good as GPT-5
Models within two points of GPT-5 or above it on the LLMBenchmark Index, with a lower output price. Cheapest first.
- Qwen3.5-Flash$0.26 Overall 50.1 against 51.5 · 97% cheaper output
- MiMo-V2.6-Flash$0.28 Overall 60.8 against 51.5 · 97% cheaper output
- MiMo-V2.5$0.336 Overall 50.7 against 51.5 · 97% cheaper output
- DeepSeek V4 Flash 0731$0.396 Overall 55.2 against 51.5 · 96% cheaper output
- Claude Haiku 5.5$0.50 Overall 67.6 against 51.5 · 95% cheaper output
GPT-5 pricing questions
- How much does GPT-5 cost per million tokens?
- $1.25 per million input tokens and $10.00 per million output tokens, as listed on OpenRouter on October 22, 2026.
- Does GPT-5 support prompt caching?
- Yes. OpenRouter lists cached input at $0.125 per million tokens, against $1.25 for uncached input.
- Is there a cheaper model as good as GPT-5?
- Qwen3.5-Flash scores 50.1 on the LLMBenchmark Index, within two points of GPT-5 or above it, and costs $0.26 per million output tokens.
- Has the price of GPT-5 changed?
- Not since we started recording it daily on October 21, 2026.