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 instruction evals, 35.8% on MultiChallenge, and 84.1% on IFEval. Mini also shows strong coding ability (e.g., 31.6% on Aider’s polyglot diff benchmark) and vision understanding, making it suitable for interactive applications with tight performance constraints.
Providers
Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick: Balanced (price + speed), Nitro (fastest), or Floor (cheapest).
| $0.40 | $1.60 | $0.10 | 0.81s | 72 tok/s | ||
| $0.40 | $1.60 | $0.10 | 2.54s | 91 tok/s | ||
Not used in Standard routing:Why these endpoints are not used | ||||||
| $0.44 | $1.76 | $0.11 | 1.57s | 110 tok/s | ||
- Input $0.40 / Output $1.6072 tok/s100.00% uptime
- Input $0.40 / Output $1.6091 tok/s100.00% uptime
- Not used in Standard routing:Why these endpoints are not used
- Input $0.44 / Output $1.76110 tok/s100.00% uptime
Pricing
The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.
Weighted average
GPT-4.1 Mini — Price history
| $0.271 | $1.60 | 42.9% | 22.2% | ||
| $0.278 | $1.60 | 40.6% | 77.3% | ||
Not used in Standard routing:Why these endpoints are not used | |||||
| $0.242 | $1.76 | 59.9% | 0.5% | ||
- Effective in $0.271 / Effective out $1.60Token share22.2%
- Effective in $0.278 / Effective out $1.60Token share77.3%
- Not used in Standard routing:Why these endpoints are not used
- Effective in $0.242 / Effective out $1.76Token share0.5%
Performance
Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).
P50, best across providers
P50, best provider
Uptime
Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.
Availability over the last 3 days
Last 72 hoursAvailability over the last 24 hours
When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.
Benchmarks
Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.
| Source | Benchmark | Score |
|---|---|---|
| Artificial Analysis | GPT-4.1 mini Coding Index | 20.2 |
| Artificial Analysis | GPT-4.1 mini GPQA Diamond | 66.4% |
| Artificial Analysis | GPT-4.1 mini HLE | 5.0% |
| Artificial Analysis | GPT-4.1 mini IFBench | 38.3% |
| Artificial Analysis | GPT-4.1 mini τ²-Bench Telecom | 52.9% |
| Artificial Analysis | GPT-4.1 mini AA-LCR | 44.0% |
| Artificial Analysis | GPT-4.1 mini τ-Bench Banking | 5.4% |
| Artificial Analysis | GPT-4.1 mini GDPval-AA | 0.0% |
| Artificial Analysis | GPT-4.1 mini CritPt | 0.0% |
| Artificial Analysis | GPT-4.1 mini LiveCodeBench | 48.3% |
| Artificial Analysis | GPT-4.1 mini Terminal-Bench Hard | 7.6% |
| Artificial Analysis | GPT-4.1 mini Terminal-Bench 2.1 | 10.1% |
| Artificial Analysis | GPT-4.1 mini MMLU-Pro | 78.1% |
| Artificial Analysis | GPT-4.1 mini AIME 2025 | 46.3% |
| Artificial Analysis | GPT-4.1 mini AIME | 43.0% |
| Artificial Analysis | GPT-4.1 mini MATH-500 | 92.5% |
| Design Arena | GPT-4.1 mini Models Arena 3D Elo | 815 |
| Design Arena | GPT-4.1 mini Models Arena Code Categories Elo | 983 |
| Design Arena | GPT-4.1 mini Models Arena Data Visualization Elo | 1034 |
| Design Arena | GPT-4.1 mini Models Arena Game Development Elo | 1060 |
| Design Arena | GPT-4.1 mini Models Arena UI Component Elo | 952 |
| Design Arena | GPT-4.1 mini Models Arena Website Elo | 989 |
| Vals AI | GPT 4.1 Mini AIME | 49.4% |
| Vals AI | GPT 4.1 Mini CorpFin v2 | 57.9% |
| Vals AI | GPT 4.1 Mini Finance Agent v1 | 20.8% |
| Vals AI | GPT 4.1 Mini GPQA Diamond | 67.9% |
| Vals AI | GPT 4.1 Mini LiveCodeBench | 58.2% |
| Vals AI | GPT 4.1 Mini LegalBench | 78.0% |
| Vals AI | GPT 4.1 Mini MATH 500 | 88.0% |
| Vals AI | GPT 4.1 Mini MedQA | 84.6% |
| Vals AI | GPT 4.1 Mini MGSM | 87.8% |
| Vals AI | GPT 4.1 Mini MMLU Pro | 77.2% |
| Vals AI | GPT 4.1 Mini MMMU Pro | 70.5% |
| Vals AI | GPT 4.1 Mini MortgageTax | 65.5% |
| Vals AI | GPT 4.1 Mini TaxEval v2 | 71.9% |
Apps
Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.
Activity
Token volume and request traffic to this model over time.
API
Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.
Available through EU in-region routing
OpenAI: GPT-4.1 Mini is available through EU in-region routing. Requests sent to eu.openrouter.ai are decrypted in the EU and routed only to shared provider endpoints in Europe (the EU/EEA, the UK, and Switzerland).
- Providers in Europe
- Azure
- Prices in Europe
- Azure: $0.44/M tokens input, $1.76/M tokens output
- Base URL
https://eu.openrouter.ai/api/v1- Plan
- Requires Business or Enterprise. Self-serve on Business: no contract, no monthly minimum. OpenRouter Business for EU in-region routing
Fails closed: if no shared provider endpoint in Europe is available, the request errors instead of leaving the region. Requests served by your own BYOK key go to your deployment’s region, which you control. In-region routing docs
Documentation
Guides, cookbooks, blog posts, and tools for building with OpenAI: GPT-4.1 Mini on OpenRouter.
Frequently asked questions
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 instruction evals, 35.8% on MultiChallenge, and 84.1% on IFEval.
The GPT-4.1 Mini documentation on OpenRouter includes the Quasar Alpha and Optimus Alpha Reveal blog post. The quickstart covers API keys and your first request, and the API reference lists every parameter.
GPT-4.1 Mini costs $0.40/M input tokens and $1.60/M output tokens, with separate rates for Cache Read at $0.10/M tokens.
GPT-4.1 Mini has a 1,047,576 token context window.
Yes. GPT-4.1 Mini accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
GPT-4.1 Mini accepts images, text, and files such as PDFs as input and returns text.
GPT-4.1 Mini is served by 2 providers on OpenRouter: Azure and OpenAI. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.
GPT-4.1 Mini was released on April 14, 2025. Its knowledge cutoff is June 30, 2024.