OpenCode Plans and Pricing: Free CLI, Optional Go Plan, and What Parallel Agents Cost

By CodeAgentSwarm · Updated October 31, 2026

OpenCode is the odd one out in this category, and the short answer is genuinely short: the CLI is free, and a subscription is optional. You can bring your own API key from any provider, in which case that provider bills you directly and OpenCode takes nothing. You can buy prepaid credits on OpenCode's pay-as-you-go service, which its docs now call OpenCode Console (the old Zen docs redirect there). Or, as of October 31, 2026, you can subscribe to OpenCode Go for $10 or $40 a month. On your own key or on Console credits there is no 5 hour window, no weekly cap and no tier to outgrow. There is also no ceiling: OpenCode will never stop you because a quota ran out, only because your balance did. Go is the exception, with 5 hour, weekly and monthly limits per model. This guide covers what each route actually costs, the free models Console carries, the one number that decides your bill, and the honest trade-off against a subscription CLI like Claude Code.

Three routes, and only one is a subscription

Everything about OpenCode pricing comes down to which of these three you pick, and you can switch between them per project or per session.

RouteWhat you payWho bills youMonthly fee
Bring your own key (BYOK)Your provider's normal API ratesAnthropic, OpenAI, Google, whoeverNone
OpenCode Console (formerly Zen)Per-token rates on prepaid creditsOpenCode, at cost plus a processing feeNone
OpenCode GoGo $10/month, Go Plus $40/month, Go Teams $20 per memberOpenCodeYes, with limits per model
OpenCode pricing routes from the official OpenCode docs, verified October 31, 2026.

BYOK is the purest form: OpenCode is just a client. Point it at an Anthropic or OpenAI key you already have and the tokens are billed directly by that provider, exactly as if you had called their API yourself. OpenCode is not in the payment path at all and takes no cut.

Console, the service OpenCode used to call Zen, is a curated gateway. You add credits, use whichever models you want at published per-token rates, and can set an auto-recharge rule. It works like any other provider inside OpenCode: run /connect and pick the OpenCode pay-as-you-go provider, so switching to it is a configuration change, not a migration.

Go is the optional subscription. It gives you an API key for a list of mostly open coding models, such as GLM, Kimi, Qwen, DeepSeek and MiniMax, plus Grok 4.7, GPT 6 Luna, Claude Haiku 5.5 and Gemini 4 Argon. Each model has a monthly dollar limit, and you can use 20% of it per 5 hours and 50% per week.

If you already pay for an Anthropic or OpenAI API key for something else, BYOK costs you nothing extra to try. That makes OpenCode the cheapest agent in this category to evaluate: you can be running it in minutes without creating a new billing relationship.

What OpenCode Zen, now Console, actually costs

Console publishes per-million-token rates split into input, output, cached reads and cached writes. The spread across the catalogue is enormous, which is the single most useful thing to understand about it. As of October 31, 2026:

ModelInput / 1MOutput / 1M
Big Pickle, GLM-5.3-Flash Free and other temporary free models$0.00$0.00
GPT 6 Luna$0.10$0.50
Claude Sonnet 5.5$2.00$10.00
GPT 5.5 Pro$30.00$180.00
A sample of OpenCode Console rates, verified October 31, 2026. The full catalogue is on the Console models page of the OpenCode docs.

Read that table again, because the range is the point: the top of the catalogue costs 360 times the budget tier on output. On a subscription CLI your model choice changes how fast you burn a fixed allowance. Here it changes your bill directly and by two orders of magnitude. Picking the right model for the task is not a micro-optimisation on Zen, it is the whole cost story.

Console also carries models listed at $0 input and $0 output. OpenCode marks several of them as limited-time offers, so check the live catalogue before relying on one for a long-running workflow.

Console sells at cost, with markup only to cover processing: a fee of 4.6% plus $0.31 is added to each credit purchase, so a $50 top-up costs $52.61. That is a payment fee rather than a service fee, and it is the argument for topping up in larger amounts less often rather than in small increments.

The auto-recharge rule, and how to set it

Auto-recharge buys credits when your balance runs low, using a threshold and an amount you set in Settings, Billing. This is convenient and it is also the mechanism by which a misbehaving agent quietly spends real money overnight.

Auto-recharge is a rule you add, and you can remove it. Running without it turns your balance into a hard spending cap: once the balance reaches zero, paid requests fail and the balance never goes negative. That is the closest thing OpenCode has to the safety of a subscription: the agent stops when the money runs out, exactly like hitting a weekly limit, except you chose the number.

