gpt-4.1-mini API pricing
Blended at 3:1 input to output: $0.700 per million tokens.
OpenAI charges $0.400 per million input tokens and $1.60 per million output tokens. 4 of the models nearest it in price are cheaper on a blended basis.
Against the models nearest in price
Blended at a 3:1 input to output ratio.
| Source | ||||||
|---|---|---|---|---|---|---|
| gpt-4.1-mini This model | OpenAI | $0.400 | $1.60 | 1,047,576 | $0.700 | ↗ |
| gpt-5-mini | OpenAI | $0.250 | $2.00 | 272,000 | $0.688 | ↗ |
| gpt-5.1-codex-mini | OpenRouter | $0.250 | $2.00 | 400,000 | $0.688 | ↗ |
| mistral-large-2512 | Mistral AI | $0.500 | $1.50 | 262,144 | $0.750 | ↗ |
| mistral-large-3 | Mistral AI | $0.500 | $1.50 | 262,144 | $0.750 | ↗ |
| llama-3.3-70b-versatile | Groq | $0.590 | $0.790 | 131,072 | $0.640 | ↗ |
| llama-3-70b-instruct | OpenRouter | $0.590 | $0.790 | 8,192 | $0.640 | ↗ |
| deepseek-v3p1 | Fireworks AI | $0.560 | $1.68 | 128,000 | $0.840 | ↗ |
| deepseek-v3p1-terminus | Fireworks AI | $0.560 | $1.68 | 128,000 | $0.840 | ↗ |
Last checked . Methodology
Questions
How much does gpt-4.1-mini cost per million tokens?
$0.400 per million input tokens and $1.60 per million output tokens, with cached input at $0.100. At a 3:1 input to output mix that blends to $0.700. Checked 12 Sept 2026.
What would gpt-4.1-mini cost for a real workload?
A thousand requests a day at 2,000 input and 600 output tokens each comes to $52.80 a month.
What is the context window for gpt-4.1-mini?
1,047,576 tokens of input, with up to 32,768 tokens of output.
gpt-5-mini · gpt-5.1-codex-mini · mistral-large-2512 · mistral-large-3 · llama-3.3-70b-versatile · All OpenAI models · Cost calculator