Skip to content

Sonar Pro

Note: Sonar Pro pricing includes Perplexity search pricing.

Per 1M tokens
$3.15 · $15.75
Context
200Ktokens
Supports
  • Reads images
opencode.json
{
  "provider": {
    "deference": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://deference.si/v1", "apiKey": "{env:DEFERENCE_API_KEY}" },
      "models": { "perplexity/sonar-pro": { "limit": { "context": 200000, "output": 8000 } } }
    }
  }
}
Needs an API keyGet one

Pricing and limits

  • Max output8,000tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.