Listed in Coding assistants

OpenCode

Free, open-source AI coding agent for the terminal, a desktop app and your IDE, with free models built in or any model you already pay for. Pricing, the evidence and the alternatives, checked Nov 2026.

Source on GitHub under MIT, with 227,787 stars. Last commit 2026-11-18, so it's actively maintained. Repo checked 2026-11-18.

At a glance

CH 293Coding helpFree tier
Open-source coding agent

Free, open-source AI coding agent for the terminal, a desktop app and your IDE, with free models built in or any model you already pay for.

Best for
Developers who want a Claude Code-style agent without being locked to one AI company, using free models, a ChatGPT or Copilot login, their own API keys or local models.
Red flags
The built-in free models have a daily request limit, and your code is stored when you use them (OpenCode says it stores nothing with other providers); other providers bill you separately; it's terminal-first, so beginners may find the desktop app or IDE extension easier; the cheap Go plan only covers open-weight models, with 5-hour, weekly and monthly usage caps.
Price
$0 with these limitsFree app and free models with a daily request limit; or bring your own provider, subscription or local model
Opening line: “Read this repo, explain how a request flows from the router to the database, then add input validation to the signup endpoint with a test.”
Visit site

Is OpenCode free?

Yes, OpenCode has a free plan: free app and free models with a daily request limit; or bring your own provider, subscription or local model. Paid plans start at Free (open source, includes free models); OpenCode Go $10/mo for higher limits on open-weight models; Go Plus $40/mo.

The catch: The built-in free models have a daily request limit, and your code is stored when you use them (OpenCode says it stores nothing with other providers); other providers bill you separately; it's terminal-first, so beginners may find the desktop app or IDE extension easier; the cheap Go plan only covers open-weight models, with 5-hour, weekly and monthly usage caps.

Our take on OpenCode

OpenCode: Free, open-source AI coding agent for the terminal, a desktop app and your IDE, with free models built in or any model you already pay for. Best for developers who want a Claude Code-style agent without being locked to one AI company, using free models, a ChatGPT or Copilot login, their own API keys or local models. Watch out for: the built-in free models have a daily request limit, and your code is stored when you use them (OpenCode says it stores nothing with other providers); other providers bill you separately; it's terminal-first, so beginners may find the desktop app or IDE extension easier; the cheap Go plan only covers open-weight models, with 5-hour, weekly and monthly usage caps. Price: Free (open source, includes free models); OpenCode Go $10/mo for higher limits on open-weight models; Go Plus $40/mo (free tier, checked Nov 2026).

Note: From Anomaly (the team formerly known as SST), MIT licensed, with about 224,000 GitHub stars and 950 contributors; OpenCode says it is used by over 16M developers a month. Runs as a terminal UI, a desktop app and an IDE extension on Mac, Windows and Linux, with multiple agent sessions in parallel on the same project. Works with 75+ model providers through Models.dev, including local models, and you can log in with a GitHub Copilot or ChatGPT Plus/Pro account to use those subscriptions. OpenCode Go ($10/mo; Go Plus $40/mo; Go Teams $20 per member) is an optional subscription for curated open-weight models such as Kimi, GLM, DeepSeek and MiMo, with allowances counted over 5-hour, weekly and monthly windows; when you hit a Go limit you can keep using the free models or top up credit.

Free tierFree tier: Free app with free models (daily limit)
Job in a stackCoding help, open-source coding agent
Cheapest paid planGo, $10/mo (per month)
Price checked2026-11-11, verified

What OpenCode costs

PlanPriceBillingKey limits
FreeFreefree, open source (MIT)Terminal, desktop and IDE agent; free models with a daily request limit; any provider, subscription login or local model
Go$10/moper monthCurated open-weight coding models with 5-hour, weekly and monthly allowances; top-up credit optional
Go Plus$40/moper monthHigher allowances on the same models
Go Teams$20/moper member, per monthEach member gets their own allowance

From opencode.ai/go, checked 2026-11-11, verified. Prices are before tax and vendors change them often.

What outside sources say

TypeSourceResultDate
adoptionGitHub stars227,787 stars2026-11-18

Our scores: quality 4.2/5, ease 3.6/5, value 5/5 ($2.38 per quality point). Editorial start 4.2/3.6; benchmark adjustment +0, rating adjustment +0. How we rank.

Where OpenCode shows up

Compare workflows: AI coding agents compared.

Related: Cursor alternatives · GitHub Copilot alternatives · Claude Code alternatives.

If OpenCode isn’t the one

Questions people ask

Is OpenCode free?

Yes, OpenCode has a free plan: free app and free models with a daily request limit; or bring your own provider, subscription or local model. Paid plans start at Free (open source, includes free models); OpenCode Go $10/mo for higher limits on open-weight models; Go Plus $40/mo. Checked 2026-11-11.

What's the catch with OpenCode?

The built-in free models have a daily request limit, and your code is stored when you use them (OpenCode says it stores nothing with other providers); other providers bill you separately; it's terminal-first, so beginners may find the desktop app or IDE extension easier; the cheap Go plan only covers open-weight models, with 5-hour, weekly and monthly usage caps.

What is the best free alternative to OpenCode?

Kilo Code, free plan: free extension; pay only for the models you use, or use free and local models. Open-source AI coding agent for VS Code, JetBrains and the terminal that works with 500+ models, including free and local ones.

What is OpenCode best for?

Developers who want a Claude Code-style agent without being locked to one AI company, using free models, a ChatGPT or Copilot login, their own API keys or local models.

What are the best OpenCode alternatives?

Kilo Code, Freebuff, Claude Code, OpenAI Codex.