Granite 4 H Medium vs Sonar
Side-by-side comparison of API pricing, specs, benchmarks, and capabilities
Granite 4 H Medium is 73.8% cheaper on blended cost ($0.262 vs $1.00/Mtok)
| Specification |
by IBM
|
by Perplexity
|
|---|---|---|
| Overview | ||
| Status | Current mid tier Open weights | Current mid tier |
| Released | Oct 19, 2025 | Feb 1, 2025 |
| Pricing per million tokens | ||
| Input | $0.150/Mtok | $1.00/Mtok |
| Output | $0.600/Mtok | $1.00/Mtok |
| Blended avg | $0.262/Mtok | $1.00/Mtok |
| Specifications | ||
| Context window | 128K tokens | 200K tokens |
| Parameters | Proprietary | Proprietary |
| Speed (TPS) | — | — |
| Modalities | ||
| Input |
text
|
text
|
| Benchmarks sources: IBM model card / n/a | ||
| GPQA Diamond | 35 vendor | — |
| SWE-Bench Verified | 15 vendor | — |
| Humanity's Last Exam | 7 vendor | — |
| ARC-AGI 2 | 5 vendor | — |
| AIME 2025 | 28 vendor | — |
| MMMLU | 68 vendor | — |
| BFCL | 48 vendor | — |
| HumanEval | 72 vendor | — |
| MATH 500 | 50 vendor | — |
| Providers | ||
| Available from |
IBM — $0.150/$0.600/Mtok
|
Perplexity — $1.00/$1.00/Mtok
|
Cost at scale
1M tokens · 50/50 input/output| Volume | Granite 4 H Medium | Sonar | Savings |
|---|---|---|---|
| 1M tokens | $0.26 | $1 | $0.74 (74%) |
| 10M tokens | $2.62 | $10 | $7.38 (73.8%) |
| 100M tokens | $26.25 | $100 | $73.75 (73.8%) |
| 1000M tokens | $262.5 | $1000 | $737.5 (73.8%) |
When to pick which
distilled from the pricing and spec data above
Pick Granite 4 H Medium if…
- cost dominates: $0.262/Mtok blended vs $1.00 — 73.8% less on the same 50/50 token mix
- you want open weights — self-host it, fine-tune it, or exit the API entirely; Sonar is closed
Pick Sonar if…
- you need the longer context: 200K tokens vs 128K (1.6×)
Try Granite 4 H Medium on IBM
The cheaper option here — Granite 4 H Medium costs $0.262/Mtok blended on IBM.
Summary
Granite 4 H Medium by IBM costs $0.150/Mtok input and $0.600/Mtok output, with a 128K-token context window. It supports text input.
Sonar by Perplexity costs $1.00/Mtok input and $1.00/Mtok output, with a 200K-token context window. It supports text input.
On a blended cost basis, Granite 4 H Medium is 73.8% cheaper than Sonar.
Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.
More comparisons
pairs sharing a model with this page
Granite 4 H Medium vs Mistral Large 3
65% price gap
Granite 4 H Medium vs Qwen3.7-Plus
63% price gap
Granite 4 H Medium vs Qwen-Plus
56% price gap
Granite 4 H Medium vs DeepSeek V4 Pro
52% price gap
Granite 4 H Medium vs GPT-5.6 Luna
42% price gap
Granite 4 H Medium vs Solar Pro 3
Claude Fable 5 vs DeepSeek V4 Pro
97% price gap
Claude Opus 5 vs DeepSeek V4 Pro
95% price gap