Skip to main content

Model comparison

GPT-4.1 mini vs Qwen3.5 397B

Data verified

Head-to-head evidence from 19 shared benchmark results across 6 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.

43.1/100
Margin
13.2pts
winning →
56.26/100
1 category wins3 category wins

Public leaderboard positions: GPT-4.1 mini #160 (Estimated); Qwen3.5 397B #77 (Estimated). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.

Evidence parity. GPT-4.1 mini and Qwen3.5 397B share 19 comparable benchmark results. 4 of 8 categories are comparable. 3 results are unique to GPT-4.1 mini; 36 to Qwen3.5 397B.

Updated July 24, 2026
Shared results
19
GPT-4.1 mini only
3
Qwen3.5 397B only
36
Comparable categories
4 / 8

Pick Qwen3.5 397B if you want the stronger benchmark profile. GPT-4.1 mini only becomes the better choice if knowledge is the priority or you want the cheaper token bill.

Confidence note. This is a partial-evidence comparison with 19 shared benchmark results across 6 evidence categories; 4 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.

Why this result

Qwen3.5 397B is clearly ahead on the BenchAlign aggregate, 56.26 to 43.1. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

Qwen3.5 397B's sharpest advantage is in mathematics, where it averages 90.6 against 4.5. The single biggest benchmark swing on the page is SWE-bench Verified, 23.6% to 76.2%. GPT-4.1 mini does hit back in knowledge, so the answer changes if that is the part of the workload you care about most.

Qwen3.5 397B is also the more expensive model on tokens at $0.60 input / $3.60 output per 1M tokens, versus $0.40 input / $1.60 output per 1M tokens for GPT-4.1 mini. That is roughly 2.3x on output cost alone. GPT-4.1 mini gives you the larger context window at 1M, compared with 128K for Qwen3.5 397B.

Category breakdown

Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.

Category scores and score margins for GPT-4.1 mini and Qwen3.5 397B
CategoryGPT-4.1 miniΔQwen3.5 397B
MathGPT-4.1 mini4.5Margin 86.1Qwen3.5 397B90.6
CodingGPT-4.1 mini23.6Margin 42.9Qwen3.5 397B66.5
KnowledgeGPT-4.1 mini64.2Margin 7.6Qwen3.5 397B56.6
Inst. FollowingGPT-4.1 mini88.5Margin 4.1Qwen3.5 397B92.6
AgenticGPT-4.1 miniNot measuredMarginNo overlapQwen3.5 397B56.5
ReasoningGPT-4.1 miniNot measuredMarginNo overlapQwen3.5 397B63.2
MultilingualGPT-4.1 miniNot measuredMarginNo overlapQwen3.5 397B84.7
MultimodalGPT-4.1 miniNot measuredMarginNo overlapQwen3.5 397B79.6

Decisive benchmark drivers

The largest measured benchmark gaps in this matchup, with exact reported values.

More
A · GPT-4.1 miniB · Qwen3.5 397B
  1. SWE-bench Verified

    Coding
    Source ↗
    A 23.6%B 76.2%
    Winner: Qwen3.5 397BΔ 52.6
    SWE-bench Verified: GPT-4.1 mini scored 23.6%; Qwen3.5 397B scored 76.2%. Qwen3.5 397B wins this benchmark.
  2. GPQA

    Knowledge
    Source ↗
    A 64.2%B 88.4%
    Winner: Qwen3.5 397BΔ 24.2
    GPQA: GPT-4.1 mini scored 64.2%; Qwen3.5 397B scored 88.4%. Qwen3.5 397B wins this benchmark.
  3. IFEval

    Inst. Following
    Source ↗
    A 88.5%B 92.6%
    Winner: Qwen3.5 397BΔ 4.1
    IFEval: GPT-4.1 mini scored 88.5%; Qwen3.5 397B scored 92.6%. Qwen3.5 397B wins this benchmark.

Operational comparison

Runtime and commercial metrics are compared only when both models have a complete sourced value.

