GPT-5
gpt-5
Last refreshed 2026-05-22. Next refresh: weekly.
GPT-5 is worth evaluating for coding, rag, and agents when its provider route and context window match the workload.
Decision context: Coding task fit, 4 tracked provider routes, and research from 2026-05-10.
Use it for
- Teams evaluating coding, rag, and agents
- Workloads that can use a 400K context window
- Buyers comparing 4 tracked provider routes
Do not use it for
- Workloads where another current model has stronger sourced task evidence
Cheapest output
$10.00
OpenAI API per 1M tokens
Provider routes
4
Tracked API hosts
Quality / dollar
Grade D
Ranked by benchmark score divided by cheapest output price
Freshness
2026-05-10
Researched 12d ago
Top use-case fit
Coding
Q/$ D2 relevant benchmarks in the decision map.
RAG
Included by capability and metadata signals in the decision map.
Agents
Q/$ C1 relevant benchmark in the decision map.
Provider price ladder
Compare all 4| Provider | Input / 1M | Output / 1M | Batch in / out | Cache | Route |
|---|---|---|---|---|---|
| OpenAI API | $1.25 | $10.00 | $0.625 / $5.00 | read $0.125 | Serverless |
| OpenRouter | $1.25 | $10.00 | - | - | Serverless |
| Replicate API | $1.25 | $10.00 | - | - | Serverless |
| Vercel AI Gateway | $1.25 | $10.00 | - | read $0.125 | Serverless |
Benchmark peer barsfor Coding
Migration checks
No linked migration route is available for this model yet.
About
OpenAI's previous intelligent reasoning model with configurable reasoning effort. Released August 2025. Supports minimal, low, medium, and high reasoning levels. Succeeded by GPT-5.1 and later models.
GPT-5 has a 400K-token context window.
GPT-5 input tokens at $1.25/1M, output at $10/1M.
Capabilities
Benchmark Scores(4)
| Benchmark | Score | Version | Source |
|---|---|---|---|
| SWE-bench Verified | 74.9 | — | aimagicx.com benchmark comparison April 2026 |
| Aider Polyglot | 88.0 | Aider Polyglot | https://aider.chat/docs/leaderboards/ |
| Google-Proof Q&A | 88.4 | — | https://openai.com/blog/gpt-5 |
| AIME 2025 | 94.6 | — | https://openai.com/blog/gpt-5 |