Gemini CLI vs OpenCode
Gemini CLI (Google) and OpenCode (Anomaly (SST team)) side by side on public data, as of Nov 20, 2026.
OpenCode has 7.9x the weekly package downloads of Gemini CLI (3.9M against 495K). OpenCode has 1.2x the VS Code extension installs of Gemini CLI (1.3M against 1.2M). OpenCode has 2.1x the GitHub stars of Gemini CLI (228K against 109K). Over the last 30 days downloads moved +7% for Gemini CLI and +29% for OpenCode. OpenCode shipped 38 stable releases in the past 90 days.
Which should you choose?
Choose OpenCode if
- you want to start free: it has a free plan, Gemini CLI does not
- you need to run local models
- you want to switch between model providers (11 documented against 1)
- you want to work from a browser
- you prefer the more widely used tool, with more docs and answers around (Gid Score 80 against 62)
Built from documented features, official prices, status pages and usage data on this page; it does not judge output quality.
Side-by-side numbers
| Metric | Gemini CLI | OpenCode |
|---|---|---|
| Gid Score | 62 | 80 |
| Usage data as of | Nov 19 | Nov 19 Wikipedia from Nov 15 |
| Rank by Gid Score | #15 | #3 |
| Downloads, last 7 days | 495K | 3.9M |
| Downloads, 7-day change | up 16.9% | up 15.4% |
| Downloads, 30-day change | up 6.8% | up 28.7% |
| VS Code installs | 1.2M | 1.3M |
| Marketplace rating | 4.1 / 5 (21) | 3.6 / 5 (30) |
| GitHub stars | 109K | 228K |
| Homebrew installs, 30 days | 21.5K | 47.7K |
| Hacker News mentions, 30 days | 10 | 472 |
| Latest stable release | 0.69.0 · yesterday | 2.3.2 · 2d ago |
| Stable releases, 90 days | — | 38 |
| Terminal-Bench (best run) | 65.8% · v2.1 | 51.7% · v2.0 |
| Price | API usage or license | Free + $10/mo |
| Usage limits | requests per day all plans | — |
| License | Apache-2.0 | MIT |
| First released | June 2025 | May 2025 |
| Interfaces | CLI, IDE extension | CLI, Desktop, IDE extension, Web, SDK |
| Models | Google Gemini models (Gemini 3 per site) via a Gemini/Vertex AI API key or a Code Assist license | 75+ providers via Models.dev incl. local models; OpenCode Zen/Go curated models; GitHub Copilot and ChatGPT Plus/Pro logins |
A dash means there is no public data for that metric as of Nov 20, 2026. The Terminal-Bench results come from different versions (v2.1 and v2.0), so they are not directly comparable.
Trends
Gemini CLI
Google's open-source terminal agent that brings Gemini models to the command line for code editing, shell commands and MCP tools. Since 2026-06-18 it no longer serves free, Google AI Pro/Ultra or Google One users, who were moved to Antigravity CLI.
Pricing: As of 2026-06-18 the free Code Assist for individuals tier and Google AI Pro/Ultra access ended; Gemini CLI continues with paid Gemini/Vertex API keys (pay as you go) and Gemini Code Assist Standard/Enterprise licenses (1,500/2,000 requests per user per day per the quota docs). Antigravity CLI is free to everyone.
Latest release 0.69.0:
- fix(core,cli): preserve literal $ characters during template placeholder replacement
- feat(cli): add /stats heatmap subcommand for daily token usage
- fix(core): prevent GCLI_EXPAND_TARGET env collision in expandEnvVars
- chore(release): bump version to 0.69.0-nightly.20261104.g89e9d25d6
OpenCode
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.
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.
Latest release 2.3.2:
- 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.
Gemini CLI vs OpenCode: common questions
How do Gemini CLI and OpenCode prices compare?
Gemini CLI: API usage or license. OpenCode: Free + $10/mo. Prices come from each vendor's pricing page.
Which is more popular, Gemini CLI or OpenCode?
OpenCode has a Gid Score of 80 against 62 for Gemini CLI. The score combines package downloads, editor installs, GitHub activity and attention, updated daily.
Do Gemini CLI and OpenCode support local models?
OpenCode documents support for local models; Gemini CLI's documentation does not.