Tools / Codex CLI / Alternatives

The best Codex CLI alternatives

Codex CLI is a coding agents tool: openAI's open-source terminal coding agent. It is free and open source. Here are 12 other code agents tools that do the same job, compared on price, license and exports.

What they cost13 tools
  • Open source 10
  • Free tier 2
  • Paid 1
Quick picks

Codex CLI vs the alternatives

ToolTypePriceExportsLicense / starsAPI / MCP
Codex CLICoding agentsFree (open source)Not listedApache-2.0, ★ 137.4kNo / Yes
opencodeCoding agentsFree (open source)Not listedMIT, ★ 231.2kNo / Yes
Gemini CLICoding agentsFree (open source)Not listedApache-2.0, ★ 109.6kNo / Yes
ClineCoding agentsFree (open source)Not listedApache-2.0, ★ 72.1kNo / Yes
AiderCoding agentsFree (open source)Not listedApache-2.0, ★ 50.4kNo / No
ContinueCoding agentsFree (open source)Not listedApache-2.0, ★ 36.6kNo / Yes
Roo-CodeCoding agentsFree (open source)Not listedApache-2.0, ★ 24.2kNo / Yes
Claude CodeAgentsPaid, from $20/moNot listedNot open sourceYes / Yes
Grok Build (formerly Cursor)AgentsFreemium, from $8/moNot listedNot open sourceNo / Yes
RosebudAgentsFreemium, from $15/moNot listedNot open sourceNo / No
Blender MCPMCP serversFree (open source)Not listedGPL-3.0, ★ 37.3kNo / Yes
Unity MCP (Coplay)MCP serversFree (open source)Not listedMIT, ★ 16.4kNo / Yes
Forma (headless Blender)MCP serversFree (open source)GLBGPL-3.0, ★ 8.3kNo / Yes
GitHub starsOpen-source tools on this page, when last checked
opencode
231.2k
Codex CLI
137.4k
Cline
72.1k
Aider
50.4k

Head to head

Questions

What is the best Codex CLI alternative?

opencode is the closest alternative on our list: Open-source terminal coding agent that works with any model. It is free and open source.

Is there a free alternative to Codex CLI?

Yes. opencode is free and open source with 231.2k GitHub stars. Open-source terminal coding agent that works with any model.

Is there a hosted alternative to Codex CLI?

Claude Code runs in the cloud, so you need no GPU. It is paid, from $20/mo.

Is Codex CLI free?

Codex CLI is free and open source. Open source on GitHub: ★ 137.4k, Apache-2.0 license, last push 2026-12.

About Codex CLIAll code agents tools