Skip to content
aicoolies logo
Codex logo

Alternatives to Codex

10 editor-selected alternatives · Codex overview →

source: tools.alternatives · stored order · active records only; review scores are annotations and never change membership or order

A directional evidence panel appears only when the substitute rationale, trade-offs, sources, and verification date have been recorded. Older selections without that panel remain visible but are unclassified under the new evidence contract.

Amp logo
1

Amp

85/100freemiumexplicit relation

Amp is a multi-model coding agent for terminal, web, macOS/iOS, and IDE-connected workflows. Vendor docs describe the same agent and threads across surfaces, with remote Orbs (incl. self-hosted), local Runners, Dial modes (low / medium / high / ultra), shared threads, MCP, plugins, and BYOK / linked ChatGPT subscriptions. Pricing spans a free Hobby tier, optional Megawatt ($20/mo) and Gigawatt ($200/mo) Individual plans, no-extra-charge Teams workspaces, pay-as-you-go credits, and Enterprise.

Directional evidence

Amp competes with Codex as an AI coding agent from a different starting desk (multi-surface Sourcegraph agent vs OpenAI Codex stack).

Amp pricing (vendor_documented, as-of 2026-09-17): free Hobby tier with all product features, pay-as-you-go orbs or free own Runners, and BYOK / linked ChatGPT (and other) subscriptions with no Amp token fees or limits on non-Enterprise tiers. Self-hosted orbs (your own compute via amp orb provider) are free for individuals and teams; Enterprise workspaces pay standard orb pricing for them from October 29, 2026. Optional Individual plans: Megawatt $20/month and Gigawatt $200/month, each bundling included agent usage and orb minutes (vendor Individual cards describe ~45,000 minutes of orb time). Teams workspaces add sharing and pooled credits at no extra workspace fee; members can sit on Hobby, Megawatt, or Gigawatt. Enterprise is custom (SCIM, audit/network controls, pooled credits, priority support).Review →
OpenCode logo
2

OpenCode

83/100open sourceexplicit relation

Open-source (MIT) AI coding agent from Anomaly for the terminal, desktop and web. It works with many LLM providers via /connect, local models through Ollama, the pay-as-you-go OpenCode Zen gateway and OpenCode Go subscriptions. OpenCode 2.0 runs one shared background service for all clients and adds the @opencode/client package and Code Mode, which composes MCP and OpenAPI tools in a single script.

Directional evidence

OpenCode is a terminal-first OSS coding-agent alternative to Codex emphasizing openness and provider choice versus OpenAI’s integrated Codex stack.

OpenCode is free and open source under the MIT license. You can run local models through Ollama, connect your own provider accounts and API keys and pay providers directly, or use OpenCode's model services. OpenCode Zen is a pay-as-you-go gateway (auto-reload of $20 when the balance falls below $5, card fees passed through at 4.4% + $0.30, no other markup) that also offers models free for a limited time, such as GLM-5.3-Flash Free, DeepSeek V4.1 Flash Free and Beam Free. OpenCode Go is a subscription to curated open models for $10/month, and Go Plus costs $40/month with higher limits. OpenCode Enterprise pricing is available on request.Review →
Claude Code logo
3

Claude Code

92/100freemiumexplicit relation

Anthropic's agentic CLI coding tool that delegates complex tasks to Claude directly from the terminal. Understands entire codebases via automatic context gathering, edits multiple files, runs shell commands, and manages Git workflows autonomously. Supports CLAUDE.md for persistent project instructions, integrates with VS Code and JetBrains, and runs on current Claude models such as Opus 5.5 and Sonnet 5.5 for complex architecture work. Built for terminal-first developers.

Directional evidence

Codex and Claude Code are catalogued as leading terminal AI coding agents with different model vendors and product packaging.

Claude Code is included in Claude paid plans: Pro at $20/month ($17/month billed annually), Max at $100/month (5x Pro usage) and Ultra at $200/month (formerly Max 20x; 10x Pro usage every week, no 5-hour limit for verified accounts), and Team seats at $25/seat/month ($20 billed annually) for Standard or $125/seat/month ($100 billed annually) for Premium (5x Standard usage). Enterprise is $20/seat/month billed annually plus usage at API rates. A Free plan is available without Claude Code, and developers can also use API keys billed per token.Review →
Aider logo
4

Aider

83/100open sourceexplicit relation

