How to Use Sonar Reasoning Pro in Grok Build
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 Grok Build
Copy an example into Grok Build, 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 Grok Build
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.
grok mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.
- Check it
grok mcp doctor spiral
Use the Spiral skill
- Send Grok Build 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: Grok Build 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 Grok Build 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 Grok Build?
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 Grok Build
Overview
Sonar Reasoning Pro in other agents
More Grok Build guides
Questions about Sonar Reasoning Pro in Grok Build
Can Grok Build use Sonar Reasoning Pro?
Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Sonar Reasoning Pro like any built-in tool.
How much does Sonar Reasoning Pro cost in Grok Build?
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 Grok Build plan is separate.
Do I need an OpenRouter account to use Sonar Reasoning Pro in Grok Build?
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 Grok Build?
About two minutes: add the server, then sign in, then check it.
Does Grok Build wait while Sonar Reasoning Pro runs?
Sonar Reasoning Pro runs in the background. Grok Build 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 Grok Build
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok Build:
set up https://spiral.ai/SKILL.md


