Model Comparison

Phi 4 vs Qwen3-235B-A22B-Instruct-2507

Qwen3-235B-A22B-Instruct-2507 significantly outperforms across most benchmarks. Phi 4 is 3.6x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

4 benchmarks

Phi 4 outperforms in 0 benchmarks, while Qwen3-235B-A22B-Instruct-2507 is better at 4 benchmarks (GPQA, IFEval, MMLU-Pro, SimpleQA).

Qwen3-235B-A22B-Instruct-2507 significantly outperforms across most benchmarks.

Thu Apr 16 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Phi 4 costs less

For input processing, Phi 4 ($0.07/1M tokens) is 2.1x cheaper than Qwen3-235B-A22B-Instruct-2507 ($0.15/1M tokens).

For output processing, Phi 4 ($0.14/1M tokens) is 5.7x cheaper than Qwen3-235B-A22B-Instruct-2507 ($0.80/1M tokens).

In conclusion, Qwen3-235B-A22B-Instruct-2507 is more expensive than Phi 4.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Thu Apr 16 2026 • llm-stats.com
Microsoft
Phi 4
Input tokens$0.07
Output tokens$0.14
Best providerDeepinfra
Alibaba Cloud / Qwen Team
Qwen3-235B-A22B-Instruct-2507
Input tokens$0.15
Output tokens$0.80
Best providerFireworks
Notice missing or incorrect data?Start an Issue

Model Size

Parameter count comparison

220.3B diff

Qwen3-235B-A22B-Instruct-2507 has 220.3B more parameters than Phi 4, making it 1498.6% larger.

Microsoft
Phi 4
14.7Bparameters
Alibaba Cloud / Qwen Team
Qwen3-235B-A22B-Instruct-2507
235.0Bparameters
14.7B
Phi 4
235.0B
Qwen3-235B-A22B-Instruct-2507

Context Window

Maximum input and output token capacity

Qwen3-235B-A22B-Instruct-2507 accepts 262,144 input tokens compared to Phi 4's 16,000 tokens. Qwen3-235B-A22B-Instruct-2507 can generate longer responses up to 131,072 tokens, while Phi 4 is limited to 16,000 tokens.

Microsoft
Phi 4
Input16,000 tokens
Output16,000 tokens
Alibaba Cloud / Qwen Team
Qwen3-235B-A22B-Instruct-2507
Input262,144 tokens
Output131,072 tokens
Thu Apr 16 2026 • llm-stats.com

License

Usage and distribution terms

Phi 4 is licensed under MIT, while Qwen3-235B-A22B-Instruct-2507 uses Apache 2.0.

License differences may affect how you can use these models in commercial or open-source projects.

Phi 4

MIT

Open weights

Qwen3-235B-A22B-Instruct-2507

Apache 2.0

Open weights

Release Timeline

When each model was launched

Phi 4 was released on 2024-12-12, while Qwen3-235B-A22B-Instruct-2507 was released on 2025-07-22.

Qwen3-235B-A22B-Instruct-2507 is 7 months newer than Phi 4.

Phi 4

Dec 12, 2024

1.3 years ago

Qwen3-235B-A22B-Instruct-2507

Jul 22, 2025

8 months ago

7mo newer

Knowledge Cutoff

When training data ends

Phi 4 has a documented knowledge cutoff of 2024-06-01, while Qwen3-235B-A22B-Instruct-2507's cutoff date is not specified.

We can confirm Phi 4's training data extends to 2024-06-01, but cannot make a direct comparison without Qwen3-235B-A22B-Instruct-2507's cutoff date.

Phi 4

Jun 2024

Qwen3-235B-A22B-Instruct-2507

Provider Availability

Phi 4 is available from DeepInfra. Qwen3-235B-A22B-Instruct-2507 is available from Fireworks, Novita.

Phi 4

deepinfra logo
Deepinfra
Input Price:Input: $0.07/1MOutput Price:Output: $0.14/1M

Qwen3-235B-A22B-Instruct-2507

fireworks logo
Fireworks
Input Price:Input: $0.15/1MOutput Price:Output: $0.80/1M
novita logo
Novita
Input Price:Input: $0.15/1MOutput Price:Output: $0.80/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Less expensive input tokens
Less expensive output tokens
Larger context window (262,144 tokens)
Higher GPQA score (77.5% vs 56.1%)
Higher IFEval score (88.7% vs 63.0%)
Higher MMLU-Pro score (83.0% vs 70.4%)
Higher SimpleQA score (54.3% vs 3.0%)

Detailed Comparison

AI Model Comparison Table
Feature
Microsoft
Phi 4
Alibaba Cloud / Qwen Team
Qwen3-235B-A22B-Instruct-2507

FAQ

Common questions about Phi 4 vs Qwen3-235B-A22B-Instruct-2507

Qwen3-235B-A22B-Instruct-2507 significantly outperforms across most benchmarks. Phi 4 is made by Microsoft and Qwen3-235B-A22B-Instruct-2507 is made by Alibaba Cloud / Qwen Team. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.
Phi 4 scores MMLU: 84.8%, HumanEval+: 82.8%, HumanEval: 82.6%, MGSM: 80.6%, MATH: 80.4%. Qwen3-235B-A22B-Instruct-2507 scores ZebraLogic: 95.0%, MMLU-Redux: 93.1%, IFEval: 88.7%, MultiPL-E: 87.9%, Creative Writing v3: 87.5%.
Phi 4 is 2.1x cheaper for input tokens. Phi 4 costs $0.07/M input and $0.14/M output via deepinfra. Qwen3-235B-A22B-Instruct-2507 costs $0.15/M input and $0.80/M output via fireworks.
Phi 4 supports 16K tokens and Qwen3-235B-A22B-Instruct-2507 supports 262K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.
Key differences include context window (16K vs 262K), input pricing ($0.07 vs $0.15/M), licensing (MIT vs Apache 2.0). See the full comparison above for benchmark-by-benchmark results.
Phi 4 is developed by Microsoft and Qwen3-235B-A22B-Instruct-2507 is developed by Alibaba Cloud / Qwen Team.