token.app โ€บ Compare โ€บ Phi 4 vs Qwen3.8 Max

Phi 4 vs Qwen3.8 Max

Qwen3.8 Max leads on 2 of 2 shared benchmarks. Phi 4 is 34ร— cheaper per token on a blended 3:1 basis. Qwen3.8 Max accepts the larger context window (1M).

Head to head
Blended price uses a 3:1 input:output mix
Phi 4Qwen3.8 Max
ProviderMicrosoftAlibaba
Input $/1M$0.070$2.00
Output $/1M$0.140$6.00
Blended $/1M$0.088$3.00
Context window16K1M
Max output16K131K
ReleasedJan 2025Aug 2026
LicenceOpen weightsProprietary
GPQA Diamond 56.1% 92.7%
OTIS Mock AIME 13.8% 99.4%
Benchmark scores independently run and published by Epoch AI, 'AI Benchmarking Hub', used under CC BY 4.0. Only benchmarks with a score for BOTH models are compared.
Choose Phi 4 ifโ€ฆ
  • Costs less per token โ€” $0.088 vs $3.00 blended
  • Open weights โ€” self-hostable
Choose Qwen3.8 Max ifโ€ฆ
  • Higher GPQA Diamond (92.7% vs 56.1%)
  • Higher OTIS Mock AIME (99.4% vs 13.8%)
  • Larger context window (1M)
  • Newer model (released Aug 2026)
FAQ
Which is better, Phi 4 or Qwen3.8 Max?
Across the 2 benchmarks both models have independently-run scores for, Phi 4 leads on 0 and Qwen3.8 Max leads on 2. Benchmarks are one input โ€” price and context window are on this page too.
Is Phi 4 cheaper than Qwen3.8 Max?
Phi 4 is cheaper: $0.088 versus $3.00 per million tokens blended at 3:1 input:output. Input alone: $0.070 vs $2.00. Output alone: $0.140 vs $6.00.
What context windows do Phi 4 and Qwen3.8 Max have?
Phi 4: 16,384 tokens. Qwen3.8 Max: 1,000,000 tokens.
Who makes Phi 4 and Qwen3.8 Max?
Phi 4 is made by Microsoft. Qwen3.8 Max is made by Alibaba.
Related comparisons