[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [Sonar Pro](https://spiral.ai/integrations/openclaw/sonar-pro)

# How to Use Sonar Pro in OpenClaw

Sonar Pro fits research questions that require several steps and longer follow-ups. Compared with Sonar, it has a larger context window for more detailed searches.

|  |  |
| --- | --- |
| Model | Sonar Pro |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.086509 per run at the default inputs. $3.90 per 1M input tokens, $19.50 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Sonar Pro in OpenClaw

- Each Friday, use Sonar Pro to research public product announcements from Notion, Asana, and Trello during the previous seven days. Return a comparison table with dates, citations, and any unclear availability claims.
- On the first day of each month, use Sonar Pro to summarize W3C announcements about web accessibility from the previous calendar month. Keep the brief under 500 words and distinguish drafts from published standards.
- Every Monday at 9am: ask Sonar Pro through Spiral to review the diff on this branch and list the three riskiest changes.
- Get a second opinion from Sonar Pro on this function, then tell me what the call cost.
- Summarize these release notes with Sonar Pro in five bullet points.

## How to set up Sonar Pro in OpenClaw

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send OpenClaw this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Sonar Pro**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "openrouter",
    "model": "perplexity/sonar-pro",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: OpenClaw finds Sonar Pro on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/openclaw

## Sonar Pro tools and prices

- [Perplexity: Sonar Pro](https://spiral.ai/tools/openrouter/perplexity/sonar-pro) (OpenRouter): Up to $0.086509 per run at the default inputs. $3.90 per 1M input tokens, $19.50 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| max_tokens | 1 to 8000 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |
| presence_penalty | -2 to 2 | — |  |
| frequency_penalty | -2 to 2 | — |  |

## What can you do with Sonar Pro in OpenClaw?

Keep a recurring brief focused on current, cited evidence. Each scheduled run can research a defined period and report what it found, including gaps that need review.

### Check release notes before an upgrade

Research official release notes for a specific software version. Summarize breaking changes, deprecations, and migration guidance with citations.

### Prepare a prospect brief

Find a company's recent product announcements and public partnerships. Turn the evidence into a short meeting brief with dated sources.

### Compare documented product features

Compare named products against a short feature checklist. Cite the documentation for each finding and mark anything the sources do not establish.

### Build a weekly news digest

Summarize recent reporting on a tightly defined topic. Include publication dates and distinguish reported events from commentary.

### Check claims before publication

Research a short list of factual claims for an article or presentation. Return supporting evidence, conflicting sources, and claims that remain unverified.

### Find documentation for a technical question

Look up how a named library or platform documents a specific behavior. Include the applicable version and a citation for the answer.

### Track competitor announcements

Review public announcements from a small set of competitors over a stated period. Summarize releases and partnerships without filling gaps with assumptions.

### Create a sourced topic primer

Explain an unfamiliar technical or business topic for a defined audience. Pair the main concepts with sources readers can inspect next.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All OpenClaw guides](https://spiral.ai/integrations/openclaw)

## Sonar Pro in other agents

- [Amp](https://spiral.ai/integrations/amp/sonar-pro)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/sonar-pro)
- [Claude](https://spiral.ai/integrations/claude-desktop/sonar-pro)
- [Claude Code](https://spiral.ai/integrations/claude-code/sonar-pro)
- [Cline](https://spiral.ai/integrations/cline/sonar-pro)
- [Codex](https://spiral.ai/integrations/codex/sonar-pro)
- [Cursor](https://spiral.ai/integrations/cursor/sonar-pro)
- [Devin](https://spiral.ai/integrations/devin/sonar-pro)
- [dots](https://spiral.ai/integrations/dots/sonar-pro)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/sonar-pro)
- [Gemini](https://spiral.ai/integrations/gemini/sonar-pro)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/sonar-pro)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/sonar-pro)
- [goose](https://spiral.ai/integrations/goose/sonar-pro)
- [Grok](https://spiral.ai/integrations/grok/sonar-pro)
- [Grok Build](https://spiral.ai/integrations/grok-build/sonar-pro)
- [Hermes](https://spiral.ai/integrations/hermes/sonar-pro)
- [Instinct](https://spiral.ai/integrations/instinct/sonar-pro)
- [Manus](https://spiral.ai/integrations/manus/sonar-pro)
- [Muse](https://spiral.ai/integrations/muse/sonar-pro)
- [Muse Code](https://spiral.ai/integrations/muse-code/sonar-pro)
- [n8n](https://spiral.ai/integrations/n8n/sonar-pro)
- [Notion](https://spiral.ai/integrations/notion/sonar-pro)
- [opencode](https://spiral.ai/integrations/opencode/sonar-pro)
- [Perplexity](https://spiral.ai/integrations/perplexity/sonar-pro)
- [Raycast](https://spiral.ai/integrations/raycast/sonar-pro)
- [VS Code](https://spiral.ai/integrations/vscode/sonar-pro)
- [Windsurf](https://spiral.ai/integrations/windsurf/sonar-pro)
- [Zapier](https://spiral.ai/integrations/zapier/sonar-pro)

## More OpenClaw guides

- [Sonar](https://spiral.ai/integrations/openclaw/sonar)
- [Sonar Pro Search](https://spiral.ai/integrations/openclaw/sonar-pro-search)
- [Solar Pro 4](https://spiral.ai/integrations/openclaw/solar-pro-4)
- [Sonar Reasoning Pro](https://spiral.ai/integrations/openclaw/sonar-reasoning-pro)
- [Solar Mini 4](https://spiral.ai/integrations/openclaw/solar-mini-4)
- [Step 3.7 Flash](https://spiral.ai/integrations/openclaw/step-3-7-flash)

## Questions about Sonar Pro in OpenClaw

**Can OpenClaw use Sonar Pro?**

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Sonar Pro like any built-in tool.

**How much does Sonar Pro cost in OpenClaw?**

Up to $0.086509 per run at the default inputs. $3.90 per 1M input tokens, $19.50 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.

**Do I need an OpenRouter account to use Sonar Pro in OpenClaw?**

No. Spiral runs Sonar Pro on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Sonar Pro in OpenClaw?**

About two minutes: add the server, then sign in, then reload and check.

**Does OpenClaw wait while Sonar Pro runs?**

Sonar Pro runs in the background. OpenClaw starts the run, checks on it and gives you the text, json when it's ready.

**What is Sonar best used for?**

Use Sonar for focused factual questions and research summaries with citations. Useful tasks include checking a product announcement, finding documentation, and summarizing recent reporting.

**When should I choose Sonar Pro?**

Choose Sonar Pro when a question involves several research steps or longer follow-ups. Sonar is designed for quicker, more focused question answering.

**Does a larger context window mean a longer answer?**

Context size and answer length are different limits, and your prompt consumes part of the context. Sonar Pro has a 200,000-token context window but an 8,000-token completion limit.

**Can I trust an answer because it has citations?**

Citations give you evidence to inspect, but the answer can still contain errors. Open the supporting source and check that it backs the exact claim, date, and product version.

**How should I phrase a research question?**

Name the exact subject, time period, and comparison criteria. Ask for a defined result, such as a five-row table, and tell it to identify missing evidence.

