Star vs. star · Two terminal coding agents head to head

Claude Code vs Codex CLI: Differences, Pricing, and Which to Use

Both start at $20/month. How they work, more than the price, decides the winner.

AI Galaxy Map · 2026.11.05 · Checked 2026-11-05
Claude Code
Claude Code
A local terminal agent you supervise as it works
Free (small limit) / from $20
Codex
Codex CLI
An OpenAI agent you hand work off to in the cloud
Free / from $20
The verdict in one line
Choose Claude Code if you want to check each step or need Korean-language docs; choose Codex CLI if you already use ChatGPT or want to hand off a detailed spec and work on something else. The two brightest stars in the terminal cluster follow different orbits.

Scorecard by category

Claude Code
Codex CLI
Working with you supervising alongside
●●●●●
●●●●●
Handing off work and doing something else
●●●●●
●●●●●
Official Korean docs
●●●●●
●●●●●
Isolated sandbox
●●●●●
●●●●●
Setting fine-grained rules
●●●●●
●●●●●
Range of pricing tiers
●●●●●
●●●●●

Scores are relative comparisons based on the descriptions on the source sites, not results from hands-on use. Checked 2026-11-05.

Winner by route

Claude Code
Large codebase, checked step by step
Supervised style that asks for approval before writes and commands
Codex
Hand off a detailed spec and work on something else
A cloud sandbox presents the changes after the work is done
Claude Code
Beginners put off by English docs
Official docs are multilingual, including Korean
Codex
People who already use a ChatGPT plan
Start right away with no extra payment

Frequently asked questions

Which is easier to start with, Claude Code or Codex CLI?Whichever one you already subscribe to. If you have Claude Pro or Max, you can start Claude Code with no extra payment; if you have a ChatGPT plan, you can start Codex CLI the same way. If you have neither, start with a $20/month basic plan or the free tier. If you need Korean-language docs, Claude Code has the edge.
Can I use Codex CLI for free?The source says Codex is included in all plans, including ChatGPT Free. However, the models and limits available on the free tier vary by plan and client, and they change often. Check the official OpenAI Codex page for the actual usage range.
Can I use Claude Code and Codex together?Yes, and it is a common setup in practice. You give everyday work to one tool and hard tasks or reviews to the other. OpenAI's official plugin for Claude Code even lets you call a Codex review from inside Claude Code. Each tool has its own separate subscription fee.
Can Claude Code use AI models from other companies?Claude Code is Claude-only. If you want to mix models from several vendors in one project, the source mentions other tools such as Cursor. However, the source says this is rarely a problem in real use. Codex CLI also defaults to OpenAI models.
Cover image for Claude Code vs Codex CLI: differences, pricing, and which to use
Cover image · Made in-house
Comparison table: where does pricing start?
Pricing comparison table · Made in-house
5 things to check
Key points card · Made in-house

A closer look

So who should use Claude Code, and who should use Codex CLI?

If you want to watch over the work, choose Claude Code; if you want to hand it off and do something else, choose Codex CLI. Claude Code reads and edits files from the terminal on your own computer, and by default it is a supervised style that asks for approval before writing or running commands. It suits people who want to check a large, multi-file codebase step by step.

Codex CLI also runs in a local terminal, but its strength is handing tasks off to the cloud asynchronously. You write out the spec in detail and receive the result, so it is good for doing other things while you wait. It is also rated as a natural fit for terminal-centered work such as scripts and CLI tools.

Your account also matters. If you use ChatGPT, Codex carries on with no extra payment; if you use Claude, Claude Code does.

How are the two stars built differently?

Claude Code is a Claude-only terminal agent made by Anthropic, and it also has IDE extensions. It is known for fine-grained control through subagents (helper AIs that take on split-up tasks), custom commands, and hooks (rules that run automatically at specific points).

OpenAI Codex is a coding agent that runs across the CLI, IDE extensions, the web, and the cloud. The CLI is open source (Apache-2.0) and is reportedly written mostly in Rust. A sandbox (an isolated execution space) is the default, and it has a /review command.

They also have a lot in common. They pass project context through rules files such as CLAUDE.md and AGENTS.md and through MCP (a standard for connecting external tools to AI), and they can be hooked into automation with headless modes such as claude -p and codex exec (running with a single command, no screen). A detailed comparison is in Using Claude's comparison article.

Where does pricing start? How are limits applied?

For personal subscriptions, both start at $20/month. Claude is Pro at $20/month, the middle tier Max 5x at $100/month, and the top tier Max 20x at $200/month. ChatGPT is Plus at $20/month and the top tier Pro at $200/month, with no middle tier in the table. Both also have a free tier, but Claude's is noted as having a very small limit. This is copied from the table on the source site (claudecode.to) on 2026-11-05, so check the official pricing page before you pay. Both can also be used with pay-as-you-go API pricing.

