# OpenCode

> OpenCode: Best for builders who want a free, open-source coding agent that works with whatever model or subscription they already have.
> Pricing: Free and open source, with free models included; you pay any model provider you connect. Optional OpenCode Go model subscription: Go $10/mo, Go Plus $40/mo, Go Teams $20/member/mo. OpenCode Models are pay-as-you-go from a $20 balance. ([source](https://opencode.ai), verified 2026-11-03).

- Canonical page: https://usewhichtool.com/tools/opencode
- Last verified: 2026-11-03
- Publisher: Use Which Tool (https://usewhichtool.com), run by Sameer Chowdhry
- Cite as: Use Which Tool, "OpenCode", https://usewhichtool.com/tools/opencode (last verified 2026-11-03)


## Verdict

Best for builders who want a free, open-source coding agent that works with whatever model or subscription they already have.

Per opencode.ai, OpenCode is MIT-licensed, free to use, ships with free models and connects to most model providers, with an optional low-cost model subscription.

## Pricing

- Summary: Free and open source, with free models included; you pay any model provider you connect. Optional OpenCode Go model subscription: Go $10/mo, Go Plus $40/mo, Go Teams $20/member/mo. OpenCode Models are pay-as-you-go from a $20 balance.
- Price type: Open source
- Official source: https://opencode.ai
- Verified: 2026-11-03
- Official site: https://opencode.ai

## Use cases

- open-source coding agent in the terminal, desktop or IDE
- use any model provider, including local models
- run several agent sessions in parallel on one project

## Strengths

- Open source under the MIT License and free to use
- Works with 75+ model providers through Models.dev, including local models, and can sign in with a ChatGPT Plus/Pro or GitHub Copilot account
- Comes with a set of free models
- Terminal interface, desktop app and IDE extension

## Limitations

- Paid model providers you connect bill separately
- On Windows, OpenCode recommends running it under WSL
- OpenCode 1 and OpenCode 2 share the opencode command and can't be installed side by side by default
- OpenCode says your data is stored when you use its free models

## Categories

- [Coding](https://usewhichtool.com/category/coding)
- [Agents](https://usewhichtool.com/category/agents)

## Alternatives (AI coding tools)

| Tool | Price type | Pricing | Source | Verified |
| --- | --- | --- | --- | --- |
| [Cursor](https://usewhichtool.com/tools/cursor) | Free tier | Free tier; paid tiers listed at $8, $30, $100 and $200/month; Teams from $30/user/month; Enterprise custom. | [official](https://cursor.com/pricing) | 2026-11-03 |
| [GitHub Copilot](https://usewhichtool.com/tools/github-copilot) | Free tier | Free; Pro $10/mo; Pro+ $39/mo; Max $100/mo. Each plan includes monthly GitHub AI Credits for chat and agents (Pro $15, Pro+ $70, Max $200 in credits); code completions stay unlimited on paid plans. | [official](https://github.com/features/copilot/plans) | 2026-11-03 |
| [Claude Code](https://usewhichtool.com/tools/claude-code) | Paid | Included with Claude Pro ($17/mo annual, $20 monthly), Max ($100/mo, 5x Pro usage) and Ultra ($200/mo, 10x Pro weekly usage, no 5-hour limit for verified accounts); API usage billed separately. | [official](https://claude.com/pricing) | 2026-11-03 |
| [Devin (incl. Devin Desktop, formerly Windsurf)](https://usewhichtool.com/tools/devin) | Free tier | Free; Pro $20/mo; Max $200/mo; Teams $80/mo + $40/mo per full member; Enterprise custom. | [official](https://devin.ai/pricing) | 2026-11-03 |
| [Cline](https://usewhichtool.com/tools/cline) | Open source | Free open-source extension; pay only for AI inference (BYOK or Cline provider); optional ClinePass subscription for open-weight models listed at $9.99/mo; Enterprise custom. | [official](https://cline.bot/pricing) | 2026-11-03 |
| [Aider](https://usewhichtool.com/tools/aider) | Open source | Free and open source; you pay your LLM provider. | [official](https://aider.chat/docs/faq.html) | 2026-11-03 |
| [Zed](https://usewhichtool.com/tools/zed) | Free tier | Personal $0; Pro $10/mo (incl. $5 tokens, then usage billed at API list price plus 10%; 14-day Pro trial); Business $30/seat/mo. | [official](https://zed.dev/pricing) | 2026-11-03 |
| [OpenAI Codex](https://usewhichtool.com/tools/openai-codex) | Free tier | Free plan includes Codex with lower limits; Go $8/mo; Plus $20/mo; Pro $100, $200 or $500/mo; Business $20/user/mo (2+ users, annual; $25 monthly); Enterprise and Edu via sales. Codex shares one usage allowance with ChatGPT Work. | [official](https://learn.chatgpt.com/docs/pricing) | 2026-11-03 |
| [Factory (Droid)](https://usewhichtool.com/tools/factory) | Paid | Pro $20/mo; Plus $100/mo (~5x Pro usage); Max $200/mo (~10x Pro usage); Teams $60/mo per team plus $40/mo per seat, up to 10 seats; Business and Enterprise custom. Extra Usage is prepaid credit with a $10 minimum. | [official](https://factory.com/pricing) | 2026-11-03 |
| [Google Antigravity](https://usewhichtool.com/tools/google-antigravity) | Freemium | Individual $0 (basic weekly rate limits); more rate limits and a flexible AI credit pool with Google AI Pro ($19.99/mo) or Google AI Ultra (from $99.99/mo); Business via Google Cloud, or API access with consumption-based pricing. | [official](https://antigravity.google/pricing) | 2026-11-03 |
| [Kiro](https://usewhichtool.com/tools/kiro) | Free tier | Free $0 (50 credits; open-weight models and Claude Sonnet 4.5, with limits); Pro $20, Pro+ $40, Pro Max $100, Power $200 per user/mo (1,000 / 2,000 / 5,000 / 10,000 credits); add-on credits $0.04 each. First upgrade from Free: rest of that month free plus 500 trial credits. | [official](https://kiro.dev/pricing/) | 2026-11-03 |
| [Firebase Studio](https://usewhichtool.com/tools/firebase-studio) | Free tier | Firebase has a no-cost tier; usage-based (Blaze) beyond free quotas; eligible new users may get $300 Google Cloud credit. | [official](https://firebase.google.com/pricing) | 2026-11-03 |
| [CodeRabbit](https://usewhichtool.com/tools/coderabbit) | Paid | Essentials $30, Team $60, Advanced $90 per developer/mo billed monthly ($24/$48/$72 billed annually). Free for public repositories; billed only for developers who create pull requests. | [official](https://www.coderabbit.ai/pricing) | 2026-11-03 |

## Head-to-head

- [OpenCode vs Claude Code](https://usewhichtool.com/compare/opencode-vs-claude-code)
- [OpenCode vs Cursor](https://usewhichtool.com/compare/opencode-vs-cursor)

## Cost by plan

| Price | What's included | Usage unit | When limits reset | Past the limit | Can you cap spend? |
| --- | --- | --- | --- | --- | --- |
| $0 | Free models included | Your model provider's billing, or an OpenCode balance | Not published | OpenCode Models are pay-as-you-go from a $20 balance. | Not published |
| $10/mo | Model subscription | Your model provider's billing, or an OpenCode balance | Not published | OpenCode Models are pay-as-you-go from a $20 balance. | Not published |
| $40/mo | Model subscription | Your model provider's billing, or an OpenCode balance | Not published | OpenCode Models are pay-as-you-go from a $20 balance. | Not published |
| $20/member/mo | Model subscription | Your model provider's billing, or an OpenCode balance | Not published | OpenCode Models are pay-as-you-go from a $20 balance. | Not published |
| Pay as you go | From a $20 balance | Your model provider's billing, or an OpenCode balance | Not published | OpenCode Models are pay-as-you-go from a $20 balance. | Not published |

Sources: [OpenCode: official pricing page](https://opencode.ai) (checked 2026-11-03). "Not published" means the value was not found on these official pages.

## Questions

### Is OpenCode free?

It has an open-source option. Free and open source, with free models included; you pay any model provider you connect. Optional OpenCode Go model subscription: Go $10/mo, Go Plus $40/mo, Go Teams $20/member/mo. OpenCode Models are pay-as-you-go from a $20 balance. (official pricing page, checked 2026-11-03)

### How much does OpenCode cost?

Free and open source, with free models included; you pay any model provider you connect. Optional OpenCode Go model subscription: Go $10/mo, Go Plus $40/mo, Go Teams $20/member/mo. OpenCode Models are pay-as-you-go from a $20 balance. (from opencode.ai, checked 2026-11-03).

### What is OpenCode used for?

Listed use cases: open-source coding agent in the terminal, desktop or IDE; use any model provider, including local models; run several agent sessions in parallel on one project.

### What are the best alternatives to OpenCode?

Other AI coding tools in this directory: Cursor, GitHub Copilot, Claude Code, Devin (incl. Devin Desktop, formerly Windsurf). We list them in data order, not ranked.

### Did you test OpenCode?

No. Verdicts are based on each vendor's public docs and pricing pages, not hands-on testing, unless a page says otherwise.

---

Use Which Tool builds verdicts from public docs and official pricing pages, not hands-on testing. No paid rankings. Free to read, quote and reuse with attribution. Please cite "Use Which Tool" and link to https://usewhichtool.com (or the tool's page). Prices change: show the verified date and link the official source.
More: https://usewhichtool.com/llms.txt · https://usewhichtool.com/data/tools.json · https://usewhichtool.com/sitemap.xml
