Updated

OpenCode

Open-source AI coding agent for the terminal, desktop and IDEs that works with 75+ model providers, local models, or existing Copilot and ChatGPT subscriptions.

44 makers' products we track use OpenCode. For AI coding agents it's 3rd most chosen of 6 options: 44 of the 909 makers' products we know the AI coding agents of (5%). Among the 657 launched in 2026, 5% chose it, against 5% of those launched in 2024 or earlier. 22 open-source projects also declare it in their code. What makers like most: Works with models from any provider, so teams run a strong model on hard work and a cheap one on grunt tasks. Their most common complaint: Session management and prompt caching have been unreliable for some users. On GitHub, 71 public pull requests moved projects to OpenCode from tools we list, and 47 moved them away.

Open sourceFree tierPaid from $10/mo

Profile checked

Works with AI agents:CLI
Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

How makers use OpenCode

Makers' products we track use OpenCode for AI coding agents (44), most often alongside Vercel (32%), Resend (27%), Next.js (25%).

What OpenCode is used for

AI Coding Agents · Terminal agent →An open-source coding agent that works with almost any model provider, local models, or an existing Copilot or ChatGPT subscription.Trade-off: Result quality depends on the model you connect, and you manage provider keys and costs yourself.
Claude Code772OpenAI Codex145OpenCode44GitHub Copilot27Pi4Makers' products on each, for AI coding agents

OpenCode vs the alternatives makers chose

For AI coding agents, 44 of the 909 makers' products we know the choice of picked OpenCode (5%), behind Claude Code (85%). Among those launched in 2026 it's 5%.

OptionMakers' products2026 launchesFree forTeam of 5, 10,000 usersOpen source
Claude Code772 85%84%None$100/mo · ProNoCompare →
OpenAI Codex145 16%19%None$40/mo · ChatGPT GoYesCompare →
OpenCode44 5%5%None$50/mo · GoYes
GitHub Copilot27 3%2%None$50/mo · ProNo
Pi4 0%0%——YesCompare →
Aider1 0%0%——Yes

For AI coding agents: how many of the 909 makers' products we know the AI coding agents of chose each option, and the share among the 657 launched in 2026, since a tool that came first has products from every year, and what each costs for a team of 5 with 10,000 users.

Costs are the cheapest plan that fits, from each vendor's pricing page, at the usage our stack planner assumes for a product with that many users. Free for: the users its cheapest plan a business can use stays free for.

Often paired with

Share of the 44 makers' products on OpenCode that show this choice.

When to use OpenCode, and when not

Pick OpenCode if

  • You want to switch between model providers freely or keep your tools open source. AI Coding Agents →

Something else fits better if

  • You're comfortable in a terminal and want to hand off whole tasks: Claude Code or OpenAI Codex.
  • You already pay for ChatGPT: OpenAI Codex.
  • You want to try a terminal agent without paying for a subscription: Gemini CLI.
  • Tasks start as GitHub issues and you want pull requests back without running anything locally: GitHub Copilot or Jules.
  • Tasks arrive in Slack, Linear or a ticket tracker and you want an agent to pick them up there: Devin or Factory.
From each decision's guide, written from what makers' products chose and why.

OpenCode is an MIT-licensed coding agent from Anomaly that runs as a terminal UI, a desktop app or an IDE extension. It isn't tied to one AI vendor: you connect any of 75+ providers listed on Models.dev, run local models through Ollama or LM Studio, or log in with an existing GitHub Copilot or ChatGPT Plus/Pro account.

More about OpenCode

You install the CLI, add a provider with /connect, and run /init in a project so the agent analyses it and writes an AGENTS.md file. A Build mode edits files and runs commands, and a Plan mode, toggled with Tab, only proposes how it would make a change. It loads the right language servers automatically, can run several sessions on one project in parallel, and is configured through opencode.json: permissions, MCP servers, custom agents and commands, formatters and plugins.

For a small team, OpenCode doesn't store your code or context; everything runs locally or as direct calls to your model provider. A GitHub integration lets anyone comment /opencode on an issue or pull request, and the agent then works in your own GitHub Actions runner and opens a PR. Enterprise adds central config, SSO and routing through an internal AI gateway.

On Windows the project recommends running it under WSL, and the terminal UI expects a modern terminal emulator. The optional share feature uploads a conversation to OpenCode's servers and makes it public to anyone with the link, so teams with sensitive code should disable it.

How OpenCode itself is built

16 tools, from its own code, website and Product Hunt page.

OpenCode pros and cons

What makers like most: Works with models from any provider, so teams run a strong model on hard work and a cheap one on grunt tasks. Their most common complaint: Session management and prompt caching have been unreliable for some users.

