Four ways to pay for models in OpenCode
OpenCode lets you pay through three built-in paths or connect any OpenAI-compatible custom provider.
| Free models | Console pay-as-you-go (formerly Zen) | OpenCode Go | Your own provider (example: Vora Compute) | |
|---|---|---|---|---|
| Price | Free. | Prepaid credits at list price plus 4.6% + $0.31 per credit purchase. | Go $10, Go Plus $40, Go Teams $20 per member per month (2-member minimum). | €9.90/month or €99/year (€8.25/month) first year through 31 December 2026 (then €29/month or €288/year, excl. VAT); up to 4 parallel requests |
| Limits | Unpublished daily request limit; each model is free for a limited time. | Billed per request against your prepaid credit balance. | One allowance shared by all paid models, with 5-hour, weekly and monthly limits. | No token metering; no 5-hour or weekly windows. |
| Models | Rotating list of chat models. | More than 80 chat models (closed frontier, Qwen3.8 Max and Qwen3.8 Flash; no Qwen3.8 27B). | 31 chat models, mostly open-weight plus some closed ones (Qwen3.8 Max and Flash; no Qwen3.8 27B). | Qwen4 35B-A3B (qwen4-35b-a3b, 1M native context; qwen3.8-27b routes to it automatically), Apache-2.0, FP8, up to 32,768 output tokens. |
| Where it runs and retention | Varies by model: some may train on data, some retain it, some keep zero. | US and EU. Zero retention default; OpenAI, Anthropic, xAI keep 30 days, Google up to 55 days. | Europe & United States by default. Most open models: 0 days; some closed models: 30 to 55 days. | GPUs in the European Union. Zero API retention; zero-data-retention EU failover if primary capacity is full. |
| Works outside OpenCode | No. Free-tier chat models require OpenCode. | Yes, from any client with an API key. | OpenCode and validated coding agents only. | Yes, any OpenAI-compatible client. |
OpenCode Go vs Zen: which one to pick
OpenCode renamed Zen to Console pay-as-you-go (opencode.ai/zen redirects to opencode.ai/console/models). Console pay-as-you-go charges per request from prepaid credits, adds a 4.6% + $0.31 processing fee per credit purchase and covers 81 chat models. OpenCode Go charges a fixed monthly price ($10, $40 or $20 per member) for 31 chat models within 5-hour, weekly and monthly usage limits.
- Pick pay-as-you-go when you want closed frontier models, need an API key for any client or prefer paying per request from prepaid credits.
- Pick Go when you use OpenCode or a validated coding agent, the 31 mostly open-weight models fit your work and you want a fixed monthly price.
- Use both when you want Go's monthly allowance with Extra Usage enabled, paying from Console credits until limits reset. Go Teams starts with Extra Usage on.
Is OpenCode Zen free? The free model limit
No: Console pay-as-you-go bills per request, while OpenCode offers a separate rotating list of free models. Many guides still use the old Zen name, but opencode.ai/zen now redirects to opencode.ai/console/models, though https://opencode.ai/zen/v1 still answers. OpenCode writes "Free models have a daily request limit" without a number, notes each is free "for a limited time", and restricts them to its client.
- At the cap: GitHub issues report HTTP 429 with
FreeUsageLimitError(not documented by OpenCode). - Data terms: Big Pickle's data "may be used to improve the model", Flint 40B Free may also use it and keeps it 30 days, and DeepSeek V4.1 Flash Free is zero-retention.
- Hide them: Set
OPENCODE_DISABLE_FREE_MODELS=1on the server process, or runopencode service set env OPENCODE_DISABLE_FREE_MODELS 1for the shared background server. - Fit: Good for trying OpenCode, not for private code unless you verify that exact model's data terms.
OpenCode Go: price, usage windows and the best model
OpenCode Go is sold as three monthly plans (Go, Go Plus and Go Teams, priced above). All paid Go models share one allowance, with each Go Teams member getting their own. The 5-hour limit is 20% of the monthly allowance, its window starting on first use. The weekly limit is 50% of the monthly allowance, resetting on Monday at 00:00 UTC. The monthly allowance resets when a new paid period starts. At a limit, you can switch to free models or enable Extra Usage to pay from Console pay-as-you-go credits. OpenCode notes: "Usage limits may change as we learn from early usage and feedback."
OpenCode Go limits per model
Each model's monthly limit in dollars shows how much usage the plan covers if you use only that model for the month. For example, $1.50 of usage on a model with a $15 limit uses 10% of the monthly allowance, and $6 on a model with a $60 limit also uses 10%. A model with a lower limit therefore uses the shared allowance faster for the same spend.
| Model | Est. requests per 5 hours (Go / Go Plus) | Monthly limit (Go / Go Plus) |
|---|---|---|
| Kimi K3 | 98 / 392 | $15 / $60 |
| Qwen3.8 Max | 162 / 647 | $15 / $60 |
| Kimi K3.1 Pro | 588 / 1,180 | $60 / $120 |
| GLM-5.3 | 2,640 / 5,280 | $200 / $400 |
| Claude Haiku 5.5 | 3,850 / 15,400 | $15 / $60 |
| Qwen3.8 Flash | 5,400 / 16,200 | $30 / $90 |
| DeepSeek V4.1 Flash | 43,300 / 86,700 | $100 / $200 |
These estimates come from OpenCode's Go page, which lists all 31 models and says actual usage varies. Because paid models share one allowance, reaching the 5-hour limit on one stops every paid Go model until the window resets. In GitHub issue #42985, OpenCode's team explained that the percentage rising faster than dollar cost is not a metering error: a $15-limit model counts four times as much as a $60-limit model for the same spend. Check your meters in the Console or with GET https://opencode.ai/inference/go/v1/usage (rolling, weekly and monthly percentages).
OpenCode does not rank a best Go model, though on 3 December 2026 its public usage page (opencode.ai/data) showed DeepSeek V4.1 Flash led usage over the past 7 days with 186T tokens. Usage is not quality, however, because it also follows price and free periods.
When a flat rate fits
It fits when
- Agent sessions run for hours and you want a fixed monthly bill with no 5-hour or weekly windows.
- Code must stay in the EU with zero retention, and you need the full 1,000,000-token native context of Qwen4 35B-A3B.
- You also call the model from other OpenAI-compatible clients, not only OpenCode.
What it includes
- Qwen4 35B-A3B with a 1,000,000-token native context (existing
qwen3.8-27bsetups route to it automatically). - Up to 4 parallel requests, without counting tokens.
- Chat and the API on the same subscription.
To try Qwen4 35B-A3B first, Vora's free trial gives 15 messages in browser Chat with no card.
Add Qwen4 35B-A3B to OpenCode: a tested setup
We tested this custom provider setup with OpenCode 2.4.4 against Vora Compute's live API (qwen3.8-27b routes automatically to qwen4-35b-a3b).
- Save this config as
opencode.jsonin your project root, or~/.config/opencode/opencode.jsonfor every project.
{
"$schema": "https://opencode.ai/config.json",
"providers": {
"vora": {
"package": "@opencode/ai/providers/openai-compatible",
"name": "Vora Compute",
"env": ["VORA_API_KEY"],
"settings": {
"baseURL": "https://api.voracompute.com/v1",
"headerTimeout": 3660000,
"chunkTimeout": 3660000,
"timeout": 3660000
},
"models": {
"qwen4-35b-a3b": {
"name": "Qwen4 35B-A3B",
"limit": { "context": 1000000, "output": 32768 },
"capabilities": {
"tools": true,
"input": ["text", "image"],
"output": ["text"],
"reasoning": {
"supported": true,
"effort": ["none", "low", "medium", "high"]
}
},
"compatibility": {
"reasoningField": "reasoning_content",
"maxTokensField": "max_tokens",
"streamUsage": true
}
}
}
}
},
"model": "vora/qwen4-35b-a3b"
}
- Create a Vora API key in the Vora console, then save it in OpenCode once. Choose "Manually enter API Key" and paste it (inside OpenCode,
/connectdoes the same).
opencode auth login vora
- Check that Vora Compute appears as stored.
opencode auth list
- Start
opencode. Themodelline makes Qwen4 35B-A3B the default. For a one-off command with a chosen reasoning level, run the command below.
opencode run -m "vora/qwen4-35b-a3b#high" "Explain what this repository does."
OpenCode 2 runs one shared background server per user, keeping the environment of the terminal that first started it. If it was already running before you exported VORA_API_KEY, requests leave without a key and show Missing API key. A saved key works from any terminal and takes precedence over the variable. OpenCode keeps it unencrypted in its local database, so apply the usual care for a development machine. If you prefer the variable, --standalone starts a private server that reads your shell.
export VORA_API_KEY=vora_sk_...
opencode --standalone
What each setting does
limit: For unknown models, OpenCode assumes 200,000 context tokens and 32,000 output tokens, compacting early. With the real values set, compaction waited for the configured limit in our test.effort: Gives four reasoning levels (none,low,medium,high), sent asreasoning_effort. Append#high(or another level) to the model name; a request without a level uses Vora's default (medium).reasoningField: Sends the model's earlier reasoning back with history, which Qwen4 35B-A3B needs for continuity.- Timeouts: Vora allows up to 30 minutes before the first token and 60 minutes per request. OpenCode defaults to 5 minutes for response headers, so the config raises all three timeouts to 61 minutes (3,660,000 ms).
- Images: JPEG, PNG and WebP work. OpenCode sends a GIF unchanged and Vora rejects it; the GIF stays in history, so later messages fail too: start a new session.
What to expect in a session
Starting a session sends a title request; full context triggers compaction. With only Vora configured, both go to your configured Vora model (qwen4-35b-a3b) with no traffic to other hosts. Free models stay listed when signed out, so check the selected model before pasting private code.
In our 4 December 2026 test, OpenCode 2.4.4 sent 6,795 input tokens on its first request in an empty folder, covering its instructions and 12 tool definitions. In one run with 15 skills in a .claude/skills folder above the project, that first request grew to 9,274 input tokens. Fixing a small bug took a median of 7 requests and 45,843 input tokens. The same tasks with Claude Code next to OpenCode are in our OpenCode vs Claude Code guide. Writing and running a 10-line script took 4 requests: 1 title, 3 agent steps.
We measure speed, time to first token, and uptime continuously and publish figures for the last 30 days. You can check them on the status page.
Every request uses a slot, including titles, compaction and background subagents. Over the limit, Vora returns 429 (Retry-After: 5); OpenCode retries up to 10 times after at least that delay, so expect waits with parallel subagents. If a request cannot start within 30 seconds under busy capacity, it gets 503 and can be retried.
Errors you may see
These are the exact error messages OpenCode shows and how to resolve each.
| What OpenCode shows | Cause | What to do |
|---|---|---|
Missing API key. Send the header Authorization: Bearer vora_sk_… | The background server has no key | Save the key with opencode auth login vora, or use --standalone |
Images must be valid JPEG, PNG or WebP data URLs… | A GIF or another format is in the session | Start a new session and attach JPEG, PNG or WebP |
At most four requests may be admitted per account… | More than 4 requests at once | OpenCode retries by itself; run fewer agents in parallel |
Variant unavailable for vora/qwen4-35b-a3b | A reasoning level that is not in effort | Use none, low, medium or high |
Frequently asked questions
- Is OpenCode free?
- Yes. OpenCode itself is open source under the MIT license and costs nothing. What you pay for is the models you connect to it.
- Is Vora Compute in OpenCode's provider list?
- You add Vora as a custom provider using the
opencode.jsonfile on this page. Once the key is saved, the model appears in OpenCode’s model list. - Which OpenCode version does this config need?
- OpenCode 2 (tested on 2.4.4). The config uses the OpenCode 2 format (
providers,package,settings). OpenCode 1.x uses a different format, so upgrade first. - Which reasoning level should I use?
- Use
nonefor mechanical edits and boilerplate,mediumfor day-to-day coding, andhighfor hard bugs and migrations. - What is the difference between OpenCode Zen and OpenCode Go?
- OpenCode Zen, now Console pay-as-you-go, bills per request from prepaid credits, while OpenCode Go is a monthly plan with usage limits. Console pay-as-you-go covers 81 chat models from any client with an API key. Go covers 31 mostly open-weight models in OpenCode and validated coding agents.
- Does OpenCode Go have a daily limit?
- No. OpenCode Go counts usage over 5-hour, weekly and monthly windows, not per day. The daily request limit applies to the free models, and OpenCode does not publish that number.
- Why are all OpenCode Go models blocked when one reaches its limit?
- All paid OpenCode Go models share one allowance. Reaching the 5-hour limit on one model fills the shared 20% window, stopping every paid Go model until it resets. While blocked, you can switch to free models or enable Extra Usage.
- Is there a yearly or a $5 OpenCode Go plan?
- No. OpenCode lists no yearly or $5 plan on 3 December 2026. Plans are monthly: Go ($10), Go Plus ($40) and Go Teams ($20 per member, 2-member minimum). On Go Teams, each member's limits are $5 a month higher than on Go on every model.
- Can I top up when I reach an OpenCode Go limit?
- Yes. Enable Extra Usage to keep sending requests using prepaid Console credits until your Go allowance is available again. Go Teams starts with Extra Usage on. Buying Console credits adds a 4.6% + $0.31 processing fee per purchase. OpenCode says it charges nothing beyond that fee.
- Can I cancel OpenCode Go or get a refund?
- Yes. You can cancel at any time, and the plan stays active until the end of the paid period. A refund is possible if you ask within 14 days of the charge and have used almost none of that period's allowance.
Related guides
- OpenCode API key setup: where OpenCode 2 reads credentials, custom provider JSON and exact error fixes.
- OpenCode vs Claude Code: comparing terminal coding workflows, API formats and hosting options.
- OpenRouter alternatives in the EU: replacing pay-per-token routers with direct European GPU inference.
- LLM API cost calculator: calculate your monthly OpenCode token bill against flat-rate pricing.