Back to Models

Perplexity: Sonar Reasoning

perplexity/sonar-reasoning

Description

Sonar Reasoning is a reasoning model provided by Perplexity based on [DeepSeek R1](/deepseek/deepseek-r1). It allows developers to utilize long chain of thought with built-in web search. Sonar Reasoning is uncensored and hosted in US datacenters.

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Perplexity: Sonar Reasoning (perplexity/sonar-reasoning)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "perplexity/sonar-reasoning",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Perplexity: Sonar Reasoning model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 1$ / 1M tokens
  • Output: 5$ / 1M tokens

Token Limits

  • Max Output: 127,000 tokens
  • Max Context: 127,000 tokens

Subscription Tiers

  • free
  • pro
  • ultimate