opencode

opencode

Open-source AI coding agent that runs in your terminal, IDE, or desktop app and connects to 75+ LLM providers.

84/100Safe BetFree planFreemium

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

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
  • Privacy-sensitive engineering orgs where code and context must not be stored by the tool
Not ideal for
  • 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
Visit Website

IntermediateTerminal 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 areWeb · Desktop · Plugin · CLIAPI availableVerified 5d ago
Pricing
Free plan
FreemiumFree tier2 plans4 hidden costs
Learning curve
Intermediate
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
Runs on
WebDesktopPluginCLI
API available · 15 integrations
Who it's for
Terminal-first backend developer already on ChatGPT PlusTech lead running a large refactor across a monorepoPlatform engineer at a regulated company that forbids sending source to third parties
Live sentiment
Is opencode actually worth it?

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
Run a free scan

3 free scans · no card needed

Skip it if

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.

The 30-second take
Biggest gripe

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

Price reality

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 ago

Across the latest 5 updates: 1 feature update and 4 changelog entries.

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.

78% positive22% critical

Average across the 4 sources that answered — each source counts once, not each post.

Recurring strengths
  • +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.
Recurring frustrations
  • −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.
Patterns worth knowing
Model flexibility and openness are OpenCode's killer features – users love escaping ecosystem lock-in.
Seen on Hacker News, Product Hunt, Lemmy
API provider bans (especially Anthropic) create uncertainty and force reliance on workarounds.
Seen on Lemmy, Hacker News
Multi-session parallel agents and LSP integration give it a edge over simpler CLI tools.
Seen on Product Hunt, Hacker News
Learning curve
beginnerProductive in ~5 minutes
Hidden costs people mention
  • • API usage costs from third-party providers can mount quickly without rebates
  • • Anthropic ban may force users to buy more expensive alternatives

Viability Score

84/100
Safe Bet

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

Recent activity
90
Traction
100
Site health
95
User sentiment
78
What the vendor publishes
60

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

FreemiumIntermediateAPI availableWeb · Desktop · Plugin · CLI

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.

Terminal-first backend developer already on ChatGPT Plus

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

Tech lead running a large refactor across a monorepo

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

Platform engineer at a regulated company that forbids sending source to third parties

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

Models Under the Hood

GPT-6 (Astra system prompt)Claude 5.1+Bedrock GPT-5.6Claude, Nova, and Llama 4 (Bedrock image attachment support)

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.

  1. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  2. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  3. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  4. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  5. — re-checked, vendor evidence unchanged
  6. — 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.

Annual total
Free
Over 12 months
Effective monthly
Free
Billed monthly

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

Hidden costs & gotchas

What the public pricing page doesn't put in bold. Captured from pricing-page footnotes, contract terms, and recurring complaints.

  • 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
  • Zen is pay-as-you-go on top of the free agent — leaning on the benchmarked curated models is a separate metered spend, not part of the free plan
  • Budget time as well as money: provider keys, MCP servers, and per-project setup are unpaid work you do yourself before the agent is useful
  • Multiple provider keys across Azure, Bedrock, and Cloudflare AI Gateway each carry their own billing relationship and quota to monitor

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.

Migrating in
  • →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
Migrating out
  • ↗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

GitHubGitHub CopilotGitLabOpenAIAnthropic ClaudeGoogle GeminiAmazon BedrockCloudflare AI GatewayMicrosoft AzureTogether AICerebrasxAIDeepSeekVertex AIMCP servers

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.

Tools that pair well with opencode

Common stack mates teams adopt alongside opencode, with the specific reason each pairing earns its keep.

Featured Head-to-Head Comparisons

Alternatives to opencode

View all
Cline

Cline

Open-source coding agent that reads your repo, edits files, and runs terminal commands across VS Code, JetBrains, CLI, and a desktop app.

FreeTry
Crush

Crush

Open-source agentic coding assistant that runs inside your terminal and wires any LLM into your CLI workflow.

FreemiumTry
OpenHands

OpenHands

Open-source platform for autonomous coding agents that fix bugs, review PRs, and automate engineering workflows.

FreemiumTry

Frequently Asked Questions

Used opencode? Help shape our editorial sentiment research.