GPT-5 API Pricing
OpenAI publishes official API prices for 17 GPT-5 models: GPT-5.5 Pro, GPT-5.4 Pro, GPT-5.2 Pro, GPT-5 Pro and more. Input costs from $0.05 to $30 and output from $0.40 to $180 per 1M tokens. The lowest output price is GPT-5 Nano at $0.40; the highest is GPT-5.4 Pro at $180. These prices were checked by hand on the OpenAI API pricing page (developers.openai.com) on Oct 10, 2026.
Prices checked Oct 10, 2026
Models
17
Lowest output / 1M
$0.40
GPT-5 Nano
Unit
Per 1M tokens
Prices checked
Oct 10, 2026
GPT-5 API prices by model
Official prices per 1 million tokens from OpenAI's pricing page (source, checked Oct 10, 2026). Open a model for every provider and plan we track.
| Model | Input | Output | Cached input | Context window |
|---|---|---|---|---|
| GPT-5.5 Pro | $30 | $180 | — | — |
| GPT-5.4 Pro | $30 | $180 | — | — |
| GPT-5.2 Pro | $21 | $168 | — | — |
| GPT-5 Pro | $15 | $120 | — | — |
| GPT-5.5 | $5 | $30 | $0.50 | — |
| GPT-5.6 Sol | $4 | $20 | $0.40 | — |
| GPT-5.4 | $2.50 | $15 | $0.25 | — |
| GPT-5.3 Codex | $1.75 | $14 | $0.175 | — |
| GPT-5.2 | $1.75 | $14 | $0.175 | — |
| GPT-5.6 Terra | $2 | $12 | $0.20 | — |
| GPT-5.1 | $1.25 | $10 | $0.125 | — |
| GPT-5 | $1.25 | $10 | $0.125 | — |
| GPT-5.4 Mini | $0.75 | $4.50 | $0.075 | — |
| GPT-5 Mini | $0.25 | $2 | $0.025 | — |
| GPT-5.4 Nano | $0.20 | $1.25 | $0.02 | — |
| GPT-5.6 Luna | $0.20 | $1.20 | $0.02 | — |
| GPT-5 Nano | $0.05 | $0.40 | $0.005 | — |
Pricing notes
- Prices are the standard short-context rate (up to 272K input tokens). Longer prompts cost more, for example GPT-5.5 at $10 input and $45 output per 1M tokens.
- GPT-5.6 Sol is on promotional pricing at least through November 21, 2026.
- Batch and Flex requests are half the standard price for most of these models; the Fast tier costs 2×.
GPT-5 API pricing FAQ
How much does the GPT-5 API cost?
OpenAI's official API charges from $0.05 to $30 per 1M input tokens and from $0.40 to $180 per 1M output tokens across the 17 models listed here. Prices checked Oct 10, 2026.
What is the cheapest GPT-5 API model?
GPT-5 Nano has the lowest output price: $0.05 per 1M input tokens and $0.40 per 1M output tokens.
Is cached input cheaper on the GPT-5 API?
Yes. 13 of the 17 models listed here have a lower cached-input price. For example, GPT-5.5 charges $0.50 per 1M cached input tokens instead of $5.
Related pricing
BiWu.Ai lists public API prices from official pricing pages for reference and does not sell API access. Long-context, batch and priority rates can differ, and prices can change without notice. Check OpenAI's pricing page before you build on it.