OpenCode

OpenCode

Open source AI coding agent for terminal, desktop, web and IDE. Free with free models or any provider; Go plan $10 a month as of October 2026.

Built with other
Not yet scored
Vibe Score
OpenCode wordmark in pixel letters above the line The open source AI coding agent, on a dark backgroundOpenCode

Product images: OpenCode

Pricing
free
Target
Developers who want an open source, model-agnostic AI coding agent in the terminal, desktop app or IDE
Category
AI Agents & Automation

About

OpenCode is an open source AI coding agent. It helps you write and run code with any AI model, and it is available as a terminal interface, a desktop app, a web app and an IDE extension. OpenCode is released under the MIT License and is free to use; it comes with a set of free models, and you can also connect paid providers, local models or your existing ChatGPT Plus/Pro or GitHub Copilot subscription. OpenCode 2 is the current major version. As of October 2026 the team also sells two optional model services: Zen (pay as you go) and Go ($10 a month, or Go Plus at $40 a month). It belongs with the tools on our agentic AI coding tools and best free AI for coding pages. What OpenCode does • Agent in your terminal and beyond: OpenCode reads your project, answers questions, adds features, makes changes and can undo them. Its homepage lists a terminal interface, desktop app and IDE extension, and its FAQ adds a web app. • Any model: 75+ LLM providers through Models.dev, including local models. OpenCode names Claude, GPT and Gemini among the models you can use. • Use existing subscriptions: log in with GitHub to use a Copilot account, or with OpenAI to use a ChatGPT Plus or Pro account. • Multi-session: run several agents in parallel on the same project. • Extensible: the docs cover agents, custom tools, rules, commands, MCP servers, LSP servers, agent skills, plugins, an SDK and a server mode, plus GitHub and GitLab integrations. • Privacy: OpenCode says it does not store your code or context data. Data is only stored when you use its free models. Pricing (as of October 2026) • OpenCode itself: free. OpenCode's FAQ says it is "100% free to use" and includes free models; costs only apply if you connect another provider. • OpenCode Zen: pay as you go. A curated set of models picked for coding agents, charged per request at the model provider's price with no markup. You start with a $20 balance, and OpenCode adds a $1.23 card processing fee per $20 top-up. Monthly spend limits and optional auto top-up are available. Zen models are hosted in the US and EU. • OpenCode Go: $10 a month. A low-cost subscription to a curated lineup of coding models (the Go page lists 30 models, including Kimi, MiniMax, Claude Haiku 5.5, GPT 6 Luna, Gemini 4 Argon, Qwen and DeepSeek models) with usage limits applied over rolling windows: 20% of the monthly allowance per 5 hours, 50% per week and 100% per month. • OpenCode Go Plus: $40 a month. Everything in Go with higher limits. OpenCode also lists an Enterprise offering on its site. Install and platforms • Install with the official script, npm, Bun, pnpm, Yarn, Homebrew, Arch packages, Chocolatey, Scoop, Mise or Docker. • On Windows, OpenCode recommends using Windows Subsystem for Linux for the best experience. • OpenCode 1 and OpenCode 2 both use the opencode command and cannot be installed side by side under the default command; the docs include a migration guide to version 2. Recent releases (from the official changelog) • v2.1.4, 23 October 2026: MCP input forms now appear during tool calls (including in desktop and web), plus experimental background compaction of long sessions. • v2.1.3, 22 October 2026: Bun 1.4.4 security fixes, faster code display in the desktop app and experimental voice model support in the SDK. • v2.1.2, 21 October 2026: clearer recovery when free messages run out, and an option to hide free models. • v2.1.0, 20 October 2026: persistent terminals on Windows, todo lists in the terminal interface and long-running commands that no longer hit a five-minute limit. • v2.0.32, 16 October 2026: a /copy command for the latest reply and working sign-in in headless environments. Who it suits • Developers who prefer the terminal and want an agent that is open source and not tied to one model vendor. • Teams with privacy needs that want an agent that does not store code or context. • People who already pay for ChatGPT Plus/Pro or GitHub Copilot and want to reuse that subscription. • Budget-conscious developers who want free models or a $10 monthly plan. Limitations to know • It is a coding agent for developers, not a no-code app builder: there is no built-in hosting or database for the apps you write. • Free models are Big Pickle plus whichever promotional models are available at the time, and data is stored when you use them. • Windows works best through WSL, according to the docs. • Upgrading from OpenCode 1 to 2 needs care, because both use the same command. • Figures such as 220,000 GitHub stars and 16M monthly developers are OpenCode's own claims. FAQs What is OpenCode? OpenCode is an open source AI coding agent that works in your terminal, as a desktop or web app and as an IDE extension, with any AI model. Is OpenCode free? Yes. OpenCode is free and open source under the MIT License and includes free models. You pay only if you connect a paid model provider or subscribe to Zen or Go. How much is OpenCode Go? As of October 2026, Go costs $10 a month and Go Plus costs $40 a month, with usage limits that reset over 5 hours, a week and a month. Can I use OpenCode with Claude or GPT models? Yes. OpenCode works with 75+ providers, including Anthropic, OpenAI and Google, and you can log in with a ChatGPT Plus/Pro or GitHub Copilot account. Does OpenCode store my code? OpenCode says it does not store your code or context data. Data is only stored when you use its free models. What we could not verify • We did not find the release date of OpenCode 2.0 on the official site. • The company behind OpenCode is shown as Anomaly in the site footer; we found no further company details on the official pages listed below. How this listing was put together This listing is based on OpenCode's homepage and FAQ, its documentation, the Zen and Go pages and the official changelog. Facts verified on 24 October 2026. Sources • OpenCode homepage • OpenCode docs • OpenCode Zen • OpenCode Go • OpenCode changelog