Perplexity: Sonar — AI model

Perplexity: Sonar is a AI model from Perplexity, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

Sonar is lightweight, affordable, fast, and simple to use — now featuring citations and the ability to customize sources. It is designed for companies seeking to integrate lightweight question-and-answer features...

Specs

VendorPerplexity
Typetext, image
Context window127,072 tokens
Pricing$1.00/M in · $1.00/M out
APIchat_completions
CapabilitiesVision

Code example

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "perplexity/sonar",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Use via Hormouz

Connect to this model and 450+ others with one API key — stable under heavy load and optimized for Iran.

Get started

Related models