Skip to content
RepoQuarry

OpenCode vs OpenAI Codex CLI

Side by side, as alternatives to Cursor. Rows that differ are highlighted; the strongest value in a row is marked. Unknown means no source yet.

Also replaces Cursor: + Gemini CLI+ Zed+ OpenHands+ Cline+ goose+ Aider

OpenCodeanomalyco/opencode
OpenAI Codex CLIopenai/codex
Cursorpaid product
Cost and coverage
Price
$0 software; you run it
$0 software; you run it
Free plan with limited AI use; Plus $8/month, Premium $30/month, Super $100/month, Ultra $200/month; third-party models billed separately by usage source ↗
Code in an AI-first editor
No: No
No: No
Confirmed: Yes
Multi-line tab completion and next-edit prediction
No: No
No: No
Confirmed: Yes
Let an agent plan and edit across many files
Partial: Partly
Partial: Partly
Confirmed: Yes
Run terminal commands and tests from the agent
No: No
Partial: Partly
Confirmed: Yes
Ask questions about your whole codebase
No: No
No: No
Confirmed: Yes
Connect tools and data through MCP
Partial: Partly
Partial: Partly
Confirmed: Yes
Run agents in the cloud in the background
No: No
No: No
Confirmed: Yes
Jobs covered
2 of 7 jobs
3 of 7 jobs
All 7
Popularity and activity (from GitHub)
Stars
219,699Top
130,321
—
Gain this week
Unknown
Unknown
—
Signal
Building history
Building history
—
Commits / 4 wk
986Top
892
—
Latest release
v1.19.3 · 2026-10-16Top
rust-v0.163.0 · 2026-10-15
—
Commits / 12 wk
2,164
3,490
—
People committing / 12 mo
420+
377+
—
Issues opened / closed, 30 days
3742 / 4694
7371 / 1498
—
Facts, with sources on each project page
Runs on my machine?Differs
Confirmed: Yes, CLI and desktop app
Confirmed: Yes, a command-line agent that runs on your computer; cloud models run on OpenAI's servers unless you use --oss
Hosted by the vendor
Code licenceDiffers
Confirmed: MIT
Confirmed: Apache-2.0
—
Model weights licenceDiffers
Partial: No single bundled model licence. OpenCode connects to models/providers; their individual terms apply.
Confirmed: No separate model weights
—
Commercial useDiffers
Confirmed: Yes, MIT code
Confirmed: Allowed under Apache-2.0
—
Paid services needed?Differs
Partial: Needs a model provider: local models via Ollama, LM Studio or llama.cpp, or a paid API
Partial: Not required with local models (--oss with Ollama or LM Studio) or the limited ChatGPT Free plan; paid ChatGPT plans and OpenAI API keys are optional
Subscription
HardwareDiffers
Unknown: No hardware requirements documented in the README or docs (checked 2026-10-21)
Unknown: Not documented in the README or CLI docs
—
Operating systemsDiffers
Confirmed: Windows, macOS and Linux; on Windows the docs recommend WSL for the CLI, and there is a Windows desktop app
Confirmed: macOS, Linux and Windows (native PowerShell with a Windows sandbox, or WSL2)
—
Setup effortDiffers
Confirmed: Easy; one-line install script, npm, Homebrew, Chocolatey or Scoop, then add a model provider
Confirmed: Easy; one-line install script, npm or Homebrew, then sign in with ChatGPT
—

Stars over time

Switch to Growth % to compare projects of different sizes fairly.

  • OpenCode
  • OpenAI Codex CLI
219,699121,383 2026-10-192026-10-22 Tracked daily begins 2026-10-19OpenCode, 2026-10-19: 216,871 stars, trackedOpenCode, 2026-10-20: 218,068 stars, trackedOpenCode, 2026-10-21: 218,961 stars, trackedOpenCode, 2026-10-22: 219,699 stars, trackedOpenAI Codex CLI, 2026-10-22: 130,321 stars, tracked
Focus a point, use arrow keys, or tap for its value.

Tracked daily since 19 Oct 2026. Dashed history: estimated from public records of when people starred the repo. Lines connect observations only; gaps contain no measured points.

Growth % starts at each project's first observed point in the shown range. Zero-star starts are unavailable.

Notes for a video or post

A plain summary with today's date and a link to the sources. Check each project page before you publish.

Want share images and a ready video description? Open a project's creator kit.

Numbers: GitHub, fetched nightly. Facts: read from each project's own documentation, with the source on its page. How we check. anomalyco/opencode ↗openai/codex ↗

Cookie preferences

Choose what we may store in your browser. You can change this any time from Cookie settings in the footer.

Essential

Security, and remembering this choice. rq-consent · 12 months

Always on