GPT-5 API pricing
OpenAI model · OpenAI on AIWiseRank
Short answer
GPT-5 by OpenAI costs $1.25 per 1M input tokens and $10 per 1M output tokens, with a 272K token context window. It scores 69% on SWE-bench Verified and 9.9% on ARC-AGI-2. GPT-6 Luna scores about as well on ARC-AGI-2 (59.3%) for $0.20 per 1M blended tokens versus $3.44.
Prices updated Oct 23, 2026 (APIpulse, CC BY 4.0) · Benchmarks: ARC Prize, Vals.ai · all models
API cost calculator
Enter your monthly usage in millions of tokens (1M tokens ≈ 750,000 words).
Standard rates; batch processing and prompt caching can lower the bill.
Benchmarks
Cheaper models with similar scores
Within 3 points on the same benchmark, at a lower blended price.
- GPT-6 LunaARC-AGI-2 59.3% · $0.20 / 1M
- Claude Haiku 5.5ARC-AGI-2 61.3% · $0.20 / 1M
- GLM-5.3 FlashSWE-bench Verified 92% · $0.24 / 1M
Other OpenAI models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-6.1 Sol | $2 | $10 |
| GPT-6 Astra | $10 | $50 |
| GPT-6 Sol | $2 | $10 |
| GPT-6 Luna | $0.10 | $0.50 |
| GPT-5.6 Cyber | $12.50 | $75 |
| GPT-5.6 Sol | $4 | $20 |
| GPT-5.6 Terra | $2 | $12 |
| GPT-5.6 Luna | $0.20 | $1.20 |
Frequently asked questions
How much does the GPT-5 API cost?
GPT-5 costs $1.25 per 1M input tokens and $10 per 1M output tokens. A workload of 10M input and 2M output tokens a month costs $32.50.
What is the context window of GPT-5?
GPT-5 supports a 272K token context window.
Is there a cheaper alternative to GPT-5?
GPT-6 Luna scores 59.3% on ARC-AGI-2, close to GPT-5, at $0.20 per 1M blended tokens versus $3.44.