aicoolies logo
Codex logo

Best Codex Alternatives

10 editor-verified alternatives · Codex overview →

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

Amp logo
1

Amp

85/100explicit relation

Amp Frontier Corporation's multi-model coding agent for terminal, web, and IDE-connected workflows. It uses GPT-5.6, Claude Fable 5, and fast models across low, medium, high, and ultra modes, with subagents, an Oracle second-opinion model, shared threads, remote orbs, MCP, and plugins. Pricing combines a daily free credit grant, $20/$200 monthly subscriptions, and optional pay-as-you-go credits.

Free credit grant (up to $10/day) / Megawatt $20/mo / Gigawatt $200/mo / Pay-as-you-go credits (zero markup for non-enterprise users)Review →
OpenCode logo
2

OpenCode

83/100open sourceexplicit relation

Open-source terminal-based AI coding agent built in Go by the SST team, with a rich TUI (Bubble Tea) supporting 75+ model providers including OpenAI, Anthropic, Gemini, Bedrock, Groq, and OpenRouter. Features vim-like editing, persistent SQLite sessions, and LSP integration for 40+ languages. Fully free with no vendor lock-in, it has rapidly grown to 95k+ GitHub stars.

Open-source MIT client with free models included or bring-your-own provider/model keys; enterprise options are handled through OpenCode Enterprise.Review →
Claude Code logo
3

Claude Code

92/100explicit 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 uses Claude Opus/Sonnet with extended thinking for complex architectural decisions. Built for terminal-first developers.

Included with Claude Pro/Max or API usageReview →
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.

Free (bring your own API key)Review →
Factory Droid logo
5

Factory Droid

82/100explicit relation

System of specialized AI Droids — Code, Knowledge, Reliability, and Product — each optimized for specific development tasks. Ranked #1 on Terminal-Bench with 58.75% score. BYOK model with support for Anthropic and OpenAI models. Enterprise-focused approach that treats AI coding as a team of specialized agents rather than a single general-purpose assistant.

Pro $20/mo / Max $200/mo / Enterprise customReview →
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. The early beta exposes subagent controls, worktree mode, headless JSON output, best-of-N parallel attempts, sandbox profiles, and experimental memory. It fits developers comparing Claude Code, Codex, and Gemini CLI for local agentic workflows with deeper parallel execution.

Early beta access tied to xAI/Grok account availability; official Grok posts indicate SuperGrok Heavy access during rollout. Pricing and tier availability may change as the CLI moves out of alpha.Review →
Crush logo
7

Crush

84/100freeexplicit 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 to run with your own model/API keys; no hosted Crush subscription documented. Source is under FSL-1.1-MIT, so treat it as source-available/future-MIT rather than plain permissive open source.Review →
pi dev code
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 (bring your own API key)Review →
Kimi Code logo
9

Kimi Code

78/100open sourceexplicit relation

Terminal-based AI coding agent from Moonshot AI, powered by Kimi K2.5 with a 256K context window that achieves 76.8% on SWE-Bench Verified. Reads and edits code, executes shell commands, fetches web pages, and autonomously plans multi-step development workflows through natural language. Moonshot's entry into the AI coding agent market, leveraging their strength in large-context language models.

Free tier / API usage-basedReview →
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.

Public desktop app with Z.ai, BigModel or API-key onboarding. Exact plan pricing was not source-cleanly verified in this July 5 write pass, so model usage and account costs should be checked against current Z.ai pricing before procurement.

Open-source Codex alternatives

OpenCode, Aider, Pi, Kimi Codesee all open-source developer tools.

Free Codex alternatives

Crush, ZCode offer a free plan or free tier.

Codex head-to-head

FAQ

What is the best Codex alternative?

Amp tops our editor-verified list of 10 Codex alternatives, scoring 85/100 in our hands-on review.

Are there open-source Codex alternatives?

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

Are there free Codex alternatives?

Yes — Crush, ZCode offer a free plan or free tier.