GPT-4 API pricing
As of October 22, 2026, OpenAI GPT-4 costs $30.00 per million input tokens and $60.00 per million output tokens on OpenAI's own API.
- Input, per million tokens$30.00
- Output, per million tokens$60.00
- Cached input, per millionNo cache price listed
- Context window8K tokens
- Max output4K tokens
- Output speedNot measured
What a request costs
Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.
| Workload | Tokens | One request | 1,000 requests | Fits the context window |
|---|---|---|---|---|
| Chat turn | 1K input + 500 output tokens | $0.060 | $60.00 | Yes |
| Repository review | 50K input + 3K output tokens | $1.68 | $1680.00 | No, it would need splitting |
| Agent loop | 200K input + 10K output tokens | $6.60 | $6600.00 | No, it would need splitting |
| Solved coding task | One SWE-bench Verified attempt, divided by the share that succeed | Not computable | Not computable |
Price history
We have read OpenAI's own price every day since October 21, 2026. It has not changed yet; any change will be listed here with its date.
- October 21, 2026 First recorded: $30.00 input, $60.00 output
Cheaper models as good as GPT-4
GPT-4 has no overall or coding score, so we make no quality claim against it.
GPT-4 pricing questions
- How much does GPT-4 cost per million tokens?
- $30.00 per million input tokens and $60.00 per million output tokens, as listed on OpenRouter on October 22, 2026.
- Does GPT-4 support prompt caching?
- OpenRouter lists no cached input price for this model, so assume every input token is billed at the full rate.
- Has the price of GPT-4 changed?
- Not since we started recording it daily on October 21, 2026.