Pros

  • Works with models from any provider, so teams run a strong model on hard work and a cheap one on grunt tasks. PHHNHN 2
  • Open source with an SDK and plugin system, so products are built on it without vendor lock-in. PHHN
  • The low-cost Go plan gives heavy usage of open models and rarely hits limits. HNHN 2HN 3HN 4
  • A solid setup out of the box, with subagents, plan mode and MCP support included. HNHN 2PHPH 2

Cons and watch-outs

  • Session management and prompt caching have been unreliable for some users. HNHN 2
  • It is more opinionated and harder to hack on than minimal harnesses, and some find its code sloppy. HNHN 2

Themes that recur in makers' words and Hacker News comments, each linked to what it summarises, with how Product Hunt tags its reviews.

5.0★ from 50 reviews on Product Hunt ↗

What Hacker News says about OpenCode

On Hacker News, 33% of comments about OpenCode recommend it and 1% criticize it: net praise +32%, 4th best liked of 9 tools HN discusses for AI coding agents. Commenters chose it 15.2× as often per month in 2026 as in 2025.

By year

YearComments choosing it, per monthNet praise
20255.4+31%
2026 (8 mo)83+32%

In their words

  • “because i love opencode, and these internals in v2 are sick.” HN, Aug 2026
  • “I use claude and opencode for other models like qwen or deepseek. love both.” HN, Jul 2026
  • “it has major usability issues which switching to Claude Code solved” HN, Dec 2025

Hacker News comments January 2023 to August 2026 that name OpenCode in a sentence like "I use" or "we moved to", Claude read a sample of 50 and the counts scale it to all of them; net praise is comments recommending it minus comments criticizing it, as a share of all comments about it. How it's counted, and how HN compares with makers.

Reliability and open issues

The most wanted open issue on GitHub has 241 👍.

Most wanted on GitHub

Open on 2026-10-04 in anomalyco/opencode, with activity in the last year — issues and feature requests by 👍.

Who switches

More projects move to OpenCode: 71 pull requests in, 47 out; the most come from Claude Code and leave for Claude Code.

Moving to OpenCodeMoving away
OpenCode
Claude Code → OpenCode44 PRs
Cursor → OpenCode14 PRs
OpenAI Codex → OpenCode8 PRs
GitHub Copilot → OpenCode5 PRs
OpenCode → Claude Code28 PRs
OpenCode → OpenAI Codex12 PRs
OpenCode → GitHub Copilot7 PRs

Public pull requests on GitHub since Oct 2024 whose title says "X to Y" — real code changes moving a project from one tool to another, by developers in general.

Apps built with OpenCode

44 makers' products, each linked to the source that shows it, and 22 open-source projects that declare it in their code. The best known on Product Hunt: Edgee (1,315 followers), Replay (1,053 followers), Vokal (962 followers), Brev.io (682 followers), Mycel (465 followers). 1 of the makers' products is gone now (domain lapsed, up for sale or taken down); it chose OpenCode while live.

The maker says so 44Declared in code 22How evidence is collected →
MausBot
MausBot

“OpenCode gives MausBot an open-source agent engine option. Users can bring its workflow into our chat interface while retaining a choice of agent tools.”

AI Coding AgentsMaker says so · source ↗
TaskShell
TaskShellAgent-first task management for more agentic productivity

“Easy to integrate MCPs with their top-notch agentic harness”

AI Coding AgentsMaker says so · source ↗
Edgee
EdgeeOne gateway for cheaper, faster, unstoppable coding agents

“Our token compression technology has to be compatible and efficient with OpenCode, so we have to use it extensively to understand how we can optimize its context.”

AI Coding AgentsMaker says so · source ↗
Cushion
Cushioncombines posts, messaging, + check‑ins for better teamwork

“OSS. Must better UX. Reliable and the dudes who make it are rad.”

AI Coding AgentsMaker says so · source ↗
Cosyra
CosyraRun AI coding agents from your phone

“Rich ecosystem, fast turnaround on issues , and reliable versioning. OpenCode just does everything. If there's ever a feature that you're left wanting from another CLI, OpenCode almost definitely has it already.”

AI Coding AgentsMaker says so · source ↗
Vokal
VokalA collaboration space for 10x teammates with their Al agents

“A strong open local coding-agent runtime. We like it because it keeps agent work close to the developer environment while still fitting into a shared workspace through Vokal.”

AI Coding AgentsMaker says so · source ↗
GAIA
GAIAYour Personal AI assistant for email, calendar, tasks & more

“Really good open source coding harness”

AI Coding AgentsMaker says so · source ↗
Zyphe
ZypheAgentic Privacy-first KYC and KYB with MCP

“Opencode is where the code gets written now. Features, refactors, debugging weird issues. We run it with Claude on the hard stuff and switch to something cheaper for boring work like renaming files or cleaning up imports. Same setup, whatever model we want.”

