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.
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.”
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 tier
Free tier: Free app with free models (daily limit)
Job in a stack
Coding help, open-source coding agent
Cheapest paid plan
Go, $10/mo (per month)
Price checked
2026-11-11, verified
What OpenCode costs
Plan
Price
Billing
Key limits
Free
Free
free, open source (MIT)
Terminal, desktop and IDE agent; free models with a daily request limit; any provider, subscription login or local model
Go
$10/mo
per month
Curated open-weight coding models with 5-hour, weekly and monthly allowances; top-up credit optional
Go Plus
$40/mo
per month
Higher allowances on the same models
Go Teams
$20/mo
per member, per month
Each member gets their own allowance
From opencode.ai/go, checked 2026-11-11, verified. Prices are before tax and vendors change them often.
From $15/mo (per user, per month; AI usage billed separately), free tier first.
Open-source AI coding agent for VS Code, JetBrains and the terminal that works with 500+ models, including free and local ones. Best for developers who want a free, open-source agent and to pick their own model, from free and local models to their own API keys.
A coding agent that is free because it shows ads: use it in the terminal, a desktop app that runs agents in parallel, the browser (to build and ship full-stack apps) or on your GitHub repos, with no card and no API key. Best for students, hobbyists and anyone who wants a capable coding or app-building agent without paying a subscription and is fine seeing sponsored messages.
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.