页面简介
Reliable access to open coding models with three plans, for one person or a whole team.
正文摘录
GoOpenCode Go gives you reliable access to popular open coding models, with three monthly plans: PlanPriceIncluded usageGo$10/monthLower-cost access to the models belowGo Plus$40/monthHigher usage limits across the models belowGo 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. 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. How it works Sign in to the OpenCode Console, subscribe to Go, Go Plus, or Go Teams, and add your billing details. Run /connect in the TUI, select OpenCode, and sign in with your OpenCode account. /connect 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. Enable restricted models 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: 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. Beam Contributor: turn on Allow paid endpoints that train on request data. See Privacy for each model’s training and retention terms. Pay with credit 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. Where can I use it? 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: Send typical coding agent traffic Identify itself with its own user agent, such as my-coding-agent/1.0, rather than a generic SDK or HTTP-library name. Send a stable session ID in x-opencode-session for each conversation so we can optimize routing and prompt caching. Decision and embedding requests don’t need x-opencode-session, so any client, such as a RAG library, a memory provider or a script, can call them with your Go key. See Harnesses to set up Go in Claude Code, Codex, Hermes, OpenClaw, Pi, and Raycast. Validated clients 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 supportHermesUpdate 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.OpenClawCurrent builds send x-opencode-session on Go requests. Browser sign-in needs 2026.11.7 or later.Kilo Code CLIBuilds containing PR #13752 restore OpenCode session headers. This fix covers the CLI, not the VS Code extension. See issue #13723.MiMo CodeUpdate to v0.1.16 or later, which sends x-opencode-session on Go requests (PR #2655). Known problematic clients These clients have missing or incomplete session support in the versions we investigated. The linked reports track fixes and workarounds. ClientStatus and trackingDeepSeek 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. Usage limits 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. Decision and embedding models come at list price, with no Go discount: their monthly limit matches what you pay, $10 on Go and $40 on Go Plus. On Go Teams it’s $15, $5 higher than Go as on every model. Beam Contributor: Free. 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. Estimated requests 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, or with the usage endpoint. Usage limits may change as we learn from early usage and feedback. Usage beyond limits 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. Why some models have lower usage 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. Endpoints 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", } Models Fetch the full list of available models and their metadata from the models endpoint: Terminalcurl https://opencode.ai/inference/go/v1/models See the model list API for every field in the response, including Go’s monthly usage limits. Decision models Decision models answer typed questions about a state instead of generating text. Send the same System One request as on Console models to https://opencode.ai/inference/go/systemone/v1/systemone with your Go key: Terminalcurl https://opencode.ai/inference/go/systemone/v1/systemone \ -H "Authorization: Bearer $OPENCODE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "jev-1.14", "state": "My payments have failed for three days and I am losing sales.", "questions": { "is_urgent": { "type": "noul", "instructions": "Does this request require urgent attention?" } } }' ModelModel IDInputOutputCached ReadCached WriteJev 1.14jev-1.14$0.042Free--Gemini Decision 1gemini-decision-1$0.10Free--GPT 6 Luna Decision (≤ 272K tokens)gpt-6-luna-decision$0.10Free$0.01$0.125GPT 6 Luna Decision (> 272K tokens)gpt-6-luna-decision$0.20Free$0.02$0.25 Prices are per 1M tokens. Requests in OpenAI’s Decisions format work at https://opencode.ai/inference/go/openai/v1/decisions. See Jev for question types, and GPT 6 Luna Decision and Gemini Decision 1 for images, audio, video, and PDFs in state. Embedding models Embedding models turn text into vectors. Call them on OpenAI’s Embeddings API at https://opencode.ai/inference/go/openai/v1/embeddings with your Go key: Terminalcurl https://opencode.ai/inference/go/openai/v1/embeddings \ -H "Authorization: Bearer $OPENCODE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "text-embedding-3-small", "input": ["hello world", "goodbye"] }' ModelModel IDInputtext-embedding-3-smalltext-embedding-3-small$0.02Qwen3 Embedding 8Bqwen3-embedding-8b