Before you leave an OpenCode agent running unattended overnight or in CI, decide deliberately what happens when the balance empties. Auto-recharge on means the run continues and keeps charging; auto-recharge off means it stops. Neither is wrong, but finding out which one you had by reading a statement is a bad way to learn.

This is the honest counterweight to "no quota wall". A subscription protects you from your own agents. Pay-as-you-go does not, unless you build the protection yourself.

What running several OpenCode sessions at once does to the cost

On your own key or on Console credits, OpenCode bills per token, so there is no shared allowance to divide and no wall to hit. Go is the exception: its per-model limits behave like a subscription quota, so parallel sessions on the same Go model reach its 5 hour share sooner. Two agents working at the same time simply consume tokens at the same time, and your spend over an hour tracks the number of agents that are actually busy rather than the number of terminals you have open.

That makes a parallel workflow easy to reason about and easy to underestimate. The model matters more than the count: three sessions on a budget model can cost less than one session on a frontier model, given the spread in the Console catalogue. What the count changes is how fast the balance drains, and therefore how often auto-recharge fires.

Sessions at onceWhat to expectWhat to watch
1Spend tracks the per-token rate of the model you picked, and nothing else.Model choice. Console output rates run from $0 to $180 per million tokens.
2 to 3Roughly two to three times the token spend of one session over the same period, because each agent reads files, reasons and calls tools on its own.Your auto-recharge threshold arrives sooner, and each top-up adds the 4.6% plus $0.31 processing fee. On Go, the 5 hour share of each model limit arrives sooner too.
4 or moreSpend scales roughly with the number of busy agents. There is no quota to run out of, so nothing stops the run except the balance.Turn auto-recharge off before any unattended run so the balance becomes a hard cap.
A rule of thumb, not a published rate. OpenCode has no per-session pricing, so the real number depends on the model and the work.

The practical side of that is in the OpenCode agent swarm guide, and the mechanics of getting several sessions going are in how to run multiple OpenCode sessions.

Pay-as-you-go against a subscription: when each one wins

The comparison people usually make is total monthly spend, and that is only half of it. The real difference is what happens at the edges.

A subscription starts as a fixed cost with included capacity. Many providers now let you enable paid overflow, so the ceiling is optional and the final bill may not be fixed. Pay-as-you-go has no monthly floor: a week off costs nothing, and a week of heavy refactoring costs whatever it costs. OpenCode Go now offers the subscription side inside OpenCode too, from $10 a month.

That maps cleanly onto how people actually work:

  • Bursty or occasional work favours OpenCode. Two intense weeks a quarter on a subscription means paying for the ten quiet ones.
  • Steady daily work favours a subscription. The predictable cost is worth more than the theoretical savings, and you stop thinking about it.
  • Unattended automation favours pay-as-you-go, because a CI pipeline that dies on a personal quota is worse than one that costs a few dollars.
  • Learning and evaluation favours OpenCode outright, thanks to the free models and BYOK.

The setup that works best in practice is not choosing at all. Keep a subscription for your daily driver and keep OpenCode on the side for overflow, for the weeks you hit a weekly cap, and for automation. Two providers on two separate meters means you are almost never fully stopped, which is the argument developed in the OpenCode agent swarm guide.

AgentFree tierCheapest paidTop individual tierHow you are billed
Claude CodeNo (Free plan has no Claude Code)Pro, $20/monthUltra, $200/monthClaude plan with 5 hour and weekly limits (verified Ultra accounts have no 5 hour limit); API tokens optional
Codex CLILimitedGo, $8/monthPro, $500/monthChatGPT plan shared across the CLI, web and IDE; API tokens optional
Kimi CodeCLI is free, model usage is notPlus, ¥99/monthUltra, ¥1,399/monthMembership credits plus a 5 hour Kimi Code limit; API per token
OpenCodeCLI is free and open sourceOpenCode Go, $10/monthGo Plus, $40/monthYour own provider key, prepaid Console credits per token, or a Go subscription
AntigravityYes, with weekly rate limitsGoogle AI Plus, $4.99/monthGoogle AI Ultra 20x, $199.99/monthGoogle AI plan with rate limits and credits
Grok BuildYes, limited usageX Subscription Plus, $8/monthX Subscription Ultra, $200/monthX Subscription pool shared with Grok and Cursor; API per token
Cursor AgentFree, limited usagePlus, $8/monthUltra, $200/monthWeekly pool for Cursor models; third-party models billed by usage
Entry and top tiers per agent CLI, all verified October 31, 2026. Prices change often; each linked guide carries its own verification date.

