OpenAI Codex vs OpenCode
OpenAI Codex (OpenAI) and OpenCode (Anomaly (SST team)) side by side on public data, as of Nov 20, 2026.
OpenAI Codex has 6.8x the weekly package downloads of OpenCode (26.6M against 3.9M). OpenAI Codex has 12.6x the VS Code extension installs of OpenCode (16.9M against 1.3M). OpenCode has 1.7x the GitHub stars of OpenAI Codex (228K against 136K). Over the last 30 days downloads moved +7% for OpenAI Codex and +29% for OpenCode. OpenCode shipped 38 stable releases in the past 90 days.
Which should you choose?
Choose OpenAI Codex if
- you want the lower entry price: paid plans from $8 a month against $10
- you want to check in from your phone
Choose OpenCode if
- you want to switch between model providers (11 documented against 3)
- you want the one gaining users faster (downloads up 29% in 30 days, +15% in the last 7)
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 | OpenAI Codex | OpenCode |
|---|---|---|
| Gid Score | 84 | 80 |
| Usage data as of | Nov 19 | Nov 19 Wikipedia from Nov 15 |
| Rank by Gid Score | #2 | #3 |
| Downloads, last 7 days | 26.6M | 3.9M |
| Downloads, 7-day change | up 2.4% | up 15.4% |
| Downloads, 30-day change | up 7.4% | up 28.7% |
| VS Code installs | 16.9M | 1.3M |
| Marketplace rating | 2.7 / 5 (975) | 3.6 / 5 (30) |
| GitHub stars | 136K | 228K |
| Homebrew installs, 30 days | 529K | 47.7K |
| Hacker News mentions, 30 days | 1,429 | 472 |
| Latest stable release | 0.168.0 · 7d ago | 2.3.2 · 2d ago |
| Stable releases, 90 days | — | 38 |
| Terminal-Bench (best run) | 62.1% · v4.1 | 51.7% · v2.0 |
| Price | Free + $8/mo | Free + $10/mo |
| Usage limits | 5-hour limit, weekly limits may apply Go: GPT-6 Luna in the desktop app; limits not published all plans | — |
| Incidents, last 30 days | 1 | — |
| License | Apache-2.0 | MIT |
| First released | April 2025 | May 2025 |
| Interfaces | CLI, IDE extension, Desktop, Web, Mobile, SDK | CLI, Desktop, IDE extension, Web, SDK |
| Models | OpenAI GPT models (GPT-6 family per current docs) via ChatGPT sign-in or an OpenAI API key | 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 (v4.1 and v2.0), so they are not directly comparable.
Trends
OpenAI Codex
OpenAI's coding agent, offered as an open-source terminal CLI, an IDE extension, a desktop app and a cloud agent that works on repositories. Users sign in with a ChatGPT account or use an OpenAI API key; with an API key, Codex works in the CLI, SDK and IDE extension without cloud features such as GitHub code review and Slack. On the Free and Go plans Codex runs in the desktop app (subject to rollout); the web, CLI and IDE extension come with Plus and higher.
Pricing: Included in ChatGPT plans: Free $0, Go $8/month, Plus $20/month, Pro from $100/month ($100, $200 or $500 tiers), Business $20/user/month billed annually ($25 monthly), Enterprise and Edu by contact. API-key use is billed at API rates (no cloud features).
Latest release 0.168.0:
- Browse model providers under Sessions → Model providers and choose the default for new chats.
- Enable features.tui_workspace to view a side conversation beside the main chat. Drag the divider to resize the panes or press leader z to zoom the focused pane.
- Attach recordings when using an audio-capable model. Codex skips confirmed rejected recordings on later turns and uses clip duration to keep more short recordings in context.
- Enable features.image_generation_animation to generate or edit animated GIFs with optional frame count and timing controls.
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.
OpenAI Codex vs OpenCode: common questions
Is OpenAI Codex or OpenCode cheaper?
OpenAI Codex has the lower entry price: paid plans from $8 a month against $10 for OpenCode, from the official pricing pages. OpenAI Codex also has a free option. OpenCode also has a free option.
Which is more popular, OpenAI Codex or OpenCode?
OpenAI Codex has a Gid Score of 84 against 80 for OpenCode. The score combines package downloads, editor installs, GitHub activity and attention, updated daily.