Sonar
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 optimized for speed.
perplexity/sonar
- Context
- 127k tokens
- Completion cap
- —
- Tools
- No
- JSON
- No
- Released
- 2025-01-27
Call it from Geek Hub
Same OpenAI SDK. Change the base URL and the model id.
curl https://api.geekhub.mx/v1/chat/completions \
-H "Authorization: Bearer $GEEKHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "perplexity/sonar",
"messages": [{"role": "user", "content": "Hola"}]
}'Get an API keyFrequently asked questions
- What is Sonar?
- 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 optimized for speed. Sonar runs on the Geek Hub API (OpenAI-compatible). Model id: perplexity/sonar.
- Is Sonar free?
- No. Input is $1.0901 per 1M tokens and output is $1.0901 per 1M tokens on Geek Hub (markup included).
- What is the context length of Sonar?
- Sonar has a 127k tokens context window.
- Does Sonar support tool calling and structured outputs?
- Sonar does not advertise tool calling on this endpoint. Structured outputs are not listed for this endpoint.
- When was Sonar released?
- Sonar was released on 2025-01-27.
More models from Perplexity
- Sonar Deep ResearchSonar Deep Research is a research-focused model designed for multi-step retrieval, synthesis, and reasoning across complex topics. It autonomously searches, reads, and evaluates so
- Sonar ProNote: Sonar Pro pricing includes Perplexity search pricing. See [details here](https://docs.perplexity.ai/guides/pricing#detailed-pricing-breakdown-for-sonar-reasoning-pro-and-sona
- Sonar Pro SearchIt is designed for deeper reasoning and analysis. Pricing is based...
- Sonar Reasoning ProNote: Sonar Pro pricing includes Perplexity search pricing. See [details here](https://docs.perplexity.ai/guides/pricing#detailed-pricing-breakdown-for-sonar-reasoning-pro-and-sona