Coding assistants
OpenCode
Made by OpenCode
A terminal-first open-source coding agent — fast, direct, bring your own model key.
What it is
OpenCode does the same job as an editor plugin but lives in the terminal, which makes it quicker and less chatty. You tell it what to change, it changes it, you review.
It is free and open source. The optional Zen gateway is a pay-as-you-go way to reach hosted models without setting up accounts with each provider.
Reach for it if you are comfortable at a command line and want batch changes across many files rather than a conversation about one.
Published price
- OpenCodeOpen source, bring your own model key$0
- Zen gatewayStarts with a $20 balancePay as you go, no subscription
- Zen — Claude Opus 4.5$5.00 in / $25.00 out per million tokens
- Zen — Claude Haiku 4.5$1.00 in / $5.00 out per million tokens
Source: OpenCode Zen pricing · Last checked 17 September 2026
Benchmarks
The published figures for OpenCode, copied exactly as their sources give them and checked 17 September 2026. Each one names the test, who ran it and when, and says when the number comes from the maker rather than an independent tester.
- Terminal-Bench 2.051.7% — 66th place
share of real command-line tasks completed unaided · tested: OpenCode driving Claude Opus 4.5
Terminal Trove comparison · checked September 2026 · independent
Third-party comparison site, not the official leaderboard.
OpenCode publishes no score of its own; the one public figure tests it as a harness driving somebody else's model.
Figures copied from the sources above, checked 17 September 2026.
Where to read today's numbers
Scores move, so these are the boards that keep them current.
- SWE-bench leaderboardIndependent
Measures whether an agent can fix real GitHub issues. The standard reference for coding agents.
- Artificial AnalysisIndependent
Independent testing of quality, speed and price per million tokens across hosted models.
How it performs, in my experience
A terminal-first coding agent — fast and direct, less hand-holding than an editor plugin.
Free value
5 / 5
How much you get without paying.
Performance
4 / 5
How well it does its main job.
Range of uses
3 / 5
How many different jobs it suits.
Free and fast if you're comfortable in a terminal. These scores are my own judgment, not a measurement — the benchmark links above are the independent version.
Prompting it from this site
Can't be run from here
A terminal coding agent — it works on a repository, not a single prompt.
Use it for
- Command-line work
- Batch changes across many files
Running it yourself
The software is local, the model isn't
OpenCode is an open-source terminal agent: the program itself runs entirely on your machine, and you choose which model it talks to.
What you need first
- Node.js 18+ (or use the standalone installer)
- A model key, or a local model server such as Ollama
Step by step
1.Install it
npm install -g opencode-ai2.Or use the one-line installer
curl -fsSL https://opencode.ai/install | bash3.Start it in the folder you want it to work in
cd my-project && opencode4.Sign in to whichever model provider you're using
opencode auth login
It edits real files in the folder you launch it from — work in a copy or a clean branch until you trust it.
