LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

OpenAI GPT-4.1 Mini

  • OpenAI
  • Released April 14, 2025
  • No public weights listed
  • 1.05M context

As of October 20, 2026, OpenAI GPT-4.1 Mini ranks #154 of 213 models overall with 10.2 on the Artificial Analysis Intelligence Index. Its strongest category is knowledge, where it ranks #103 of 147. OpenAI GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens. It was released on April 14, 2025.

Its output price ranks 175 of 349 priced models, counting from the cheapest.

  • Coding index 28.5 Partial, 2 benchmarks
  • Cost per solved task $1.818 One SWE-bench Verified task, solved
  • Output, per million tokens $1.60 175 of 349 from the cheapest
  • Input, per million tokens $0.40 OpenRouter list price
  • Context window 1.05M Tokens per request

About and specs

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

API model id openai/gpt-4.1-mini
  • Tool callingListed
  • Structured outputsListed
  • JSON modeListed
  • Reasoning modeNot listed
  • Web searchNot listed
Takes in
Images, Text, Files
Gives back
Text
Context window
1.05M tokens
Max output
33K tokens
Knowledge cutoff
June 30, 2024
Cached input $/Mtok
$0.10
Cache write $/Mtok
No cache write price listed
Reasoning $/Mtok
Not priced apart
Web search, per request
$0.01
Tokenizer
GPT
Requests moderated
Yes, by the provider
Withdrawn on
No date announced
Parameters
Not published
Downloads, all time
No public weights
Training compute
No estimate published
Output speed
Not measured
Time to first token
Not measured
Speed on OpenRouter
80 tokens/s via OpenAI, 30-minute median
First token on OpenRouter
0.9 s via OpenAI, 30-minute median

Benchmarks: 84 of 190 measured

The tick on a coding bar is the median of every model measured on it. Outside coding, the place is this model's rank on that board. A board that never ran the model says so.

Where it stands

Full leaderboard
#154of 213 overall 10.2AA Intelligence Index

Measured in 5 of 6 categories. A place counts only the models measured on that board.

Coding index

28.5
  • Aider polyglot 32.4% 32 of 100
  • SWE-bench Verified 23.9% 24 of 100
  • LiveBench coding Not measured
  • LMArena WebDev Elo, scaled from 1200 to 1900 Not measured

The index averages only the coding benchmarks that have a result; the others are skipped, never filled in. How it is weighted

Other public boards

All rankings

Best placings

  1. MATH level 5#11 of 28
  2. MMLU Pro (Artificial Analysis run)#43 of 86
  3. LiveCodeBench (Artificial Analysis run)#44 of 84
  4. MortgageTax (Vals AI)#36 of 68

Lowest placings

  1. Design Arena: 3D#116 of 116
  2. Chess puzzles#80 of 81
  3. ARC-AGI#71 of 73

Coding7 of 34 boards

1 more coding boards

Not measured on SWE-bench Lite, SWE-bench (full test set), SWE-bench Multimodal, SWE-bench Multilingual, SWE-bench Verified (Vals AI), Terminal-Bench 4 (Vals AI), Vibe Code Bench (Vals AI), Code migration (Vals AI), ProgramBench (Vals AI), IOI (Vals AI), Terminal-Bench 2.1 (Vals AI), SWE-bench Multimodal (Vals AI), Vibe Code Bench 1-100 (Vals AI), SkillsBench (Vals AI), CyberBench (Vals AI), SciCode, Terminal-Bench, DeepSWE, FrontierCode, FrontierSWE, GSO-Bench, MirrorCode, Cybench, ALE-Bench, LMArena WebDev: React, LMArena WebDev: HTML, LMArena WebDev: from an image

Intelligence2 of 2 boards

Agentic work1 of 39 boards

