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 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only Qwen3.8 27B has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Qwen3.8 27B
Qwen3.8 27B leads, 33.7 against 10.2.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Qwen3.8 27B has a AA Agentic Index result, 45.8.
Directional only
Reasoning
GPQA Diamond
Qwen3.8 27B
Qwen3.8 27B leads, 88.9% against 67.9%.
Same board, both measured
Math
AIME
No call
Only GPT-4.1 Mini has a AIME result, 49.4%.
Directional only
Knowledge
MMLU Pro
Qwen3.8 27B
Qwen3.8 27B leads, 84.3% against 77.2%.
Same board, both measured
Web design
Design Arena: websites
No call
Only GPT-4.1 Mini has a Design Arena: websites result, 997.
Directional only
Long documents
Listed context window
GPT-4.1 Mini
GPT-4.1 Mini takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-4.1 Mini
GPT-4.1 Mini $0.0012, Qwen3.8 27B $0.0017 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Qwen3.8 27B
GPT-4.1 Mini $1.818, Qwen3.8 27B $1.26.
Published attempt cost and pass rate
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.
| Category | GPT-4.1 Mini | Bars | Qwen3.8 27B | Ties |
|---|---|---|---|---|
| Coding | 0 | 4 | ||
| Intelligence | 0 | 2 | ||
| Reasoning | 0 | 11 | ||
| Math | 0 | 2 | ||
| Knowledge | 2 | 6 | ||
| General | 0 | 26 | ||
| All shared boards | 2 | 51 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
| Benchmark | GPT-4.1 Mini | Qwen3.8 27B | Leader |
|---|---|---|---|
| Aider polyglot | 32.4% | Not measured | Only GPT-4.1 Mini measured |
| SWE-bench Verified | 23.9% | Not measured | Only GPT-4.1 Mini measured |
| LiveBench coding | Not measured | 86.8% | Only Qwen3.8 27B measured |
| LMArena WebDev | Not measured | 1593 | Only Qwen3.8 27B measured |
| AA Coding Index | 20.2 | 68.1 | Qwen3.8 27B |
| LiveCodeBench (Vals AI) | 58.2% | 84.0% | Qwen3.8 27B |
| SWE-bench Verified (Vals AI) | Not measured | 86.0% | Only Qwen3.8 27B measured |
| Vibe Code Bench (Vals AI) | Not measured | 64.8% | Only Qwen3.8 27B measured |
| Code migration (Vals AI) | Not measured | 14.2% | Only Qwen3.8 27B measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Qwen3.8 27B measured |
| IOI (Vals AI) | Not measured | 39.1% | Only Qwen3.8 27B measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 58.4% | Only Qwen3.8 27B measured |
| SkillsBench (Vals AI) | Not measured | 38.1% | Only Qwen3.8 27B measured |
| CyberBench (Vals AI) | Not measured | 67.8% | Only Qwen3.8 27B measured |
| LiveCodeBench (Artificial Analysis run) | 48.3% | Not measured | Only GPT-4.1 Mini measured |
| SciCode | Not measured | 46.6% | Only Qwen3.8 27B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 7.6% | Not measured | Only GPT-4.1 Mini measured |
| WeirdML | 37.6% | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text: coding | 1367 | 1483 | Qwen3.8 27B |
| LMArena Text: software and IT | 1360 | 1478 | Qwen3.8 27B |
| LMArena WebDev: React | Not measured | 1602 | Only Qwen3.8 27B measured |
| LMArena WebDev: HTML | Not measured | 1570 | Only Qwen3.8 27B measured |
| LMArena WebDev: from an image | Not measured | 1577 | Only 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
| Benchmark | GPT-4.1 Mini | Qwen3.8 27B | Leader |
|---|---|---|---|
| AA Intelligence Index | 10.2 | 33.7 | Qwen3.8 27B |
| Epoch Capabilities Index | 134.9 | 151.7 | Qwen3.8 27B |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | GPT-4.1 Mini | Qwen3.8 27B | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 45.8 | Only Qwen3.8 27B measured |
| LiveBench research | Not measured | 59.4% | Only Qwen3.8 27B measured |
| LiveBench browser | Not measured | 32.0% | Only Qwen3.8 27B measured |
| LiveBench long agentic | Not measured | 27.9% | Only Qwen3.8 27B measured |
| Finance Agent (Vals AI) | Not measured | 48.5% | Only Qwen3.8 27B measured |
| Tax Agent Bench (Vals AI) | Not measured | 30.9% | Only Qwen3.8 27B measured |
| Legal Research Bench (Vals AI) | Not measured | 36.1% | Only Qwen3.8 27B measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 59.7% | Only Qwen3.8 27B measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 0.0% | Only Qwen3.8 27B measured |
| τ²-Bench Telecom | 52.9% | Not measured | Only GPT-4.1 Mini measured |
| APEX-Agents | Not measured | 47.5% | Only Qwen3.8 27B measured |
| Berkeley Function Calling Leaderboard (BFCL) | 50.4% | Not measured | Only 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
| Benchmark | GPT-4.1 Mini | Qwen3.8 27B | Leader |
|---|---|---|---|
| GPQA Diamond | 67.9% | 88.9% | Qwen3.8 27B |
| LiveBench reasoning | Not measured | 80.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 measured | Only GPT-4.1 Mini measured |
| ARC-AGI | 3.5% | 87.5% | Qwen3.8 27B |
| ARC-AGI-2 | 0.0% | 42.4% | Qwen3.8 27B |
| Chess puzzles | 1.0% | Not measured | Only GPT-4.1 Mini measured |
| Mystery game puzzles | 7.0% | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text: hard prompts | 1349 | 1459 | Qwen3.8 27B |
| LMArena Text: expert | 1338 | 1479 | Qwen3.8 27B |
| LMArena Text: hard prompts in English | 1362 | 1461 | Qwen3.8 27B |
| LMArena Vision: diagrams | 1182 | 1285 | Qwen3.8 27B |
| LMArena Vision: homework | 1214 | 1295 | Qwen3.8 27B |
| Kagi LLM Benchmark | 48.6% | Not measured | Only 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
| Benchmark | GPT-4.1 Mini | Qwen3.8 27B | Leader |
|---|---|---|---|
| AIME | 49.4% | Not measured | Only GPT-4.1 Mini measured |
| MATH 500 (Vals AI) | 88.0% | Not measured | Only GPT-4.1 Mini measured |
| MGSM (Vals AI) | 87.8% | Not measured | Only GPT-4.1 Mini measured |
| AA Math Index | 46.3 | Not measured | Only GPT-4.1 Mini measured |
| AIME 2025 (Artificial Analysis run) | 46.3% | Not measured | Only GPT-4.1 Mini measured |
| OTIS Mock AIME | 44.7% | Not measured | Only GPT-4.1 Mini measured |
| FrontierMath, tiers 1 to 3 | 6.7% | Not measured | Only GPT-4.1 Mini measured |
| ProofBench | Not measured | 16.0% | Only Qwen3.8 27B measured |
| MATH level 5 | 87.3% | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text: math | 1343 | 1455 | Qwen3.8 27B |
| LMArena Text: mathematical work | 1347 | 1458 | Qwen3.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
| Benchmark | GPT-4.1 Mini | Qwen3.8 27B | Leader |
|---|---|---|---|
| MMLU Pro | 77.2% | 84.3% | Qwen3.8 27B |
| LegalBench (Vals AI) | 78.0% | 82.4% | Qwen3.8 27B |
| CorpFin (Vals AI) | 57.9% | Not measured | Only 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 measured | Only GPT-4.1 Mini measured |
| MedCode (Vals AI) | Not measured | 28.7% | Only Qwen3.8 27B measured |
| MMLU Pro (Artificial Analysis run) | 78.1% | Not measured | Only GPT-4.1 Mini measured |
| SimpleQA Verified | 12.7% | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text: science | 1328 | 1467 | Qwen3.8 27B |
| LMArena Text: medicine and healthcare | 1324 | 1437 | Qwen3.8 27B |
| LMArena Text: legal and government | 1343 | 1447 | Qwen3.8 27B |
| LMArena Text: business and finance | 1322 | 1438 | Qwen3.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
| Benchmark | GPT-4.1 Mini | Qwen3.8 27B | Leader |
|---|---|---|---|
| Design Arena: websites | 997 | Not measured | Only GPT-4.1 Mini measured |
| Design Arena: UI components | 958 | Not measured | Only GPT-4.1 Mini measured |
| Design Arena: game dev | 1070 | Not measured | Only GPT-4.1 Mini measured |
| Design Arena: data viz | 1034 | Not measured | Only GPT-4.1 Mini measured |
| Design Arena: 3D | 836 | Not measured | Only GPT-4.1 Mini measured |
| Design Arena: all code categories | 993 | Not measured | Only GPT-4.1 Mini measured |
| LiveBench design | Not measured | 75.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
| Benchmark | GPT-4.1 Mini | Qwen3.8 27B | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 76.6% | Only Qwen3.8 27B measured |
| SAGE (Vals AI) | Not measured | 52.4% | Only Qwen3.8 27B measured |
| MedScribe (Vals AI) | Not measured | 83.8% | Only Qwen3.8 27B measured |
| IFBench | 38.3% | Not measured | Only GPT-4.1 Mini measured |
| Long context reasoning (AA-LCR) | 44.0% | 82.0% | Qwen3.8 27B |
| DTBench | 68.8% | 88.0% | Qwen3.8 27B |
| LMCA | 21.1% | 41.4% | Qwen3.8 27B |
| Fiction.LiveBench | 44.4% | Not measured | Only GPT-4.1 Mini measured |
| Surface Evolver Bench | Not measured | 45.0% | Only Qwen3.8 27B measured |
| LMArena Text | 1341 | 1440 | Qwen3.8 27B |
| LMArena Text: instruction following | 1333 | 1436 | Qwen3.8 27B |
| LMArena Text: creative writing | 1299 | 1383 | Qwen3.8 27B |
| LMArena Vision | 1181 | 1269 | Qwen3.8 27B |
| LMArena Text: English | 1356 | 1448 | Qwen3.8 27B |
| LMArena Text: non-English | 1318 | 1428 | Qwen3.8 27B |
| LMArena Text: Chinese | 1329 | 1501 | Qwen3.8 27B |
| LMArena Text: German | 1350 | 1443 | Qwen3.8 27B |
| LMArena Text: Japanese | 1290 | 1387 | Qwen3.8 27B |
| LMArena Text: Korean | 1298 | 1384 | Qwen3.8 27B |
| LMArena Text: French | 1358 | 1465 | Qwen3.8 27B |
| LMArena Text: Spanish | 1319 | 1449 | Qwen3.8 27B |
| LMArena Text: Russian | 1324 | 1415 | Qwen3.8 27B |
| LMArena Text: Polish | 1326 | 1439 | Qwen3.8 27B |
| LMArena Text: multi-turn | 1354 | 1440 | Qwen3.8 27B |
| LMArena Text: longer queries | 1344 | 1448 | Qwen3.8 27B |
| LMArena Text: writing and language | 1319 | 1405 | Qwen3.8 27B |
| LMArena Text: entertainment and media | 1300 | 1393 | Qwen3.8 27B |
| LMArena Vision: English | 1191 | 1267 | Qwen3.8 27B |
| LMArena Vision: Chinese | 1186 | 1326 | Qwen3.8 27B |
| LMArena Vision: reading text | 1188 | 1281 | Qwen3.8 27B |
| LMArena Vision: humor | 1182 | 1235 | Qwen3.8 27B |
| LMArena Vision: captioning | 1174 | Not measured | Only GPT-4.1 Mini measured |
| LMArena Vision: recognizing things | 1187 | Not measured | Only GPT-4.1 Mini measured |
| LMArena Vision: creative writing | 1182 | 1237 | Qwen3.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
| Benchmark | GPT-4.1 Mini | Qwen3.8 27B | Leader |
|---|---|---|---|
| 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 costs less
Repository review
50K input + 3K output tokens
GPT-4.1 Mini costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | OpenAI GPT-4.1 Mini | Qwen3.8 27B |
|---|---|---|
| Maker | OpenAI | Qwen |
| Weights | No public weights listed | Open weights |
| Released | April 14, 2025 | August 14, 2026 |
| Context window | 1.05M | 1M |
| Input $/Mtok | $0.40 | $0.425 |
| Output $/Mtok | $1.60 | $2.55 |
| Coding index | Not benchmarked | 74.2 |
| Independent measurements behind it | 0 | 4 |
| Cost per solved task | $1.818 | $1.26 |
| Source | OpenRouter listing | OpenRouter 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.