Free OpenAI Codex CLI Alternatives

27 alternatives to OpenAI Codex CLI with a free plan or free tier, ranked by how closely they match. The percentage is a match score, not a popularity score.

Replacing: OpenAI Codex CLI — OpenAI's coding agent for the terminal and shell scripts
Input: text, images, code · Output: code
1
It can query and edit large codebases, generate new apps from PDFs, images, or sketches using multimodal input, and debug problems when you describe them in plain language.
Input: text, images, documents, code · Output: code
Free plan
AI Coding Assistant
2
Qwen Code is an open-source AI coding agent that lives in the terminal and also runs in editors, a desktop app, a Web UI and chat apps.
Input: text, code · Output: code
Free planAPITeams
AI Coding Assistant
3
Terminal coding agent from GitHub that works with issues and pull requests
Input: text, code · Output: code
Free planTeams
AI Coding Assistant
4
Agent-first IDE and developer platform from Google
Input: text, code · Output: code, apps
Free planFrom $30/mo
AI Coding Assistant
5
Visual Studio Code is a free, open source code editor that runs on Windows, macOS and Linux and now includes built-in AI agents.
Input: text, code · Output: code
Free planAPITeams
AI Coding Assistant
6
AI coding agent for terminal, IDE, Slack and web
Input: text, code · Output: code
Free planFrom $17/mo
AI Coding Assistant
7
GitHub's AI coding agent for tasks, code review and automation
Input: text, code · Output: code
Free planFrom $4/mo
AI Coding Assistant
8
Open-source AI coding agent for VS Code, the terminal and the cloud
Input: text, code · Output: code
Free plan
AI Coding Assistant
9
AI coding agent for writing, reviewing and refactoring code
Input: text, code · Output: code
Free planFrom $20/mo
AI Coding Assistant
10
Kiro is an agentic engineering environment for developers and teams.
Input: text, code · Output: code
Free planFrom $20/moTeams
AI Coding Assistant

Can it really replace OpenAI Codex CLI? Vote on each alternative — no account needed. Votes gently reorder the list; they never change the match score.

Missing an alternative? Suggest it

Only tools already listed and live can be suggested. Not on the site yet? Submit it first.

At a glance: top OpenAI Codex CLI alternatives

ToolMatchInputOutputPricingFree planRatingCategory
Gemini CLI 92% text, images, documents, code code Free Yes — AI Coding Assistant
Qwen Code 92% text, code code Free Yes — AI Coding Assistant
GitHub Copilot CLI 91% text, code code Free Yes — AI Coding Assistant
Google Antigravity 91% text, code code, apps From $30/mo Yes — AI Coding Assistant
Visual Studio Code 91% text, code code Free Yes — AI Coding Assistant
Claude Code 89% text, code code From $17/mo Yes — AI Coding Assistant

Frequently asked

Which free OpenAI Codex CLI alternative ranks first?
Gemini CLI (92% match) is the closest free alternative to OpenAI Codex CLI: It can query and edit large codebases, generate new apps from PDFs, images, or sketches using multimodal input, and debug problems when you describe them in plain language. Qwen Code (92% match) and GitHub Copilot CLI (91% match) come next.
How is the match percentage calculated?
It measures how much of OpenAI Codex CLI's job a tool can take over: shared core category, how many of the same use cases it covers and how similar its feature set is. Popularity and ratings never change the percentage; they only break ties in the order. Lists are recomputed nightly and reviewed by editors for the most-visited tools.

How this list is ranked

The match score measures how much of OpenAI Codex CLI's job each tool can take over: shared core category, how many of the same use cases it covers, and how similar its feature set is. Popularity and ratings do not change the score; they only break ties in the order.

Lists are recomputed nightly from the live catalog and reviewed by our editors for the most-visited tools. Sponsored placements are marked and sit outside the ranking.