[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Sonar Pro Search](https://spiral.ai/integrations/antigravity/sonar-pro-search)

# How to Use Sonar Pro Search in Google Antigravity

Sonar Pro Search researches questions that need several web searches and page reading. Unlike Sonar Pro's standard search, it plans and executes a research workflow with multiple steps.

|  |  |
| --- | --- |
| Model | Sonar Pro Search |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.103409 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 Search in Google Antigravity

- Read package.json and the lockfile, then use Sonar Pro Search to investigate the official migration guidance for upgrading this project's Next.js version to the next major release. Return a cited checklist of breaking changes relevant to our code in no more than 700 words.
- Inspect our database code and README, then use Sonar Pro Search to compare PostgreSQL and SQLite against the requirements you find. Return a five-row decision table with supporting documentation and identify any requirements the sources do not resolve.
- Read the failing test output and relevant source files, then use Sonar Pro Search to investigate documented causes for this error in the exact dependency versions installed. Rank three hypotheses, cite the evidence, and propose a local check for each.
- Inspect our authentication implementation, then use Sonar Pro Search to research current official migration and deprecation notices for the libraries it uses. Produce a cited maintenance checklist under 600 words and flag version mismatches.
- Read our deployment configuration, then use Sonar Pro Search to compare the documented runtime requirements with the versions declared in this repository. Report up to five compatibility concerns with citations and mark anything you cannot verify.

## How to set up Sonar Pro Search in Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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 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 Search**: 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-search",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Sonar Pro Search tools and prices

- [Perplexity: Sonar Pro Search](https://spiral.ai/tools/openrouter/perplexity/sonar-pro-search) (OpenRouter): Up to $0.103409 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 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 8000 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |
| presence_penalty | -2 to 2 | — |  |

## What can you do with Sonar Pro Search in Google Antigravity?

Sonar Pro Search can give an implementation decision a researched basis through web searches and page reading. Use your coding agent to connect those findings to the project's dependencies, constraints, and upgrade plans.

### Plan a dependency upgrade

Use Sonar Pro Search to compare official migration guides and release notes for an upgrade. Request breaking changes, affected versions, and supporting citations in a short checklist.

### Compare technical approaches

Ask Sonar Pro Search to investigate several approaches to one engineering problem. Compare documented constraints, compatibility, and operational tradeoffs against explicit requirements.

### Check claims before publishing

Give Sonar Pro Search a short list of factual claims to investigate. Request supporting sources, conflicting evidence, and a separate list of claims it could not verify.

### Track product announcements

Use Sonar Pro Search to research recent announcements for named products. Ask for announcement dates, documented availability, and citations, with rumors kept out of the confirmed list.

### Prepare a company briefing

Research a company's publicly documented products, partnerships, and recent announcements with Sonar Pro Search. Turn the findings into a one-page briefing that separates company statements from outside reporting.

### Build an evidence table

Ask Sonar Pro Search to investigate a narrow research question across several sources. Organize findings by claim, supporting evidence, publication date, and unresolved disagreement.

### Prepare an interview

Use Sonar Pro Search to research an organization's recent public statements and announcements. Request interview questions tied to specific sources, including follow-ups where statements appear inconsistent.

### Monitor software maintenance changes

Research official support notices, deprecations, and release notes for a named software stack with Sonar Pro Search. Request a dated digest of findings and questions that need an engineer's review.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## Sonar Pro Search in other agents

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

## More Google Antigravity guides

- [Sonar Pro](https://spiral.ai/integrations/antigravity/sonar-pro)
- [Sonar Reasoning Pro](https://spiral.ai/integrations/antigravity/sonar-reasoning-pro)
- [Sonar](https://spiral.ai/integrations/antigravity/sonar)
- [Step 3.7 Flash](https://spiral.ai/integrations/antigravity/step-3-7-flash)
- [Solar Pro 4](https://spiral.ai/integrations/antigravity/solar-pro-4)
- [Step 5 Preview](https://spiral.ai/integrations/antigravity/step-5-preview)

## Questions about Sonar Pro Search in Google Antigravity

**Can Google Antigravity use Sonar Pro Search?**

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

**How much does Sonar Pro Search cost in Google Antigravity?**

Up to $0.103409 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 Google Antigravity plan is separate.

**Do I need an OpenRouter account to use Sonar Pro Search in Google Antigravity?**

No. Spiral runs Sonar Pro Search 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 Search in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Sonar Pro Search runs?**

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

**How does Sonar Pro Search differ from Sonar Pro?**

Sonar Pro Search plans and executes research across multiple steps. It can follow an initial search with more searches and page reading before synthesizing an answer.

**Can Sonar Pro Search read pages as well as search the web?**

Yes. Pro Search can automatically fetch page content and run additional searches while working through a question.

**How long can a Sonar Pro Search answer be?**

Sonar Pro Search supports up to 8,000 completion tokens and a 200,000-token context window. For a large research task, request a focused brief and handle additional questions separately.

**What should I put in a Sonar Pro Search prompt?**

Name the exact subject and the decision you need to make. Include relevant versions, dates, locations, and comparison criteria, then specify a manageable deliverable such as a five-row table.

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

Use citations to check the supporting pages before relying on a claim. Perplexity warns that inaccessible information can lead to unsupported answers, so ask Sonar Pro Search to flag missing evidence explicitly.

