Back to Models

Sonar

Active
sonar

Perplexity Sonar - fast search-augmented model

Technical Specifications

Context Length128K tokens
Max Output8K tokens
Available Providers1
Lowest Input Price$1000000.00/1M tokens
Lowest Output Price$1000000.00/1M tokens

Capabilities

chatsearch

Provider Availability & Pricing

ProviderProvider Model IDInput Price (per 1M tokens)Output Price (per 1M tokens)Status
Perplexity
sonar$1000000.00$1000000.00active

Code Examples

curl https://api.tokligence.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "sonar",
    "messages": [
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    "max_tokens": 1024
  }'

Ready to use Sonar?

Try it out in our interactive playground or integrate it into your application with just a few lines of code.