Terminal-based AI pair programmer with deep git integration. Auto-commits changes with meaningful messages and creates repository maps for navigating large codebases. Works with Claude, GPT, DeepSeek, and local models. One of the most popular open-source AI coding tools, known for its reliability, broad model support, and seamless command-line workflow.

Directional evidence

Aider is a git-centric terminal coding-agent peer often compared with Codex for repo-local pair-programming workflows.

Aider is free, open-source CLI software (Apache 2.0) with zero subscription fees ($0). Users bring their own API keys from providers like Anthropic, OpenAI, or DeepSeek and pay standard token rates directly to those providers, or connect free local models via Ollama.Review →
Factory Droid logo
5

Factory Droid

82/100freemiumexplicit relation

Factory's AI coding agent, available in the Factory App (desktop, web and mobile), the Droid CLI, headless droid exec and Factory-hosted Droid Computers. Custom droids (subagents) with their own prompt, model and tool policy take focused tasks, and Missions orchestrate large multi-feature projects. Works with Anthropic, OpenAI and other native models, plus BYOK, open-source and local models. Enterprise-focused, with automated code review, QA, docs and incident response.

Factory Droid offers individual plans starting at $20/month for Pro, $100/month for Plus (5x usage), and $200/month for Max (10x usage), alongside a Teams plan at $60/month base plus $40/seat/month and custom Enterprise agreements.Review →
Grok logo
6

Grok Build

82/100explicit relation

Grok Build is xAI’s terminal-first coding agent for planning, editing, testing, and reviewing code from a local CLI. It exposes subagent controls, worktree mode, headless JSON output, best-of-N parallel attempts, sandbox profiles, and cross-session Memory (/memory, /dream) for durable project conventions and facts. It fits developers comparing Claude Code, Codex, and Gemini CLI for local agentic workflows with deeper parallel execution.

Commercial AI coding agent by xAI. Interactive terminal CLI access is included with SuperGrok ($30/mo) or X Premium+ ($40/mo) subscriptions. Headless and programmatic access is available via metered pay-as-you-go xAI API token billing.Review →
Crush logo
7

Crush

84/100explicit relation

LSP-enhanced terminal coding agent from Charmbracelet with the broadest cross-platform support including Android. Features mid-session model switching and MCP extensibility for custom tool integration. Combines the elegance of Charmbracelet's TUI toolkit with practical coding assistance, offering a polished terminal experience for developers on any platform.

Free source-available CLI under FSL-1.1-MIT (automatically converts to MIT after 2 years); requires commercial licensing for competing use or proprietary SaaS distribution.Review →
pi logo
8

Pi

84/100open sourceexplicit relation

Pi Coding Agent is an MIT-licensed Node.js CLI from earendil-works for building and running coding agents in a local terminal. The current package describes a read/bash/edit/write toolset and session management, while the repo positions Pi as a unified LLM API, agent loop, TUI, and coding-agent CLI. It is best framed as a lean, self-extensible BYO-model toolkit rather than a managed IDE.

Free and 100% open source under the MIT license. Pi charges no subscription or license fees; developers bring their own API keys (BYOK) for cloud LLM providers or run local open-source models via Ollama and vLLM at zero compute license cost.Review →
Kimi Code logo
9

Kimi Code

78/100open sourcefreemiumexplicit relation

Kimi Code is Moonshot AI's AI coding agent, available as an open-source (MIT) terminal CLI, a desktop app and IDE extensions. It reads and edits code, runs shell commands, searches files, fetches web pages and plans multi-step work, and now runs Kimi K3.1 Pro with a 1M-token context window. Sign in with a Kimi membership (Plus and above) or a Kimi API key; the CLI can also use other compatible providers, supports MCP servers and plugins, and accepts video input.

The Kimi Code CLI is free and open source (MIT). To use it with Kimi models you need either a Kimi membership that includes Kimi Code (Plus $19/month or $15/month billed annually, Pro $39, Max $99, Ultra $199) or a Kimi API key billed per token (K3.1 Pro $2 input / $10 output per 1M tokens). The free Adagio tier does not include Kimi Code.Review →
ZCode logo
10

ZCode

freemiumexplicit relation

ZCode is Z.ai’s Agentic Development Environment for GLM-5.2 coding workflows. The desktop app combines a first-party coding agent, goal mode, model/provider setup, MCP server management, Git and terminal context, remote phone control, usage stats and safety confirmation modes so developers can plan, implement, review and iterate on long-running software tasks from one workspace.

