Sonar

sonar · Perplexity

Latest Perplexity Model

API Pricing

Input$1.6 / 1M tokens
Output$1.6 / 1M tokens

Frequently asked questions

What is sonar?

Latest Perplexity Model

How much does sonar cost?

On AIHubMix, sonar costs $1.6 per million input tokens and $1.6 per million output tokens.

How do I call sonar via API?

sonar is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to sonar — no other code changes needed.

Who created sonar?

sonar is developed by Perplexity. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from Perplexity

llama-3.1-sonar-huge-128k-online

by Perplexity

On February 22, 2025, this model will be officially discontinued. The Perplexity AI…

$5.6/1M in · $5.6/1M out

llama-3.1-sonar-large-128k-online

by Perplexity

On February 22, 2025, this model will be officially discontinued; Perplexity AI's…

$1.2/1M in · $1.2/1M out

llama-3.1-sonar-small-128k-online

by Perplexity

On February 22, 2025, this model will be officially discontinued. The Perplexity AI…

$0.3/1M in · $0.3/1M out

Use sonar via the AIHubMix unified API — one interface for every major LLM.