Skip to content
Console docs
How it works

Go

OpenCode Go gives you reliable access to popular open coding models, with three monthly plans:

PlanPriceIncluded usage
Go$10/monthLower-cost access to the models below
Go Plus$40/monthHigher usage limits across the models below
Go Teams$20/member/month, 2-member minimumEvery member gets their own limits, $5/month higher than Go on every model

Go works like any other provider in OpenCode. You subscribe to OpenCode Go and get your API key. It’s completely optional and you don’t need it to use OpenCode.

The service is designed primarily for international users and provides stable global access.

  1. Sign in to the OpenCode Console, subscribe to Go, Go Plus, or Go Teams, add your billing details, and copy your API key.

  2. Run /connect in the TUI, select OpenCode Go, and paste your API key.

    /connect
  3. Run /models to select a model available through Go.

    /models

See the current list of models. It may change as we test and add new ones.

Workspace privacy settings apply to Go. By default, paid endpoints that train on request data are blocked, and allowed regions are Europe & United States. Workspaces without saved privacy settings also allow Global for requests from China.

In Settings › Privacy, an owner or admin can enable:

  • DeepSeek V4.1 Flash and V4 Pro: select Global under Regions.
  • LongCat 2.5 Free: select Global under Regions.
  • Muse Spark 1.3 Contributor and Muse Spark 1.2 Contributor: turn on Allow paid endpoints that train on request data.

See Privacy for each model’s training and retention terms.

Owners and admins can pay for Go, including renewals and upgrades, from the workspace’s credit. Choose Credit as the payment method when you subscribe, or later in Manage subscription. This is separate from Extra Usage, which pays for usage past your limits.

  • The full price comes from your credit balance. If the balance is short, you can add credit first.
  • Renewals take the price from your credit when the period ends. If there isn’t enough, Go stays active while the renewal retries 1, 3, and 7 days after the period ends, and again as soon as enough credit is added. If the last retry fails, Go ends.
  • Workspaces on invoiced billing can’t pay for Go with credit.
  • A refund of a Go payment made with credit goes back to your credit and ends that Go period.

OpenCode Go is designed for OpenCode and other coding agents that produce similar types of requests. Traffic is monitored for abuse that degrades the experience for other users.

Your client should:

  1. Send typical coding agent traffic
  2. Identify itself with its own user agent, such as my-coding-agent/1.0, rather than a generic SDK or HTTP-library name.
  3. Send a stable session ID in x-opencode-session for each conversation so we can optimize routing and prompt caching.

See Harnesses to set up Go in Claude Code, Codex, Hermes, Pi, and Raycast.

Besides OpenCode, the following clients have been validated to work properly with OpenCode Go, although we do not guarantee that they will continue to work in the future.