Not measured on AA Agentic Index, Design Arena: agents building web apps, Design Arena: agents building full-stack apps, Design Arena: agents building mobile apps, Design Arena: agents building Android apps, Design Arena: agents building Godot games, Design Arena: agents building games, Design Arena: HTML slides, Design Arena: PowerPoint slides, Design Arena: spreadsheets, LiveBench research, LiveBench browser, LiveBench long agentic, SREBench (Vals AI), Finance Agent (Vals AI), Tax Agent Bench (Vals AI), Legal Research Bench (Vals AI), Harvey's Legal Agent Benchmark (Vals AI), Excel Modeling Benchmark (Vals AI), BioMysteryBench (Vals AI), Terminal-Bench-Science (Vals AI), Vals Science Index, Time Horizon Index (Vals AI), CUA-bench (Vals AI), Robo-bench (Vals AI), APEX-Agents, METR time horizons, Remote Labor Index, GDPval, OSWorld 2.0, BALROG, DeepResearch Bench, PostTrainBench, TheAgentCompany, OSWorld, SpireClimb, Vending-Bench 2, LMArena Search

Reasoning14 of 21 boards

8 more reasoning boards

Not measured on LiveBench reasoning, MysteryMechanism (Vals AI), Humanity's Last Exam, SimpleBench, EBR-bench, VPCT, BIG-Bench Hard

Math10 of 13 boards

4 more math boards

Not measured on FrontierMath, tier 4, ProofBench, GSM8K

Knowledge12 of 17 boards

6 more knowledge boards

Not measured on CaseLaw (Vals AI), MedCode (Vals AI), MMLU, GeoBench, AI2 Reasoning Challenge

Web design6 of 9 boards

Not measured on Design Arena: SVG, Design Arena: ASCII art, LiveBench design

General30 of 46 boards

24 more general boards

Not measured on Vals Index, LiveBench data analysis, Public Benefits Bench (Vals AI), SAGE (Vals AI), MedScribe (Vals AI), Vals Multimodal Index, Creative writing (Lech Mazur), CL-bench, Surface Evolver Bench, Furniture assembly, ExploitBench, HellaSwag, WinoGrande, PIQA, CL-bench Life, LMArena Document

Image generation0 of 5 boards

Not measured on Design Arena: images, Design Arena: graphic design, Design Arena: logos, LMArena Text to Image, LMArena Image Edit

Public boards shown as published (Vals AI, Artificial Analysis, Design Arena) and kept out of the coding index. Each links to its source on the benchmark page.

