gpt-oss-120b vs Phi 4
Updated October 21, 2026. 42 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Neither model has a coding score yet, so the two cannot be ranked on coding.
gpt-oss-120b has the edge where the context window is larger, 131K against 16K tokens.
- Shared results
- 42
- gpt-oss-120b only
- 36
- Phi 4 only
- 3
- Like-for-like categories
- 7 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
gpt-oss-120b
gpt-oss-120b leads, 11.6 against 5.9.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only gpt-oss-120b has a AA Agentic Index result, 3.7.
Directional only
Reasoning
GPQA Diamond
No call
Only gpt-oss-120b has a GPQA Diamond result, 78.5%.
Directional only
Math
AIME
No call
Only gpt-oss-120b has a AIME result, 92.6%.
Directional only
Knowledge
MMLU Pro
No call
Only gpt-oss-120b has a MMLU Pro result, 79.2%.
Directional only
Web design
Design Arena: websites
No call
Only gpt-oss-120b has a Design Arena: websites result, 968.
Directional only
Long documents
Listed context window
gpt-oss-120b
gpt-oss-120b takes 131K tokens against 16K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Phi 4
gpt-oss-120b $0.0003, Phi 4 $0.0001 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only gpt-oss-120b has the number, $0.51.
Directional only
At a glance
- Coding index
- gpt-oss-120b not benchmarked, Phi 4 not benchmarked.
- Widest category
- Agentic work, 65.8 points apart on average over 1 shared benchmark.
- Widest single gap
- AIME 2025 (Artificial Analysis run): gpt-oss-120b 93.4% against Phi 4 18.0%, 75.4 points apart on a 0 to 100 scale.
- Output price
- gpt-oss-120b $0.50 against Phi 4 $0.14 per million output tokens, 3.6x apart.
- Context window
- gpt-oss-120b takes 131K tokens, Phi 4 16K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | gpt-oss-120b | Bars | Phi 4 | Ties |
|---|---|---|---|---|
| Coding | 4 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 6 | 0 | ||
| Math | 5 | 0 | ||
| Knowledge | 5 | 0 | ||
| General | 19 | 0 | ||
| All shared boards | 42 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
| Benchmark | gpt-oss-120b | Phi 4 | Leader |
|---|---|---|---|
| Aider polyglot | 41.8% | Not measured | Only gpt-oss-120b measured |
| SWE-bench Verified | 26.0% | Not measured | Only gpt-oss-120b measured |
| AA Coding Index | 30.4 | Not measured | Only gpt-oss-120b measured |
| LiveCodeBench (Vals AI) | 83.2% | Not measured | Only gpt-oss-120b measured |
| SWE-bench Verified (Vals AI) | 33.6% | Not measured | Only gpt-oss-120b measured |
| LiveCodeBench (Artificial Analysis run) | 87.8% | 23.1% | gpt-oss-120b |
| SciCode | 34.0% | Not measured | Only gpt-oss-120b measured |
| Terminal-Bench Hard (Artificial Analysis run) | 23.5% | 3.8% | gpt-oss-120b |
| Terminal-Bench | 18.7% | Not measured | Only gpt-oss-120b measured |
| WeirdML | 48.2% | Not measured | Only gpt-oss-120b measured |
| ALE-Bench | 575.6 | Not measured | Only gpt-oss-120b measured |
| LMArena Text: coding | 1379 | 1231 | gpt-oss-120b |
| LMArena Text: software and IT | 1387 | 1228 | gpt-oss-120b |
| Neither model has a result on the other 25 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | gpt-oss-120b | Phi 4 | Leader |
|---|---|---|---|
| AA Intelligence Index | 11.6 | 5.9 | gpt-oss-120b |
| Epoch Capabilities Index | 139.8 | 130.5 | gpt-oss-120b |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | gpt-oss-120b | Phi 4 | Leader |
|---|---|---|---|
| AA Agentic Index | 3.7 | Not measured | Only gpt-oss-120b measured |
| τ²-Bench Telecom | 65.8% | 0.0% | gpt-oss-120b |
| APEX-Agents | 4.4% | Not measured | Only gpt-oss-120b measured |
| METR time horizons | 56.6% | Not measured | Only gpt-oss-120b measured |
| BALROG | Not measured | 11.6% | Only Phi 4 measured |
| Vending-Bench 2 | -$22 | Not measured | Only gpt-oss-120b measured |
| Neither model has a result on the other 33 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | gpt-oss-120b | Phi 4 | Leader |
|---|---|---|---|
| GPQA Diamond | 78.5% | Not measured | Only gpt-oss-120b measured |
| GPQA Diamond (Artificial Analysis run) | 78.2% | 57.5% | gpt-oss-120b |
| Humanity's Last Exam (Artificial Analysis run) | 19.6% | 3.8% | gpt-oss-120b |
| GPQA Diamond (Epoch AI run) | 75.8% | 56.1% | gpt-oss-120b |
| SimpleBench | 22.1% | Not measured | Only gpt-oss-120b measured |
| Mystery game puzzles | 2.0% | Not measured | Only gpt-oss-120b measured |
| LMArena Text: hard prompts | 1364 | 1220 | gpt-oss-120b |
| LMArena Text: expert | 1356 | 1203 | gpt-oss-120b |
| LMArena Text: hard prompts in English | 1368 | 1230 | gpt-oss-120b |
| Neither model has a result on the other 12 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | gpt-oss-120b | Phi 4 | Leader |
|---|---|---|---|
| AIME | 92.6% | Not measured | Only gpt-oss-120b measured |
| MATH 500 (Vals AI) | 94.8% | Not measured | Only gpt-oss-120b measured |
| MGSM (Vals AI) | 92.0% | Not measured | Only gpt-oss-120b measured |
| AA Math Index | 93.4 | 18.0 | gpt-oss-120b |
| AIME 2025 (Artificial Analysis run) | 93.4% | 18.0% | gpt-oss-120b |
| OTIS Mock AIME | 88.9% | 13.8% | gpt-oss-120b |
| MATH level 5 | Not measured | 64.9% | Only Phi 4 measured |
| LMArena Text: math | 1389 | 1246 | gpt-oss-120b |
| LMArena Text: mathematical work | 1386 | 1254 | gpt-oss-120b |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | gpt-oss-120b | Phi 4 | Leader |
|---|---|---|---|
| MMLU Pro | 79.2% | Not measured | Only gpt-oss-120b measured |
| LegalBench (Vals AI) | 75.9% | Not measured | Only gpt-oss-120b measured |
| CaseLaw (Vals AI) | 48.8% | Not measured | Only gpt-oss-120b measured |
| CorpFin (Vals AI) | 58.2% | Not measured | Only gpt-oss-120b measured |
| TaxEval (Vals AI) | 71.6% | Not measured | Only gpt-oss-120b measured |
| MedQA (Vals AI) | 91.4% | Not measured | Only gpt-oss-120b measured |
| MMLU Pro (Artificial Analysis run) | 80.8% | 71.4% | gpt-oss-120b |
| MMLU | Not measured | 84.8% | Only Phi 4 measured |
| LMArena Text: science | 1382 | 1206 | gpt-oss-120b |
| LMArena Text: medicine and healthcare | 1388 | 1202 | gpt-oss-120b |
| LMArena Text: legal and government | 1355 | 1241 | gpt-oss-120b |
| LMArena Text: business and finance | 1359 | 1199 | gpt-oss-120b |
| Neither model has a result on the other 5 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | gpt-oss-120b | Phi 4 | Leader |
|---|---|---|---|
| Design Arena: websites | 968 | Not measured | Only gpt-oss-120b measured |
| Design Arena: UI components | 927 | Not measured | Only gpt-oss-120b measured |
| Design Arena: game dev | 992 | Not measured | Only gpt-oss-120b measured |
| Design Arena: data viz | 987 | Not measured | Only gpt-oss-120b measured |
| Design Arena: 3D | 901 | Not measured | Only gpt-oss-120b measured |
| Design Arena: all code categories | 963 | Not measured | Only gpt-oss-120b measured |
| Neither model has a result on the other 3 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
| Benchmark | gpt-oss-120b | Phi 4 | Leader |
|---|---|---|---|
| IFBench | 69.0% | 23.5% | gpt-oss-120b |
| Long context reasoning (AA-LCR) | 52.0% | 0.0% | gpt-oss-120b |
| DTBench | 76.3% | Not measured | Only gpt-oss-120b measured |
| LMCA | 22.1% | Not measured | Only gpt-oss-120b measured |
| Fiction.LiveBench | 44.4% | Not measured | Only gpt-oss-120b measured |
| Creative writing (Lech Mazur) | 77.1% | 62.6% | gpt-oss-120b |
| Surface Evolver Bench | 25.0% | Not measured | Only gpt-oss-120b measured |
| LMArena Text | 1366 | 1217 | gpt-oss-120b |
| LMArena Text: instruction following | 1318 | 1201 | gpt-oss-120b |
| LMArena Text: creative writing | 1274 | 1181 | gpt-oss-120b |
| LMArena Text: English | 1375 | 1231 | gpt-oss-120b |
| LMArena Text: non-English | 1351 | 1197 | gpt-oss-120b |
| LMArena Text: Chinese | 1385 | 1212 | gpt-oss-120b |
| LMArena Text: German | 1353 | 1222 | gpt-oss-120b |
| LMArena Text: Japanese | 1331 | 1158 | gpt-oss-120b |
| LMArena Text: Korean | 1282 | 1151 | gpt-oss-120b |
| LMArena Text: French | 1370 | 1224 | gpt-oss-120b |
| LMArena Text: Spanish | 1389 | 1234 | gpt-oss-120b |
| LMArena Text: Russian | 1343 | 1209 | gpt-oss-120b |
| LMArena Text: Polish | 1353 | Not measured | Only gpt-oss-120b measured |
| LMArena Text: multi-turn | 1340 | 1206 | gpt-oss-120b |
| LMArena Text: longer queries | 1319 | 1217 | gpt-oss-120b |
| LMArena Text: writing and language | 1306 | 1198 | gpt-oss-120b |
| LMArena Text: entertainment and media | 1292 | 1162 | gpt-oss-120b |
| Neither model has a result on the other 22 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | gpt-oss-120b | Phi 4 | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Phi 4 costs less
Repository review
50K input + 3K output tokens
Phi 4 costs less
Agent loop
200K input + 10K output tokens
Phi 4 costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | OpenAI gpt-oss-120b | Microsoft Phi 4 |
|---|---|---|
| Maker | OpenAI | Microsoft |
| Weights | Open weights | Open weights |
| Released | August 5, 2025 | January 10, 2025 |
| Context window | 131K | 16K |
| Input $/Mtok | $0.10 | $0.07 |
| Output $/Mtok | $0.50 | $0.14 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 1 | 0 |
| Cost per solved task | $0.51 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is gpt-oss-120b better than Phi 4 for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. gpt-oss-120b has the edge where the context window is larger, 131K against 16K tokens.
Which is cheaper, gpt-oss-120b or Phi 4?
gpt-oss-120b costs $0.10 per million input tokens and $0.50 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for gpt-oss-120b only.
Which has the bigger context window, gpt-oss-120b or Phi 4?
gpt-oss-120b, with 131K tokens against 16K.
How many benchmarks is the gpt-oss-120b vs Phi 4 comparison based on?
42 benchmarks have a result for both models as of October 21, 2026. gpt-oss-120b's coding index rests on 1 independent benchmark and Phi 4's on 0. Where only one model has a result, the page says so instead of naming a winner.