ClientSession support
HermesUpdate to v0.21.6 or later, which sends the header on main and auxiliary OpenCode requests (PR #101864).
Claude CodeGo recognizes its native session header. No custom-header wrapper is needed.
CodexGo recognizes its native session header. Some versions and proxy setups still omit it; preserve the session header when forwarding requests.
ZCodeGo recognizes its native session header. Our request for x-opencode-session remains open, but it is no longer necessary to send that specific header.
PiCurrent builds send session information for OpenCode. Update older installations.
jcodeUpdate to v0.81.6 or later, which includes the session-header fix.
Kilo Code CLIBuilds containing PR #13752 restore OpenCode session headers. This fix covers the CLI, not the VS Code extension. See issue #13723.

These clients have missing or incomplete session support in the versions we investigated. The linked reports track fixes and workarounds.

ClientStatus and tracking
DeepSeek HarnessSession information arrives on some model paths, but is missing on others. We recognize its native header; the remaining work is to send it across all adapters. Discussion #5495.
GitHub Copilot ChatAutomatic session-header support is requested in VS Code issue #334186.
Kimi CodeThe session-header request in issue #3506 was closed as not planned.
MiMo CodeIssue #2317 is closed, and PR #2327 was closed without merging.

The paid models you use on Go share one allowance. On Go Teams, each member has their own allowance across models.

  • The 5-hour limit is 20% of your monthly allowance. The window starts when you first use your allowance and lasts five hours.
  • The weekly limit is 50% of your monthly allowance. It resets on Monday at 00:00 UTC.
  • Your monthly allowance resets when a new paid period starts.

Switching models draws from the same allowance. If you reach a limit, you can use a free model or turn on Extra Usage to use your Console credits until you have allowance available again.

Each model’s monthly limit shows how much usage your plan covers if you use only that model over the month. For example, $1.50 of usage on a model with a $15 limit uses 10% of your monthly allowance. So does $6 on a model with a $60 limit. Go responses report how much each request counted in opencode.allowance.

Token prices are per 1M tokens and are the same for Go, Go Plus, and Go Teams.

Beam Free: Free for a limited time. Not available in Angola, Belarus, Cambodia, China (including Hong Kong and Macau), Cuba, the Democratic Republic of the Congo, Equatorial Guinea, Iran, Iraq, Laos, Libya, Nigeria, North Korea, Russia, Syria, Turkmenistan, Uzbekistan, Venezuela, or the Crimea, Donetsk, and Luhansk regions of Ukraine.

Gemini 4 Argon: The 50% discount applies through November 30, 2026.

Console’s Go page estimates requests per 5 hours for each model, based on typical Go usage patterns. Actual usage varies.

You can track your current usage in the console.

Usage limits may change as we learn from early usage and feedback.


If you also have credits in your Console balance, you can turn on Extra Usage on the Go page. When enabled, Go will fall back to your pay-as-you-go balance after you’ve reached your usage limits instead of blocking requests.

Go Teams starts with Extra Usage on, and you can turn it off or on again on the Go page.

With Go, the included monthly usage varies by model.

For most models, we make this work through bulk discounts and reserved GPU capacity. We then pass those savings on to you as higher monthly usage.

For some models, we haven’t had the opportunity to negotiate a discount or host them at a lower cost, either because the model is new or because their public pricing is already discounted.

For these models, you still get a little more than if you paid the model providers directly; this is why their included monthly usage is lower.

You can also access Go models through the API at https://opencode.ai/inference/go. See each model’s ID, path and AI SDK package. Each model is listed with its native API, but every text model also works through the other APIs, which Console translates. See Base URLs for the full set.

These AI SDK packages are for applications calling Go directly. To use Go in OpenCode, connect with /connect and set the model using the format opencode-go/<model-id>:

opencode.jsonc
{
  "$schema": "https://opencode.ai/config.json",
  "model": "opencode-go/kimi-k3",
}

Fetch the full list of available models and their metadata from the models endpoint:

Terminal
curl https://opencode.ai/inference/go/v1/models

See whether each model trains on your data.

ModelData retention
Grok 4.730 days
GPT 6 Luna30 days
GPT 5.6 Luna30 days
Claude Haiku 5.530 days
Gemini 4 Argon0 days
GLM-5.3-Flash0 days
GLM-5.30 days
GLM-5.20 days
Kimi K3.1 Pro0 days
Kimi K30 days
Kimi K2.7 Code0 days
LongCat-2.00 days
MiMo-V2.6-Pro0 days
MiMo-V2.6-Flash0 days
Qwen4 Max0 days
Qwen3.8 Max0 days
Qwen3.8 Flash0 days
Qwen3.7 Plus0 days
MiniMax M3.1 Flash0 days
MiniMax M30 days
Muse Spark 1.3 ContributorNot ZDR
Muse Spark 1.2 ContributorNot ZDR
DeepSeek V4.1 Flash0 days*
DeepSeek V4 Pro0 days*
Hy40 days
Hy4 preview0 days
Hy30 days
Step 5 Preview0 days
Beam Free30 days
Iceman Contributor FreeNot ZDR
LongCat 2.5 Free0 days
Hy4 flash Free0 days
  • Grok 4.7: ZDR disables important API features that depend on stored data, including the stateful Responses API, Files and Collections, and the Batch API. Learn more.
  • GPT 6 Luna / GPT 5.6 Luna: Abuse monitoring logs are generated for all API feature usage and retained for up to 30 days. Learn more.
  • Claude Haiku 5.5: Requests are retained for 30 days in accordance with Anthropic’s Data Policies.
  • Muse Spark 1.3 Contributor: Heavily discounted token pricing in exchange for permission to use your prompts and completions to train future Meta models. Availability is limited to regions permitted by Meta’s Geographic Use Policy. Learn more.
  • Muse Spark 1.2 Contributor: Heavily discounted token pricing in exchange for permission to use your prompts and completions to train future Meta models. Availability is limited to regions permitted by Meta’s Geographic Use Policy. Learn more.
  • Iceman Contributor Free: Free for a limited time in exchange for permission to use your prompts and completions to improve the model.
  • LongCat 2.5 Free: Hosted in China. Requires Global regions in your workspace privacy settings.
  • DeepSeek: ZDR agreement is renewed monthly. The current agreement is valid through November 30, 2026.

Open models have gotten really good. They now reach performance close to proprietary models for coding tasks. Because many providers can serve them competitively, they are usually far cheaper.

However, getting reliable, low latency access to them can be difficult. Providers vary in quality and availability.

To fix this, we did a couple of things:

  1. We tested a select group of open models and talked to their teams about how to best run them.
  2. We worked with a few providers to make sure these were being served correctly.
  3. We benchmarked the combination of the model/provider and came up with a list that we feel good recommending.

Go, Go Plus, and Go Teams all provide access to these models; choose the plan that fits how much you use them, or Go Teams to cover your whole team.

We created OpenCode Go to:

  1. Make AI coding accessible to more people with a low cost subscription.
  2. Provide reliable access to the best open coding models.
  3. Curate models that are tested and benchmarked for coding agent use.
  4. Have no lock-in by allowing you to use any other provider with OpenCode as well.