opencode
Open-source AI coding agent that runs in your terminal, IDE, or desktop app and connects to 75+ LLM providers.
OpenCode is the strongest answer for developers who want one agent and any model behind it, and the subscription reuse with a GitHub Copilot or ChatGPT Plus/Pro account is a genuinely practical cost argument rather than a marketing line. The recent changelog shows the project cares about the unglamorous parts — Azure sign-in through Entra ID without an API key, Cloudflare AI Gateway routing for Anthropic models, and the Astra system prompt for GPT-6. The bill comes due in setup: provider config, MCP servers, and a TUI-first mindset are on you. Pick it for flexibility and the stated no-code-storage privacy stance; pick Cursor or GitHub Copilot if you would rather someone else make those
Verified 5d ago · liveness 84/100 · cite: rightaichoice.com/tools/opencode
- Terminal-first developers who want an AI coding agent without leaving the shell
- Developers already paying for GitHub Copilot or ChatGPT Plus/Pro who want to reuse that subscription
- Teams that need several agents on the same repo in parallel plus shareable session links
- Privacy-sensitive engineering orgs where code and context must not be stored by the tool
- Non-developers looking for a no-code or chat-only coding assistant
- Beginners who want a GUI assistant that works with zero provider or MCP configuration
- Buyers who require a vendor support contract and a fully managed hosted product
We scan live Reddit threads, YouTube comments, X posts, G2 reviews and other communities — and hand you an honest verdict in under a minute.
- Honest verdict, not marketing
- Real pros & cons from real users
- Attributed quotes with receipts
3 free scans · no card needed
Skip OpenCode if you want an agent that ships with opinionated defaults and a managed editor experience — Cursor or GitHub Copilot make those decisions for you, while OpenCode makes you pick the provider, wire the MCP servers, and live in a TUI.
Free models are bundled, but any premium model you connect bills through your own provider account or API key, so heavy agent loops can burn through usage fast
The agent itself is free and open source, and you can spend an existing GitHub Copilot or ChatGPT Plus/Pro subscription rather than buying a new seat — that is cheaper than a standalone Cursor or GitHub Copilot Business seat for an individual. Zen is metered pay-as-you-go on top. The real budget line is whichever provider key you point it at, so total cost tracks your model usage, not a flat per-seat fee.
In short
opencode — Open-source AI coding agent that runs in your terminal, IDE, or desktop app and connects to 75+ LLM providers. Best for Terminal-first developers who want an AI coding agent without leaving the shell, Developers already paying for GitHub Copilot or ChatGPT Plus/Pro who want to reuse that subscription, Teams that need several agents on the same repo in parallel plus shareable session links. Free to use.
What's new in opencode
Checked 5 days agoAcross the latest 5 updates: 1 feature update and 4 changelog entries.
OpenCode v1.18.34 ships session identity headers and macOS signing fixes
Namespaced session and parent-session identity headers are now sent with model requests; macOS binaries are re-signed for macOS 27+ and macOS CLI release binaries are signed with a Developer ID.
OpenCode v1.18.33 adds Cloudflare AI Gateway timeout handling
Cloudflare AI Gateway models now honor provider response and stream timeouts, debug configuration output redacts credentials and sensitive headers, and Gemini thinking defaults and effort options are aligned across model generations.
OpenCode v1.18.32 fixes Bedrock image attachments and Together AI streaming
Bedrock image attachments are now hoisted only for Claude, Nova, and Llama 4 models, and Together AI streaming usage reporting was fixed.
OpenCode v1.18.31 restores ACP session state on resume
ACP session model, effort, mode, and reasoning chunk boundaries are restored when loading, resuming, or forking sessions, and the TUI now shows remote config authentication errors at startup and exits with a failure status.
OpenCode v1.18.30 adds Astra system prompt for GPT-6
An Astra system prompt was added for GPT-6 models, Bedrock DeepSeek model IDs including ARN-based IDs are preserved so they resolve correctly, and the Azure and OpenAI provider SDKs picked up compatibility fixes.
What people actually say about opencode — is it worth it?
We ran a structured research pass across product reviews, community discussions, and post-purchase forum threads to surface the patterns vendors won't publish themselves. Below: the recurring strengths, the hidden costs people mention most, and the cohort that consistently regrets adopting this tool.
88 mentions across 4 sources (Hacker News, YouTube, Product Hunt, Lemmy) · researched Jul 3, 2026.
Average across the 4 sources that answered — each source counts once, not each post.
- +Model-agnostic – works with Claude, OpenAI, Gemini, local, and 75+ providers.
- +Multi-session parallel agents on the same project boost productivity.
- +Native TUI with terminal keybindings feels natural for CLI power users.
- +LSP integration provides real compiler errors, not context guesses.
- +Open source with 160K+ stars – transparent and community-driven.
- −Anthropic banned OpenCode from using their API – reliability risk.
- −Can produce unreliable results on complex NixOS configs.
- −Pricing can't match subsidized rebates from Gemini CLI or Claude Code.
- −No GUI – TUI-only may intimidate beginners.
- −Desktop app still in beta – limited polish.
- • API usage costs from third-party providers can mount quickly without rebates
- • Anthropic ban may force users to buy more expensive alternatives
Viability Score
How well maintained and how widely used is opencode? Built from what the vendor actually publishes (docs, changelog, tutorials, integrations, pricing), whether the site is live, and how much real users discuss it. How we calculate this
Last calculated: October 2026
How we score →Key Features
- Terminal TUI AI coding agent
- Desktop app for macOS, Windows, and Linux (beta)
- IDE extension for VS Code and JetBrains
- Multi-session: run several agents in parallel on the same project
- Share links to any session for reference or debugging
- Model-agnostic: 75+ LLM providers via Models.dev, including local models
- Free models included with the agent
- Log in with GitHub to use a GitHub Copilot account
- Log in with OpenAI to use a ChatGPT Plus or Pro account
- Automatic LSP loading so the model gets real language-server context
- Vendor states it does not store your code or context data
- Zen: handpicked, benchmarked models curated for coding agents
- Plan mode that proposes an implementation before making changes
- AGENTS.md project file generated by /init to capture project structure and patterns
- Image input: drag and drop an image into the terminal to add it to the prompt
About opencode
OpenCode is an open-source AI coding agent that works in three surfaces: a terminal interface, a desktop app, and an IDE extension. You point it at a model and it writes code, explains codebases, and refactors across your project. Its distinguishing bet is model freedom — the homepage states you can use "free models included or connect any model from any provider, including Claude, GPT, Gemini and more," and the docs say any provider reachable through Models.dev works, including local models. Two cost arguments stand out: you can log in with GitHub to spend an existing Copilot account, or with OpenAI to spend a ChatGPT Plus or Pro account, rather than buying a separate seat. It also loads the right LSPs for your project automatically, so the agent reasons over real language-server information. Parallelism is native: multi-session runs several agents on the same repo, and share links hand someone a URL to any session. The vendor states it does not store your code or context data, and cites over 208,000 GitHub stars, 950 contributors, and 16M monthly developers. Recent releases are integrations plumbing — Azure sign-in via Entra ID through the Azure CLI, Cloudflare AI Gateway routing fixes for third-party and Anthropic models, GPT-6 support via an Astra system prompt, and Bedrock reasoning replay fixes. Zen is a separate path: a handpicked, benchmarked model set for coding agents. It is built for developers who already pay for an AI subscription, hold strong model opinions, or work somewhere code cannot leave the building.
Behind the Verdict
OpenCode competes on two axes most coding agents avoid: model neutrality and the surfaces you already use. The homepage is explicit that you get "free models included or connect any model from any provider, including Claude, GPT, Gemini and more," and the docs route everything through Models.dev — which the vendor says covers 75+ LLM providers, local models among them. That matters if you have opinions about which model writes your code and refuse to have them shipped to you in a bundle. The more interesting argument is subscription reuse. You can log in with GitHub to spend a Copilot account, or with OpenAI to spend a ChatGPT Plus or Pro account. If you already pay for either, you are not buying a second seat — you are pointing an agent at a subscription you already own. The Free plan features list both paths alongside free included models. The engineering story is more serious than a prompt wrapper. OpenCode automatically loads the right LSPs for the LLM, so it reasons over real language-server type information instead of guessing from raw text. Multi-session runs several agents on the same project at once, and share links let you hand a teammate a URL to any session. The changelog backs this up with the sort of fixes only a used product ships: Bedrock reasoning responses no longer cache into unreplayable empty messages, Azure providers sign in with Microsoft Entra ID through the Azure CLI, Cloudflare AI Gateway routing was corrected for third-party providers and for Anthropic's dotted model IDs, and session compaction preserves complete recent turns. Subsequent releases added the Astra system prompt for GPT-6 models and limited Anthropic thinking block binding to Claude 5.1+. The privacy stance is blunt and specific: the vendor states OpenCode does not store your code or context data, which is what makes it arguable in environments where shipping source to a third party is off the table. On abandonment risk the project answers with numbers rather than vibes — 208,000+ GitHub stars, 950 contributors, 13,000+ commits, 16M monthly developers. Where it does not fit: the terminal interface has a learning curve, the desktop app is in beta, and managing multiple provider keys is real work. There is no advertised first-month discount any more — the changelog records that OpenCode Go first-month discount messaging and pricing were removed in v1.18.22. If you want polished opinionated defaults and a managed product, Cursor or GitHub Copilot will get you there faster. If you want the agent to be yours, this is the one to beat.
Researching opencode? Get your full AI stack in 60 seconds.
Free, no signup — tell us your goal and get tools matched to your budget & existing stack.
Real-world workflow fit
Concrete scenarios for the personas opencode actually fits — and what changes day-one when you adopt it.
Installs via curl, runs /connect and signs in with OpenAI to reuse the ChatGPT Plus account, then runs /init in the repo so OpenCode writes an AGENTS.md describing the project structure and coding patterns
Outcome: Committed AGENTS.md plus a working agent in the shell, with no second AI subscription purchased
Starts several OpenCode sessions in parallel on the same project with multi-session, points one at the auth service and another at the notes route, and reviews each in Plan mode before switching to Build mode
Outcome: Several workstreams advance at once, and a share link to each session lets a reviewer see the exact reasoning and diffs
Configures OpenCode against a local model provider via Models.dev and signs into Azure through Entra ID using the Azure CLI instead of an API key
Outcome: Agent runs in the terminal against on-premise models, with the vendor stating it does not store code or context data
Use Cases
- Ask the agent to explain an unfamiliar part of a codebase, using @ to fuzzy-search files
- Plan a feature in Plan mode before letting the agent write any code
- Run several agents in parallel on the same repo for a large refactor
- Spend an existing GitHub Copilot or ChatGPT Plus/Pro subscription instead of buying a new one
- Run local models so source code never leaves your machine
- Share a session link so a teammate can debug the same run
- Drop a screenshot or design image into the terminal as a UI reference for the agent
- Automate repetitive code generation and refactoring from the shell
Models Under the Hood
as of 2026-09-22
Limitations
- OpenCode requires you to supply or connect an LLM provider account — API keys for terminal use, or an existing Copilot or ChatGPT Plus/Pro subscription, or a metered Zen key.
- The desktop app is in beta and may have stability issues; the docs recommend WSL for the best Windows experience.
- Setting up and managing multiple provider keys is real work, and the terminal interface has a learning curve for newcomers.
- The advertised first-month OpenCode Go discount was removed in v1.18.22, so pricing messaging you may have seen earlier is out of date.
as of 2026-10-02
Verification history
We have re-verified opencode 7 times since . Each pass re-reads the vendor's own pages and re-checks every listed field against that evidence; passes where nothing had changed are marked as such.
- — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
- — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
- — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
- — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
- — re-checked, vendor evidence unchanged
- — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
Showing the 6 most recent of 7 verification passes.
Free to cite with attribution — this page re-verifies continuously.
12-month cost
Project the real annual outlay, including the implied monthly cost when only an annual tier is published.
Vendor list price only. Add-on usage, seat overages, and contract minimums are surfaced under Hidden costs & gotchas.
Plans compared
For each published opencode tier: who it actually fits, and what it adds vs. the previous tier. Cross-reference the cost calculator above for projected annual outlay.
Free
$0/mo
Ideal for
Individual developers and terminal-first teams who already hold a GitHub Copilot or ChatGPT Plus/Pro subscription, or who want to run local models for privacy-sensitive work
What this tier adds
Starting tier — open-source agent on terminal, desktop, and IDE, with free models included, provider login options, LSP loading, multi-session, and share links at no cost
Zen
Pay-as-you-go
Ideal for
Developers who hit inconsistent quality switching between providers and would rather use a shortlist the OpenCode team benchmarked for coding agents
What this tier adds
Adds a handpicked, benchmarked model set curated for coding agents, billed pay-as-you-go on top of the free agent
Where the pricing makes sense
The company stage and team size where opencode's pricing actually pencils out — and where peers do it cheaper.
The agent itself is free and open source, and you can spend an existing GitHub Copilot or ChatGPT Plus/Pro subscription rather than buying a new seat — that is cheaper than a standalone Cursor or GitHub Copilot Business seat for an individual. Zen is metered pay-as-you-go on top. The real budget line is whichever provider key you point it at, so total cost tracks your model usage, not a flat per-seat fee.
Setup time & first value
How long it actually takes to get something useful out of opencode — broken out by persona, not the marketing-page minute.
Terminal install with the curl script is a minute; the first useful run is longer because /connect needs a provider — sign in with OpenAI or GitHub, or paste an API key for another provider. Budget roughly 15–30 minutes for a first session including /init and an AGENTS.md commit; more if you are wiring MCP servers, Azure Entra ID sign-in, or a local model. The desktop app and IDE extension are
Switching to or from opencode
How to bring data in from common predecessors and how to get it back out — written for the switcher, not the buyer.
- →From GitHub Copilot: log in with GitHub in OpenCode to spend the Copilot account you already pay for, then run /init to generate AGENTS.md for the repo
- →From Cursor: move project rules into an AGENTS.md file at the repo root so OpenCode picks up the same conventions
- →From a raw API script: replace the hand-rolled loop with the OpenCode TUI and /connect against the same provider key
- →From local shell aliases around a model CLI: keep the same provider keys and let OpenCode's automatic LSP loading supply type context you were not passing before
- ↗To Cursor: export your AGENTS.md conventions into Cursor rules; expect to lose multi-session parallelism in the terminal
- ↗To GitHub Copilot: your provider keys stay yours, but the multi-provider switching and session share links do not carry over
- ↗To a hosted managed agent: expect to re-establish provider auth and MCP configuration against the new vendor's platform
Integrations
Resources & Guides
Tutorials & Learning
YouTube returned 6 videos for “opencode”, and we withheld 6: 6 could not be judged, because “opencode” is a single word that other videos use for other things. We are showing none, because we could not prove any of them are about opencode.
Official links
Tools that pair well with opencode
Common stack mates teams adopt alongside opencode, with the specific reason each pairing earns its keep.
Cline
Open-source coding agent that reads your repo, edits files, and runs terminal commands across VS Code, JetBrains, CLI, and a desktop app.
Crush
Open-source agentic coding assistant that runs inside your terminal and wires any LLM into your CLI workflow.
OpenHands
Open-source platform for autonomous coding agents that fix bugs, review PRs, and automate engineering workflows.
Featured Head-to-Head Comparisons
Opencode vs Locus Robotics
If you run a high-volume warehouse, Locus Robotics delivers proven productivity gains via AMRs and Physical AI, but at a significant (contact-based) cost. For developers, opencode is a free, open-source coding agent with unmatched model flexibility and recent session snapshot/revert features. Choose based on your problem domain: physical logistics vs. software development.
Opencode vs Presto Voice
These tools serve entirely different markets: Presto Voice is a specialized enterprise voice AI for drive-thru upselling, while OpenCode is a free, open-source coding agent for developers. Choose based on your domain — QSR operations vs. software development. There is no overlap.
Opencode vs Truleo
Truleo and OpenCode serve completely different domains. For law enforcement agencies needing to unify siloed data into actionable intelligence, Truleo's specialized features (jail call analysis, BWC redaction, real-time alerts) are indispensable. For developers seeking a flexible, open-source AI coding assistant with multi-model support and multi-session capabilities, OpenCode is the clear choice. Choose based on your profession—no overlap exists.
Alternatives to opencode
View allFrequently Asked Questions
Best-of guides
Used opencode? Help shape our editorial sentiment research.