OpenCode

OpenCode

Open-source terminal coding agent that runs with your own model provider and approval workflow.

OpenCode is an open-source terminal coding agent at opencode.ai that uses your own model provider or API key; the agent tool is free, while model tokens are billed by the chosen provider (data as of Nov 21, 2026).

Visit Official Website

*This is an affiliate link, we may earn a commission at no extra cost to you.

Is OpenCode free?

OpenCode: Free to run locally or self-host from the project source; hosted, support and enterprise tiers may be sold separately (data as of Nov 21, 2026). The source code is public, so you can run or build it yourself. Check the official page for current status before relying on it.

Frequently Asked Questions

Is OpenCode free?

The code is free to self-host, but a hosted plan from the vendor may not be. OpenCode publishes its source, so cost depends on where you run it.

How much does OpenCode cost?

Free to run locally or self-host from the project source; hosted, support and enterprise tiers may be sold separately (data as of Nov 21, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.

Where can I check OpenCode's current pricing?

On OpenCode's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.

What is OpenCode?

OpenCode runs in the terminal and can inspect files, propose edits, run commands and follow an approval workflow. Because it is provider-agnostic, you choose which model endpoint supplies the reasoning. This keeps the coding agent itself transparent, but model spend still depends on the provider and context size.

How does pricing work?

The CLI and source are free to run locally. There is no bundled unlimited model subscription: connect an OpenAI-compatible endpoint, local runtime or another provider and budget that usage separately. Aider and Cline are similar bring-your-own-key alternatives.

How does OpenCode compare with other tools in AI Pair Programmers?

OpenCode is listed in the AI Pair Programmers category, alongside 3 other tools we track here. 3 of those 3 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.

ToolPricing modelKey pricing on filePrice checked
OpenCodeOpen sourceFree to run locally or self-host from the project source; hosted, support and enterprise tiers may be sold separately (data as of Nov 21, 2026)Nov 21, 2026
ClineOpen sourceFree and open source for individual developers; you pay only for AI inference at usage rates, either BYOK or through Cline as the provider; Enterprise is custom (data as of Nov 20, 2026)Nov 20, 2026
Roo CodeOpen sourceThe VS Code extension is open source and free, with no subscription; you supply your own model API key and pay token costs directly (data as of Nov 21, 2026)Nov 21, 2026
AiderOpen sourceFree and open source CLI; you pay only the LLM API you connect (BYOK). 44K GitHub stars and 6.8M installs (data as of Nov 20, 2026)Nov 20, 2026

4 of these 4 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.

Full pricing breakdown

OpenCode's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.

Open source does not always mean every hosted version is free.

Key pricing: Free to run locally or self-host from the project source; hosted, support and enterprise tiers may be sold separately (data as of Nov 21, 2026)

Estimate your monthly bill with our calculator →Or build a full stack around your budget →

Pricing Guides & Comparisons

Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.

⭐ Rate this tool

How would you rate this tool?

🚀 Never Miss a New AI Coding Tool

Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.

Tool Information

  • Official Websiteopencode.ai
  • CategoryAI Pair Programmers
  • PricingOpen Source
  • Price checkedNov 21, 2026

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates