compare
Codex CLI vs OpenCode
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Codex CLI | OpenCode |
|---|---|---|
| Language | Rust | TypeScript |
| Licence | Apache-2.0 | MIT |
| Stars | 128k | 212k |
| Latest | rust-v0.160.1 | v1.18.34 |
| Last push | 2026-10-06 | 2026-10-06 |
| Release cadence | too few releases | about 6 days between releases |
| Active contributors | 91+ commit authors on the default branch in the last 90 days | 52+ commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace Claude Code. Alternatives to Claude Code →
Full replacementCodex CLIOpenAI's terminal agent, open source and built around OpenAI models.
Full replacementOpenCodeTerminal agent that works with Anthropic, OpenAI and Google models or a local one.
Both replace GitHub Copilot. Alternatives to GitHub Copilot →
PartialCodex CLIAn agent that works on the whole repository, without completions as you type.
PartialOpenCodeAn agent that works on the whole repository, without completions as you type.
Codex CLI
- rust-v0.161.0-alpha.13.12026-10-060.161.0-alpha.13.1pre-release
- rust-v0.162.0-alpha.162026-10-050.162.0-alpha.16pre-release
- rust-v0.160.12026-10-050.160.1
- rust-v0.162.0-alpha.152026-10-050.162.0-alpha.15pre-release
- rust-v0.162.0-alpha.142026-10-050.162.0-alpha.14pre-release
OpenCode
- v1.18.342026-09-30Send namespaced session and parent-session identity headers with model requests.
- v1.18.332026-09-28Cloudflare AI Gateway models now honor provider response and stream timeouts. (@danlapid)
- v1.18.322026-09-21Fixed Bedrock image attachments so they are only hoisted for Claude, Nova, and Llama 4 models.
- v1.18.312026-09-14Restored ACP session model, effort, mode, and reasoning chunk boundaries when loading, resuming, or forking sessions. (…
- v1.18.302026-09-09Added the Astra system prompt for GPT-6 models.
Codex CLI
unsigned The latest release, rust-v0.160.1, carries no signature GitHub could verify.
Loading the security report
OpenCode
unsigned The latest release, v1.18.34, carries no signature GitHub could verify.
Loading the security report