Sonar Pro vs Hy4 preview
Hy4 preview costs 6.7x less per output token than Sonar Pro ($2.2509 vs $15.00 per million). Updated October 21, 2026; no benchmark has tested both models yet.
- Coding
- No data
- Overall
- No data
- Output $/M
- $15.00
- Coding
- 44.3
- Overall
- No data
- Output $/M
- $2.2509
Sonar Pro or Hy4 preview: which to pick
Only Hy4 preview has a coding score, 44.3 on the Vibe Coding Index; Sonar Pro has none, so the two cannot be ranked on coding.
Compare them on price, context and the boards below.
No benchmark has tested both yet. Sonar Pro has results on LiveCodeBench (Artificial Analysis run), AA Intelligence Index and GPQA Diamond (Artificial Analysis run); Hy4 preview on LMArena WebDev, Terminal-Bench 4 (Vals AI) and Vibe Code Bench (Vals AI). Compare them on price and context instead.
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
Only Hy4 preview has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
No call
Only Sonar Pro has a AA Intelligence Index result, 7.6.
Directional only
General
Vals Index
No call
Only Hy4 preview has a Vals Index result, 53.2%.
Directional only
Long documents
Listed context window
Hy4 preview
Hy4 preview takes 1.05M tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Hy4 preview
Sonar Pro $0.011, Hy4 preview $0.0019 per turn.
List prices
At a glance
- Coding index
- Sonar Pro not benchmarked, Hy4 preview 44.3 from 3 benchmarks.
- Widest category
- None yet: no category has been tested on both models.
- Widest single gap
- None yet: no benchmark has tested both models.
- Output price
- Sonar Pro $15.00 against Hy4 preview $2.2509 per million output tokens, 6.7x apart.
- Context window
- Sonar Pro takes 200K tokens, Hy4 preview 1.05M.
Benchmark by benchmark
Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.
CodingDirectional onlySix of these boards feed the Vibe Coding Index11 boards measured
| Benchmark | Sonar Pro | Hy4 preview | Leader |
|---|---|---|---|
| LMArena WebDev | Not measured | 1631 | Only Hy4 preview measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 8.1% | Only Hy4 preview measured |
| Vibe Code Bench (Vals AI) | Not measured | 77.5% | Only Hy4 preview measured |
| Code migration (Vals AI) | Not measured | 47.4% | Only Hy4 preview measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Hy4 preview measured |
| IOI (Vals AI) | Not measured | 59.3% | Only Hy4 preview measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 55.1% | Only Hy4 preview measured |
| CyberBench (Vals AI) | Not measured | 65.4% | Only Hy4 preview measured |
| LiveCodeBench (Artificial Analysis run) | 27.5% | Not measured | Only Sonar Pro measured |
| LMArena WebDev: React | Not measured | 1653 | Only Hy4 preview measured |
| LMArena WebDev: HTML | Not measured | 1620 | Only Hy4 preview measured |
| Neither model has a result on the other 28 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
| Benchmark | Sonar Pro | Hy4 preview | Leader |
|---|---|---|---|
| AA Intelligence Index | 7.6 | Not measured | Only Sonar Pro measured |
| Neither model has a result on the other 1 board here | |||
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index8 boards measured
| Benchmark | Sonar Pro | Hy4 preview | Leader |
|---|---|---|---|
| SREBench (Vals AI) | Not measured | 2.3% | Only Hy4 preview measured |
| Finance Agent (Vals AI) | Not measured | 55.1% | Only Hy4 preview measured |
| Tax Agent Bench (Vals AI) | Not measured | 32.6% | Only Hy4 preview measured |
| Legal Research Bench (Vals AI) | Not measured | 45.2% | Only Hy4 preview measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 8.8% | Only Hy4 preview measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 58.1% | Only Hy4 preview measured |
| BioMysteryBench (Vals AI) | Not measured | 69.3% | Only Hy4 preview measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 1.4% | Only Hy4 preview measured |
| Neither model has a result on the other 33 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
| Benchmark | Sonar Pro | Hy4 preview | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 57.8% | Not measured | Only Sonar Pro measured |
| Humanity's Last Exam (Artificial Analysis run) | 6.6% | Not measured | Only Sonar Pro measured |
| Neither model has a result on the other 20 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
| Benchmark | Sonar Pro | Hy4 preview | Leader |
|---|---|---|---|
| ProofBench | Not measured | 75.0% | Only Hy4 preview measured |
| Neither model has a result on the other 12 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index3 boards measured
| Benchmark | Sonar Pro | Hy4 preview | Leader |
|---|---|---|---|
| LegalBench (Vals AI) | Not measured | 83.8% | Only Hy4 preview measured |
| MedCode (Vals AI) | Not measured | 43.3% | Only Hy4 preview measured |
| MMLU Pro (Artificial Analysis run) | 75.5% | Not measured | Only Sonar Pro measured |
| Neither model has a result on the other 15 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index3 boards measured
| Benchmark | Sonar Pro | Hy4 preview | Leader |
|---|---|---|---|
| Vals Index | Not measured | 53.2% | Only Hy4 preview measured |
| Public Benefits Bench (Vals AI) | Not measured | 68.6% | Only Hy4 preview measured |
| MedScribe (Vals AI) | Not measured | 83.6% | Only Hy4 preview measured |
| Neither model has a result on the other 43 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
Hy4 preview costs less
Repository review
50K input + 3K output tokens
Hy4 preview costs less
Agent loop
200K input + 10K output tokens
Hy4 preview 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 | Perplexity Sonar Pro | Tencent Hy4 preview |
|---|---|---|
| Maker | Perplexity | Tencent |
| Weights | No public weights listed | Open weights |
| Released | March 7, 2025 | August 28, 2026 |
| Context window | 200K | 1.05M |
| Input $/Mtok | $3.00 | $0.7506 |
| Output $/Mtok | $15.00 | $2.2509 |
| Coding index | Not benchmarked | 44.3 |
| Independent measurements behind it | 0 | 3 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Sonar Pro better than Hy4 preview for coding?
Only Hy4 preview has a coding score, 44.3 on the Vibe Coding Index; Sonar Pro has none, so the two cannot be ranked on coding. Compare them on price, context and the boards below.
Which is cheaper, Sonar Pro or Hy4 preview?
Sonar Pro costs $3.00 per million input tokens and $15.00 per million output tokens; Hy4 preview costs $0.7506 and $2.2509. Cost per solved task is known for neither of them.
Which has the bigger context window, Sonar Pro or Hy4 preview?
Hy4 preview, with 1.05M tokens against 200K.
Has any benchmark tested both Sonar Pro and Hy4 preview?
No benchmark has tested both yet. Sonar Pro has results on LiveCodeBench (Artificial Analysis run), AA Intelligence Index and GPQA Diamond (Artificial Analysis run); Hy4 preview on LMArena WebDev, Terminal-Bench 4 (Vals AI) and Vibe Code Bench (Vals AI). Compare them on price and context instead. Data as of October 21, 2026.