gpt-4.1-mini API pricing
OpenAI charges $0.4 per million input tokens and $1.6 per million output tokens for gpt-4.1-mini, and $0.1 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.0012, or $0.0006 through the batch API.
Prices updated October 28, 2026
Input / 1M tokens
$0.4
Output / 1M tokens
$1.6
Cached input / 1M tokens
$0.1
Typical request
$0.0012
gpt-4.1-mini price per million tokens
| Token type | Standard | Batch API |
|---|---|---|
| Input | $0.4 | $0.2 |
| Cached input | $0.1 | – |
| Output | $1.6 | $0.8 |
gpt-4.1-mini supports a 1.05M-token context window, up to 32.8K output tokens, image input and tool calling.
What gpt-4.1-mini costs per request
| Request | 1 request | 1,000 requests | 1M requests |
|---|---|---|---|
| Short chat message (300 in, 200 out) | $0.00044 | $0.44 | $440.00 |
| Typical request (1K in, 500 out) | $0.0012 | $1.20 | $1,200.00 |
| Long document summary (20K in, 1K out) | $0.0096 | $9.60 | $9,600.00 |
| Coding agent step (50K in, 2K out) | $0.0232 | $23.20 | $23,200.00 |
At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words.
Models with a similar price
| Model | Provider | Input / 1M | Cached input / 1M | Output / 1M | Typical request |
|---|---|---|---|---|---|
| deepseek-v4-1-flash-1017 | Mistral | $0.3 | $0.007 | $1.2 | $0.0009 |
| deepseek-flash | DeepSeek | $0.3 | $0.006 | $1.2 | $0.0009 |
| gemini-3.1-flash-lite | Google Gemini | $0.25 | $0.025 | $1.5 | $0.001 |
| gpt-5-mini | OpenAI | $0.25 | $0.025 | $2 | $0.00125 |
| mistral-large-3 | Mistral | $0.5 | $0.05 | $1.5 | $0.00125 |
| mistral-large-2512 | Mistral | $0.5 | $0.05 | $1.5 | $0.00125 |
| gemini-2.5-flash | Google Gemini | $0.3 | $0.03 | $2.5 | $0.00155 |
| gemini-3.5-flash-lite | Google Gemini | $0.3 | $0.03 | $2.5 | $0.00155 |
Other OpenAI models
- gpt-4.1 $2 / $8
- gpt-4o $2.5 / $10
- gpt-4o-mini $0.15 / $0.6
- gpt-5 $1.25 / $10
- gpt-5-mini $0.25 / $2
- gpt-5-nano $0.05 / $0.4
- gpt-5.1 $1.25 / $10
- gpt-5.2 $1.75 / $14
- gpt-5.4 $2.5 / $15
- gpt-5.4-mini $0.75 / $4.5
- gpt-5.4-nano $0.2 / $1.25
- gpt-5.5 $5 / $30
- gpt-5.6 $4 / $20
- gpt-5.6-luna $0.2 / $1.2
- gpt-5.6-sol $4 / $20
- gpt-5.6-terra $2 / $12
- gpt-6-astra $10 / $50
- gpt-6-luna $0.1 / $0.5
- gpt-6-sol $2 / $10
- gpt-6.1-sol $2 / $10
- gpt-6.1-terra $1 / $5
- o3 $2 / $8
Source: OpenAI pricing.