Agent FrameworkChat / LLM$2.00/M tokens

Use Sonar in Roo Code

Connect the Sonar API to Roo Code through SkillBoss — one API key, no provider lock-in. Starting at $2.00/M tokens.

Use sonar to perform real-time web searches for AI agents. Ideal for Claude Code automation, research tasks, and retrieving current information.

Setup in Roo Code

  1. Sign up at skillboss.co and create an API key.
  2. Configure Roo Code to use the SkillBoss API endpoint: https://api.skillboss.co/v1
  3. Set the model to perplexity/sonar
  4. Run your first request — Sonar is now available in Roo Code.

Model Specs

Model
Sonar
Type
Chat / LLM
Vendor
perplexity
Category
web-search
Pricing
$2.00/M tokens
API ID
perplexity/sonar

Quick Start Code

Call Sonar from Roo Code using the SkillBoss unified API:

curl -X POST 'https://api.skillboss.co/v1/chat/completions' \
  -H 'Authorization: Bearer $SKILLBOSS_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "perplexity/sonar",
    "messages": [{"role": "user", "content": "Hello from Roo Code"}]
  }'

The same API key works with all 600+ models. Change the model parameter to switch instantly.

Similar Models for Roo Code

Use Sonar in Other Agents

FAQ

How do I use Sonar in Roo Code?

Sign up at skillboss.co, get an API key, and configure Roo Code to use the SkillBoss API endpoint (https://api.skillboss.co/v1). Set the model to perplexity/sonar and you're ready to go.

How much does Sonar cost?

Sonar costs $2.00/M tokens via SkillBoss with pay-as-you-go billing. No subscription required.

Can I switch to another model without changing my code?

Yes — SkillBoss provides a unified API compatible with OpenAI format. Change the model parameter to switch between 600+ models instantly without modifying your integration.