All 190 benchmarks as a table
Benchmark results for OpenAI GPT-4.1 Mini
BenchmarkResultIndex weight
Aider polyglotCoding 32.4% 35%
SWE-bench VerifiedCoding 23.9% 30%
SWE-bench LiteCoding Not measured Not in index
SWE-bench (full test set)Coding Not measured Not in index
SWE-bench MultimodalCoding Not measured Not in index
SWE-bench MultilingualCoding Not measured Not in index
LiveBench codingCoding Not measured 20%
LMArena WebDevCoding Not measured 15%
Vals IndexGeneral Not measured Not in index
GPQA DiamondReasoning 67.9% Not in index
AIMEMath 49.4% Not in index
MMLU ProKnowledge 77.2% Not in index
AA Intelligence IndexIntelligence 10.2 Not in index
AA Coding IndexCoding 20.2 Not in index
AA Agentic IndexAgentic work Not measured Not in index
Design Arena: websitesWeb design 998 Not in index
Design Arena: UI componentsWeb design 961 Not in index
Design Arena: game devWeb design 1071 Not in index
Design Arena: data vizWeb design 1034 Not in index
Design Arena: 3DWeb design 837 Not in index
Design Arena: all code categoriesWeb design 994 Not in index
Design Arena: SVGWeb design Not measured Not in index
Design Arena: ASCII artWeb design Not measured Not in index
Design Arena: agents building web appsAgentic work Not measured Not in index
Design Arena: agents building full-stack appsAgentic work Not measured Not in index
Design Arena: agents building mobile appsAgentic work Not measured Not in index
Design Arena: agents building Android appsAgentic work Not measured Not in index
Design Arena: agents building Godot gamesAgentic work Not measured Not in index
Design Arena: agents building gamesAgentic work Not measured Not in index
Design Arena: HTML slidesAgentic work Not measured Not in index
Design Arena: PowerPoint slidesAgentic work Not measured Not in index
Design Arena: spreadsheetsAgentic work Not measured Not in index
Design Arena: imagesImage generation Not measured Not in index
Design Arena: graphic designImage generation Not measured Not in index
Design Arena: logosImage generation Not measured Not in index
LiveBench reasoningReasoning Not measured Not in index
LiveBench data analysisGeneral Not measured Not in index
LiveBench researchAgentic work Not measured Not in index
LiveBench browserAgentic work Not measured Not in index
LiveBench long agenticAgentic work Not measured Not in index
LiveBench designWeb design Not measured Not in index
LiveCodeBench (Vals AI)Coding 58.2% Not in index
SWE-bench Verified (Vals AI)Coding Not measured Not in index
Terminal-Bench 4 (Vals AI)Coding Not measured Not in index
Vibe Code Bench (Vals AI)Coding Not measured Not in index
Code migration (Vals AI)Coding Not measured Not in index
ProgramBench (Vals AI)Coding Not measured Not in index
SREBench (Vals AI)Agentic work Not measured Not in index
IOI (Vals AI)Coding Not measured Not in index
Terminal-Bench 2.1 (Vals AI)Coding Not measured Not in index
SWE-bench Multimodal (Vals AI)Coding Not measured Not in index
Vibe Code Bench 1-100 (Vals AI)Coding Not measured Not in index
SkillsBench (Vals AI)Coding Not measured Not in index
CyberBench (Vals AI)Coding Not measured Not in index
Finance Agent (Vals AI)Agentic work Not measured Not in index
Tax Agent Bench (Vals AI)Agentic work Not measured Not in index
Legal Research Bench (Vals AI)Agentic work Not measured Not in index
Harvey's Legal Agent Benchmark (Vals AI)Agentic work Not measured Not in index
Excel Modeling Benchmark (Vals AI)Agentic work Not measured Not in index
BioMysteryBench (Vals AI)Agentic work Not measured Not in index
Terminal-Bench-Science (Vals AI)Agentic work Not measured Not in index
Vals Science IndexAgentic work Not measured Not in index
Time Horizon Index (Vals AI)Agentic work Not measured Not in index
CUA-bench (Vals AI)Agentic work Not measured Not in index
Robo-bench (Vals AI)Agentic work Not measured Not in index
Public Benefits Bench (Vals AI)General Not measured Not in index
MysteryMechanism (Vals AI)Reasoning Not measured Not in index
MMMU Pro (Vals AI)Reasoning 70.5% Not in index
MATH 500 (Vals AI)Math 88.0% Not in index
MGSM (Vals AI)Math 87.8% Not in index
SAGE (Vals AI)General Not measured Not in index
LegalBench (Vals AI)Knowledge 78.0% Not in index
CaseLaw (Vals AI)Knowledge Not measured Not in index
CorpFin (Vals AI)Knowledge 57.9% Not in index
TaxEval (Vals AI)Knowledge 71.9% Not in index
MortgageTax (Vals AI)Knowledge 65.5% Not in index
MedQA (Vals AI)Knowledge 84.6% Not in index
MedCode (Vals AI)Knowledge Not measured Not in index
MedScribe (Vals AI)General Not measured Not in index
Vals Multimodal IndexGeneral Not measured Not in index
AA Math IndexMath 46.3 Not in index
GPQA Diamond (Artificial Analysis run)Reasoning 66.4% Not in index
Humanity's Last Exam (Artificial Analysis run)Reasoning 5.0% Not in index
MMLU Pro (Artificial Analysis run)Knowledge 78.1% Not in index
LiveCodeBench (Artificial Analysis run)Coding 48.3% Not in index
SciCodeCoding Not measured Not in index
Terminal-Bench Hard (Artificial Analysis run)Coding 7.6% Not in index
IFBenchGeneral 38.3% Not in index
Long context reasoning (AA-LCR)General 44.0% Not in index
τ²-Bench TelecomAgentic work 52.9% Not in index
AIME 2025 (Artificial Analysis run)Math 46.3% Not in index
Terminal-BenchCoding Not measured Not in index
DeepSWECoding Not measured Not in index
FrontierCodeCoding Not measured Not in index
FrontierSWECoding Not measured Not in index
GSO-BenchCoding Not measured Not in index
WeirdMLCoding 37.6% Not in index
MirrorCodeCoding Not measured Not in index
APEX-AgentsAgentic work Not measured Not in index
METR time horizonsAgentic work Not measured Not in index
Remote Labor IndexAgentic work Not measured Not in index
GDPvalAgentic work Not measured Not in index
OSWorld 2.0Agentic work Not measured Not in index
BALROGAgentic work Not measured Not in index
DeepResearch BenchAgentic work Not measured Not in index
PostTrainBenchAgentic work Not measured Not in index
GPQA Diamond (Epoch AI run)Reasoning 65.8% Not in index
ARC-AGIReasoning 3.5% Not in index
ARC-AGI-2Reasoning 0.0% Not in index
Humanity's Last ExamReasoning Not measured Not in index
SimpleBenchReasoning Not measured Not in index
Chess puzzlesReasoning 1.0% Not in index
Mystery game puzzlesReasoning 7.0% Not in index
EBR-benchReasoning Not measured Not in index
OTIS Mock AIMEMath 44.7% Not in index
FrontierMath, tiers 1 to 3Math 6.7% Not in index
FrontierMath, tier 4Math Not measured Not in index
ProofBenchMath Not measured Not in index
MATH level 5Math 87.3% Not in index
GSM8KMath Not measured Not in index
SimpleQA VerifiedKnowledge 12.7% Not in index
MMLUKnowledge Not measured Not in index
GeoBenchKnowledge Not measured Not in index
DTBenchGeneral 68.8% Not in index
LMCAGeneral 21.1% Not in index
Fiction.LiveBenchGeneral 44.4% Not in index
Creative writing (Lech Mazur)General Not measured Not in index
CL-benchGeneral Not measured Not in index
Surface Evolver BenchGeneral Not measured Not in index
Furniture assemblyGeneral Not measured Not in index
ExploitBenchGeneral Not measured Not in index
CybenchCoding Not measured Not in index
TheAgentCompanyAgentic work Not measured Not in index
OSWorldAgentic work Not measured Not in index
SpireClimbAgentic work Not measured Not in index
VPCTReasoning Not measured Not in index
BIG-Bench HardReasoning Not measured Not in index
AI2 Reasoning ChallengeKnowledge Not measured Not in index
HellaSwagGeneral Not measured Not in index
WinoGrandeGeneral Not measured Not in index
PIQAGeneral Not measured Not in index
CL-bench LifeGeneral Not measured Not in index
ALE-BenchCoding Not measured Not in index
Vending-Bench 2Agentic work Not measured Not in index
Epoch Capabilities IndexIntelligence 135.0 Not in index
LMArena TextGeneral 1341 Not in index
LMArena Text: codingCoding 1367 Not in index
LMArena Text: hard promptsReasoning 1349 Not in index
LMArena Text: mathMath 1342 Not in index
LMArena Text: instruction followingGeneral 1333 Not in index
LMArena Text: creative writingGeneral 1299 Not in index
LMArena VisionGeneral 1181 Not in index
LMArena Text: EnglishGeneral 1356 Not in index
LMArena Text: non-EnglishGeneral 1318 Not in index
LMArena Text: ChineseGeneral 1329 Not in index
LMArena Text: GermanGeneral 1350 Not in index
LMArena Text: JapaneseGeneral 1290 Not in index
LMArena Text: KoreanGeneral 1298 Not in index
LMArena Text: FrenchGeneral 1358 Not in index
LMArena Text: SpanishGeneral 1319 Not in index
LMArena Text: RussianGeneral 1324 Not in index
LMArena Text: PolishGeneral 1326 Not in index
LMArena Text: multi-turnGeneral 1354 Not in index
LMArena Text: longer queriesGeneral 1344 Not in index
LMArena Text: expertReasoning 1338 Not in index
LMArena Text: hard prompts in EnglishReasoning 1362 Not in index
LMArena Text: software and ITCoding 1360 Not in index
LMArena Text: mathematical workMath 1347 Not in index
LMArena Text: scienceKnowledge 1329 Not in index
LMArena Text: medicine and healthcareKnowledge 1324 Not in index
LMArena Text: legal and governmentKnowledge 1343 Not in index
LMArena Text: business and financeKnowledge 1322 Not in index
LMArena Text: writing and languageGeneral 1319 Not in index
LMArena Text: entertainment and mediaGeneral 1300 Not in index
LMArena WebDev: ReactCoding Not measured Not in index
LMArena WebDev: HTMLCoding Not measured Not in index
LMArena WebDev: from an imageCoding Not measured Not in index
LMArena Vision: EnglishGeneral 1191 Not in index
LMArena Vision: ChineseGeneral 1186 Not in index
LMArena Vision: reading textGeneral 1188 Not in index
LMArena Vision: diagramsReasoning 1182 Not in index
LMArena Vision: homeworkReasoning 1214 Not in index
LMArena Vision: humorGeneral 1182 Not in index
LMArena Vision: captioningGeneral 1174 Not in index
LMArena Vision: recognizing thingsGeneral 1187 Not in index
LMArena Vision: creative writingGeneral 1182 Not in index
LMArena SearchAgentic work Not measured Not in index
LMArena DocumentGeneral Not measured Not in index
LMArena Text to ImageImage generation Not measured Not in index
LMArena Image EditImage generation Not measured Not in index

