OpenAI: GPT-4.1 Mini API pricing
$0.40 per 1M input tokens and $1.60 per 1M output tokens on OpenRouter. Context window: 1,047,576 tokens.
$0.40input / 1M tokens
$1.60output / 1M tokens
$0.10cached input / 1M
1023Kcontext
text+image+file->textmodality
What it costs in practice
| Workload | Cost |
|---|---|
| Chatbot: 10,000 messages (1,500 in / 400 out tokens each) | $12.40 |
| RAG: 1,000 queries (8,000 in / 600 out each) | $4.16 |
| Summarize 100 long documents (50,000 in / 1,000 out each) | $2.16 |
Cross-check against the provider's list price
LiteLLM's price map lists gpt-4.1-mini (openai) at $0.40 in / $1.60 out per 1M tokens. Matches OpenRouter
Price history
No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.
Cheaper alternatives with similar context
Text models with at least 125K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| ByteDance Seed: Seed-2.0-Lite | $0.25 | $2.00 | 256K |
| OpenAI: GPT-5.1-Codex-Mini | $0.25 | $2.00 | 391K |
| OpenAI: GPT-5 Mini | $0.25 | $2.00 | 391K |
| Qwen: Qwen3.5 Plus 2026-04-20 | $0.30 | $1.80 | 977K |
| DeepSeek: DeepSeek V4 Flash Vision Exp | $0.44 | $1.32 | 1M |
| Meta: Muse Glimmer 30B | $0.35 | $1.50 | 128K |
| Thinking Machines: Inkling Small | $0.45 | $1.20 | 512K |
| Qwen: Qwen3 VL 235B A22B Instruct | $0.21 | $1.90 | 256K |
Source: OpenRouter listing via the public models API · LiteLLM price map (MIT). Prices checked Nov 17, 2026. Model ID openai/gpt-4.1-mini, listed Apr 14, 2025. Report an error.