MetricGPT-4.1 miniQwen3.5 397BComparison
Input / output priceUSD per 1M tokensGPT-4.1 mini$0.4 input / $1.6 outputQwen3.5 397B$0.6 input / $3.6 outputGPT-4.1 mini has the lower combined listed price.
Generation speedtokens per secondGPT-4.1 mini80 tok/sQwen3.5 397B96 tok/sQwen3.5 397B has the higher measured throughput.
First-answer latencyseconds to first tokenGPT-4.1 mini0.76 sQwen3.5 397B2.44 sGPT-4.1 mini reaches the first token sooner.
Context windowmaximum listed tokensGPT-4.1 mini1MQwen3.5 397B128KGPT-4.1 mini lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkGPT-4.1 miniQwen3.5 397BResult
AA Agentic IndexSource 1.7%19.9%Qwen3.5 397B leads
τ²-bench resultsSource 52.9%95.6%Qwen3.5 397B leads
GDPval-AASource 0.4%23.1%Qwen3.5 397B leads
GDPval-AASource 508962Qwen3.5 397B leads
Terminal-Bench 2.0Source 52.5%Not comparable
BrowseCompSource 62%Not comparable
Claw-EvalSource 56.8%Not comparable
QwenClawBenchSource 51.8%Not comparable
τ³-bench resultsSource 68.4%Not comparable
VITA-BenchSource 43.7%Not comparable
DeepPlanningSource 37.6%Not comparable
ToolathlonSource 36.3%Not comparable
MCP AtlasSource 46.1%Not comparable
MCP-TasksSource 74.2%Not comparable
WideResearchSource 74.0%Not comparable
Gert LabsSource 46.76%Not comparable
ResearchClawBenchSource 14.2%Not comparable
APEX-Agents-AASource 15.3%Not comparable
CodingQwen3.5 397B wins
BenchmarkGPT-4.1 miniQwen3.5 397BResult
SWE-bench VerifiedSource 23.6%76.2%Qwen3.5 397B leads
AA Coding IndexSource 20.2%48.2%Qwen3.5 397B leads
AA-SciCodeSource 40.4%42.0%Qwen3.5 397B leads
LiveCodeBench v6Source 83.6%Not comparable
SWE-bench ProSource 50.9%Not comparable
Reasoning
BenchmarkGPT-4.1 miniQwen3.5 397BResult
AA-LCRSource 42.3%65.7%Qwen3.5 397B leads
CritPtSource 0.0%1.7%Qwen3.5 397B leads
LongBench v2Source 63.2%Not comparable
AI-NeedleSource 68.7%Not comparable
KnowledgeGPT-4.1 mini wins
BenchmarkGPT-4.1 miniQwen3.5 397BResult
MMLUSource 87.5%Not comparable
GPQASource 64.2%88.4%Qwen3.5 397B leads
Artificial Analysis Intelligence IndexSource 14.8%33.7%Qwen3.5 397B leads
AA-GPQA DiamondSource 66.4%89.3%Qwen3.5 397B leads
AA-HLESource 4.6%27.3%Qwen3.5 397B leads
AA-Omniscience IndexSource -50.1%-29.8%Qwen3.5 397B leads
AA-Omniscience AccuracySource 17.5%31.4%Qwen3.5 397B leads
AA-Omniscience Hallucination RateSource 82.0%89.1%GPT-4.1 mini leads
SuperGPQASource 70.4%Not comparable
MMLU-ProSource 87.8%Not comparable
MMLU-ReduxSource 94.9%Not comparable
C-EvalSource 93%Not comparable
HLESource 28.7%Not comparable
MathQwen3.5 397B wins
BenchmarkGPT-4.1 miniQwen3.5 397BResult
FrontierMath v2 (Tiers 1-3)Source 4.483%Not comparable
AIME26Source 93.3%Not comparable
HMMT Feb 2025Source 94.8%Not comparable
HMMT Nov 2025Source 92.7%Not comparable
HMMT Feb 2026Source 87.9%Not comparable
MMAnswerBenchSource 80.9%Not comparable
Multilingual
BenchmarkGPT-4.1 miniQwen3.5 397BResult
MMLU-ProXSource 84.7%Not comparable
NOVA-63Source 59.1%Not comparable
Multimodal
BenchmarkGPT-4.1 miniQwen3.5 397BResult
AA-MMMU-ProSource 58.7%77.3%Qwen3.5 397B leads
Design Arena WebsiteSource 1027Not comparable
MMMU-ProSource 79%Not comparable
MathVisionSource 88.6%Not comparable
CharXivSource 80.8%Not comparable
VideoMMMUSource 84.7%Not comparable
ScreenSpot ProSource 65.6%Not comparable
V*Source 95.8%Not comparable
Inst. FollowingQwen3.5 397B wins
BenchmarkGPT-4.1 miniQwen3.5 397BResult
IFEvalSource 88.5%92.6%Qwen3.5 397B leads
AA-IFBenchSource 38.3%78.8%Qwen3.5 397B leads
Frequently Asked Questions (5)

Which is better, GPT-4.1 mini or Qwen3.5 397B?

Qwen3.5 397B is ahead on BenchLM's BenchAlign leaderboard, 56.26 to 43.1. The biggest single separator in this matchup is SWE-bench Verified, where the scores are 23.6% and 76.2%.

Which is better for knowledge tasks, GPT-4.1 mini or Qwen3.5 397B?

GPT-4.1 mini has the edge for knowledge tasks in this comparison, averaging 64.2 versus 56.6. Inside this category, GPQA is the benchmark that creates the most daylight between them.

Which is better for coding, GPT-4.1 mini or Qwen3.5 397B?

Qwen3.5 397B has the edge for coding in this comparison, averaging 66.5 versus 23.6. Inside this category, SWE-bench Verified is the benchmark that creates the most daylight between them.

Which is better for math, GPT-4.1 mini or Qwen3.5 397B?

Qwen3.5 397B has the edge for math in this comparison, averaging 90.6 versus 4.5. GPT-4.1 mini stays close enough that the answer can still flip depending on your workload.

Which is better for instruction following, GPT-4.1 mini or Qwen3.5 397B?

Qwen3.5 397B has the edge for instruction following in this comparison, averaging 92.6 versus 88.5. Inside this category, AA-IFBench is the benchmark that creates the most daylight between them.

Related Comparisons

Last updated: July 24, 2026