OpenCode pricing

MIT-licensed terminal coding agent, free with your own API key, with an optional $10/month subscription to curated open models

Prices verified against the official pricing page.

OpenCode is one of the few tools in this tracker where the headline price is genuinely zero and stays that way. It’s an MIT-licensed terminal coding agent, and nothing about installing it, running it, or using every feature it ships requires an account. What you pay for is inference, and OpenCode gives you three separate ways to pay for that — one of which routes no money and no data through OpenCode at all.

That first option is the default and the one the docs keep pointing back to. Bring an API key you already have, from Anthropic, OpenAI, Google, Bedrock, Azure, Groq, OpenRouter or anywhere else, and OpenCode sends requests straight to that provider at that provider’s rates. There’s no subscription sitting in between and no markup. Point it at a local model through Ollama and the marginal cost is your electricity. Both paid tiers below are OpenCode acting as a model provider, and the documentation describes each as “completely optional” in those words.

OpenCode Zen is the gateway option: a curated list of models the team has tested and benchmarked against specific providers, on the argument that the same model served by different providers gives you meaningfully different quality. You add billing details, get an API key, and are charged per request against prepaid credits, at per-1M-token rates published model by model. There’s no published minimum top-up, so we’re not quoting one. Zen also carries a rotating set of genuinely free models, which is where the pricing question turns into a privacy question — more on that below.

OpenCode Go is the $10/month subscription, and it’s the most interesting piece of pricing design here. Instead of counting requests or messages, Go denominates its limits in dollars of usage: $12 per rolling 5 hours, $30 per week, $60 per month. That means your effective request count depends entirely on which model you pick, and OpenCode publishes the estimates rather than making you guess — a Grok 4.6 session gets you roughly 169 requests per 5 hours, while MiMo-V2.5 gets you about 30,100. The stated goal is to return about 6x the subscription price in usage for most models, funded by bulk discounts and reserved GPU capacity. That multiplier isn’t uniform, and the docs are unusually candid about why: for models that are new or already cheaply priced, they couldn’t negotiate a discount, so the included monthly usage drops as low as $15 against $100 for others. One constraint that’s easy to miss: only one member per workspace can subscribe to Go, so it isn’t a team plan wearing a cheap price tag.

Run past those limits and requests stop, unless you’ve enabled the “Use balance” option in the console, at which point Go spills over onto your prepaid Zen credits. It’s opt-in, which is the right default for something that turns a fixed $10 into a variable bill.

The part worth reading carefully before you pick a tier is what each model does with your data, because OpenCode publishes it per model and the answer is not uniform. On Go, most models are documented as “not used” for training with 0 days of retention. Grok 4.6 and GPT 5.6 Luna sit at 30 days, for reasons the docs attribute to features that depend on stored data and to abuse-monitoring logs respectively. The two Muse Spark Contributor models are listed as trained on and explicitly not zero-retention — that’s the trade being made for the discount, and OpenCode says so plainly rather than burying it.

The same asymmetry runs through Zen’s free models. OpenCode’s privacy section states that its providers follow a zero-retention policy and don’t train on your data, then names the exceptions: Big Pickle, MiMo-V2.5 Free and Ling 3.0 Flash Fin Free may use collected data to improve the model during their free period, and NVIDIA’s free Nemotron endpoints are labelled trial use only, with a direct instruction not to submit confidential data and a note that sessions are logged. So “free” on Zen means free of charge, not free of conditions, and the conditions are concentrated in exactly the tier a cost-conscious developer would reach for first. If you’re working on anything under an NDA, the BYO-key path — where OpenCode never sees the request at all — is the only configuration that removes the question entirely.

Comparing this to seat-priced competitors is awkward on purpose. There is no seat here, no per-user minimum, and no enterprise tier gating the agent’s features behind a sales call. Team workspaces exist and are currently free as part of a beta, with pricing described as still to be announced — which is worth treating as a temporary $0 rather than a commitment. For an individual developer, the honest framing is that OpenCode’s own pricing is a floor of nothing plus whatever inference you choose, and the $10 Go tier is best read as a bet that you’d rather have a predictable ceiling on open models than an unpredictable bill on frontier ones.

Plans

PlanPriceAnnualIncluded usageKey limits
Open source (BYO key) Free MIT licensed, no account required · Terminal TUI, desktop app, VS Code extension · Point it at any provider you already pay for · Local models through Ollama or any OpenAI-compatible endpoint · You are billed by that provider, with no OpenCode markup — The agent itself never costs anything. Both paid tiers below are OpenCode acting as a model provider, and the docs call them "completely optional".
Zen (pay as you go) Custom Prepaid credits, charged per request · Per-1M-token pricing published per model · Curated gateway of tested model/provider pairings · Includes a set of $0 models · Same API from your own code via the /zen/v1 endpoints — No published minimum top-up. The free models — Big Pickle, MiMo-V2.5 Free, Ling 3.0 Flash Fin Free, two Nemotron endpoints and the two Muse Spark Contributor tiers — carry data conditions the paid ones do not; see the body.
Go $10/mo $60/mo of model usage at the account cap; per-model included usage runs $15-$100 27 curated models, listed by name in the docs · 5-hour limit of $12 of usage · Weekly limit of $30 · Monthly limit of $60 · Only one member per workspace can subscribe · Overflow falls back to your Zen balance if you enable "Use balance" — Limits are denominated in dollars of usage, not requests, so your request count depends on the model. OpenCode states the aim is roughly 6x the subscription price in usage for most models, less for models where they could not negotiate a discount.
Workspaces (teams) Free Invite teammates and assign roles · Admin role manages models, members, API keys and billing · Curate which models the team can use — Free during the beta. The docs say pricing details are still to come, so treat this $0 as temporary rather than a permanent free tier.

Price change history

No price changes recorded since we started tracking ().

Frequently asked questions

Is OpenCode free?

The agent is, permanently and without an account — it's MIT licensed, and you point it at an API key you already have. What costs money is inference, and you can pay for that three ways — directly to your own provider with no OpenCode markup, per token through OpenCode's Zen gateway, or with the $10/month Go subscription. The docs describe both paid tiers as completely optional.

What do you get for $10 a month with OpenCode Go?

Access to 27 curated models, with limits denominated in dollars of usage rather than requests — $12 per 5 hours, $30 per week, $60 per month. OpenCode says the target is roughly 6x the subscription price in usage for most models, achieved through bulk discounts and reserved capacity, though the per-model included allowance ranges from $15 to $100 a month depending on how well they could negotiate. Only one member per workspace can hold the subscription.

What happens when you hit the OpenCode Go usage limits?

Requests are blocked by default. If you also keep credits on a Zen balance, enabling the "Use balance" option in the console makes Go fall back to those credits instead of cutting you off. That is a deliberate opt-in, not the default behaviour.

Are the free models on OpenCode Zen really free?

They cost nothing in money, and several of them cost something in data. OpenCode's own docs state that Big Pickle, MiMo-V2.5 Free and Ling 3.0 Flash Fin Free may use collected data to improve the model during their free period, that NVIDIA's free Nemotron endpoints are trial-use only with sessions logged, and that the Muse Spark Contributor tiers trade discounted pricing for permission to train future Meta models on your prompts and completions. The paid models are documented as zero-retention and not used for training.