Spiral gives your agent every tool with one account. Browse the tools →

opencode · LLMReleased 2026-10-26

How to Use GPT-6.1 Terra Pro in opencode

GPT-6.1 Terra Pro applies extra reasoning to difficult tasks, such as reviewing a tricky fix or comparing conflicting evidence. It uses the same underlying model as Terra, with pro reasoning aimed at higher-quality responses on complex problems.

Prompts to try with GPT-6.1 Terra Pro in opencode

Copy an example into opencode, or ask in your own words.

Use GPT-6.1 Terra Pro to compare the two proposed fixes in this branch against the reported reproduction case. Recommend one, explain the decisive evidence, and identify the regression test it needs.

GPT-6.1 Terra Proopencode
Try asking
  • Ask GPT-6.1 Terra 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 Terra Pro on this function, then tell me what the call cost.

  • Summarize these release notes with GPT-6.1 Terra Pro in five bullet points.

  • Ask GPT-6.1 Terra Pro to write unit tests for the file I have open and explain each case.

How to set up GPT-6.1 Terra 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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 Terra 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-terra-pro",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

GPT-6.1 Terra Pro providers and prices

Spiral runs GPT-6.1 Terra Pro through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
OpenAI: GPT-6.1 Terra Pro
openai/gpt-6.1-terra-pro

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Max tokens1 to 128000

The most output tokens to generate.

Reasoning effortlow, medium, high, xhigh, or maxmedium

How much the model reasons.

Every API field of OpenAI: GPT-6.1 Terra Pro is on its tool page: open its card above.

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

Turn a reproducible bug or a screenshot discrepancy into a focused code fix. Give the agent the relevant project files, the expected behavior, and a check that proves the change works.

Screenshot review

Ask Terra to explain a settings screen, identify visible discrepancies, or summarize a dashboard. Supply enlarged text where labels or numbers are hard to read.

Focused bug fixes

Give Terra a reproducible failure and a clear expected result. Ask for a limited patch and a regression check that demonstrates the fix.

Concise summaries

Turn supplied notes into a short decision brief, handoff, or customer explanation. Specify the audience, length, and details the summary must preserve.

Review of a difficult decision

Try Terra Pro on a bounded problem with conflicting evidence or several competing explanations. Request a recommendation tied to the supplied evidence and an explicit list of unresolved questions.

Desktop record checks

Use Terra to inspect visible records against stated criteria. Define the expected final state and ask the agent to verify it before reporting completion.

Comparison of proposed fixes

Ask Terra Pro to compare two fixes against the same reproduction case, constraints, and regression requirements. Request the smallest change that satisfies those requirements.

Questions about GPT-6.1 Terra Pro in opencode

Can opencode use GPT-6.1 Terra Pro?

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

How much does GPT-6.1 Terra Pro cost in opencode?

Up to $0.02667 per run at the default inputs. $1.30 per 1M input tokens, $6.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 opencode plan is separate.

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

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

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

Does opencode wait while GPT-6.1 Terra Pro runs?

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

What is GPT-6.1 Terra good at?

Use it to interpret screenshots, navigate desktop apps, write concise summaries, and fix narrowly scoped bugs. These are the tasks OpenAI specifically recommends for Terra.

How does Terra Pro differ from Terra?

Terra Pro uses the same underlying model with pro reasoning enabled. Its additional reasoning is intended for complex tasks where answer quality needs extra attention.

How much material can Terra handle, and how long can its answers be?

OpenAI lists a 1,050,000-token context window and a maximum output of 128,000 tokens. Internal reasoning shares the generated-token budget, so that maximum is not a promise of 128,000 tokens of visible text.

Can Terra create images, audio, or video directly?

Terra directly produces text and accepts text and images. Its model specification does not list direct audio or video support.

What should I do when a screenshot contains tiny text?

Enlarge the relevant text before asking Terra to read it. Ask it to identify anything unreadable so your task does not depend on a guessed label or number.

Get started

Start using GPT-6.1 Terra Pro in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options