OpenCode
// Plans & billing

OpenCode pricing.

The OpenCode agent is free under a permissive open-source license. Paid plans exist only for the managed-service features teams ask for — hosted audit logs, SSO, central policy push, and a priority support queue.

Plan lineup

A free core and two paid managed tiers.

The OpenCode plan lineup has three tiers: Free, Team, and Enterprise. Free covers everything a developer needs to plan, apply, and audit edits on any operating system, with any model, under any editor. Team adds the managed-service features a ten-to-500-engineer organization usually needs. Enterprise is a negotiated contract for larger rollouts with custom procurement terms. Nothing in the agent's behavior changes between tiers; the paid tiers are a convenience layer.

The OpenCode core stays free.

The OpenCode CLI, the VSCode extension, the desktop app, and the read-only web console are free under a permissive open-source license. That is a forever commitment from the maintainer council, documented in the open code charter. The core includes everything the agent needs to run: the planner, the tool executor, the transcript writer, the policy engine, and every adapter for every model. Telemetry is off by default. No account is required.

The only cost anywhere in a free rollout is model inference, and that cost is paid to the provider you configured — not to OpenCode. Teams that standardized on local Ollama pay zero for the core binary and zero for inference; their OpenCode line item on the CFO dashboard is empty.

Zero-click summary: the core is free forever, core behavior never changes between plans, and only hosted add-ons cost money.

What the team plan actually unlocks.

The team plan is a managed-service layer over the same free binary. It covers a hosted audit log (an append-only mirror of the CLI transcript), SSO and SCIM provisioning, central policy push (broadcast a policy file to every seat), and a priority support queue. Nothing in that list is behavior the agent cannot perform for free — you can ship the CLI transcript to your SIEM manually, you can check SSO at the inference-provider layer, and you can distribute the policy file through your existing configuration management.

Teams pay for the team plan when they want one vendor to handle that managed layer instead of wiring it themselves. It is a procurement decision, not a capability gate.

Zero-click summary: the team plan is a managed-service layer — audit log, SSO, policy push, priority support — and every feature has a free self-hosted equivalent.

Plan matrix.

The matrix below is the fast path for procurement readers. Pricing is a placeholder until the published team-plan launch window; enterprise numbers are always negotiated.

Plan matrix
PlanSeatsSSOAudit logSLAPrice
FreeUnlimited, self-servedHandled at inference providerLocal transcript on diskCommunity support$0 forever
Team StarterUp to 25 seatsSAML / OIDC90-day hosted logNext business dayPer-seat monthly (contact)
Team Growth26 to 500 seatsSAML / OIDC / SCIM1-year hosted log8-hour business hoursPer-seat monthly (contact)
Enterprise500+ seats, customSAML / OIDC / SCIM / JITConfigurable retentionNegotiated 24x7Annual contract
Gov / regulatedPer-agencyPIV / CAC on requestRegional addendaNegotiatedAnnual contract

Enterprise procurement.

Enterprise contracts cover annual billing, a named success contact, SLA terms, signed SBOM delivery, and regional data-residency addenda. The procurement packet mirrors the trust and safety page and includes the signing keys, the reproducible build recipe, the CycloneDX and SPDX SBOMs, the third-party license inventory, and the maintainer council's governance charter. Procurement teams have closed the legal review on OpenCode in as little as a week when the packet arrived complete.

Enterprise customers with public-sector constraints can reference the NIST supply-chain risk management materials that OpenCode's build pipeline is aligned to. The packet carries a control mapping so your security architects can attach it to a vendor questionnaire without rewriting policy.

Zero-click summary: enterprise is a negotiated annual contract with a full procurement packet, aligned to NIST supply-chain guidance and shipped with SBOMs, signing keys, and governance documents.

Billing, renewals, and changes.

Team plans are billed monthly or annually with a small annual discount. Upgrades are prorated and take effect immediately. Downgrades take effect at the next renewal so your audit log and policy state remain continuous. Enterprise contracts are negotiated separately, can be amended under a signed change order, and carry their own renewal terms in writing.

Zero-click summary: team plans prorate on upgrade and downgrade at renewal. Enterprise is a signed annual contract with renewal terms written in.

Model inference is separate.

OpenCode does not mark up or meter model inference. You pay the provider you configured — hosted frontier vendor, Azure OpenAI, Anthropic via adapter, or an in-house gateway — at whatever rate you negotiated. If you standardized on local Ollama, inference cost is zero. The agent is transparent about token consumption: every session logs the token count, every run reports the estimated cost, and every session honors the cost budget in the config.

Zero-click summary: OpenCode never takes a cut of inference. Model costs sit with the provider you chose; OpenCode just exposes the meter in the transcript.

Why the split between free and paid is drawn where it is.

The maintainer council's position is that an agent that edits source has to stay free at the core. A paid CLI would gate the people most likely to become contributors — students, individual developers, open-source maintainers, and platform engineers evaluating from the bottom up. The paid tiers target the managed-service features a larger organization needs and can reasonably expect to pay for, without gating any agent behavior behind them.

The team plan revenue funds the project's managed-service infrastructure — hosted audit logs, SSO provisioning, the support queue — and a small slice of maintainer hours. The sponsor ledger on the about page shows the rest of the funding picture. No line in that budget is allowed to translate into a closed-source release.

Zero-click summary: the core stays free because it must. Paid plans fund managed-service features teams want delegated, not capabilities individuals need.

Pages that answer the questions procurement threads escalate after they read the matrix.

Frequently asked

Questions about OpenCode pricing.

The questions procurement, finance, and platform teams ask before they approve a rollout. Every answer maps to a canonical page for the long form.

Is the OpenCode core actually free?
Yes. The CLI, VSCode extension, desktop app, and read-only web console ship under a permissive open-source license. There is no paid tier that unlocks agent behavior — every plan in the matrix is about managed-service features, not the agent itself. See the free-tier breakdown for a per-component view.
What does the team plan include?
The team plan adds a hosted audit log, SSO and SCIM provisioning, central policy push, and a priority support queue for paying seats. Nothing in the agent's planning, tool-calling, or editing behavior changes; the team plan is a managed-service layer on top of the same free binary.
How is enterprise procurement handled?
Enterprise contracts are negotiated per organization, covering annual billing, a named success contact, SLA terms, signed SBOM delivery, and regional data-residency addenda. The procurement packet mirrors the trust and safety page and can be requested through the support relay phone.
Are there per-token charges?
No. OpenCode never bills per token or per tool call. The only usage-related cost is the model inference you buy from whichever provider you configured, and that bill is between you and the provider. Local Ollama is zero cost.
Can I change plans mid-year?
Yes. Team plans are prorated at the seat level, upgrades take effect immediately, and downgrades take effect at the next renewal so your audit log and policy state remain continuous. Enterprise contracts are negotiated separately and can be amended under a signed change order.