AI Coding AgentsMaker says so · source ↗
CoChat
CoChatOpenclaw for Teams that is secure, collaborative, autonomous

“OpenCode helped us turn CoChat into a product, not a demo. It removed a lot of infrastructure/ops friction so we could focus on what’s unique: multi-user collaboration, security audits, logs, and approvals around agent execution.”

AI Coding AgentsMaker says so · source ↗
Kapshot
KapshotScreen recordings that look like you edited them

“OpenCode has been part of my day-to-day development workflow while building Kapshot. It helped me explore ideas, iterate quickly, debug issues, and spend more time actually shipping the product.”

AI Coding AgentsMaker says so · source ↗
Polygraph
PolygraphLet AI agents see cross repo and maintain session memory.

“We chose OpenCode so we could support developers with the tools they were already using.”

AI Coding AgentsMaker says so · source ↗
Stimly
StimlyReal-time caffeine metabolism curve and bedtime estimate

“Great tool to use many different llm models. Still using it a lot.”

AI Coding AgentsMaker says so · source ↗
OpenAdapter
OpenAdapterBest Coding Plans with open source models. No lock-in.

“OpenAdapter is optimized for OpenCode, giving you access to open-source SOTA models right from your terminal.”

AI Coding AgentsMaker says so · source ↗
agent-manager
agent-managerThe fastest workflow for developing with AI

“One of the agents the manager runs. Its config merge is how the manager registers itself as an MCP server inside a session, so an agent can rename itself and declare the repo it is working in.”

AI Coding AgentsMaker says so · source ↗
Gotcha
GotchaWorld's First AI Copilot for Android. You talk. It acts.

“I love Opencode because it aligns with my personality.”

AI Coding AgentsMaker says so · source ↗
Foglio
FoglioThe writing app that stays out of your way—AI included.

“Probably because it is a small company. I like to support young small companies”

AI Coding AgentsMaker says so · source ↗
PortAura
PortAuraSee what’s listening on your Mac

“OpenCode became part of PortAura’s day-to-day development loop, helping me inspect the project, make changes, debug issues, and iterate quickly while keeping the final decisions and validation in my hands.”

AI Coding AgentsMaker says so · source ↗
YepCode
YepCodeDeveloper-first AI integrations: build, run, scale safely

“Opencode is one of the main pieces of our YepAgent. We start one instance in one of our sandboxes, and it may help with all the user's base source code to help them to build YepCode processes. You can see the full making of in this blog post: https://yepcode.io/blog/yep-agen...”

AI Coding AgentsMaker says so · source ↗
Blop AI
Blop AIBlop turns design feedback into code you can ship

“Another vibecoding tool we reach for to move fast, sometimes it performs better and faster than claude code. Seems to have a better designed loop.”

AI Coding AgentsMaker says so · source ↗
Otty
OttyA native and beautiful terminal emulator

“We used many AI tools and models for different tasks, they are all great”

AI Coding AgentsMaker says so · source ↗
Campfire
CampfireThe shared workspace for humans and coding agents

“opencode is my go to and its definitely allowed me to make magic!”

AI Coding AgentsMaker says so · source ↗
Ajelix
AjelixAgentic AI chat that turns prompts into completed projects

“One of the best open source coding tools available that allows for iteration on different concepts and ideas fast, without vendor lock-in.”

AI Coding AgentsMaker says so · source ↗
Cascode
CascodeBuild. Break. Brainstorm.

“Opencode offers the perfect harness to any AI Model you have a subscription with, leverages the terminal and has the most visually appealing UI.”

AI Coding AgentsMaker says so · source ↗
chat-recall
chat-recallCtrl+F for every conversation you've had with an AI

“worked for me as a 2nd powerhouse - great alternative really and nice ui.”

AI Coding AgentsMaker says so · source ↗
ClawTab
ClawTabDesktop app to manage 20+ AI coding agents at once

“OpenCode is the main open source agent CLI. Well designed!”

AI Coding AgentsMaker says so · source ↗
Comie.dev
Comie.devGone · site taken down on its host, Oct 2026Production context for AI with logs, DBs, and error tracking

“It's the best CLI out there, we feel like it.”

AI Coding AgentsMaker says so · source ↗
Clippo
Clippo

“Liberdade total para plugar qualquer modelo ou motor local sem ficar preso a um ecossistema fechado. É leve, direto no terminal e se adapta perfeitamente a fluxos modulares de orquestração em vez de impor um ambiente proprietário rígido.”

AI Coding AgentsMaker says so · source ↗
Birdhouse
BirdhouseOpen source IDE where AI agents coordinate as a team

“Birdhouse is built on OpenCode, the open source agent runtime that powers everything under the hood. If Birdhouse is the cockpit, OpenCode is the engine. Go give them a star.”

