GPT-5
OpenAI's fifth-generation flagship, a reasoning model that in ChatGPT sits behind a router choosing between it and a faster variant per request.
- Context
- 400K tokens
- Max output
- 128K
- Cutoff
- Released
Hosted API price
List price via OpenAI · per 1M tokens
- Input
- $1.25 /1M
- Output
- $10.00 /1M
- Hosted by
-
4 providers
Hosted API pricing
How we price
Order
Providers are listed cheapest input rate first, then by output rate, a tie going to the creator's own listing. A provider that lists the model without a published rate sits at the end.
Prices
Base-tier, on-demand rates in USD per 1M tokens, converted at ECB reference rates where a provider publishes in another currency. Cached-input and batch rates show only where a provider publishes them. "Cheapest" marks the one provider with the lowest input and output pair; a tie wears no badge.
Cost
Input rate times the input tokens plus output rate times the output tokens, at the monthly volume set above the table. Cached-input, batch, long-context and reasoning-token billing are not modelled.
Transparency and funding
- Affiliates: Affiliate links are marked. We may earn a commission if you click them, but commissions never affect the order.
Every provider serving GPT-5, cheapest input first. Set your monthly volume to see what each would bill.
| Provider | Input /1M | Output /1M | Cached input /1M | Cost at 10M in + 2M out | Link |
|---|---|---|---|---|---|
|
|
$1.25 | $10.00 | $0.125 | $32.50 | Visit website |
|
|
$1.25 | $10.00 | $0.125 | $32.50 | Visit website |
|
|
$1.25 | $10.00 | $0.125 | $32.50 | Visit website |
|
|
$1.25 | $10.00 | $32.50 | Visit website |
Heads up: Base-tier, on-demand rates per 1M tokens; cached, batch and long-context tiers excluded. A provider may serve a shorter context or a quantized build than the creator's release. Verify before provisioning. More on how we price.
Similarly priced models
The models nearest GPT-5 by blended rate, each at its own cheapest provider.
| Model | Blended /1M | Input /1M | Output /1M | Context | Cutoff | vs GPT-5 |
|---|---|---|---|---|---|---|
|
|
$2.6667 | $2.00 | $6.00 | 500K | Feb 2026 | −2% |
|
|
$2.6667 | $2.00 | $6.00 | 500K | Jan 2026 | −2% |
|
|
$2.6667 | $2.00 | $6.00 | 262K | −2% | |
|
|
$2.6667 | $2.00 | $6.00 | 1M | −2% | |
|
|
$2.7083 | $1.25 | $10.00 | 1M | Jan 2025 | 0% |
|
|
$2.7083 | $1.25 | $10.00 | 400K | Sep 2024 | |
|
|
$2.7083 | $1.25 | $10.00 | 400K | Sep 2024 | 0% |
|
|
$2.75 | $1.50 | $9.00 | 1M | +2% | |
|
|
$3.00 | $2.00 | $8.00 | 1M | Jun 2024 | +11% |
|
|
$3.00 | $2.00 | $8.00 | 200K | Jun 2024 | +11% |
|
|
$3.3333 | $2.00 | $10.00 | 1M | Jan 2026 | +23% |
USD per 1M tokens at each model's cheapest listed provider. Blended is the cost of 10M input plus 2M output tokens, spread over the 12M.
Capabilities
What GPT-5 accepts and can do, as published by OpenAI.
- Image Accepts images as input alongside text.
- Text Accepts and generates natural-language text.
- Reasoning Thinks before it answers, always on or as a switchable mode.
- Function calling Connect to external tools, APIs, and systems.
- Structured output Return responses in structured formats like JSON.
- Web search Search the web for up-to-date information.
- Code execution Write and execute code in a sandboxed environment.
- File upload Process uploaded documents, spreadsheets, and other files.
- MCP Connect to services via Model Context Protocol.
- Image generation Generate and edit images from text prompts.
Common questions
What is GPT-5 good for?
Reasoning-heavy coding and agent work, in the middle of OpenAI's price range.
When is GPT-5 not a good fit?
New projects: OpenAI now calls it a previous model, recommends GPT-5.6, and plans to shut down the API model in December 2026. Closed weights, so no self-hosting.
What is the cheapest way to run GPT-5?
The cheapest hosted rate is $1.25 / $10.00 per 1M tokens via OpenAI.
How does GPT-5 compare with GPT-5.1?
OpenAI says GPT-5.1 builds on GPT-5 with a no-reasoning mode, thinking that scales with how hard the prompt is (far fewer tokens on easy inputs), more steerable tone and formatting, and named apply patch and shell tools for coding agents. Same price, 400K-token context and text and image input. GPT-5 came out 3 months earlier.
Can I self-host GPT-5?
No. OpenAI does not publish the weights; GPT-5 is available only through hosted APIs.
More from OpenAI
-
GPT-5.1
400K context · cutoff Sep 2024
From $1.25 / $10.00 /1M in / out at the cheapest provider -
GPT-4.1
1M context · cutoff Jun 2024
From $2.00 / $8.00 /1M in / out at the cheapest provider -
o3
200K context · cutoff Jun 2024
From $2.00 / $8.00 /1M in / out at the cheapest provider -
GPT-6 Sol
1M context · cutoff Apr 2026
From $2.00 / $10.00 /1M in / out at the cheapest provider -
GPT-5.6 Sol
1M context · cutoff Feb 2026
From $2.00 / $10.00 /1M in / out at the cheapest provider -
GPT-5.6 Terra
1M context · cutoff Feb 2026
From $2.00 / $12.00 /1M in / out at the cheapest provider -
GPT-4o
128K context · cutoff Oct 2023
From $2.50 / $10.00 /1M in / out at the cheapest provider -
GPT-5.2
400K context · cutoff Aug 2025
From $1.75 / $14.00 /1M in / out at the cheapest provider