perplexity/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 optimiz...
Input⌘ / Ctrl + Enter
Try a prompt
OutputReady
Your response will appear here
Choose an example or write a prompt, then click Run.
API details and access
Model Details
ProviderPerplexity
TypeLlm
Model IDperplexity/sonar
Capabilities
InputTextImage
OutputText
Context-
Max Output127,072
VisionSupported
Function CallingNot supported
Access details
Chat CompletionsBase URLhttps://api.sandbase.ai
API Endpoint/v1/chat/completions
{
"model": "perplexity/sonar",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 512
}Pricing
Input$1.00 / 1M tokens
Output$1.00 / 1M tokens

