OpenAI · live price
GPT-5 API pricing
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...
Mid-range ($1–5 per 1M)Tool callingReasoningimage inputfile inputRetiring 2026-12-11
- Input
- $1.25
- per 1M tokens
- Output
- $10
- per 1M tokens
- Cached input
- $0.125
- per 1M tokens
- Context
- 400K
- 128K max output
List price from OpenRouter, which passes OpenAI's price through without markup. Refreshed hourly. Released August 7, 2025. Model id openai/gpt-5.
What GPT-5 costs in practice
At list price, before any batch or caching discount.
1,000 chat messages
$6.25
1,000 input + 500 output tokens each
1,000 RAG questions
$15.00
8,000 input + 500 output tokens each
100 coding-agent steps
$5.75
30,000 input + 2,000 output tokens each, no caching
GPT-5 price history
No price change since we started tracking on 2026-10-01. We record prices daily; changes will show here.
GPT-5 price by host
2 hosts serve this model. Prices are the same or higher than list; the cheapest are first.
- Azure$1.25 in · $10 out · 400K ctx · 100.0% uptime 24h
- OpenAI$1.25 in · $10 out · 400K ctx · 100.0% uptime 24h
Where to buy OpenAI credits for less
GPT-5 costs the same per token everywhere it's sold through OpenRouter. What changes is the price of the credits. Live quotes for $100 of usage:
GPT-5 cost calculator
Enter your monthly tokens to price your own usage.
Usage at list price$162.50/ month(quotes below are for $163.00: purchases run from $5.00 to $10,000.00)
Cheaper alternatives to GPT-5
Other labs' models in the same price range or the one below, cheaper per token.
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Mistral: Pixtral Large 2502 | $2 | $6 |
| Qwen: Qwen4 Max | $1.42 | $4.27 |
| Google: Gemini 4 Hydrogen | $1.50 | $7.50 |
| Google: Gemini Omni 1.2 Flash | $1.50 | $9 |
| Google: Gemini Omni 1.1 Flash | $1.50 | $9 |
| Z.ai: GLM 5.3 FlashX Legal | $0.37 | $1.25 |
Other OpenAI models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| gpt-oss-120b | $0.09 | $0.36 |
| gpt-oss-20b | $0.075 | $0.3 |
| gpt-oss-safeguard-20b | $0.075 | $0.3 |
| GPT-5.1-Codex-Mini | $0.25 | $2 |
| GPT-5.1-Codex | $1.25 | $10 |
| GPT-5.1 | $1.25 | $10 |