ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

Phi-4vsQwen3.8 27B

Qwen3.8 27B leads 2 of 2 shared benchmarks. Qwen3.8 27B has the larger context window (262K tokens).

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
0 – 2
Qwen3.8 27B leads
Cheaper per token
list price, input + output
Larger context
Qwen3.8 27B
262K tokens
Provider uptime (30d)
— · —
Microsoft · Qwen
Phi-4
Microsoft · released 2024-12-12
text
Context
16K
Max out
16K
Input /1M
Output /1M
Cached /1M
Scores
11 · 7 core
Qwen3.8 27B
Qwen · released 2026-08-14
textvision
Context
262K
Max out
Input /1M
$0.424
Output /1M
$1.7
Cached /1M
Scores
4 · 3 core
Quality

Benchmark matrix

BenchmarkPhi-4Qwen3.8 27BΔEdge
Reported by both · 2
GPQA Diamond56.1% 89.2% -33.1 ptQwen3.8 27B
LMArena Elo1216.6 1439.3 -222.7Qwen3.8 27B
Only Phi-4 reports · 8
MMLU84.8% not reported
MMLU-Pro70.4% not reported
HumanEval82.6% not reported
ArenaHard75.4% not reported
HumanEval+82.8% not reported
IFEval63% not reported
MATH80.4% not reported
OTIS Mock AIME 2024-2025 (Epoch AI run)13.8% epochnot reported
Only Qwen3.8 27B reports · 2
SWE-Bench Pronot reported61.7%
Terminal-Bench 2.1not reported73%
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Phi-4 minus Qwen3.8 27B in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing

Side by side

SpecPhi-4Qwen3.8 27BEdge
Context window16K tokens262K tokensQwen3.8 27B
Max output16K tokens
Input price / 1M$0.424
Output price / 1M$1.7
Cached input / 1M
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$2.12
Modalitiestexttext · visionQwen3.8 27B
Released2024-12-122026-08-14
Cited benchmark scores114
Reliability

Provider status

All providers
More matchups

Qwen3.8 27B vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run Phi-4 and Qwen3.8 27B on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.