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.
Prompts to try with GPT-6.1 Sol Pro in opencode
Copy an example into opencode, or ask in your own words.
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
- 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.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- 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.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 GPT-6.1 Sol 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": "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.
GPT-6.1 Sol Pro providers and prices
Spiral runs GPT-6.1 Sol Pro through OpenRouter. Open a card for today's price, with every fee included.
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
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Max tokens | 1 to 128000 | The most output tokens to generate. | |
| Reasoning effort | low, medium, high, xhigh, or max | medium | How much the model reasons. |
Every API field of OpenAI: GPT-6.1 Sol Pro is on its tool page: open its card above.
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.
More on GPT-6.1 Sol Pro and opencode
Overview
GPT-6.1 Sol Pro in other agents
More opencode guides
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.
Start using GPT-6.1 Sol Pro in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


