- GPT-6.2 Prompt Caching: GPT-6.2 models don't cache a system prompt sent in the Responses instructions field, so every step re-billed it as uncached input.
- Fixed GPT-6.2 models re-billing the system prompt as uncached input on every step. On GitHub Copilot gpt-6.2-sol, uncached input per step dropped from about 14,000 tokens to 3.
- webfetch structured output no longer repeats the url and format it was called with.
OpenCode by Anomaly (SST team)
Open-source coding agent from Anomaly (the team behind SST) that runs as a terminal UI, desktop app or IDE extension and connects to 75+ model providers, including local models and existing ChatGPT or GitHub Copilot logins. OpenCode 2 is now available; per the docs, OpenCode 1 and 2 both use the opencode command and cannot be installed side by side under the default command.
Use it in: CLI Desktop app IDE Web app API / SDK Works with: MCP Local models Own API key Multi-agent Headless / CI
On this page
Usage data: latest readings Nov 15 to Nov 19, 2026, last checked Nov 19, 06:32 UTC. Not updated since Nov 15: Wikipedia views. Date of each number
What OpenCode does
OpenCode is a terminal agent + desktop app + IDE extension from Anomaly, first released in May 2025. You use it through a command-line tool, a desktop app, IDE extensions, a web app and an SDK on macOS, Linux and Windows. Its documentation covers MCP servers, subagents or parallel agents, a non-interactive mode for scripts and CI, your own API key and local models. It can run models from Anthropic, OpenAI, Google, xAI, Mistral and DeepSeek and others. Paid plans start at $10 a month; there is a free tier.
Teams use it for: DevOps and CI, Workflow automation, Internal tools, Building apps, Prototyping. See examples.
Key facts
| Maker | Anomaly (SST team) |
|---|---|
| Type | Terminal agent + desktop app + IDE extension |
| First released | May 2025 |
| License | MIT |
| Interfaces | CLI, Desktop, IDE extension, Web, SDK |
| Platforms | macOS, Linux, Windows |
| Models | 75+ providers via Models.dev incl. local models; OpenCode Zen/Go curated models; GitHub Copilot and ChatGPT Plus/Pro logins |
| Local models | Ollama, LM Studio, llama.cpp or any OpenAI-compatible local server (docs) |
| Bring your own API key | Yes |
| Main language | TypeScript |
| Open issues and PRs | 4,086 |
| Open VSX downloads | 739,353 (includes updates) |
| Homebrew installs | 47,742 in 30 days · 423,449 in a year |
Pricing
OpenCode is free and open source, with free models under a daily request limit. Paid plans: OpenCode Go ($10/month) and Go Plus ($40/month) with monthly usage limits per curated model; you can add credit and turn on extra usage.
Source: official pricing page, checked Nov 17, 2026. Prices change often; confirm before you buy.
OpenCode pricing history since 2024 · Compare prices of all agents
Quick answers
- Free to start?Yes
- Open source?Yes (MIT)
- Works with local models?Yes
- Bring your own API key?Yes
- Runs onmacOS, Linux, Windows
- Where you use itCLI, Desktop, IDE extension, Web, SDK
- Supports MCP?Yes
- Model providersanthropic, openai, google, xai, mistral, deepseek, moonshot, qwen, amazon, openrouter, any OpenAI-compatible, local
- Subagents / multi-agent?Yes
- Runs in scripts / CI?Yes
- Feature comparisonAll agents
- Closest alternativeClaude Code · all alternatives
What's new in OpenCode: November 2026 so far
November brought improvements to agent workflows, GUI extensibility, and model routing, along with better shell command handling and session management. Key additions include shared MCP connections, background subagents, and new control options for runs.
- Subagents now run in the background by default, returning immediately while continuing work and reporting results when idle.
- MCP server connections can be pooled across projects to reduce process overhead and startup time.
- GUI plugins can now add color themes, render code block actions, and use native settings components.
- Jump to Message search lets you navigate across prompts in the current session from the desktop app.
5 releases this month · summarised from the official release notes · all months
How teams use OpenCode
Route between coding-agent models with the open-source Weave Router 2.0
The Weave team presented Weave Router 2.0 in a Show HN post. It is an open-source routing model that sits in front of coding agents and switches between LLMs per turn, and the aut…
As reported by the Weave author on Hacker News: on Terminal Bench 4.0 and SWE Atlas, the router had equivalent pass rates to GPT-6 Astra.
Mod almost any PC game with Claude Code and the universal-modder plugin
An open-source GitHub project packages skills, a command-line tool, a shared knowledge base and the fal MCP server so AI coding agents such as Claude Code can mod PC games the use…
The repository ships three worked examples: a Terraria tModLoader weapon and boss pack with sprites made through fal, an Age of Empires II DE civiliz… (as reported by the project's author)
AgentGid articles about OpenCode
Best Claude Code Alternatives in 2026: Open-Source, Cheaper and Multi-Model
The strongest alternatives to Claude Code, grouped by why you are switching: price, model choice, open source or a different workflow. Live usage and prices for each.
AI Coding Agent Pricing Explained: Claude Code, Cursor, Codex and Copilot (2026)
What Claude Code, Cursor, OpenAI Codex, GitHub Copilot and other coding agents really cost: plan prices, usage limits, subscription vs API billing, and how to estimate your monthly bill.
What Is MCP (Model Context Protocol)? A Plain Guide and the Most Popular MCP Servers
What the Model Context Protocol is, how MCP servers and clients work, which AI agents support it, how to install a server safely, and the most-starred MCP servers by category.
Get started with OpenCode
Project instructions file for OpenCode: where it goes, format and a template →
| npm | npm install -g opencode-ai |
|---|---|
| Homebrew | brew install opencode |
| VS Code | code --install-extension sst-dev.opencode |
These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.
OpenCode safety and permissions
| Out of the box | Runs freely: most permissions default to allow (paths outside the project ask; .env reads are denied). |
|---|---|
| Sandbox | none No sandbox documented; a permission limits access to paths outside the working directory. |
| Approval modes | Per-tool permission rules (allow, ask or deny); --auto approves anything not denied. |
| Hooks | Plugins: a tool.execute.before hook can block a tool call. |
What OpenCode users report right now
Open Request Users ask for an option to bring back the previous layout with an always-visible left sidebar for projects and sessions, which they say the new unified interface removed.
Reported on GitHub · 47 👍
Open Users report that OpenCode's free models fail inside the official OpenCode app with "free tier can only be used from within OpenCode", across new sessions and different free models, including on v2.0.32.
Workaround: Update to the latest OpenCode v2; maintainers say v1 (0.x and 1.x builds) no longer supports free models.
Reported on GitHub · 31 👍
Open Users report that OpenCode v2 replaces a symlinked ~/.config/opencode/cli.json with a regular file whenever a CLI preference is saved, which breaks dotfile managers such as GNU Stow and home-manager.
Reported on GitHub · 14 👍
Open Request Plugin authors report that the OpenCode v2 plugin API has no hook to change assistant text before it is shown or saved, unlike v1's experimental.text.complete, so plugin-internal markers end up in the visible transcript.
Reported on GitHub · 13 👍
Fixed Users report that after updating to v1.18.30, every prompt on macOS failed with the error "undefined is not an object (evaluating 'a.name')", which made OpenCode unusable. A maintainer closed the issue with a linked fix.
Reported on GitHub · 47 👍
The most discussed problems in its GitHub repository, checked Nov 17, 2026. Written by AgentGid in its own words; statuses and fix versions come from the project's own pages. Reports are users' accounts, not AgentGid tests.
Add-ons for OpenCode: save tokens, add memory and tools
Listed because each tool documents support for OpenCode. Savings and results depend on your workload.
OpenCode alternatives
Best OpenCode alternatives compared · All terminal coding agents
| # | Agent | Gid Score | Downloads 7d | 7d | 30d | Stars | Latest release | Price | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 |
Claude CodeAnthropic |
88 | 18.9M | up 15.1% | up 15.5% | 156K+136/day | 2.1.328yesterday | $20/mo | |||
| 2 |
OpenAI CodexOpenAI |
84 | 26.6M | up 2.4% | up 7.4% | 136K+144/day | 0.168.07d ago | Free + $8/mo | |||
| 7 |
PiEarendil Inc. (created by Mario Zechner) |
73 | 6.4M | up 1.6% | up 36.3% | 123K+193/day | 1.5.210d ago | Free (OSS) | |||
| 15 |
Gemini CLIGoogle |
62 | 495K | up 16.9% | up 6.8% | 109K+35/day | 0.69.0yesterday | API usage or license | |||
| 20 |
ClineCline Bot Inc. |
58 | 84.3K | down 8.7% | up 14.9% | 71.8K+38/day | 4.1.2625d ago | Free + $9.99/mo | |||
| 22 |
GitHub Copilot CLIGitHub (Microsoft) |
56 | 1.7M | down 8.3% | up 8.3% | 11.4K+6/day | 1.0.1142d ago | Free + $10/mo | |||
Head to head: OpenCode vs Claude Code · OpenCode vs OpenAI Codex · OpenCode vs Pi · OpenCode vs Cline · OpenCode vs Hermes Agent · OpenCode vs Aider · OpenCode vs Kilo Code · OpenCode vs Gemini CLI · OpenCode vs mini-SWE-agent
Tools in projects built with OpenCode
Most used libraries and frameworks in 342 public GitHub repos set up for OpenCode, from their dependency files.
- TypeScript62.0%
- ESLint40.4%
- Tailwind CSS36.8%
- Vite31.9%
- Vitest28.9%
- Zod28.7%
- React28.4%
- Prettier27.5%
- Playwright (JavaScript)25.7%
- clsx19.9%
Used far more often here than in AI-built projects overall: what sets OpenCode projects apart.
- markdownlint-cli4.1% · 8.2×
- @nx/devkit3.5% · 5.0×
- Inertia.js React3.2% · 4.6×
- Laravel Vite Plugin11.1% · 4.0×
- Ultracite4.4% · 4.0×
- oxlint-tsgolint4.7% · 3.4×
- Knip7.6% · 3.2×
- oxlint9.4% · 2.9×
Ratings from people who use OpenCode
No ratings yet. Used OpenCode? Rate it and say what it is good and bad at.
OpenCode news
-
OpenCode 2.3.2 released
GPT-6.2 Prompt Caching: GPT-6.2 models don't cache a system prompt sent in the Responses instructions field, so every step re-billed it as uncached input.; Fixed GPT-6.2 models re-billing the system prompt as uncached input on every step. On GitHub Copilot…
-
OpenCode 1.19.6 released
OpenCode 1 now offers the upgrade to OpenCode 2.0. OpenCode 2 downloads in the background and installs only when you choose: Restart to upgrade, Upgrade on quit, or Later.; Sessions with many images no longer send oversized requests. When the images in a…
-
OpenCode Browse
-
Introducing explicit prompt caching with open-weight models on Amazon Bedrock
Amazon Bedrock now supports prompt caching for open-weight models, reducing input costs and latency by reusing long context across requests. The post demonstrates caching with the Chat Completions API and an OpenCode coding agent.
-
Introducing Kimi K3.1 Pro on Amazon Bedrock
Kimi K3.1 Pro from Moonshot AI is now available on Amazon Bedrock with support for OpenAI-compatible APIs, prompt caching, and coding assistance.
What changed: recent OpenCode releases
38 stable releases in the last 90 days · Monthly summary · Full changelog
- Timed-Out Shell Commands Keep Running: A shell command still running when its timeout expires now moves to the background instead of being killed, so long builds and test runs finish and report back.
- Compaction Without the Wait: As a session nears automatic compaction, the summary is now written in the background, so your next prompt doesn't pause for it.
- GPT 6.2 with ChatGPT Sign-In: GPT 6.2 Sol and GPT 6.2 Astra, plus their fast variants, now show up in the model picker when you sign in with ChatGPT.
- Update Plugins from Settings: Open Settings › Extensions, click Check for updates, then Update on any plugin with a new version.
- Comment on Selected Code: Selecting code in diff and file viewers now just selects it, so you can copy it, and an Add comment toolbar appears beside the selection.
- Shell commands still running when their timeout expires now move to the background instead of being killed, in every build. The shell_timeout_background flag is gone.
Earlier releases
- OpenCode 1 now offers the upgrade to OpenCode 2.0. OpenCode 2 downloads in the background and installs only when you choose: Restart to upgrade, Upgrade on quit, or Later.
- Sessions with many images no longer send oversized requests. When the images in a session's history pass 25 MiB, the oldest are replaced with a placeholder.
- A provider error for a request body that is too large now starts compaction and a retry instead of failing the turn.
- opencode-pty 0.6.0 (protocol 9) from packages/process-daemon, published to npm as @opencode/pty@0.6.0.
- Background Subagents by Default: Subagents now return immediately, continue in the background, and report back whenever they become idle.
- Quieter Transcripts by Default: The TUI now summarizes each run of tool calls and thoughts into one collapsible activity row, so the answer is easier to follow.
- Jump to an Earlier Prompt: In the desktop app, open Jump to message from the command palette or press Cmd+Alt+G (Ctrl+Alt+G on Windows and Linux) to search prompts across the current session and…
- Subagents now always run in the background, return their session ID immediately, and report results to their parent whenever they become idle.
- Added experimental support for MCP events, behind the mcp_events flag.
- Shell commands now survive server handoffs and keep their output when interrupted.
- opencode-pty 0.5.2 (protocol 8) from packages/process-daemon, published to npm as @opencode/pty@0.5.2.
OpenCode prices over time
OpenCode popularity and usage data
OpenCode was downloaded 3.9M times from npm in the week ending Nov 17, 2026, up 15.4% on the week before and up 28.7% over the last 30 days compared with the 30 before. Its VS Code extension has 1.3M installs and average 3.6 out of 5 across 30 marketplace ratings. The GitHub repository has 228K stars, 10,874 of them added in the last 30 days. The latest stable release is 2.3.2, published Nov 18, 2026; there were 20 stable releases in the past 30 days. On public GitHub, 676 pull requests were opened from branches with OpenCode's default opencode/ prefix in the week of Nov 9, 2026, and 82% of the pull requests from the four weeks before that were merged. On Terminal-Bench 2.0 its best listed result is 51.7% with Claude Opus 4.5, ranking 36 of 43 agents on that board. It was mentioned in 472 Hacker News posts and comments over the last 30 days.
Download the raw daily series: opencode.csv
Gid Score breakdown
Gid Score shows public popularity and activity (usage, GitHub stars, mentions, growth), not the quality of the product. Each component is scored 0 to 100 from public signals; a dash means no data for it. How the Gid Score works.
How fresh these numbers are
| Number | Latest reading | Last checked |
|---|---|---|
| Package downloads | Nov 17, 2026 | Nov 19, 06:22 UTC |
| GitHub stars | Nov 19, 2026 | Nov 19, 06:26 UTC |
| VS Code installs | Nov 19, 2026 | Nov 19, 06:26 UTC |
| Open VSX downloads | Nov 19, 2026 | Nov 19, 06:26 UTC |
| Homebrew installs | Nov 19, 2026 | Nov 19, 06:26 UTC |
| Website rank (Tranco) | Nov 18, 2026 | Nov 19, 06:32 UTC |
| Wikipedia views | Nov 15, 2026 not updated for 5 days | Nov 19, 06:26 UTC |
| Hacker News mentions | Nov 18, 2026 | Nov 19, 06:26 UTC |
We fetch every source once a day. Registries publish downloads and page views a day or two late, so their latest reading trails the check. A reading more than 4 days old is marked out of date; the Gid Score still uses it until a newer one arrives.
OpenCode benchmark results
| Benchmark | Model | Effort | Tasks solved | Cost of run | Place |
|---|---|---|---|---|---|
| Terminal-Bench 2.0 | Claude Opus 4.5 | — | 51.7% | — | #36 of 43 |
Up to four best runs per board. Scores are not comparable between Terminal-Bench versions. Source: Terminal-Bench (tbench.ai).
Pull requests by OpenCode on GitHub
In the week of Nov 9, 2026, 676 pull requests matching OpenCode's signature (head:opencode/) were opened in public repositories; 82% of those opened in the four weeks before were merged. A branch prefix identifies the tool; the pull request itself is usually opened under the developer's own account.
OpenCode FAQ
How much does OpenCode cost?
OpenCode is free and open source, with free models under a daily request limit. Paid plans: OpenCode Go ($10/month) and Go Plus ($40/month) with monthly usage limits per curated model; you can add credit and turn on extra usage.
Is OpenCode open source?
Yes. OpenCode is open source, released under the MIT license.
How popular is OpenCode?
OpenCode was downloaded 3.9M times from npm in the week ending Nov 17, 2026, up 15.4% on the week before and up 28.7% over the last 30 days compared with the 30 before. Its VS Code extension has 1.3M installs and average 3.6 out of 5 across 30 marketplace ratings. The GitHub repository has 228K stars, 10,874 of them added in the last 30 days.
What is the latest version of OpenCode?
The latest stable release we track is 2.3.2, published on Nov 18, 2026.
What are the alternatives to OpenCode?
The closest alternatives in the same category by Gid Score are Claude Code, OpenAI Codex, Pi, Gemini CLI.
For the makers of OpenCode badges, corrections
Add a live badge to your README or site:
[](https://agentgid.com/agents/opencode/)
[](https://agentgid.com/agents/opencode/)
[](https://agentgid.com/agents/opencode/)
Something wrong or outdated on this page? Send a correction with a link to the official source. More for makers.
Where these numbers come from
npm: opencode-ai. GitHub: anomalyco/opencode. VS Code Marketplace: sst-dev.opencode. Homebrew: opencode. Wikipedia: OpenCode. Site rank: opencode.ai on the Tranco list. See data sources for how each one is collected.
Product facts and pricing were checked against: opencode.ai, github.com, registry.npmjs.org, formulae.brew.sh, marketplace.visualstudio.com, open-vsx.org, en.wikipedia.org.