The ZCode desktop application is free to download and use. Access to the underlying GLM-5.2 and GLM-5.3 models is billed via Z.ai's GLM Coding Plan subscriptions, starting at $18 per month for the Lite tier, $80 per month for Pro, and $168 per month for Max (with up to 30% discounts on annual billing).

Open-source Codex alternatives

OpenCode, Aider, Pi, Kimi Code — see all open-source developer tools.

Free Codex alternatives

Amp, Claude Code, Factory Droid, Kimi Code, ZCode offer a free plan or free tier.

More Terminal & CLI Tools tools

same category, not editor-selected alternatives — see how Codex compares →

GhosttyGPU-accelerated terminal emulator written in Zig by Mitchell Hashimoto (HashiCorp co-founder). Native UI rendering on macOS and Linux. Supports ligatures, true color, Kitty graphics protocol, and splits/tabs. Configurable via a simple key-value file with sensible defaults. Open source under the MIT license with more than 60,000 GitHub stars and a focus on correctness, speed, and minimal resource usage. Growing as a modern alternative to iTerm2, Alacritty, and WezTerm.DevinDevin is Cognition's managed AI software engineer for delegating engineering tasks to cloud and desktop agents. It can plan work, navigate codebases, write and run code, test changes, open PRs, review/autofix issues, and collaborate through GitHub, GitLab, Bitbucket, Linear, Jira, Slack, and Teams. Current Devin surfaces include Devin Cloud, Devin Desktop, Devin CLI, Devin Review, Windows VM support, DeepWiki, Ask Devin, and team/enterprise controls.WarpGPU-accelerated terminal built in Rust, now evolved into an Agentic Development Environment (ADE) used by 700K+ developers. Features block-based output navigation, AI command suggestions via the Oz orchestration engine, multi-line editing with syntax highlighting, and a built-in code editor with LSP support. Available on macOS, Linux, and Windows. Includes Warp Drive for sharing workflows, real-time session collaboration, and BYOK support for OpenAI, Anthropic, and Google API keys.ClaudeAnthropic's AI assistant known for strong reasoning, nuanced writing, and extended context up to 200K tokens. Available in Opus (most capable), Sonnet (balanced), and Haiku (fast) tiers. Features web search, deep research, file analysis, code execution, artifacts, and Projects for organized workflows. Claude Code provides terminal-based agentic coding. API supports tool use, batch processing, and prompt caching. Available via claude.ai, mobile apps, and developer API.ChatGPTChatGPT is OpenAI’s consumer and business assistant for everyday Q&A, writing, coding help, image tools, deep research, and workspace collaboration across web and apps. Plans span Free, Go, Plus, Pro, Business, and Enterprise on chatgpt.com.ripgrepUltra-fast recursive text search tool written in Rust that respects .gitignore rules automatically. Searches directories significantly faster than grep with smart defaults like line numbers, syntax highlighting, and compressed file support. The de facto replacement for grep among developers, combining the speed of Rust with sensible defaults that eliminate the need for complex command-line flags.CursorCursor is an AI coding agent for building software, available as a desktop editor, a CLI and cloud agents that run in isolated VMs. Its Agent edits files, searches the codebase and runs terminal commands in Agent, Plan and Ask modes; Premium and higher tiers add Automations, Bugbot pull-request reviews and Origin code hosting. Sold within The X Subscription, it offers Cursor's own models (Grok and Composer), third-party models on Premium and above, and Privacy Mode on every plan.GitDiagramVisual architecture generator that transforms any GitHub repository into an interactive system design map within seconds. Analyzes repository structures and README documentation to produce validated component flowcharts, dependency graphs, and Mermaid diagrams. Supports direct URL routing by replacing hub with diagram, provides instant export to SVG and PNG formats, and handles private repositories through user-supplied personal access tokens.CodeRabbitAI-powered code review tool that automatically analyzes pull requests and provides line-by-line feedback on code quality, bugs, security vulnerabilities, and best practices. Integrates with GitHub and GitLab as a bot that comments on PRs. Uses LLMs to understand code context and suggest improvements. Learns from your codebase patterns and team preferences. Supports all major programming languages. Reduces review cycle time while catching issues human reviewers might miss.

Codex head-to-head

FAQ

Which Codex alternative is listed first?

Amp is first in the editor-selected list of 10 Codex alternatives and carries an editorial review score of 85/100. The stored order is editorial; review scores do not determine membership or position.

Are there open-source Codex alternatives?

Yes — OpenCode, Aider, Pi, and more are open source.

Are there free Codex alternatives?

Yes — Amp, Claude Code, Factory Droid, and more offer a free plan or free tier.