Today › AI API prices › OpenAI
gpt-4.1 API pricing (OpenAI)
Input / 1M tokens$2.00
Output / 1M tokens$8.004.0× input
Context window1Mmax output 33K
Rank within OpenAI28 / 73
Among all modelscheaper than 13%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $80.00 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $10.80 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $17.00 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| jamba-1.5-large | AI21 Labs | $2.00 | $8.00 | 256K |
| jamba-large-1.6 | AI21 Labs | $2.00 | $8.00 | 256K |
| jamba-large-1.7 | AI21 Labs | $2.00 | $8.00 | 256K |
| accounts/fireworks/routers/kimi-k2p6-fast | Fireworks AI | $2.00 | $8.00 | 262K |
| kimi-k2p6-fast | Fireworks AI | $2.00 | $8.00 | 262K |
| sonar-deep-research | Perplexity | $2.00 | $8.00 | 128K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $2.00 | $8.00 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
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-4.1 on OpenAI costs $2.00 per million input tokens and $8.00 per million output tokens; it ranks 28 of 73 OpenAI models by price, with a 1M context window.