Compare / Phi 4 vs gpt-oss-20b

Phi 4 vs gpt-oss-20b

Which is cheaper, which is more capable, and which does better at each kind of work, from 18 results on 3 sources that measured both models.

Phi 4
Microsoft · profile
gpt-oss-20b
OpenAI · profile
Results compared
18
Shared sources
3

Phi 4 or gpt-oss-20b? The short answer

  • gpt-oss-20b is cheaper: $0.060 against $0.088 per million tokens, 31% less.
  • gpt-oss-20b scores higher on the Artificial Analysis Intelligence Index: 10.0 against 5.9.
  • gpt-oss-20b writes faster: 249 tokens a second against 42.
  • On our business benchmarks, Phi 4 ranks higher for agents and tool use.
  • On our business benchmarks, gpt-oss-20b ranks higher for reasoning and knowledge and writing.

At a glance

Phi 4gpt-oss-20b
Price per million tokens$0.070 in · $0.14 out$0.030 in · $0.15 out
Blended (3 in : 1 out)$0.088$0.060
Cheapest host, blended–$0.036 (Darkbloom, FP8)
Intelligence Index5.910.0
Spring Prompt overall––
Output speed, tokens a second42249
Context window16,384 tokens131,072 tokens
WeightsOpenOpen
Developer based inthe USthe US

Prices are the developer's list price where we have read it, otherwise the typical host on OpenRouter; see every model's price. Intelligence and speed from Artificial Analysis.

Which is better for what

Each model's rank among models available today, for each kind of work, from our own benchmarks and licensed sources. The better rank is in green.

Use casePhi 4gpt-oss-20b
Agents and tool useMulti-step tasks with tools: support desks, coding agents, function calls 122 of 161 124 of 161
Reasoning and knowledgeHard questions across science, maths and general knowledge 178 of 195 134 of 195
WritingWhat people prefer in blind comparisons, and judged writing quality 175 of 187 170 of 187
Sticking to the factsSummarising without inventing things, and factual answers 3 of 153 not measured

Every shared result

BenchmarkMetricPhi 4gpt-oss-20b
Arena (formerly LMArena)reportedBusiness, management and financeArena rating 1,2561,323
Arena (formerly LMArena)reportedCreative writingArena rating 1,2101,240
Arena (formerly LMArena)reportedExpert promptsArena rating 1,2681,314
Arena (formerly LMArena)reportedInstruction followingArena rating 1,2451,281
Arena (formerly LMArena)reportedOverallArena rating 1,2561,318
Arena (formerly LMArena)reportedWriting, literature and languageArena rating 1,2291,275
Artificial AnalysisreportedArtificial Analysis Intelligence Indexindex score 5.9010.0
Artificial AnalysisreportedGPQA Diamond% of questions 57.5%68.8%
Artificial AnalysisreportedHumanity's Last Exam% of questions 3.8%11.0%
Artificial AnalysisreportedIFBench% of instructions 23.5%65.1%
Artificial AnalysisreportedLong-context reasoning (AA-LCR)% of questions 0.0%34.7%
Artificial AnalysisreportedOutput speedtokens per second 42.3249
Artificial AnalysisreportedTerminal-Bench Hard% of tasks 3.8%10.6%
Artificial AnalysisreportedTime to first answer tokenseconds 1.038.49
Artificial AnalysisreportedΤ²-bench telecom% of tasks 0.0%60.2%
UGI LeaderboardreportedRequested-length error% off the requested word count 19.0%98.0%
UGI LeaderboardreportedStyle adherencescore from 0 to 1 0.340.31
UGI LeaderboardreportedWriting scorescore out of 100 25.724.6

Bold green marks the better value on that metric. Where a source reports ranges that overlap, the difference may not be meaningful; see the benchmark page for ranges.

Quick answers

Is Phi 4 better than gpt-oss-20b?

It depends on the task. Among models available today, on our benchmarks and licensed sources, Phi 4 ranks higher for agents and tool use; gpt-oss-20b ranks higher for reasoning and knowledge and writing.

Which is cheaper, Phi 4 or gpt-oss-20b?

gpt-oss-20b costs $0.060 per million tokens (three input to one output), against $0.088 for Phi 4.

Which is faster, Phi 4 or gpt-oss-20b?

gpt-oss-20b writes about 249 tokens a second on its usual API, against 42 for Phi 4 (Artificial Analysis).

Run Phi 4 and gpt-oss-20b on your own prompt

Benchmarks aren't your data. Try both side by side in the playground, with the cost of every answer.