AI Coding AgentsMaker says so · source ↗
NetworkSpy
NetworkSpyHTTP(s) proxy debugger with custom viewer

“I can use opencode in my remote machine. The Zen model is so powerful it can help me solve issue that other agent can't. Also I don't have to throw my money to expensive Claude subscription.”

AI Coding AgentsMaker says so · source ↗
Sklm
SklmCentralize, scope, and sync skills for every AI agent

“Opencode gives me the freedom to choose which model I want to use from which provider.”

AI Coding AgentsMaker says so · source ↗

Open source: a project that declares OpenCode as a dependency in its public code — verifiable, but not necessarily a live product.

Alternatives to OpenCode

All alternatives by situation →

Further reading

Questions makers ask about OpenCode

Is OpenCode good for production?

44 makers' products we track run on it, and 1 of them have since gone (the product, not necessarily because of OpenCode). On GitHub, 71 public pull requests moved projects to OpenCode from tools we list, and 47 moved them away. The watch-out makers raise most: Session management and prompt caching have been unreliable for some users.

What is OpenCode used for?

Open-source AI coding agent for the terminal, desktop and IDEs that works with 75+ model providers, local models, or existing Copilot and ChatGPT subscriptions. Makers' products we track use it for AI coding agents (44).

What are the pros and cons of OpenCode?

Pros makers name: Works with models from any provider, so teams run a strong model on hard work and a cheap one on grunt tasks. Open source with an SDK and plugin system, so products are built on it without vendor lock-in. The low-cost Go plan gives heavy usage of open models and rarely hits limits. Cons: Session management and prompt caching have been unreliable for some users. It is more opinionated and harder to hack on than minimal harnesses, and some find its code sloppy.

What are the alternatives to OpenCode?

For AI coding agents, the other options makers' products we track chose most are Claude Code (772), OpenAI Codex (145), GitHub Copilot (27), Pi (4), Aider (1). Open source or self-hostable among them: OpenAI Codex, Pi, Aider. Each alternative, with the situation it fits, is on the OpenCode alternatives page.

Is OpenCode still popular with new products?

About as much as before: among the 657 makers' products launched in 2026 that made the AI coding agents choice, 5% chose OpenCode, against 5% of the 62 launched in 2024 or earlier.

How much does OpenCode cost per month?

For a team of 5 with 10,000 users, OpenCode costs $50 a month on the cheapest plan that fits (Go), from its pricing page.

Do developers switch to or away from OpenCode?

On GitHub, 71 public pull requests moved projects to OpenCode from tools we list, most from Claude Code (44), Cursor (14), OpenAI Codex (8); 47 moved them away, most to Claude Code (28), OpenAI Codex (12), GitHub Copilot (7).

When should you use OpenCode?

You want to switch between model providers freely or keep your tools open source (AI coding agents). Something else fits better if: you're comfortable in a terminal and want to hand off whole tasks, pick Claude Code or OpenAI Codex; you already pay for ChatGPT, pick OpenAI Codex.

Does OpenCode store my code?

No. It doesn't store your code or context data; processing happens locally or through direct API calls to your AI provider. The only exception is the optional /share feature. source ↗

Can I use my existing AI subscription?

Yes. You can log in with GitHub to use a Copilot account, or with OpenAI to use a ChatGPT Plus or Pro account. source ↗

Can it use local models?

Yes. Local models are supported through providers such as Ollama and LM Studio, configured like any other provider. source ↗

Does it work on Windows?

Yes, but the project recommends WSL for the best performance and compatibility. It can also be installed natively with Chocolatey, Scoop or npm, or run in Docker. source ↗

Does it work inside VS Code or Cursor?

Yes. Running opencode in the integrated terminal of VS Code or a fork such as Cursor, Windsurf or VSCodium installs the extension automatically, which adds shortcuts and shares your current selection as context. source ↗

Are shared sessions public?

Yes. /share syncs the conversation to OpenCode's servers and creates a link anyone can open until you unshare it. Sharing is manual by default and can be disabled in opencode.json. source ↗

Can it work on GitHub issues and pull requests?

Yes. After installing the GitHub app and workflow, mentioning /opencode or /oc in a comment runs the agent in your GitHub Actions runner, where it can explain an issue or push a branch and open a PR. source ↗

Is OpenCode free?

Yes — there is a free tier a small product can run on; paid use starts at $10/mo. source ↗

Is OpenCode open source or self-hostable?

Open source. source ↗

Can AI coding agents work with OpenCode?

It has an official CLI (@opencode/cli).

Who uses OpenCode?

44 makers' products we track, each with a source, and 22 open-source projects declare it in their code. The best known of them on Product Hunt: Edgee (1,315 followers), Replay (1,053 followers), Vokal (962 followers), Brev.io (682 followers), Mycel (465 followers). source ↗