Every number in that table has its own page with the full tier list and the fine print: Claude Code, Codex, Kimi Code, Antigravity, Grok Build and Cursor CLI.

Is OpenCode free? Yes, genuinely

The CLI is free and open source, with no paid edition, no feature gate and no seat count. This is not the "free tier" framing the other vendors use, where the free thing is a limited version of the paid thing. There is no paid version of OpenCode.

What costs money is the model behind it. Console currently has a zero-cost path through temporary free models, but the catalogue can change.

The realistic budget framing: evaluating OpenCode costs $0, using it seriously costs whatever your token consumption costs, and there is no monthly floor. For most single-agent daily use on a mid-tier model, that lands well under a $20 subscription. For heavy parallel agent work on a frontier model, it lands well above one.

Keeping the bill honest while agents run

Without a quota wall, the only thing between you and a surprise is visibility. Three habits do most of the work:

  • Match the model to the task. The 360x output spread across the Console catalogue means routine work on a frontier model is the single most expensive mistake available to you.
  • Set the balance as a cap. Turn auto-recharge off before any unattended run, so an empty balance stops the agent instead of refilling itself.
  • Watch what is actually running. Parallel agents multiply spend linearly, and an agent stuck in a loop looks exactly like an agent working hard.

That last one is where a workspace helps. CodeAgentSwarm, the desktop app for running several AI CLI agents in parallel, keeps every OpenCode session visible at once with its current status and activity, so a session that has been busy for forty minutes on a five-minute task is obvious rather than invisible.

FAQ

Is OpenCode free?

Yes. The CLI is free and open source with no paid edition. Model usage is separate. OpenCode Console, formerly Zen, currently carries temporary models at $0 input and $0 output, but their availability can change.

How much does OpenCode cost per month?

Nothing, unless you choose OpenCode Go at $10 or $40 a month. Otherwise you bring your own API key and pay your provider directly, or buy OpenCode Console (formerly Zen) credits at per-token rates. On those routes a quiet month costs $0, which no subscription CLI can offer.

What is OpenCode Zen?

The pay-as-you-go gateway that OpenCode now documents as OpenCode Console: tested models at per-token rates, sold at cost plus a 4.6% + $0.31 processing fee on each credit purchase. You add credits and can set an auto-recharge rule. Inside OpenCode it behaves like any other provider, so switching to it is a configuration change.

Does OpenCode have usage limits or a weekly quota?

Not on your own key or on Console credits: there is no 5 hour window and no weekly cap, and only an empty balance stops you. OpenCode Go does have limits: per model, 20% of the monthly limit per 5 hours and 50% per week.

How do I stop an OpenCode agent from spending too much?

Turn off auto-recharge so your balance becomes a hard cap, and pick the model deliberately. Console rates range from $0 to $180 per million output tokens, so running routine work on a frontier model is by far the most expensive mistake available.

Is OpenCode cheaper than Claude Code or Codex?

It depends entirely on how much you use it. Bursty or occasional work is cheaper on OpenCode because quiet weeks cost nothing. Steady heavy daily use on a frontier model usually costs more than a $100 subscription. The most common good answer is to run both: a subscription for daily work, OpenCode for overflow and automation.

Is there an OpenCode subscription?

Yes, an optional one: OpenCode Go costs $10/month, Go Plus $40/month and Go Teams $20 per member. It covers a list of mostly open coding models with limits per model. The CLI itself stays free, and your own key or Console credits need no subscription at all.

Does running several OpenCode agents at once cost more?

Yes, and roughly in proportion. Each agent reads files, reasons and calls tools on its own, so token spend over a given hour tracks how many agents are actually busy. On your own key or Console credits there is no quota wall, so your balance and the auto-recharge setting are the only brakes. On Go, each model's 5 hour and weekly limits stop you sooner.

What is the cheapest way to use OpenCode?

The CLI itself is free and open source. If you already pay for an Anthropic or OpenAI key, bringing it costs nothing extra. Console, formerly Zen, also lists temporary models at $0 input and $0 output, though OpenCode marks several of them as limited-time offers.