One agent session
1M input tokens and 100K output tokens, no caching.
- Input1M x $0.40 = $0.40
- Output0.1M x $1.60 = $0.16
$0.56per session
OpenAI - Closed weights
GPT-4.1 Mini is a closed-weights model from OpenAI that costs $0.40 per 1M input tokens and $1.60 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 | $0.40 |
| Output | $1.60 |
| Cache read | $0.10 |
| Batch inputBatch requests | $0.20 |
| Batch outputBatch requests | $0.80 |
| Fast mode inputFast mode requests | $0.70 |
| Fast mode outputFast mode requests | $2.80 |
Note: Non-reasoning model. Default snapshot gpt-4.1-mini-2025-04-14.
gpt-4.1-miniopenai/gpt-4.1-miniWorked 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.
$0.56per session
10,000 requests a day at 2K input and 500 output tokens each.
$16.00per day
$480.00 per 30-day month
90% of the input is read from the prompt cache. The one-time cache write premium is not included.
$0.29per session
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-4.1 Mini (this page) | $0.40 | $1.60 |
| Qwen3-VL-PlusAlibaba Cloud (Qwen) | $0.20 | $1.60 |
| Qwen3.7-PlusAlibaba Cloud (Qwen) | $0.40 | $1.60 |
| Aya Expanse 32BCohere | $0.50 | $1.50 |
| Gemini 3.1 Flash-LiteGoogle | $0.25 | $1.50 |
| GPT-3.5 TurboOpenAI | $0.50 | $1.50 |
| GPT-5.4 nanoOpenAI | $0.20 | $1.25 |
| GPT-3.5 Turbo InstructOpenAI | $1.50 | $2 |
| GPT-5 MiniOpenAI | $0.25 | $2 |
| GPT-5.6 LunaOpenAI | $0.20 | $1.20 |
| GPT-4o MiniOpenAI | $0.15 | $0.60 |
GPT-4.1 Mini costs $0.40 per 1M input tokens and $1.60 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.10, and the batch rate is $0.20 input and $0.80 output.
GPT-4.1 Mini has a 1,047,576-token context window and returns up to 32,768 output tokens per response.
No. GPT-4.1 Mini is a closed-weights model. You call it through OpenAI's API as gpt-4.1-mini or through Vercel AI Gateway as openai/gpt-4.1-mini.
OpenAI released GPT-4.1 Mini 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.