anoman
Sign InGet API Key

Perplexity

Sonar

modelsonar
MidStableCommunity★ Low cost in tierStreamingToolsBatchGlobal

Context

127K

Input / 1M tokens

$1.00

Output / 1M tokens

$1.00

Cached input / 1M tokens

— (bills at input price)

Cache write / 1M tokens

— (bills at input price)

About this model

Sonar

Sonar is a model by Perplexity, available through the Anoman AI OpenAI-compatible API with a 127K-token context window. It costs $1.00 per 1M input tokens and $1.00 per 1M output tokens, and is available from the Pro plan.

Key facts

Maker
Perplexity
Context window
127K tokens
Max output
114K tokens
Lane
Community: needs account opt-in; the provider may use data for training
Modality
Text
Input price
$1.00 per 1M tokens
Output price
$1.00 per 1M tokens
Processing region(s)
global
Route
Via OpenRouter
Cheapest plan
Available from the Pro plan
Price comparison
Priced below 69 of 115 pro-band community models on Anoman (blended price: 1 part input to 3 parts output).

More models by Perplexity

Code example

Chat completion with Sonar

from openai import OpenAI

client = OpenAI(
    base_url="https://api.anoman.io/v1",
    api_key="anm-sk-..."
)

response = client.chat.completions.create(
    model="sonar",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Alternatives

Similar models in our catalog

Same maker first, then the closest price to Sonar in the Anoman catalog.

Use Sonar through Anoman.