OpenAI API pricing
Every OpenAI model with a published rate, sorted cheapest first. Prices are USD per million tokens.
- Cheapest input
- $0.05
- gpt-5-nano
- Dearest input
- $30.00
- gpt-4
- Token counting
- exact
- public tokenizer
| Model | Input | Cached | Output | Context | Long-ctx in |
|---|---|---|---|---|---|
| gpt-5-nano dep | $0.05 | $0.005 | $0.40 | 272K | — |
| gpt-4.1-nano dep | $0.10 | $0.025 | $0.40 | 1M | — |
| gpt-6-luna | $0.10 | $0.01 | $0.50 | 922K | $0.20 |
| gpt-4o-mini dep | $0.15 | $0.075 | $0.60 | 128K | — |
| gpt-4o-mini-audio-preview-2024-12-17 dep | $0.15 | — | $0.60 | 128K | — |
| gpt-4o-mini-search-preview | $0.15 | $0.075 | $0.60 | 128K | — |
| gpt-5.4-nano dep | $0.20 | $0.02 | $1.25 | 272K | — |
| gpt-5.6-luna | $0.20 | $0.02 | $1.20 | 922K | $0.40 |
| gpt-5-mini dep | $0.25 | $0.025 | $2.00 | 272K | — |
| gpt-4.1-mini dep | $0.40 | $0.10 | $1.60 | 1M | — |
| gpt-3.5-turbo dep | $0.50 | — | $1.50 | 16K | — |
| gpt-audio-mini dep | $0.60 | — | $2.40 | 128K | — |
| gpt-5.4-mini | $0.75 | $0.075 | $4.50 | 272K | — |
| gpt-3.5-turbo-1106 dep | $1.00 | — | $2.00 | 16K | — |
| gpt-6.1-terra | $1.00 | $0.05 | $5.00 | 922K | $2.00 |
| o3-mini dep | $1.10 | $0.55 | $4.40 | 200K | — |
| o4-mini dep | $1.10 | $0.275 | $4.40 | 200K | — |
| gpt-5 dep | $1.25 | $0.125 | $10.00 | 272K | — |
| gpt-5-chat dep | $1.25 | $0.125 | $10.00 | 128K | — |
| gpt-5-chat-latest dep | $1.25 | $0.125 | $10.00 | 128K | — |
| gpt-5-search-api | $1.25 | $0.125 | $10.00 | 272K | — |
| gpt-5.1 dep | $1.25 | $0.125 | $10.00 | 272K | — |
| gpt-5.1-chat-latest dep | $1.25 | $0.125 | $10.00 | 128K | — |
| gpt-5.2 | $1.75 | $0.175 | $14.00 | 272K | — |
| gpt-5.2-chat-latest dep | $1.75 | $0.175 | $14.00 | 128K | — |
| gpt-5.3-chat-latest dep | $1.75 | $0.175 | $14.00 | 128K | — |
| gpt-4.1 dep | $2.00 | $0.50 | $8.00 | 1M | — |
| gpt-5.6-terra | $2.00 | $0.20 | $12.00 | 922K | $4.00 |
| gpt-6-sol | $2.00 | $0.20 | $10.00 | 922K | $4.00 |
| gpt-6.1-sol | $2.00 | $0.10 | $10.00 | 922K | $4.00 |
| gpt-6.2-sol | $2.00 | $0.10 | $10.00 | 922K | $4.00 |
| o3 dep | $2.00 | $0.50 | $8.00 | 200K | — |
| gpt-4o dep | $2.50 | $1.25 | $10.00 | 128K | — |
| gpt-4o-audio-preview-2024-12-17 dep | $2.50 | — | $10.00 | 128K | — |
| gpt-4o-audio-preview-2025-06-03 dep | $2.50 | — | $10.00 | 128K | — |
| gpt-4o-search-preview | $2.50 | $1.25 | $10.00 | 128K | — |
| gpt-5.4 | $2.50 | $0.25 | $15.00 | 1.1M | $5.00 |
| gpt-audio dep | $2.50 | — | $10.00 | 128K | — |
| gpt-audio-1.5 | $2.50 | — | $10.00 | 128K | — |
| computer-use-preview dep | $3.00 | — | $12.00 | 8K | — |
| gpt-3.5-turbo-16k dep | $3.00 | — | $4.00 | 16K | — |
| daybreak-blue-latest | $4.00 | $0.40 | $20.00 | 922K | $8.00 |
| gpt-5.6 | $4.00 | $0.40 | $20.00 | 922K | $8.00 |
| gpt-5.6-sol | $4.00 | $0.40 | $20.00 | 922K | $8.00 |
| chat-latest | $5.00 | $0.50 | $30.00 | 272K | — |
| gpt-4o-2024-05-13 dep | $5.00 | — | $15.00 | 128K | — |
| gpt-5.5 | $5.00 | $0.50 | $30.00 | 1.1M | $10.00 |
| gpt-rosalind-discovery | $5.00 | $0.50 | $25.00 | — | — |
| gpt-rosalind-research | $5.00 | $0.50 | $25.00 | — | — |
| gpt-6.2-astra | $8.00 | $0.40 | $40.00 | 922K | $16.00 |
| gpt-6.2-astra-law | $8.00 | $0.40 | $40.00 | 922K | $16.00 |
| gpt-4-1106-preview dep | $10.00 | — | $30.00 | 128K | — |
| gpt-4-turbo dep | $10.00 | — | $30.00 | 128K | — |
| gpt-6-astra | $10.00 | $1.00 | $50.00 | 922K | $20.00 |
| gpt-6-astra-law | $10.00 | $1.00 | $50.00 | 922K | $20.00 |
| gpt-6-rosalind | $10.00 | $1.00 | $50.00 | 922K | $20.00 |
| daybreak-red-latest | $12.50 | $1.25 | $75.00 | 272K | $25.00 |
| gpt-5.5-cyber | $12.50 | $1.25 | $75.00 | — | — |
| gpt-5.5-cyber-preview dep | $12.50 | $1.25 | $75.00 | — | — |
| gpt-5.6-cyber | $12.50 | $1.25 | $75.00 | 272K | $25.00 |
| o1 dep | $15.00 | $7.50 | $60.00 | 200K | — |
| gpt-6-cyber | $20.00 | $2.00 | $100 | 922K | $40.00 |
| gpt-4 dep | $30.00 | — | $60.00 | 8K | — |