Today › AI API prices › OpenAI
gpt-4o API pricing (OpenAI)
Input / 1M tokens$2.50
Output / 1M tokens$10.004.0× input
Context window128Kmax output 16K
Rank within OpenAI36 / 73
Among all modelscheaper than 9%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $100.00 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $13.50 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $21.25 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| command-a-03-2025 | Cohere | $2.50 | $10.00 | 256K |
| command-r-plus-08-2024 | Cohere | $2.50 | $10.00 | 128K |
| accounts/fireworks/routers/glm-5p1-fast | Fireworks AI | $2.80 | $8.80 | 203K |
| glm-5p1-fast | Fireworks AI | $2.80 | $8.80 | 203K |
| deepseek-r1 | Fireworks AI | $3.00 | $8.00 | 164K |
| deepseek-r1-0528 | Fireworks AI | $3.00 | $8.00 | 164K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $2.50 | $10.00 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
- ft:gpt-3.5-turbo-1106
- gpt-6-sol
- gpt-6.1-sol
- gpt-4o-audio-preview-2024-12-17
- gpt-4o-audio-preview-2025-06-03
- gpt-4o-search-preview
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.
About this page
gpt-4o on OpenAI costs $2.50 per million input tokens and $10.00 per million output tokens; it ranks 36 of 73 OpenAI models by price, with a 128K context window.