Is OpenCode free? Yes — the tool itself costs nothing. OpenCode is an open-source coding agent released under the MIT licence, and you can download it, install it, and start coding with its built-in free models without creating an account or entering a card number. That is the short answer, and it is genuinely good news for anyone who has been priced out of the $20-a-month coding assistants.
But “free” has a shape here. The agent is free; the intelligence behind it is not always free. OpenCode ships with a rotating set of free models you can use at $0, and it also lets you connect your own provider keys or subscriptions — including ChatGPT Plus and GitHub Copilot — or pay for OpenCode’s own model subscription, Go, from $10 a month. This guide covers exactly what $0 gets you, where the free tier stops, and when paying makes sense, using figures checked on OpenCode’s homepage and its official Go page in November 2026.

Table of Contents
The Short Answer: Yes — With One Catch
OpenCode is free in the strongest sense of the word for software: the code is open source under the MIT licence, so there is no licence fee, no trial clock, and no feature paywall on the application itself. The project’s GitHub repository carries more than 220,000 stars and over 1,000 contributors, and OpenCode says more than 22 million developers use it every month. You can install it on macOS, Windows, or Linux, run it in the terminal, in a desktop app, or from your phone, and nobody at OpenCode will ever ask you to pay for the app.
The catch is the same one that applies to every open-source AI agent: the app does not come with its own brain. Every prompt has to be answered by a language model somewhere, and that model has to be paid for by someone. OpenCode solves this in three ways: it bundles a set of free models that cost you nothing; it lets you bring your own access — an API key from any of more than 200 supported providers, a local model on your own machine, or a subscription you already pay for; and it sells its own model access through OpenCode Go.
So the honest answer is: OpenCode the software is 100% free, and OpenCode with a model can stay free too, as long as you are happy with the free models or already have model access of your own.
That distinction is where most “is it free?” questions go wrong: a tool can be free software and still produce a bill. OpenCode sits in the first camp, and once you see the three routes to model access clearly, the pricing page stops looking confusing.
What You Actually Get for $0
Starting with nothing but the free tier, here is what is on the table. First, the full agent: a terminal interface that reads your repository, edits files, runs commands, and loops on a task until it is done, plus a desktop app, a mobile app for steering sessions from your phone, and a web interface you reach with the opencode pair command. There is no cut-down “community edition” with the good parts removed. The build agent, which does the work, and the plan agent, which explores a codebase read-only and asks permission before running commands, are both included, and you switch between them with the Tab key.
Second, the free models. OpenCode comes with a set of free models that work with no account at all — you install the app and start typing. These models are offered for a limited time each, and the exact set changes over time, so treat any specific model name you see quoted in a review as a snapshot rather than a promise. You can do real work — drafting a function, explaining a file, fixing a failing test — without spending anything, which is enough to judge whether the agent fits your habits before you connect anything paid.
Third, the full extension system: MCP servers for tools you already use, such as GitHub, Linear, Figma, Sentry, Notion, Slack, Supabase, and Stripe; plugins for hooking into OpenCode’s behaviour; and skills for teaching agents your own workflows. None of that is held back for paying users. Fourth, local models: run a model on your own machine and your code never has to leave your computer — your only cost is your own hardware and electricity.
What $0 does not include is unlimited use of the best models. The free models carry a daily request limit, and they are not the strongest models in the catalogue — the frontier models from the big labs are reached through your own key, your own subscription, or Go. That is a fair shape for a free tier: it is a working tool, not a demo, and the ceiling is on volume and model strength rather than on features.
How to Use OpenCode Free, Step by Step
Getting started takes about ten minutes, and you can do the whole thing without an account. Follow the official OpenCode documentation if anything below has changed, since install commands and model lists move faster than any guide.
Step 1: install OpenCode. On macOS or Linux, the quickest route is the install script from the docs: run curl -fsSL https://opencode.ai/v2/install | bash in your terminal. If you prefer a package manager, install it with npm using npm i -g @opencode/cli@latest, or with Homebrew using brew install anomalyco/tap/opencode-v2. Windows users can download a standalone binary from the docs page. Confirm it worked by running opencode --version.
Step 2: open it in a project. Change into a project folder and run opencode. The terminal interface opens on that repository, and you can immediately type a request in plain language, for example “explain how authentication works in this codebase” or “add a test for the login function”. Start with the plan agent (press Tab to switch to it) when you are exploring unfamiliar code, because it reads only and asks before running anything.
Step 3: try the free models first. With no configuration at all, OpenCode offers its free models. Pick one and run a real task from your own work, not a demo snippet: fix a small bug, rename something across files, or write a test for a function you know well. Judge it on whether the change is right, whether it ran the tests, and whether it asked before doing anything risky. That one session tells you more than a week of reading reviews.
Step 4: watch the daily limit. The free models have a daily request limit, and OpenCode does not publish the exact number — its Go page states only that free models have a daily request limit. When you hit it, the free models stop for the day. Note how far you got: if a normal afternoon of work fits inside the free allowance, you may never need to pay. If you hit the wall by mid-morning, you need one of the routes in the next step.
Step 5: connect your own model access when free runs out. Inside the terminal interface, the /connect command links a provider directly. You can add an API key from any supported provider, sign in with a ChatGPT Plus or Pro plan or GitHub Copilot, or connect a local model. If you want a free key to plug in, our Groq free plan guide explains a genuinely free inference option with per-model limits, which pairs naturally with an agent that lets you bring your own provider. Alternatively, subscribe to OpenCode Go, covered in the next section.
Step 6: set your guardrails before real work. Before pointing the build agent at anything important, make sure your repository is committed or backed up, so a bad edit is one command from being undone, and check which model your prompts are going to. The build agent has full access by design, so reviewing its diff before accepting it is the single most valuable habit in using any coding agent.
OpenCode Pricing in 2026: Free vs Go vs Go Plus
OpenCode’s pricing has exactly three tiers that matter to an individual, plus a team option and a pay-as-you-go route. All figures below were read on OpenCode’s official Go page in November 2026.
| Plan | Price | What you get | The limit |
|---|---|---|---|
| Free | $0 | The full open-source agent, plus a rotating set of free models with no account needed | Daily request limit on the free models; model set changes over time |
| Go | $10 per month | Curated, affordable models tested for agentic coding, with generous limits and reliable access | Monthly usage allowance per model, counted over five-hour, weekly, and monthly windows |
| Go Plus | $40 per month | Everything in Go, with higher limits and fewer interruptions, for larger and more demanding projects | Same model list as Go, with higher per-model allowances |
| Go Teams | Check the Go page | Go limits for every member of a shared workspace | Per-member allowances; priced per workspace |
| Console pay-as-you-go | You add credit to a balance | Pay-as-you-go model access beyond Go, used when you switch on Extra Usage after hitting a Go limit | Your prepaid balance; requests draw from credit instead of stopping |

