OpenCode Plans and Pricing: No Subscription, and What Parallel Agents Cost
By CodeAgentSwarm · Updated September 1, 2026
Two routes, neither of them a subscription
Everything about OpenCode pricing comes down to which of these two you pick, and you can switch between them per project or per session.
| Route | What you pay | Who bills you | Monthly fee |
|---|---|---|---|
| Bring your own key (BYOK) | Your provider's normal API rates | Anthropic, OpenAI, Google, whoever | None |
| OpenCode Zen | Per-token rates on a prepaid balance | Zen, no markup on requests | None |
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.
Zen is a curated gateway. You add a balance, use whichever models you want at published per-token rates, and it auto-tops up when you run low. Zen works like any other provider inside OpenCode, so switching to it is a configuration change, not a migration.
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 actually costs
Zen 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 August 25, 2026:
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Big Pickle, MiMo-V2.5 Free and other temporary free models | $0.00 | $0.00 |
| GPT 5.6 Luna | $0.20 | $1.20 |
| Claude Sonnet 5 | $2.00 | $10.00 |
| GPT 5.5 Pro | $30.00 | $180.00 |
Read that table again, because the range is the point: the top of the catalogue costs 150 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.
Zen 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.
Zen takes no markup on requests. What it does pass along, at cost, is card processing: 4.4% plus $0.30 per transaction. 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-reload default, and why to change it
By default, when your Zen balance drops below $5, the system automatically recharges $20. This is convenient and it is also the mechanism by which a misbehaving agent quietly spends real money overnight.
The threshold and the amount are both adjustable, and auto-reload can be disabled entirely. Disabling it turns your balance into a hard spending cap, which 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-reload on means the run continues and keeps charging; auto-reload 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
OpenCode bills per token on both routes, so there is no shared allowance to divide and no wall to hit. 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 Zen catalogue. What the count changes is how fast the balance drains, and therefore how often auto-reload fires.
| Sessions at once | What to expect | What to watch |
|---|---|---|
| 1 | Spend tracks the per-token rate of the model you picked, and nothing else. | Model choice. Zen output rates run from $0 to $180 per million tokens. |
| 2 to 3 | Roughly 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. | The $5 auto-reload threshold arrives sooner, and each automatic top-up is $20 plus the card processing passed at cost. |
| 4 or more | Spend 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-reload off before any unattended run so the balance becomes a hard cap. |
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.
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.
| Agent | Free tier | Cheapest paid | Top individual tier | How you are billed |
|---|---|---|---|---|
| Claude Code | No (Free plan has no Claude Code) | Pro, $20/month | Max 20x, $200/month | Subscription with 5 hour and weekly windows; API tokens optional |
| Codex CLI | Limited | Go, $8/month | Pro, $200/month | ChatGPT subscription shared with web and IDE; API tokens optional |
| Kimi Code | CLI is free, model usage is not | Andante, ¥49/month | Allegro, ¥699/month | Membership with weekly and 5 hour limits; API per token |
| OpenCode | CLI is free and open source | None, pay as you go | None | Your own provider key, or OpenCode Zen prepaid per token |
| Antigravity | Yes, with weekly rate limits | Google AI Plus, around $8/month | Google AI Ultra 20x, $200/month | Google AI plan with rate limits and credits |
| Grok Build | Yes, limited usage | SuperGrok, $30/month | SuperGrok Plus, $100/month | xAI plan rate limits; API per token |
| Cursor Agent | Hobby, free | Pro, $20/month | Ultra, $200/month | Cursor plan with usage pools per model |
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. Zen 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 150x output spread across the Zen 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-reload 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
Yes. The CLI is free and open source with no paid edition. Model usage is separate. OpenCode Zen currently carries temporary models at $0 input and $0 output, but their availability can change.
There is no monthly fee. You either bring your own API key and pay your provider directly, or you use OpenCode Zen on a prepaid balance at per-token rates. A quiet month costs $0, which no subscription CLI can offer.
A curated gateway of benchmarked models with pay-as-you-go per-token pricing and no markup on requests. You add a balance and it auto-tops up when you run low. Inside OpenCode it behaves like any other provider, so switching to it is a configuration change.
No. There is no 5 hour window, no weekly cap and no tier. The only thing that stops you is running out of balance, and only if you have turned auto-reload off.
Turn off auto-reload so your balance becomes a hard cap, and pick the model deliberately. Zen 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.
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.
No. There is no monthly plan and no tier ladder to climb. You either bring your own provider key, in which case that provider bills you directly, or you top up an OpenCode Zen balance and pay per token. A month with no work costs $0.
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. There is no quota wall to stop you, so your balance and the auto-reload setting are the only brakes.
The CLI itself is free and open source. If you already pay for an Anthropic or OpenAI key, bringing it costs nothing extra. Zen also lists temporary models at $0 input and $0 output, though OpenCode marks several of them as limited-time offers.