GPT-4.1 Mini API Cost Calculator
Estimate your monthly API costs for GPT-4.1 Mini from Openai.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| GPT-3.5 Turbo Openai | $0.5000 | $1.50 |
| GPT-IMAGE-1-MINI Openai | $2.00 | $0.2000 |
| GPT-5 Mini Openai | $0.2500 | $2.00 |
| GPT-5.1-Codex-Mini Openai | $0.2500 | $2.00 |
| GPT-5.4 Nano Openai | $0.2000 | $1.25 |
Frequently Asked Questions
How much does GPT-4.1 Mini cost per token?
GPT-4.1 Mini is priced at $0.4000 per 1M input tokens and $1.60 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for GPT-4.1 Mini?
GPT-4.1 Mini has a context window of 1.0M tokens (1,047,576 tokens). The maximum output length is 32.8K tokens.
Does GPT-4.1 Mini support image inputs (vision)?
Yes, GPT-4.1 Mini supports vision/image inputs. You can send images as part of your prompts.
Does GPT-4.1 Mini support function calling (tool use)?
Yes, GPT-4.1 Mini supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.
How does GPT-4.1 Mini compare to similar models?
GPT-4.1 Mini costs $0.4000 input and $1.60 output per 1M tokens. GPT-5.4 Nano is less expensive at $0.2000 input and $1.25 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the GPT-5.4 Nano page at /tools/cost-calculator/openai/gpt-5-4-nano.