Go is the plan most people will consider first. It costs $10 a month for a single-member workspace and buys access to a curated list of models that OpenCode has tested for agentic coding — mostly open-weight models, plus a small number of others such as Claude Haiku. The important detail is that Go’s limits are set per model as a monthly dollar allowance, not as one shared pool: each model gets its own allowance, and only a slice of it is usable in any five-hour window (20%) or any week (50%). When you reach a Go limit on a model, you can keep working on the free models, or switch on Extra Usage and pay from a prepaid credit balance.
Go Plus costs $40 a month and keeps the same model list with higher allowances on each model.
Two details from the OpenCode Go page are worth knowing before you subscribe. First, Go is explicitly optional: OpenCode’s own wording is that you do not need it to use OpenCode. Second, you can cancel any time from the Go page, and your plan stays active until the end of the period you paid for; refunds are possible if you ask within 14 days of the charge and have used almost none of that period’s allowance. Go also works beyond OpenCode itself, with other coding agents such as Claude Code, Codex, Hermes, and Pi validated.
One figure I deliberately do not quote here is the exact per-model dollar allowance on Go. OpenCode’s Go page lists the models but the allowance figures did not render as readable numbers when I checked it, and the numbers quoted by third-party trackers change as OpenCode adjusts the list. Check the live Go page for the current figure on the model you actually plan to use, rather than budgeting from a number printed in a guide.
The Limits of the Free Tier
The free tier’s limits are narrow and specific, and naming them plainly is more useful than a vague warning. The first is the daily request limit on the free models. OpenCode confirms the limit exists but no longer publishes the number, so you cannot plan around a figure — you can only test it against your own working day. Heavy users running long agent sessions will hit it; light users and students doing a few focused tasks a day may never notice it.

