Price Per TokenPrice Per Token
Microsoft
Microsoft
vs
OpenAI
OpenAI

Phi 4 vs GPT-OSS-120b

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Phi 4 wins:

  • Cheaper output tokens
  • Supports tool calls

GPT-OSS-120b wins:

  • Cheaper input tokens
  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
Price Advantage
Phi 4
Benchmark Advantage
GPT-OSS-120b
Context Window
GPT-OSS-120b
Speed
GPT-OSS-120b

Pricing Comparison

Price Comparison

MetricPhi 4GPT-OSS-120bWinner
Input (per 1M tokens)$0.06$0.04 GPT-OSS-120b
Output (per 1M tokens)$0.14$0.19 Phi 4
Using a 3:1 input/output ratio, GPT-OSS-120b is 4% cheaper overall.

Phi 4 Providers

NextBit $0.06 (Cheapest)
DeepInfra $0.07

GPT-OSS-120b Providers

Chutes $0.04 (Cheapest)
SiliconFlow $0.05
Novita $0.05
Clarifai $0.09
Google $0.09

Benchmark Comparison

8
Benchmarks Compared
0
Phi 4 Wins
6
GPT-OSS-120b Wins

Benchmark Scores

BenchmarkPhi 4GPT-OSS-120bWinner
Intelligence Index
Overall intelligence score
10.533.3
Coding Index
Code generation & understanding
11.228.6
Math Index
Mathematical reasoning
18.093.4
MMLU Pro
Academic knowledge
71.480.8
GPQA
Graduate-level science
57.578.2
LiveCodeBench
Competitive programming
23.187.8
Aider
Real-world code editing
-41.8-
AIME
Competition math
14.3--
GPT-OSS-120b significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Phi 4
Other models

Context & Performance

Context Window

Phi 4
16,384
tokens
Max output: 16,384 tokens
GPT-OSS-120b
131,072
tokens
GPT-OSS-120b has a 88% larger context window.

Speed Performance

MetricPhi 4GPT-OSS-120bWinner
Tokens/second6.0 tok/s311.5 tok/s
Time to First Token0.79s0.47s
GPT-OSS-120b responds 5068% faster on average.

Capabilities

Feature Comparison

FeaturePhi 4GPT-OSS-120b
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyPhi 4GPT-OSS-120b
LicenseOpen SourceOpen Source
AuthorMicrosoftOpenAI
ReleasedJan 2025Aug 2025

Phi 4 Modalities

Input
text
Output
text

GPT-OSS-120b Modalities

Input
text
Output
text

Related Comparisons

Compare Phi 4 with:

Compare GPT-OSS-120b with:

Frequently Asked Questions

GPT-OSS-120b has cheaper input pricing at $0.04/M tokens. Phi 4 has cheaper output pricing at $0.14/M tokens.
GPT-OSS-120b scores higher on coding benchmarks with a score of 28.6, compared to Phi 4's score of 11.2.
Phi 4 has a 16,384 token context window, while GPT-OSS-120b has a 131,072 token context window.
Phi 4 does not support vision. GPT-OSS-120b does not support vision.