What it costs

A list price says what a token costs. The cost per solved task says what a working answer costs, which is the number that decides.

Output price against the market

GPT-4.1 Mini pricing
$0.0112Dashed line: median $1.80, log scale$600.00
$1.60 per million output tokens is cheaper than 50% of the 344 paid models in the catalog.

Cost per solved task

How it is computed
$0.4352one attempt, swebench.com 23.9%tasks solved $1.818per solved task

Nearly as good as GPT-4.1 Mini, for less

What the boards say about its runs

Beside a result, many boards publish what the run cost, how long it took, the tokens it spent or the votes behind a rating. Each figure as its board printed it, one board per row.

What each board publishes about the runs behind OpenAI: GPT-4.1 Mini's results
BoardResultWhat the run costAlso published
Aider polyglot 32.4% $1.99 of the run Solved on the first try 11.1% · Edits well formed 92.4% · Time per exercise 20 s
SWE-bench Verified 23.9% $0.4352 per attempt Nothing else
WeirdML 37.6% $0.0166 per run Median lines of code 143
ARC-AGI 3.5% $0.0078 per task Nothing else
ARC-AGI-2 0.0% $0.0139 per task Nothing else
GPQA Diamond 67.9% Not published Latency, as printed 9.3 s
AIME 49.4% Not published Latency, as printed 33 s
MMLU Pro 77.2% Not published Latency, as printed 3.8 s
Design Arena: websites 998 Elo Not published Battles 956
Design Arena: UI components 961 Elo Not published Battles 172
Design Arena: game dev 1071 Elo Not published Battles 224
Design Arena: 3D 837 Elo Not published Battles 151
48 more boards
What each board publishes about the runs behind OpenAI: GPT-4.1 Mini's results, continued
Design Arena: all code categories 994 Elo Not published Battles 1,566
LiveCodeBench (Vals AI) 58.2% Not published Latency, as printed 28 s
MMMU Pro (Vals AI) 70.5% Not published Latency, as printed 8.2 s
MATH 500 (Vals AI) 88.0% Not published Latency, as printed 5.8 s
MGSM (Vals AI) 87.8% Not published Latency, as printed 2.8 s
LegalBench (Vals AI) 78.0% Not published Latency, as printed 0.5 s
CorpFin (Vals AI) 57.9% Not published Latency, as printed 6.4 s
TaxEval (Vals AI) 71.9% Not published Latency, as printed 5.9 s
MortgageTax (Vals AI) 65.5% Not published Latency, as printed 4.6 s
MedQA (Vals AI) 84.6% Not published Latency, as printed 1.9 s
LMArena Text 1341 Elo Not published Votes 38,709 · Interval (±) ±4.3
LMArena Text: coding 1367 Elo Not published Votes 6,822 · Interval (±) ±7.5
LMArena Text: hard prompts 1349 Elo Not published Votes 16,071 · Interval (±) ±5.6
LMArena Text: math 1342 Elo Not published Votes 2,673 · Interval (±) ±11.1
LMArena Text: instruction following 1333 Elo Not published Votes 10,002 · Interval (±) ±6.5
LMArena Text: creative writing 1299 Elo Not published Votes 5,082 · Interval (±) ±8.7
LMArena Vision 1181 Elo Not published Votes 40,201 · Interval (±) ±7.5
LMArena Text: English 1356 Elo Not published Votes 18,060 · Interval (±) ±5.4
LMArena Text: non-English 1318 Elo Not published Votes 20,643 · Interval (±) ±5.2
LMArena Text: Chinese 1329 Elo Not published Votes 2,549 · Interval (±) ±12.0
LMArena Text: German 1350 Elo Not published Votes 1,053 · Interval (±) ±18.3
LMArena Text: Japanese 1290 Elo Not published Votes 1,002 · Interval (±) ±19.6
LMArena Text: Korean 1298 Elo Not published Votes 807 · Interval (±) ±21.5
LMArena Text: French 1358 Elo Not published Votes 582 · Interval (±) ±25.5
LMArena Text: Spanish 1319 Elo Not published Votes 805 · Interval (±) ±21.0
LMArena Text: Russian 1324 Elo Not published Votes 3,088 · Interval (±) ±10.5
LMArena Text: Polish 1326 Elo Not published Votes 2,669 · Interval (±) ±12.2
LMArena Text: multi-turn 1354 Elo Not published Votes 7,003 · Interval (±) ±7.6
LMArena Text: longer queries 1344 Elo Not published Votes 7,071 · Interval (±) ±7.5
LMArena Text: expert 1338 Elo Not published Votes 2,026 · Interval (±) ±12.9
LMArena Text: hard prompts in English 1362 Elo Not published Votes 7,672 · Interval (±) ±7.2
LMArena Text: software and IT 1360 Elo Not published Votes 12,397 · Interval (±) ±6.1
LMArena Text: mathematical work 1347 Elo Not published Votes 2,478 · Interval (±) ±11.6
LMArena Text: science 1329 Elo Not published Votes 6,496 · Interval (±) ±7.8
LMArena Text: medicine and healthcare 1324 Elo Not published Votes 2,311 · Interval (±) ±12.7
LMArena Text: legal and government 1343 Elo Not published Votes 2,437 · Interval (±) ±12.1
LMArena Text: business and finance 1322 Elo Not published Votes 6,009 · Interval (±) ±8.1
LMArena Text: writing and language 1319 Elo Not published Votes 8,635 · Interval (±) ±6.9
LMArena Text: entertainment and media 1300 Elo Not published Votes 6,734 · Interval (±) ±7.5
LMArena Vision: English 1191 Elo Not published Votes 19,159 · Interval (±) ±9.5
LMArena Vision: Chinese 1186 Elo Not published Votes 1,778 · Interval (±) ±17.7
LMArena Vision: reading text 1188 Elo Not published Votes 10,464 · Interval (±) ±9.4
LMArena Vision: diagrams 1182 Elo Not published Votes 2,365 · Interval (±) ±13.7
LMArena Vision: homework 1214 Elo Not published Votes 1,310 · Interval (±) ±17.2
LMArena Vision: humor 1182 Elo Not published Votes 1,403 · Interval (±) ±20.8
LMArena Vision: captioning 1174 Elo Not published Votes 394 · Interval (±) ±32.3
LMArena Vision: recognizing things 1187 Elo Not published Votes 357 · Interval (±) ±32.8
LMArena Vision: creative writing 1182 Elo Not published Votes 1,192 · Interval (±) ±20.7

Compare with models of a similar score

All 135 comparisons for GPT-4.1 Mini