Compare / Qwen3.5 4B vs Phi-4-mini

Qwen3.5 4B vs Phi-4-mini

Updated November 2026

Verdict

Qwen3.5 4B scores higher on the Small LM Index: 59.9 vs 15.8. On the 7 benchmarks both labs report, Qwen3.5 4B wins 7 and Phi-4-mini wins 0. Both need about 4 GB of memory at 4-bit quantization. Neither model has a hosted API on OpenRouter, so you would run both yourself.

Pick Qwen3.5 4B if…

  • you want the strongest model overall
  • you mostly write code
  • you need precise instruction following
  • you build agents that call tools
  • you work with long documents
  • you need image input
  • you want the more widely used model (more quantized builds and community support)

Pick Phi-4-mini if…

No clear advantage in the data we have.

Specifications

Qwen3.5 4BPhi-4-mini
Small LM Index59.9 (likely 54–65)15.8 (likely 15–17)
LabAlibaba (Qwen) · ChinaMicrosoft (Phi) · United States
Released2026-03-022025-02-26
Parameters4B (dense)3.8B (dense)
Memory at 4-bit~3.3 GB~4 GB
Context window262K tokens128K tokens
Inputtext, image, videotext
ReasoningHybrid (thinking on/off)No thinking
LicenseApache-2.0MIT
API price / 1M tokensSelf-host onlySelf-host only
Hugging Face downloads (30 days)5.9M340.5K

Benchmarks

Higher is better. Bold marks the winner where both labs report a score. ≈ marks the index model's estimate for a score that wasn't reported, ✓ an independent measurement and * a score measured by another lab.

BenchmarkQwen3.5 4BPhi-4-mini
MMLU-Pro Knowledge79.146.5✓
GPQA Diamond Knowledge77.1✓33.1✓
Humanity's Last Exam Reasoning9.9✓4.4✓
AIME Math≈ 823.0✓
LiveCodeBench Coding55.812.6✓
τ²-Bench Agentic92.1✓8.2✓
IFBench Instruction following52.0✓21.1✓
MMMU-Pro Vision65.4✓—
MATH-500 Math—69.6✓
AA-LCR Long context63.0✓15.3✓

Scores are mostly reported by each lab with its own settings, so small gaps are noise. See the methodology. Open in the interactive comparison to add more models.

Questions

Which is better, Qwen3.5 4B or Phi-4-mini?

Qwen3.5 4B scores higher on the Small LM Index: 59.9 vs 15.8. On the 7 benchmarks both labs report, Qwen3.5 4B wins 7 and Phi-4-mini wins 0.

Which is cheaper to run?

Neither model has a hosted API on OpenRouter, so you would run both yourself. Both need about 4 GB of memory at 4-bit quantization.

Which has the longer context window?

Qwen3.5 4B has the longer context window: 262K tokens against 128K.

Can I use Qwen3.5 4B and Phi-4-mini commercially?

Qwen3.5 4B is released under Apache-2.0 and Phi-4-mini under MIT. Apache 2.0 and MIT allow commercial use; other licenses can add conditions, so read the license before shipping a product.

Related comparisons

Guides featuring these models