Favicon for openai

OpenAI: GPT-4.1 Mini

openai/gpt-4.1-mini

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.

Modalities
In / out price
$0.40 / $1.60per 1M
Context
1.0M
Released
Apr 14, 2025
Knowledge cutoff
Jun 2024

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).

  • Not used in Standard routing:Why these endpoints are not used

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

Input
$0.2765/M tokens
Output
$1.599/M tokens
Price history
No effective price data for this selection
  • Not used in Standard routing:Why these endpoints are not used

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).

Throughput
110tok/s

P50, best across providers

Latency
0.81s

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.

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
99.98%

Availability over the last 3 days

Last 72 hours
Availability 99.98%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.98%
Without Routing
98.75%

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.

Benchmark score summary for OpenAI: GPT-4.1 Mini (Artificial Analysis, Design Arena and Vals AI)
SourceBenchmarkScore
Artificial AnalysisGPT-4.1 mini Coding Index20.2
Artificial AnalysisGPT-4.1 mini GPQA Diamond66.4%
Artificial AnalysisGPT-4.1 mini HLE5.0%
Artificial AnalysisGPT-4.1 mini IFBench38.3%
Artificial AnalysisGPT-4.1 mini τ²-Bench Telecom52.9%
Artificial AnalysisGPT-4.1 mini AA-LCR44.0%
Artificial AnalysisGPT-4.1 mini τ-Bench Banking5.4%
Artificial AnalysisGPT-4.1 mini GDPval-AA0.0%
Artificial AnalysisGPT-4.1 mini CritPt0.0%
Artificial AnalysisGPT-4.1 mini LiveCodeBench48.3%
Artificial AnalysisGPT-4.1 mini Terminal-Bench Hard7.6%
Artificial AnalysisGPT-4.1 mini Terminal-Bench 2.110.1%
Artificial AnalysisGPT-4.1 mini MMLU-Pro78.1%
Artificial AnalysisGPT-4.1 mini AIME 202546.3%
Artificial AnalysisGPT-4.1 mini AIME43.0%
Artificial AnalysisGPT-4.1 mini MATH-50092.5%
Design ArenaGPT-4.1 mini Models Arena 3D Elo815
Design ArenaGPT-4.1 mini Models Arena Code Categories Elo983
Design ArenaGPT-4.1 mini Models Arena Data Visualization Elo1034
Design ArenaGPT-4.1 mini Models Arena Game Development Elo1060
Design ArenaGPT-4.1 mini Models Arena UI Component Elo952
Design ArenaGPT-4.1 mini Models Arena Website Elo989
Vals AIGPT 4.1 Mini AIME49.4%
Vals AIGPT 4.1 Mini CorpFin v257.9%
Vals AIGPT 4.1 Mini Finance Agent v120.8%
Vals AIGPT 4.1 Mini GPQA Diamond67.9%
Vals AIGPT 4.1 Mini LiveCodeBench58.2%
Vals AIGPT 4.1 Mini LegalBench78.0%
Vals AIGPT 4.1 Mini MATH 50088.0%
Vals AIGPT 4.1 Mini MedQA84.6%
Vals AIGPT 4.1 Mini MGSM87.8%
Vals AIGPT 4.1 Mini MMLU Pro77.2%
Vals AIGPT 4.1 Mini MMMU Pro70.5%
Vals AIGPT 4.1 Mini MortgageTax65.5%
Vals AIGPT 4.1 Mini TaxEval v271.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.

1.
39.9Btokens
2.
Favicon for https://descript.com/
Descript
5.93Btokens
3.
Favicon for https://openclaw.ai/
OpenClaw
2.83Btokens
4.
1.82Btokens
5.
1.7Btokens
Rest of OpenRouter
9.34B
Top 5 Apps
1.32B

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