Price Per TokenPrice Per Token
Microsoft
Microsoft
vs
OpenAI
OpenAI

Phi 4 vs GPT-5.2 Pro

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 input tokens
  • Cheaper output tokens

GPT-5.2 Pro wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Supports vision
Price Advantage
Phi 4
Benchmark Advantage
GPT-5.2 Pro
Context Window
GPT-5.2 Pro
Speed
GPT-5.2 Pro

Pricing Comparison

Price Comparison

MetricPhi 4GPT-5.2 ProWinner
Input (per 1M tokens)$0.06$21.00 Phi 4
Output (per 1M tokens)$0.14$168.00 Phi 4
Using a 3:1 input/output ratio, Phi 4 is 100% cheaper overall.

Phi 4 Providers

NextBit $0.06 (Cheapest)
DeepInfra $0.07

GPT-5.2 Pro Providers

OpenAI $21.00 (Cheapest)

Benchmark Comparison

7
Benchmarks Compared
0
Phi 4 Wins
6
GPT-5.2 Pro Wins

Benchmark Scores

BenchmarkPhi 4GPT-5.2 ProWinner
Intelligence Index
Overall intelligence score
10.551.2
Coding Index
Code generation & understanding
11.248.7
Math Index
Mathematical reasoning
18.099.0
MMLU Pro
Academic knowledge
71.487.4
GPQA
Graduate-level science
57.590.3
LiveCodeBench
Competitive programming
23.188.9
AIME
Competition math
14.3--
GPT-5.2 Pro 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-5.2 Pro
400,000
tokens
Max output: 128,000 tokens
GPT-5.2 Pro has a 96% larger context window.

Speed Performance

MetricPhi 4GPT-5.2 ProWinner
Tokens/second6.0 tok/s98.3 tok/s
Time to First Token0.79s46.57s
GPT-5.2 Pro responds 1532% faster on average.

Capabilities

Feature Comparison

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

License & Release

PropertyPhi 4GPT-5.2 Pro
LicenseOpen SourceProprietary
AuthorMicrosoftOpenAI
ReleasedJan 2025Dec 2025

Phi 4 Modalities

Input
text
Output
text

GPT-5.2 Pro Modalities

Input
imagetextfile
Output
text

Related Comparisons

Compare Phi 4 with:

Compare GPT-5.2 Pro with:

Frequently Asked Questions

Phi 4 has cheaper input pricing at $0.06/M tokens. Phi 4 has cheaper output pricing at $0.14/M tokens.
GPT-5.2 Pro scores higher on coding benchmarks with a score of 48.7, compared to Phi 4's score of 11.2.
Phi 4 has a 16,384 token context window, while GPT-5.2 Pro has a 400,000 token context window.
Phi 4 does not support vision. GPT-5.2 Pro supports vision.