[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [GPT-6.1 Sol Pro](https://spiral.ai/integrations/opencode/gpt-6-1-sol-pro)

# How to Use GPT-6.1 Sol Pro in opencode

Use GPT-6.1 Sol Pro for difficult analysis and code problems that need extra scrutiny. It uses the same underlying model as Sol, with pro reasoning mode for potentially more reliable answers.

|  |  |
| --- | --- |
| Model | GPT-6.1 Sol Pro |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.053339 per run at the default inputs. $2.60 per 1M input tokens, $13.00 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT-6.1 Sol Pro in opencode

- Use GPT-6.1 Sol Pro with high reasoning to review the current diff for a subtle concurrency bug. Trace shared state and failure paths, then propose a minimal reproduction and fix.
- Ask GPT-6.1 Sol Pro through Spiral to review the diff on this branch and list the three riskiest changes. Save the result in ./assets.
- Get a second opinion from GPT-6.1 Sol Pro on this function, then tell me what the call cost.
- Summarize these release notes with GPT-6.1 Sol Pro in five bullet points.
- Ask GPT-6.1 Sol Pro to write unit tests for the file I have open and explain each case.

## How to set up GPT-6.1 Sol Pro in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 GPT-6.1 Sol Pro**: 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": "openai/gpt-6.1-sol-pro",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: opencode finds GPT-6.1 Sol Pro on Spiral, shows the price and runs it.

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

## GPT-6.1 Sol Pro tools and prices

- [OpenAI: GPT-6.1 Sol Pro](https://spiral.ai/tools/openrouter/openai/gpt-6.1-sol-pro) (OpenRouter): Up to $0.053339 per run at the default inputs. $2.60 per 1M input tokens, $13.00 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| tools |  | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 128000 | — | The most output tokens to generate. |
| tool_choice |  | — |  |
| response_format |  | — |  |

## What can you do with GPT-6.1 Sol Pro in opencode?

Turn repository evidence into targeted fixes and maintenance proposals. Ask the agent to reproduce problems, trace dependencies, and show the checks behind each change.

### Diagnose a failing test

Ask for the smallest reproducible failure, a targeted fix, and a regression check that demonstrates the change.

### Reconcile a complex report

Compare the narrative with its tables and footnotes. Request a short list of discrepancies with supporting passages.

### Prepare an operations brief

Turn status updates into decisions, unresolved questions, and next actions. Require evidence for each recommendation.

### Review stale feature flags

Ask for candidate removals with direct and indirect dependencies traced. Review the evidence before accepting a cleanup.

### Examine a difficult decision

Use Sol Pro to compare competing explanations, test assumptions, and identify what evidence would change the recommendation.

### Evaluate reasoning settings

Run the same examples at two reasoning efforts. Compare correctness and completeness, then retain the lighter setting if it meets your requirements.

## Overview

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

## GPT-6.1 Sol Pro in other agents

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

## More opencode guides

- [GPT-6.1 Sol](https://spiral.ai/integrations/opencode/gpt-6-1-sol)
- [GPT-6.1 Terra](https://spiral.ai/integrations/opencode/gpt-6-1-terra)
- [GPT-6 Sol Pro](https://spiral.ai/integrations/opencode/gpt-6-sol-pro)
- [GPT-6.1 Terra Pro](https://spiral.ai/integrations/opencode/gpt-6-1-terra-pro)
- [GPT-6 Sol](https://spiral.ai/integrations/opencode/gpt-6-sol)
- [GPT-6.2 Astra](https://spiral.ai/integrations/opencode/gpt-6-2-astra)

## Questions about GPT-6.1 Sol Pro in opencode

**Can opencode use GPT-6.1 Sol Pro?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run GPT-6.1 Sol Pro like any built-in tool.

**How much does GPT-6.1 Sol Pro cost in opencode?**

Up to $0.053339 per run at the default inputs. $2.60 per 1M input tokens, $13.00 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an OpenRouter account to use GPT-6.1 Sol Pro in opencode?**

No. Spiral runs GPT-6.1 Sol 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 GPT-6.1 Sol Pro in opencode?**

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

**Does opencode wait while GPT-6.1 Sol Pro runs?**

GPT-6.1 Sol Pro runs in the background. opencode starts the run, checks on it and gives you the text, json when it's ready.

**What is the difference between GPT-6.1 Sol and Sol Pro?**

They use the same underlying model. Sol Pro selects pro reasoning mode, which applies more model work to difficult tasks; it is separate from the reasoning effort setting.

**What work is GPT-6.1 Sol good at?**

Its documented strengths include debugging code, understanding complex documents, and completing multistep business workflows. Useful tasks include investigating a failing test or reconciling conflicting passages in a report.

**How much text can GPT-6.1 Sol handle?**

OpenAI lists a 1,050,000-token context window, with separate ceilings of 922,000 input tokens and 128,000 output tokens. These are token limits, not word counts.

**Can GPT-6.1 Sol generate audio or video?**

Its native output is text, and audio and video are unsupported modalities. Ask it for a script or storyboard when planning media.

**Which reasoning effort should I use?**

Start with medium or high for debugging, diagnosis, planning, or comparing options. Compare results on the same representative tasks before choosing a heavier setting.