The second limit is the model set itself. The free models are a rotating group offered for a limited time each, which means the model you like this month may not be free next month, and the strongest models in the catalogue are not in the free set at all. If your work depends on one particular frontier model, free OpenCode is not the way to reach it: that model is reached through your own API key, your own subscription, or pay-as-you-go credit. Planning a project around a specific free model is a mistake, because the set is designed to change.
The third limit is data handling, and it is the one people most often miss. Training and retention terms vary by model, and some free models may use your data for training during the free period. OpenCode’s own Go FAQ states that, by default, Go blocks paid endpoints that train on your requests, and an owner or admin can change that setting — but that protection applies to Go’s paid endpoints, so read the privacy details for each free model before sending it anything sensitive. Never paste secrets, credentials, or proprietary code into a free model you have not checked.
The fourth limit is support and reliability. Free models are a courtesy, not a service level: no uptime promise, no support channel at $0. If a free model is slow, unavailable, or removed, your remedy is to switch models or connect your own key. That is fine for learning and side projects, and the wrong foundation for work with a deadline.
Finally, remember that free tiers are marketing decisions, and they change. Two guides on this site document exactly that pattern: Tabnine’s free plan ended in April 2025, and Gitpod’s free plan is gone after the product became Ona. OpenCode’s free tier is real today, and its open-source licence means the app itself cannot be taken away from you — but the free models are a service OpenCode provides, and services can change. The durable part of the free offer is the app; the models are the part to re-check.
OpenCode vs the Paid Alternatives
The fair comparison is not OpenCode versus one rival but OpenCode versus the different ways of paying for a coding agent. Claude Code is closest in shape — a terminal agent that reads a repo, edits files, and runs tests — but it needs a paid Claude plan from $20 a month for Pro and runs Claude models only. GitHub Copilot Pro costs $10 a month, the same as OpenCode Go. The table below compares the routes, not just the brands.
| Option | Cost to start | Open source | Model choice | Best for |
|---|---|---|---|---|
| OpenCode + free models | $0 | Yes, MIT | Rotating free set | Learning, side projects, trying agents |
| OpenCode + Go | $10/month | Yes, MIT | Curated list, per-model allowances | Daily coding on a budget |
| OpenCode + your own key | $0 + provider bill | Yes, MIT | Any of 200+ providers, or local models | Developers who already pay a provider |
| Claude Code | $20/month (Pro) | No | Claude only | Teams standardised on Claude |
| GitHub Copilot Pro | $10/month | No | Copilot’s models | Developers living in their editor |
Pros of staying free with OpenCode. The app costs nothing and is open source, so you can read exactly what it does before it touches your code, and you can keep using it even if every paid route changes. The free models let you do real work with no account and no card. Model freedom is the deeper advantage: you are not locked to one lab, you can send routine tasks to a cheap model and hard tasks to a strong one, and you can run local models for code that cannot leave your machine. The desktop, mobile, and web apps mean the same agent follows you from desk to phone.
Cons of staying free. The daily request limit will interrupt a heavy working day, and the free models are not the strongest available, so hard tasks may need more retries or a better model. The rotating free set means you cannot standardise on one free model. There is no support and no uptime promise at $0, and the data-handling terms on free models need checking model by model. Finally, OpenCode asks more of you than a bundled subscription does: you choose the model, watch the limit, and decide when to pay, where Claude Code or Copilot makes those decisions for you inside one monthly price.
Who Should Stay Free — and Who Should Pay
Stay free if you are learning, working on side projects, or evaluating whether a terminal agent fits your habits. Stay free if you already hold a ChatGPT Plus, GitHub Copilot, or provider API key, because OpenCode adds the agent around access you already pay for. Stay free if your coding sessions are short and focused — a few tasks a day fit comfortably inside a daily request limit — and stay free if you run local models, where the only cost is your own machine.
Pay $10 a month for Go when the free models keep running out before your workday does, or when you want steadier access to the curated coding models without managing keys and per-token bills yourself. Go is the right first paid step: cheap, cancellable any time, and stocked with models OpenCode has tested for agent work. Pay $40 for Go Plus when you are coding with the agent all day on large projects and you keep hitting Go’s per-model allowances — the extra money buys headroom on the same models, not different ones. Use pay-as-you-go credit when your usage is spiky: a quiet week costs nothing extra, and a heavy week draws from your balance instead of stopping.
Consider a different tool instead when you want one subscription that includes a frontier model with no decisions to make. If your team has standardised on Claude and you want Claude Code’s workflow with no model choices, the $20 Claude Pro route is simpler than assembling your own stack. If you live in VS Code and want the agent inside the editor with completions as you type, Copilot Pro at $10 is the more direct purchase. OpenCode wins on freedom and price; it does not win on “decide nothing and just code”.
Frequently Asked Questions
Is OpenCode really free?
Yes. OpenCode is an open-source coding agent under the MIT licence, and the app itself is free to download and use. It also includes a set of free models you can use with no account. You only pay when you choose to: for OpenCode Go ($10 or $40 a month), for pay-as-you-go credit, or for a provider key or subscription you connect yourself.
Is OpenCode free forever?
Yes, the app is: its MIT licence means nobody can start charging you for the software you already have. The free models are a separate service, and like any free service they can change — the set rotates, and each model is offered for a limited time. If the free models ever disappeared, you could still use the app with your own key, a subscription login, or local models.
What is the OpenCode free model limit?
OpenCode states that its free models have a daily request limit, but it does not publish the exact number. Earlier published figures have been removed from its pages, so do not plan around a number quoted in an older article. The practical test is your own working day: install it, use the free models on real tasks, and see where the limit lands for you.
Do I need a credit card to use OpenCode free?
No. The free models work with no account, and installing and using the app requires no payment details. You only enter payment information if you subscribe to Go or add pay-as-you-go credit, and both of those are optional.
Is OpenCode better than Claude Code if it is free?
“Better” depends on what you value. OpenCode is free, open source, and lets you use models from more than 200 providers or run models locally, which Claude Code does not offer. Claude Code runs Claude models only and needs a paid Claude plan from $20 a month, but it gives you a frontier model inside one subscription with no model decisions to make. If model freedom and $0 matter most, OpenCode wins. If you want the strongest Claude model with the least setup, Claude Code is the simpler choice.
The takeaway: is OpenCode free? Yes — free as software, free to try with real models, and free to keep using for light, everyday work. The honest boundary is the model, not the app: the free models carry a daily request limit and a rotating set, and the strongest models cost money wherever you buy them. Start free, measure one real working day against the limit, and let that decide whether Go’s $10 a month is worth it. If the free tier covers your day, you have a capable coding agent for $0 — and if it does not, you will know exactly what you are paying for.