OpenAI: GPT-4.1 Mini API Pricing & Monthly Cost Calculator
OpenAI: GPT-4.1 Mini by OpenAI is priced at $0.4 per 1M input tokens and $1.60 per 1M output tokens with a 1.05M context window. Prompt caching reduces repeated prefix reads to $0.1/1M (75% savings). Batch API lowers rates to $0.2 in / $0.8 out.
gpt-6-luna.
Direct Official vs. OpenRouter Gateway
Comparing direct vendor pricing against multi-provider OpenRouter routing for openai/gpt-4.1-mini.
| Channel | Input / 1M | Output / 1M | Cache Read |
|---|---|---|---|
| Direct Official | $0.4 | $1.60 | $0.1 |
| OpenRouter Gateway | $0.4 | $1.60 | $0.1 |
1M to 1B Token Cost Tiers
Reference monthly spend assuming a standard 75% input / 25% output workload mix.
| Monthly Volume | Standard | 75% Cached | Batch API |
|---|---|---|---|
| 1M tokens | $0.70 | $0.53 | $0.35 |
| 10M tokens | $7.00 | $5.31 | $3.50 |
| 100M tokens | $70.00 | $53.13 | $35.00 |
| 1B tokens | $700.00 | $531.25 | $350.00 |
Interactive OpenAI: GPT-4.1 Mini Bill Estimator
Adjust request volume, tokens, and prompt cache hit ratio.
Closest Price-Tier Alternatives
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Mistral: Mistral Large 3 2512 | $0.5 | $1.50 | 262.1K |
| Qwen: Qwen3 VL 235B A22B Instruct | $0.4 | $1.60 | 262.1K |
| Google: Gemini 3.1 Flash Lite | $0.25 | $1.50 | 1.05M |
| Google: Gemini 3.1 Flash Lite Preview | $0.25 | $1.50 | 1.05M |
| OpenAI: GPT-5 Mini | $0.25 | $2.00 | 400K |
| OpenAI: GPT-5.1-Codex-Mini | $0.25 | $2.00 | 400K |
Optimize Inference & Self-Hosting
Compare OpenAI: GPT-4.1 Mini against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.
Tracked History for OpenAI: GPT-4.1 Mini
- 2026-11-27 · OpenAI: GPT-4.1 Mini scheduled deprecation 2027-01-14 → successor gpt-6-luna
Model Specifications & FAQs
GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...
How much does OpenAI: GPT-4.1 Mini API cost per 1M tokens?
OpenAI: GPT-4.1 Mini costs $0.4 per 1M input tokens and $1.60 per 1M output tokens (official direct provider rate), verified on 2026-11-30.
Does OpenAI: GPT-4.1 Mini support prompt caching or batch discounts?
Yes, cached input reads cost $0.1 per 1M tokens (75% off standard input). Batch API reduces rates to $0.2 input and $0.8 output per 1M tokens.
What is the context window and max output for OpenAI: GPT-4.1 Mini?
OpenAI: GPT-4.1 Mini supports a 1,047,576-token context window and up to 32,768 output tokens per completion.