gpt-4 API Pricing
gpt-4 on OpenAI costs $30.00 per 1M input tokens and $60.00 per 1M output tokens (as of ).
| Input | $30.00 / 1M tokens |
|---|---|
| Output | $60.00 / 1M tokens |
| Cached input (read) | — |
| Cache write | — |
| Batch input / output | — |
| Above 200K tokens (input / output) | — |
| Context window | 8K tokens |
| Max output | 4K tokens |
| Supports | tool calling, prompt caching |
| Deprecation date | |
| API model id | gpt-4 |
| In our records since |
What it costs for common jobs
Estimated from the list price above (no caching or batch discount).
| Job | Estimated cost |
|---|---|
| 1,000 chat replies (2,000 tokens in, 500 out each) | $90.00 |
| Summarising 100 long documents (50,000 in, 1,000 out each) | $156.00 |
| 1 million classification calls (300 in, 5 out each) | $9300.00 |
Try your own numbers in the LLM API cost calculator.
Price history
No price change recorded since .
Similarly priced models
| Model | Provider | Input / 1M | Output / 1M | Cached input / 1M | Context |
|---|---|---|---|---|---|
| daybreak-red-latest | OpenAI | $12.50 | $75.00 | $1.25 | 400K |
| gpt-5.5-cyber | OpenAI | $12.50 | $75.00 | $1.25 | — |
| gpt-5.5-cyber-preview | OpenAI | $12.50 | $75.00 | $1.25 | — |
| gpt-5.6-cyber | OpenAI | $12.50 | $75.00 | $1.25 | 400K |
| o1 | OpenAI | $15.00 | $60.00 | $7.50 | 200K |
| gpt-6-astra | OpenAI | $10.00 | $50.00 | $1.00 | 922K |
| gpt-4-1106-preview | OpenAI | $10.00 | $30.00 | — | 128K |
| gpt-4-turbo | OpenAI | $10.00 | $30.00 | — | 128K |