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

opencode · LLMReleased 2026-05-05

How to Use GPT Chat Latest in opencode

Use GPT Chat Latest to test current ChatGPT-style conversations, summaries, and rewrites. OpenAI regularly updates the model behind the name, so evaluate saved prompts again after updates.

Prompts to try with GPT Chat Latest in opencode

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

Use GPT Chat Latest to read the project's request-validation code and explain its behavior in under 300 words. Cite file paths and distinguish confirmed behavior from assumptions.

GPT Chat Latestopencode
Try asking
  • Use GPT Chat Latest to review the current diff for missing error handling. Return at most five findings, each with the affected location, a concrete failure scenario, and a suggested check.

  • Use GPT Chat Latest to draft release notes from the current diff. Separate user-visible changes from internal maintenance and omit claims the diff does not support.

  • Use GPT Chat Latest to classify the project's sample support messages as bug, feature request, or usage question. Follow the existing labeled examples and return schema-constrained JSON with a short explanation for each label.

  • Use GPT Chat Latest to evaluate the repository's saved conversation examples. Compare each answer with its expected outcome and report unsupported claims, missed instructions, and excessive length.

How to set up GPT Chat Latest 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 Chat Latest

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

Then paste one of the prompts above: opencode finds GPT Chat Latest on Spiral, shows the price and runs it.

GPT Chat Latest providers and prices

Spiral runs GPT Chat Latest through OpenRouter and OpenAI. Open a card for today's price, with every fee included. Name one in your prompt, or let opencode pick.

OpenRouterLLM
OpenAI: GPT Chat Latest
openai/gpt-chat-latest
OpenAILLM
GPT Chat Latest
openai/gpt-chat-latest

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.

Every API field of OpenAI: GPT Chat Latest is on its tool page: open its card above.

What can you do with GPT Chat Latest in opencode?

Turn project code and documentation into explanations, review notes, and draft changes with GPT Chat Latest. Keep representative project tasks available to check whether model updates change the results.

Customer reply drafts

Turn a customer message and an approved policy excerpt into a concise reply. Require evidence for policy claims and flag unanswered questions.

Meeting action lists

Summarize a supplied transcript into decisions, owners, and deadlines. Leave missing owners and dates unspecified.

Structured request intake

Extract a request's purpose, requested date, and missing information into schema-constrained JSON for review.

Copy revisions

Rewrite announcements or help text for a defined audience, using a reference example and a clear word limit.

Code explanations

Explain a supplied function, identify assumptions, and draft examples of expected behavior for a developer to verify.

Feedback classification

Label customer comments using a defined taxonomy and worked examples. Keep ambiguous comments available for human review.

Conversation regression reviews

Run saved conversational tasks again after model updates and compare instruction following, factual support, and response length.

Questions about GPT Chat Latest in opencode

Can opencode use GPT Chat Latest?

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

How much does GPT Chat Latest cost in opencode?

Up to $0.159972 per run at the default inputs. $6.50 per 1M input tokens, $39.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 Chat Latest in opencode?

No. Spiral runs GPT Chat Latest 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 Chat Latest in opencode?

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

Which provider runs GPT Chat Latest?

Spiral offers GPT Chat Latest through OpenRouter and OpenAI. Name one in your prompt, or let opencode pick.

Does opencode wait while GPT Chat Latest runs?

GPT Chat Latest runs in the background. opencode starts the run, checks on it and gives you the text, json when it's ready.

Is GPT Chat Latest a fixed model?

No. It tracks the latest Instant model used in ChatGPT, and OpenAI regularly updates the underlying model. Recheck important prompts when behavior changes.

What should I use GPT Chat Latest for?

Use it to evaluate current conversational behavior with tasks such as drafting replies, rewriting copy, and summarizing supplied text. Test it with examples from your actual work before adopting its output.

How much text can GPT Chat Latest handle?

The current documentation lists a 400,000-token context window and a maximum output of 128,000 tokens. These are token limits, so request your desired word count separately.

Can I trust the contents of its JSON output?

GPT Chat Latest supports schema-constrained JSON, but correct structure does not guarantee correct values. Check extracted names, dates, quantities, and conclusions against the source.

How should I prompt GPT Chat Latest?

Specify the task, audience, source material, desired length, and output format. Include an example when you need a particular labeling or writing pattern.

Get started

Start using GPT Chat Latest 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