Comprehensive side-by-side LLM comparison
Qwen3 30B A3B leads with 17.3% higher average benchmark score. Qwen3 30B A3B offers 224.0K more tokens in context window than Phi 4. Both models have similar pricing. Qwen3 30B A3B is available on 3 providers. Overall, Qwen3 30B A3B is the stronger choice for coding tasks.
Microsoft
Phi-4 was introduced as the fourth generation of Microsoft's small language model series, designed to push the boundaries of what compact models can achieve. Built with advanced training techniques and architectural improvements, it demonstrates continued progress in efficient, high-quality language models.
Alibaba Cloud / Qwen Team
Qwen3 30B was created with a mixture-of-experts architecture featuring 30 billion total parameters and 3 billion active parameters. Built to provide strong capabilities with efficient inference through sparse activation, it balances performance with practical computational requirements.
4 months newer

Phi 4
Microsoft
2024-12-12

Qwen3 30B A3B
Alibaba Cloud / Qwen Team
2025-04-29
Cost per million tokens (USD)

Phi 4

Qwen3 30B A3B
Context window and performance specifications
Average performance across 3 common benchmarks

Phi 4

Qwen3 30B A3B
Phi 4
2024-06-01
Available providers and their performance metrics

Phi 4
DeepInfra

Qwen3 30B A3B

Phi 4

Qwen3 30B A3B

Phi 4

Qwen3 30B A3B
DeepInfra
Fireworks
Novita