Sonar
vercel/perplexity/sonar · family sonar · in: text, image → out: text · price provider-declared (via models.dev). Capabilities: tools text image.
This is a text model — providers price it per unit, not per token, so models.dev carries no token price (fields read “—”). See Vercel AI Gateway’s docs for per-unit rates.
- Provider
- Vercel AI Gateway (
vercel) - Kind
- text (outputs text)
- Context
- 127,000 tokens
- Max output
- 8,000 tokens
- Capabilities
- tools text image
Same model, other providers
“Sonar” is offered by 8 providers — cheapest-effective first. Perplexity Agent is the cheapest at $0.81 blended.
| Provider | Input | Output | Blended | Context |
|---|---|---|---|---|
| Perplexity Agent | $0.25 | $2.5 | $0.81 | 128k |
| SAP AI Core | $1 | $1 | $1.00 | 128k |
| OpenRouter | $1 | $1 | $1.00 | 127k |
| Perplexity | $1 | $1 | $1.00 | 128k |
| Opper | $1 | $1 | $1.00 | 128k |
| Eden AI | $1 | $1 | $1.00 | 127k |
| DevPass (LLM Gateway) | $1 | $1 | $1.00 | 130k |
| Vercel AI Gateway (this) | — | — | — | 127k |
Call it
jishie indexes & prices models; it does not proxy inference.
Most providers are OpenAI-compatible — point base_url at Vercel AI Gateway and pass this model id:
curl $BASE_URL/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"model":"perplexity/sonar","messages":[{"role":"user","content":"hello"}]}'
Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):