Enter opens the highlighted result. Esc closes.

GPT-4.1 Mini vs Qwen3.8 27B

Qwen3.8 27B leads GPT-4.1 Mini on the Artificial Analysis Intelligence Index, 33.7 to 10.2, and GPT-4.1 Mini costs 1.6x less per output token ($1.60 vs $2.55 per million). Updated October 22, 2026; 53 benchmarks have a result for both.

GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
2
Qwen3.8 27BQwen
Coding
74.2
Overall
59.6
Output $/M
$2.55
51
vs boards won of 53 shared

GPT-4.1 Mini or Qwen3.8 27B: which to pick

Only Qwen3.8 27B has a coding score, 74.2 on the Vibe Coding Index; GPT-4.1 Mini has none, so the two cannot be ranked on coding.

Pick GPT-4.1 Mini for output tokens 1.6x cheaper ($1.60 vs $2.55 per million) and a larger context window (1.05M against 1M tokens).

Shared results
53
GPT-4.1 Mini only
33
Qwen3.8 27B only
32
Like-for-like categories
6 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
GPT-4.1 Mini not benchmarked, Qwen3.8 27B 74.2 from 4 benchmarks.
Widest category
Coding, 28.2 points apart on average over 4 shared benchmarks.
Widest single gap
ARC-AGI: GPT-4.1 Mini 3.5% against Qwen3.8 27B 87.5%, 84.0 points apart on a 0 to 100 scale.
Output price
GPT-4.1 Mini $1.60 against Qwen3.8 27B $2.55 per million output tokens, 1.6x apart.
Context window
GPT-4.1 Mini takes 1.05M tokens, Qwen3.8 27B 1M.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGPT-4.1 MiniBarsQwen3.8 27BTies
Coding04
Intelligence02
Reasoning011
Math02
Knowledge26
General026
All shared boards251
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for GPT-4.1 Mini and Qwen3.8 27B
BenchmarkGPT-4.1 MiniQwen3.8 27BLeader
Aider polyglot32.4%Not measuredOnly GPT-4.1 Mini measured
SWE-bench Verified23.9%Not measuredOnly GPT-4.1 Mini measured
LiveBench codingNot measured86.8%Only Qwen3.8 27B measured
LMArena WebDevNot measured1593Only Qwen3.8 27B measured
AA Coding Index20.268.1Qwen3.8 27B
LiveCodeBench (Vals AI)58.2%84.0%Qwen3.8 27B
SWE-bench Verified (Vals AI)Not measured86.0%Only Qwen3.8 27B measured
Vibe Code Bench (Vals AI)Not measured64.8%Only Qwen3.8 27B measured
Code migration (Vals AI)Not measured14.2%Only Qwen3.8 27B measured
ProgramBench (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
IOI (Vals AI)Not measured39.1%Only Qwen3.8 27B measured
Terminal-Bench 2.1 (Vals AI)Not measured58.4%Only Qwen3.8 27B measured
SkillsBench (Vals AI)Not measured38.1%Only Qwen3.8 27B measured
CyberBench (Vals AI)Not measured67.8%Only Qwen3.8 27B measured
LiveCodeBench (Artificial Analysis run)48.3%Not measuredOnly GPT-4.1 Mini measured
SciCodeNot measured46.6%Only Qwen3.8 27B measured
Terminal-Bench Hard (Artificial Analysis run)7.6%Not measuredOnly GPT-4.1 Mini measured
WeirdML37.6%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: coding13671483Qwen3.8 27B
LMArena Text: software and IT13601478Qwen3.8 27B
LMArena WebDev: ReactNot measured1602Only Qwen3.8 27B measured
LMArena WebDev: HTMLNot measured1570Only Qwen3.8 27B measured
LMArena WebDev: from an imageNot measured1577Only Qwen3.8 27B measured
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 Mini and Qwen3.8 27B
BenchmarkGPT-4.1 MiniQwen3.8 27BLeader
AA Intelligence Index10.233.7Qwen3.8 27B
Epoch Capabilities Index134.9151.7Qwen3.8 27B
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
Agentic work benchmarks for GPT-4.1 Mini and Qwen3.8 27B
BenchmarkGPT-4.1 MiniQwen3.8 27BLeader
AA Agentic IndexNot measured45.8Only Qwen3.8 27B measured
LiveBench researchNot measured59.4%Only Qwen3.8 27B measured
LiveBench browserNot measured32.0%Only Qwen3.8 27B measured
LiveBench long agenticNot measured27.9%Only Qwen3.8 27B measured
Finance Agent (Vals AI)Not measured48.5%Only Qwen3.8 27B measured
Tax Agent Bench (Vals AI)Not measured30.9%Only Qwen3.8 27B measured
Legal Research Bench (Vals AI)Not measured36.1%Only Qwen3.8 27B measured
Excel Modeling Benchmark (Vals AI)Not measured59.7%Only Qwen3.8 27B measured
Terminal-Bench-Science (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
τ²-Bench Telecom52.9%Not measuredOnly GPT-4.1 Mini measured
APEX-AgentsNot measured47.5%Only Qwen3.8 27B measured
Berkeley Function Calling Leaderboard (BFCL)50.4%Not measuredOnly GPT-4.1 Mini measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index011
Reasoning benchmarks for GPT-4.1 Mini and Qwen3.8 27B
BenchmarkGPT-4.1 MiniQwen3.8 27BLeader
GPQA Diamond67.9%88.9%Qwen3.8 27B
LiveBench reasoningNot measured80.0%Only Qwen3.8 27B measured
MMMU Pro (Vals AI)70.5%83.9%Qwen3.8 27B
GPQA Diamond (Artificial Analysis run)66.4%90.5%Qwen3.8 27B
Humanity's Last Exam (Artificial Analysis run)5.0%33.9%Qwen3.8 27B
GPQA Diamond (Epoch AI run)65.8%Not measuredOnly GPT-4.1 Mini measured
ARC-AGI3.5%87.5%Qwen3.8 27B
ARC-AGI-20.0%42.4%Qwen3.8 27B
Chess puzzles1.0%Not measuredOnly GPT-4.1 Mini measured
Mystery game puzzles7.0%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: hard prompts13491459Qwen3.8 27B
LMArena Text: expert13381479Qwen3.8 27B
LMArena Text: hard prompts in English13621461Qwen3.8 27B
LMArena Vision: diagrams11821285Qwen3.8 27B
LMArena Vision: homework12141295Qwen3.8 27B
Kagi LLM Benchmark48.6%Not measuredOnly GPT-4.1 Mini measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4.1 Mini and Qwen3.8 27B
BenchmarkGPT-4.1 MiniQwen3.8 27BLeader
AIME49.4%Not measuredOnly GPT-4.1 Mini measured
MATH 500 (Vals AI)88.0%Not measuredOnly GPT-4.1 Mini measured
MGSM (Vals AI)87.8%Not measuredOnly GPT-4.1 Mini measured
AA Math Index46.3Not measuredOnly GPT-4.1 Mini measured
AIME 2025 (Artificial Analysis run)46.3%Not measuredOnly GPT-4.1 Mini measured
OTIS Mock AIME44.7%Not measuredOnly GPT-4.1 Mini measured
FrontierMath, tiers 1 to 36.7%Not measuredOnly GPT-4.1 Mini measured
ProofBenchNot measured16.0%Only Qwen3.8 27B measured
MATH level 587.3%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: math13431455Qwen3.8 27B
LMArena Text: mathematical work13471458Qwen3.8 27B
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index26
Knowledge benchmarks for GPT-4.1 Mini and Qwen3.8 27B
BenchmarkGPT-4.1 MiniQwen3.8 27BLeader
MMLU Pro77.2%84.3%Qwen3.8 27B
LegalBench (Vals AI)78.0%82.4%Qwen3.8 27B
CorpFin (Vals AI)57.9%Not measuredOnly GPT-4.1 Mini measured
TaxEval (Vals AI)71.9%70.8%GPT-4.1 Mini
MortgageTax (Vals AI)65.5%64.9%GPT-4.1 Mini
MedQA (Vals AI)84.6%Not measuredOnly GPT-4.1 Mini measured
MedCode (Vals AI)Not measured28.7%Only Qwen3.8 27B measured
MMLU Pro (Artificial Analysis run)78.1%Not measuredOnly GPT-4.1 Mini measured
SimpleQA Verified12.7%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: science13281467Qwen3.8 27B
LMArena Text: medicine and healthcare13241437Qwen3.8 27B
LMArena Text: legal and government13431447Qwen3.8 27B
LMArena Text: business and finance13221438Qwen3.8 27B
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for GPT-4.1 Mini and Qwen3.8 27B
BenchmarkGPT-4.1 MiniQwen3.8 27BLeader
Design Arena: websites997Not measuredOnly GPT-4.1 Mini measured
Design Arena: UI components958Not measuredOnly GPT-4.1 Mini measured
Design Arena: game dev1070Not measuredOnly GPT-4.1 Mini measured
Design Arena: data viz1034Not measuredOnly GPT-4.1 Mini measured
Design Arena: 3D836Not measuredOnly GPT-4.1 Mini measured
Design Arena: all code categories993Not measuredOnly GPT-4.1 Mini measured
LiveBench designNot measured75.9%Only Qwen3.8 27B measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index026
General benchmarks for GPT-4.1 Mini and Qwen3.8 27B
BenchmarkGPT-4.1 MiniQwen3.8 27BLeader
LiveBench data analysisNot measured76.6%Only Qwen3.8 27B measured
SAGE (Vals AI)Not measured52.4%Only Qwen3.8 27B measured
MedScribe (Vals AI)Not measured83.8%Only Qwen3.8 27B measured
IFBench38.3%Not measuredOnly GPT-4.1 Mini measured
Long context reasoning (AA-LCR)44.0%82.0%Qwen3.8 27B
DTBench68.8%88.0%Qwen3.8 27B
LMCA21.1%41.4%Qwen3.8 27B
Fiction.LiveBench44.4%Not measuredOnly GPT-4.1 Mini measured
Surface Evolver BenchNot measured45.0%Only Qwen3.8 27B measured
LMArena Text13411440Qwen3.8 27B
LMArena Text: instruction following13331436Qwen3.8 27B
LMArena Text: creative writing12991383Qwen3.8 27B
LMArena Vision11811269Qwen3.8 27B
LMArena Text: English13561448Qwen3.8 27B
LMArena Text: non-English13181428Qwen3.8 27B
LMArena Text: Chinese13291501Qwen3.8 27B
LMArena Text: German13501443Qwen3.8 27B
LMArena Text: Japanese12901387Qwen3.8 27B
LMArena Text: Korean12981384Qwen3.8 27B
LMArena Text: French13581465Qwen3.8 27B
LMArena Text: Spanish13191449Qwen3.8 27B
LMArena Text: Russian13241415Qwen3.8 27B
LMArena Text: Polish13261439Qwen3.8 27B
LMArena Text: multi-turn13541440Qwen3.8 27B
LMArena Text: longer queries13441448Qwen3.8 27B
LMArena Text: writing and language13191405Qwen3.8 27B
LMArena Text: entertainment and media13001393Qwen3.8 27B
LMArena Vision: English11911267Qwen3.8 27B
LMArena Vision: Chinese11861326Qwen3.8 27B
LMArena Vision: reading text11881281Qwen3.8 27B
LMArena Vision: humor11821235Qwen3.8 27B
LMArena Vision: captioning1174Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: recognizing things1187Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: creative writing11821237Qwen3.8 27B
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4.1 Mini and Qwen3.8 27B
BenchmarkGPT-4.1 MiniQwen3.8 27BLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

GPT-4.1 Mini$0.0012Fits in one request
Qwen3.8 27B$0.0017Fits in one request

GPT-4.1 Mini costs less

Repository review

50K input + 3K output tokens

GPT-4.1 Mini$0.025Fits in one request
Qwen3.8 27B$0.029Fits in one request

GPT-4.1 Mini costs less

Agent loop

200K input + 10K output tokens

GPT-4.1 Mini$0.096Fits in one request
Qwen3.8 27B$0.111Fits in one request

GPT-4.1 Mini costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of GPT-4.1 Mini and Qwen3.8 27B
SpecificationOpenAI GPT-4.1 MiniQwen3.8 27B
MakerOpenAIQwen
WeightsNo public weights listedOpen weights
ReleasedApril 14, 2025August 14, 2026
Context window1.05M1M
Input $/Mtok$0.40$0.425
Output $/Mtok$1.60$2.55
Coding indexNot benchmarked74.2
Independent measurements behind it04
Cost per solved task$1.818$1.26
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4.1 Mini better than Qwen3.8 27B for coding?

Only Qwen3.8 27B has a coding score, 74.2 on the Vibe Coding Index; GPT-4.1 Mini has none, so the two cannot be ranked on coding. Pick GPT-4.1 Mini for output tokens 1.6x cheaper ($1.60 vs $2.55 per million) and a larger context window (1.05M against 1M tokens).

Which is cheaper, GPT-4.1 Mini or Qwen3.8 27B?

GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens; Qwen3.8 27B costs $0.425 and $2.55. Per solved SWE-bench Verified task, GPT-4.1 Mini costs $1.818 and Qwen3.8 27B $1.26.

Which has the bigger context window, GPT-4.1 Mini or Qwen3.8 27B?

GPT-4.1 Mini, with 1.05M tokens against 1M.

How many benchmarks is the GPT-4.1 Mini vs Qwen3.8 27B comparison based on?

53 benchmarks have a result for both models as of October 22, 2026. GPT-4.1 Mini's coding index rests on 0 independent benchmarks and Qwen3.8 27B's on 4. Where only one model has a result, the page says so instead of naming a winner.

Compare next