# Phi 4 vs Sonar Reasoning Pro

Source: https://openrouter.ai/compare/microsoft/phi-4/perplexity/sonar-reasoning-pro

## Overview

| Attribute | Phi 4 | Sonar Reasoning Pro |
| --- | --- | --- |
| Author | Microsoft | Perplexity |
| Reasoning | No | Yes |
| Input modalities | Text | Text, Image |
| Output modalities | Text | Text |
| Input price | $0.07/M tokens | $2/M tokens |
| Output price | $0.14/M tokens | $8/M tokens |
| Context window | 16,384 tokens | 128,000 tokens |
| Openness Index | 50.0 | Not available |
| GPQA Diamond score | 57.5% | Not available |
| Latency (p50) | 0.88 s | 21.96 s |
| Throughput (p50) | 85.0 tok/s | 15.0 tok/s |

## Phi 4 or Sonar Reasoning Pro: which should you choose?

### Choose Phi 4 for:

- faster output (85.0 vs 15.0 tok/s)
- a quicker first token (0.88 s vs 21.96 s)
- lower token prices

### Choose Sonar Reasoning Pro for:

- a longer context window (128,000 vs 16,384 tokens)

## Model pages

- [Phi 4](https://openrouter.ai/microsoft/phi-4) ([llms.txt](https://openrouter.ai/microsoft/phi-4/llms.txt))
- [Sonar Reasoning Pro](https://openrouter.ai/perplexity/sonar-reasoning-pro) ([llms.txt](https://openrouter.ai/perplexity/sonar-reasoning-pro/llms.txt))