The limit structures differ. Besides the 5-hour limit, Claude has a separate weekly cap, so once you hit the weekly cap you cannot use it even after the 5-hour limit resets. Max also has an Opus-only weekly cap, and when you reach it you are moved down to Sonnet.

Codex is included in the Free, Go, Plus, Pro, Business, and Enterprise plans, and the CLI, web, and IDE share the same limit. The latest model has to be looked at separately. Per the November 1, 2026 update notice, Claude Fable 5.1 is included up to 50% of the weekly limit on Max, Ultra, and Team Premium, while Pro and Team Standard use it through usage credits ($10 per 1 million input tokens, $50 for output).

How do safeguards, Korean-language resources, and models differ?

The safeguards point in opposite directions. Codex sets a strong boundary with OS kernel-level sandboxing (macOS Seatbelt, Linux bwrap+seccomp), but its fine-grained control is coarse. Claude Code uses app-level hooks, so the boundary is weaker but you can set rules in great detail. The source's judgment is that a kernel sandbox is better for external code of unknown origin, and hooks are better for enforcing an organization's coding rules. The answer depends on the risk you want to block.

For Korean-language resources, Claude Code is more convenient. Its official docs are multilingual, including Korean, while Codex CLI centers on an English GitHub repository. Some point out that this difference matters quite a bit when learning or checking changes.

Codex's models change often. According to one guide, OpenAI's current docs recommend GPT-6.1 Sol for complex coding (the default since CLI v0.159.1), and GPT-5.5 support for users logged in with ChatGPT ended on October 14, 2026. The models you can use depend on your plan and client. Benchmark scores for even the same GPT-5.5 reportedly differ widely between the official harness (the framework that wraps and runs a model) and a custom scaffold, so a good part of the result may come from the design of the execution environment. The report that Codex used about 1/4 as many tokens as Claude on the same task is also just one case.

How do they differ when given the same job, and what happens if you use both together?

The following is not the result of an actual run, but a usage example based on the official feature descriptions. The task is "Implement issue #42, write tests, and create a PR." With Claude Code, you type something like claude "Implement issue #42, write tests, and create a PR" in the project folder. It is a supervised style that asks for approval before making changes, so you watch the screen and grant permission at each step. With Codex, you hand a more detailed spec off as a cloud task. An isolated sandbox clones the repository, makes the changes, runs the tests, and then shows you the changes (or a PR), while you work on something else in the meantime.

Here is a prompt you can copy and use: "Following the installation steps in the README, find the tests that fail, explain the cause, and tell me your fix plan before changing anything." Starting this way with either tool can reduce unintended large-scale changes.

The sources say there is no universal winner and that using both is common. For example, you might use Claude Code day to day and hand only the hard tasks to Codex CLI. A plugin distributed by OpenAI (codex-plugin-cc) lets you call /codex:review and /codex:rescue from inside Claude Code, and because AIs from the same family reviewing each other tend to inherit the same blind spots, some people split development and review between different tools. Conversely, Codex has a feature that imports your Claude Code settings and recent chats with /import, so the burden of switching is small. Examples can be found on the AWS tech blog.

When not to use them: What are the practical limits?

Both tools send your code to an external service for processing. For repositories containing company confidential information or personal data, check your company policy and the data handling terms of the relevant plan before using them.

Usage limits are also a factor. Claude Code has two layers, a 5-hour limit and a weekly cap, so if you use it heavily in a single day, you may get blocked for the rest of that week. Codex also shares its limit across web, CLI, and IDE, so heavy use on the web reduces the room you have left in the CLI.

There are clear downsides too. Claude Code is Claude-only, so mixing in models from other vendors requires a separate tool, and Codex has little official material in Korean. Beginners unfamiliar with the terminal may get stuck on initial installation and permission settings with both tools, and there is guidance that Windows may require a WSL2 environment. The cheapest and fastest way to compare is to start with one small repository and give the same issue to both tools.

✦ See this star on the 3D map
Sources: claudecode.to three-way comparison · Using Claude Claude Code vs Codex · AWS tech blog · Blake Crosley Codex CLI reference · OpenAI Codex page · checked 2026-11-05. Pricing and models change often, so the numbers on the checkout screen take priority.

This post was translated from the Korean original. Prices, plans and dates are as checked in the original. Read the Korean original

#Claude Code#Codex CLI#AI coding agents#Claude Code vs Codex#OpenAI Codex#Terminal AI#AI coding tool comparison#Star vs. star
HomeTrendsTools