One agent session
1M input tokens and 100K output tokens, no caching.
- Input1M x $2 = $2.00
- Output0.1M x $8 = $0.80
$2.80per session
OpenAI - Closed weights
GPT-4.1 is a closed-weights model from OpenAI that costs $2 per 1M input tokens and $8 per 1M output tokens on the first-party API, with a 1.05M-token context window.
Last verified from developers.openai.com. All sources
| Item | Price / 1M tokens |
|---|---|
| Input | $2 |
| Output | $8 |
| Cache read | $0.50 |
| Batch inputBatch requests | $1 |
| Batch outputBatch requests | $4 |
| Fast mode inputFast mode requests | $3.50 |
| Fast mode outputFast mode requests | $14 |
Note: Non-reasoning model. The Batch table lists no cached-input price. Default snapshot gpt-4.1-2025-04-14.
gpt-4.1openai/gpt-4.1Worked from the standard list rates above, with the math shown so you can swap in your own token counts.
1M input tokens and 100K output tokens, no caching.
$2.80per session
10,000 requests a day at 2K input and 500 output tokens each.
$80.00per day
$2,400.00 per 30-day month
90% of the input is read from the prompt cache. The one-time cache write premium is not included.
$1.45per session
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-4.1 (this page) | $2 | $8 |
| Jamba Large 1.7AI21 Labs | $2 | $8 |
| Kimi K2.7 Code HighSpeedMoonshot AI | $1.90 | $8 |
| o3OpenAI | $2 | $8 |
| Qwen3.5-Omni-PlusAlibaba Cloud (Qwen) | $1.40 | $8.30 |
| GPT-4oOpenAI | $2.50 | $10 |
| GPT-5OpenAI | $1.25 | $10 |
| GPT-5.1OpenAI | $1.25 | $10 |
| GPT-6 SolOpenAI | $2 | $10 |
| GPT-6.1 SolOpenAI | $2 | $10 |
GPT-4.1 costs $2 per 1M input tokens and $8 per 1M output tokens on OpenAI's first-party API, per developers.openai.com on October 17, 2026. Per 1M tokens, cache reads cost $0.50, and the batch rate is $1 input and $4 output.
GPT-4.1 has a 1,047,576-token context window and returns up to 32,768 output tokens per response.
No. GPT-4.1 is a closed-weights model. You call it through OpenAI's API as gpt-4.1 or through Vercel AI Gateway as openai/gpt-4.1.
OpenAI released GPT-4.1 on April 14, 2025.
Last verified from developers.openai.com.
Newsletter
One email per week. New model releases, price cuts and what they mean for your bill.