jishie

Sonar

aimlapi/perplexity/sonar · family sonar · in: text → out: text · price provider-declared (via models.dev). Capabilities: text.

$1.30
Blended $/1M (3:1)
$1.3
Input $/1M
$1.3
Output $/1M
$2.60
1M in + 1M out
—
Cache read $/1M
#4773 of 8,276
Cheapest rank
Provider
AI/ML API (aimlapi)
Kind
text (outputs text)
Context
128,000 tokens
Max output
100,000 tokens
Capabilities
text

Same model, other providers

“Sonar” is offered by 9 providers — cheapest-effective first. Perplexity Agent is the cheapest at $0.81 blended.

ProviderInputOutputBlendedContext
Perplexity Agent$0.25$2.5$0.81128k
Vercel AI Gateway$0.25$2.5$0.81127k
DevPass (LLM Gateway)$0.25$2.5$0.81130k
SAP AI Core$1$1$1.00128k
OpenRouter$1$1$1.00127k
Perplexity$1$1$1.00128k
Opper$1$1$1.00128k
Eden AI$1$1$1.00127k
AI/ML API (this)$1.3$1.3$1.30128k

Call it

jishie indexes & prices models; it does not proxy inference.

Most providers are OpenAI-compatible — point base_url at AI/ML API 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):

← all AI/ML API models · model index · JSON