[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [Solar Pro 4](https://spiral.ai/integrations/windsurf/solar-pro-4)

# How to Use Solar Pro 4 in Windsurf

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 Windsurf

- 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 Windsurf

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

### Use Spiral's MCP server

1. **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:

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

2. **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.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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: Windsurf finds Solar Pro 4 on Spiral, shows the price and runs it.

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

## 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 Windsurf?

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 Windsurf guides](https://spiral.ai/integrations/windsurf)

## 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)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/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)
- [Zapier](https://spiral.ai/integrations/zapier/solar-pro-4)

## More Windsurf guides

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

## Questions about Solar Pro 4 in Windsurf

**Can Windsurf use Solar Pro 4?**

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

**How much does Solar Pro 4 cost in Windsurf?**

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 Windsurf plan is separate.

**Do I need an OpenRouter account to use Solar Pro 4 in Windsurf?**

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 Windsurf?**

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

**Does Windsurf wait while Solar Pro 4 runs?**

Solar Pro 4 runs in the background. Windsurf 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.

