OpenAI: GPT-5 API Pricing
OpenAI: GPT-5 costs $1.25 per 1M input tokens and $10.00 per 1M output tokens (cache reads: $0.125). Context window: 400K. Prices verified 2026-10-21 · source
Alternatives to consider
99% cheaper with nearly identical quality (20.1 vs 23)
+34.6 quality points for 16% more
Cheapest openai model — 99% less per month
Rebuilt daily from our snapshot archive — the chart appears once a model has 5+ snapshots of history.
From our own daily snapshot archive — independent of provider announcements.
Intelligence measures reasoning/knowledge/coding benchmarks. A high score with a low blended price = value pick; check the value chart to see where this model lands.
Token economics
| Token type | Price | vs base input |
|---|---|---|
| Standard input | $1.25 | — |
| Cache read | $0.125 | −90% |
| Output | $10.00 | — |
| Web search tool | $10/1k searches | — |
Prompt caching stores repeated context server-side: reads cost far less, but writes carry a one-time premium.
Higher effort = deeper thinking = more reasoning tokens billed as output.
Training data ends here — newer events require retrieval or web search.
What would OpenAI: GPT-5 cost you per month?
| Workload | Requests/mo | Avg tokens (in/out) | Est. monthly cost |
|---|---|---|---|
| Light chatbot | 10,000 | 800 / 400 | $50.00 |
| Coding agent | 5,000 | 8,000 / 2,000 | $150.00 |
| RAG pipeline | 30,000 | 4,000 / 500 | $300.00 |
| Doc summarizer | 2,000 | 20,000 / 1,000 | $70.00 |
Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.
About OpenAI: GPT-5
GPT-5 is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience. It is optimized for complex tasks that require step-by-step reasoning, instruction following, and accuracy...
Compare OpenAI: GPT-5 with
Frequently asked questions
How much does OpenAI: GPT-5 cost?
OpenAI: GPT-5 costs $1.25 per 1M input tokens and $10.00 per 1M output tokens; cached input tokens cost $0.125 per 1M. Verified 2026-10-21 — provider source.
What is the context window?
400K tokens, with up to 128K output tokens per response. That's roughly 500 pages of text in a single request.
Does it support prompt caching?
Yes — cached input is $0.125/1M, about 90% cheaper than standard input. Agents and RAG workloads with repeated context benefit most.
What's a cheaper alternative?
ScaleDown: Summarize saves about 99% on a typical workload with comparable quality.
Official resources
- OpenAI: GPT-5 on OpenRouter — live endpoint, pricing source of record.
- Artificial Analysis leaderboard → — independent intelligence and performance rankings.
- OpenAI pricing → — first-party pricing and billing details.
- LMArena leaderboard → — independent human-preference rankings.
- Shred your current bill — paste a CSV and see if switching saves money.