Phi 4 vs Sonar Reasoning Pro

Compare Phi 4 from Microsoft and Sonar Reasoning Pro from Perplexity on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for microsoft
Phi 4
Favicon for perplexity
Sonar Reasoning Pro

Overview

Phi 4
Author
Microsoft
Sonar Reasoning Pro
Author
Perplexity
Phi 4
Context length
16Ktokens
Sonar Reasoning Pro
Context length
128Ktokens
Phi 4
Reasoning
No
Sonar Reasoning Pro
Reasoning
Yes
Phi 4
Input modalities
Text
Sonar Reasoning Pro
Input modalities
Text, Image
Phi 4
Output modalities
Text
Sonar Reasoning Pro
Output modalities
Text

Analysis

Phi 4 vs Sonar Reasoning Pro at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

Phi 4
Input price
$0.07/M tokens
Sonar Reasoning Pro
Input price
$2/M tokens
Phi 4
Output price
$0.14/M tokens
Sonar Reasoning Pro
Output price
$8/M tokens
Phi 4
Context window
16,384 tokens
Sonar Reasoning Pro
Context window
128,000 tokens
Phi 4
Openness Index Artificial Analysis, best published result
50.0
Sonar Reasoning Pro
Openness Index Artificial Analysis, best published result
Not available
Phi 4
GPQA Diamond score Artificial Analysis, best published result
57.5%
Sonar Reasoning Pro
GPQA Diamond score Artificial Analysis, best published result
Not available
Phi 4
Latency (p50)
0.88 s
Sonar Reasoning Pro
Latency (p50)
21.96 s
Phi 4
Throughput (p50)
85.0 tok/s
Sonar Reasoning Pro
Throughput (p50)
15.0 tok/s
Phi 4
Provided by
Microsoft
Sonar Reasoning Pro
Provided by
Perplexity

Benchmark data updated

Frequently asked questions

Is Phi 4 cheaper than Sonar Reasoning Pro?

Phi 4 is cheaper than Sonar Reasoning Pro on OpenRouter: Phi 4 costs $0.07/M tokens input and $0.14/M tokens output, while Sonar Reasoning Pro costs $2/M tokens input and $8/M tokens output.

Which has the longer context window, Phi 4 or Sonar Reasoning Pro?

Sonar Reasoning Pro has the longer context window at 128,000 tokens, compared with 16,384 tokens for Phi 4.

Which is faster, Phi 4 or Sonar Reasoning Pro?

Phi 4 is faster on OpenRouter, generating a median 85.0 tokens per second compared with 15.0 tokens per second for Sonar Reasoning Pro.