[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Solar Pro 4](https://spiral.ai/integrations/antigravity/solar-pro-4)

# How to Use Solar Pro 4 in Google Antigravity

Solar Pro 4 suits long document reviews, coding, and tasks that require several tool calls. Compared with Solar Pro 3, Upstage reports stronger agent performance, with a 512K context window and up to 128K output tokens.

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

## Prompts to try with Solar Pro 4 in Google Antigravity

- Use Solar Pro 4 to investigate the failing tests in this project. Trace the failure through the relevant functions, apply the smallest justified fix, and run the affected tests. Cite the files and lines that explain the cause.
- Use Solar Pro 4 with high reasoning effort to compare this project's implementation with its specification. List concrete mismatches with file references, fix the most consequential mismatch, and verify the behavior.
- Use Solar Pro 4 to build an internal dashboard from this project's existing data contract. Include totals by category and date filters, follow the existing UI conventions, and verify each displayed total against the source data.
- Use Solar Pro 4 to review the English, Korean, and Japanese strings in this repository against its glossary. Preserve interpolation tokens and product names, correct inconsistent terminology, and report any wording that needs a human decision.
- Use Solar Pro 4 to add structured extraction for the sample messages in this project. Define the output schema, use null for absent details, and validate extracted values against the samples before changing the application.

## How to set up Solar Pro 4 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 Solar Pro 4**: 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": "upstage/solar-pro4",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Solar Pro 4 tools and prices

- [Upstage: Solar Pro 4](https://spiral.ai/tools/openrouter/upstage/solar-pro4) (OpenRouter): Up to $0.003202 per run at the default inputs. $0.195 per 1M input tokens, $0.78 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| tools |  | — |  |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 131072 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |
| tool_choice |  | — |  |

## What can you do with Solar Pro 4 in Google Antigravity?

Solar Pro 4 can help turn a bug report or specification into a checked code change across project files. Give it a bounded task, relevant tests, and a clear definition of completion.

### Compare policies across long documents

Use Solar Pro 4 to build a requirement-by-requirement comparison from supplied text. Request supporting passages, conflicting clauses, and a separate list of unanswered questions.

### Investigate bugs across a codebase

Have Solar Pro 4 trace a failure through related functions, propose a focused patch, and check the result with the project's tests.

### Prepare a business report

Ask Solar Pro 4 to turn supplied findings and verified figures into a decision memo. Require a source for each conclusion and preserve the approved numbers.

### Translate business communications

Use Solar Pro 4 for English, Korean, or Japanese business text. Supply approved terminology, the intended audience, and instructions to preserve names, dates, and quantities.

### Extract records for review

Ask Solar Pro 4 to organize details from supplied text into structured JSON. Require null for missing information and validate values against the original passages.

### Build an internal dashboard

Have Solar Pro 4 generate a dashboard from a defined data contract and concrete reporting requirements. Check calculations and interactions before sharing it.

### Draft presentation content

Use Solar Pro 4 to turn an approved report into slide titles, chart specifications, and speaker notes. Keep figures tied to their source throughout the presentation.

## Overview

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

## Solar Pro 4 in other agents

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

## More Google Antigravity guides

- [Solar Mini 4](https://spiral.ai/integrations/antigravity/solar-mini-4)
- [Sonar](https://spiral.ai/integrations/antigravity/sonar)
- [Skyfall 36B V2](https://spiral.ai/integrations/antigravity/skyfall-36b-v2)
- [Sonar Pro](https://spiral.ai/integrations/antigravity/sonar-pro)
- [Seed 2.1 Turbo](https://spiral.ai/integrations/antigravity/seed-2-1-turbo)
- [Sonar Pro Search](https://spiral.ai/integrations/antigravity/sonar-pro-search)

## Questions about Solar Pro 4 in Google Antigravity

**Can Google Antigravity use Solar Pro 4?**

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

**How much does Solar Pro 4 cost in Google Antigravity?**

Up to $0.003202 per run at the default inputs. $0.195 per 1M input tokens, $0.78 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 Solar Pro 4 in Google Antigravity?**

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

**How long does it take to set up Solar Pro 4 in Google Antigravity?**

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

**Does Google Antigravity wait while Solar Pro 4 runs?**

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

**What is Solar Pro 4 best suited for?**

Solar Pro 4 suits document-heavy work, coding, and assignments with several dependent steps. Useful examples include comparing policies, investigating a bug, and turning source material into a report.

**How much text can Solar Pro 4 handle?**

Upstage specifies a 512K context window and up to 128K output tokens. Reasoning also consumes the output budget, so leave room for the deliverable when requesting deeper analysis.

**Which languages does Solar Pro 4 support?**

Upstage explicitly documents English, Korean, and Japanese for input and output. For business translation, supply a terminology glossary and specify which numbers, names, and formatting to preserve.

**When should I increase reasoning effort?**

Start with reasoning off or low for straightforward work. Increase it when the answer depends on several linked steps, such as debugging an interaction between functions or reconciling conflicting evidence.

**Will Solar Pro 4 flag missing evidence?**

Upstage designed Solar Pro 4 to acknowledge when it cannot verify an answer. Ask it to cite the supporting passage and label missing or conflicting evidence explicitly; check those citations before relying on the result.

