How to Use Sonar Reasoning Pro in Windsurf
Sonar Reasoning Pro combines web research with reasoning for questions that need evidence from several sources. Compared with Sonar Reasoning, it searches more sources and applies more deliberation.
Prompts to try with Sonar Reasoning Pro in Windsurf
Copy an example into Windsurf, or ask in your own words.
Read package.json and the lockfile, then use Sonar Reasoning Pro to research migration guidance for the next major version of our web framework. Produce a cited checklist of breaking changes and map each relevant change to our code.
Read our architecture notes, then use Sonar Reasoning Pro to compare PostgreSQL full-text search with OpenSearch for our documented requirements. Cite official documentation, explain tradeoffs, and list the assumptions we should test.
Inspect our authentication implementation, then use Sonar Reasoning Pro to research the relevant OAuth security guidance. Return a cited gap analysis and proposed changes for review.
Read our README and use Sonar Reasoning Pro to verify its claims about browser support against current official documentation. List each claim, supporting evidence, and any wording that needs correction.
Inspect our deployment configuration, then use Sonar Reasoning Pro to research documented graceful shutdown behavior for our runtime and hosting platform. Draft a recommendation with citations and identify checks we should run locally.
How to set up Sonar Reasoning Pro in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Sonar Reasoning Pro
One request; the result comes back by polling or a webhook.
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-reasoning-pro", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Windsurf finds Sonar Reasoning Pro on Spiral, shows the price and runs it.
Sonar Reasoning Pro providers and prices
Spiral runs Sonar Reasoning Pro through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.04919 per run at the default inputs. $2.60 per 1M input tokens, $10.40 per 1M output tokens.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 115200 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 |
Every API field of Perplexity: Sonar Reasoning Pro is on its tool page: open its card above.
What can you do with Sonar Reasoning Pro in Windsurf?
Turn public technical research into decisions grounded in your project's requirements. Have your coding agent give Sonar Reasoning Pro a focused question, then compare its cited findings with the repository.
Check a dependency upgrade
Use Sonar Reasoning Pro to research release notes and migration guidance, then produce a cited list of breaking changes to check against your application.
Compare technical approaches
Ask Sonar Reasoning Pro to compare documented approaches against concrete requirements, explain tradeoffs, and identify unanswered questions before a prototype.
Research competing products
Have Sonar Reasoning Pro compare publicly documented capabilities, distinguish announced features from available ones, and cite the evidence behind each finding.
Investigate conflicting claims
Use Sonar Reasoning Pro to trace competing claims to their sources, compare dates and definitions, and explain where the evidence agrees or remains unresolved.
Prepare a research brief
Ask Sonar Reasoning Pro to assemble a cited brief around one question, with the main findings, counterevidence, and gaps that need further investigation.
Review public announcements
Use Sonar Reasoning Pro to summarize announcements within a stated period and explain which developments matter for a specific product or team.
Check claims before publication
Give Sonar Reasoning Pro a set of factual claims and request supporting sources, conflicting evidence, and wording changes for claims it cannot verify.
More on Sonar Reasoning Pro and Windsurf
Overview
Sonar Reasoning Pro in other agents
More Windsurf guides
Questions about Sonar Reasoning Pro in Windsurf
Can Windsurf use Sonar Reasoning Pro?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Sonar Reasoning Pro like any built-in tool.
How much does Sonar Reasoning Pro cost in Windsurf?
Up to $0.04919 per run at the default inputs. $2.60 per 1M input tokens, $10.40 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need an OpenRouter account to use Sonar Reasoning Pro in Windsurf?
No. Spiral runs Sonar Reasoning 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 Reasoning Pro in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while Sonar Reasoning Pro runs?
Sonar Reasoning Pro runs in the background. Windsurf starts the run, checks on it and gives you the text, json when it's ready.
What is Sonar Reasoning Pro useful for?
Use it for research questions that require finding evidence, comparing sources, and explaining a conclusion. Good tasks include technical due diligence, competitive research, and checking conflicting claims.
How does Sonar Reasoning Pro differ from Sonar Reasoning?
Sonar Reasoning Pro searches more sources and applies more deliberation. Choose it when the question requires weighing evidence from several sources.
How much context can Sonar Reasoning Pro handle?
Its context window is 128,000 tokens. Treat that as the context limit, not a promise that an answer can contain 128,000 tokens.
Can Sonar Reasoning Pro return reliable JSON?
You can request JSON, but the model does not enforce its format. Parse and validate the result before passing it to another process.
What should I include in a research prompt?
Name the subject, date range, relevant versions or locations, and the decision you need to make. A useful pattern is to request a comparison table, supporting citations, and a short conclusion.
Start using Sonar Reasoning Pro in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


