Part of the guide: What is Claude Code? What it does, what it costs, and how to start
Claude Code vs Cursor vs Codex: which AI coding tool should you use?
In short
- Claude Code is Anthropic's agent for your terminal, desktop app and editor; it runs Claude models only and starts with the paid Claude Pro plan (monthly or yearly billing).
- Cursor is an AI coding app you download. Its plans include Grok models; Claude and other third-party models are billed on top at API list price.
- Codex is OpenAI's coding agent, included in ChatGPT plans (with CLI, editor extension and cloud tasks starting on Plus).
- Plans checked on 18 November 2026 on each vendor's own pricing page; check each site for current prices.
Claude Code, Cursor and Codex all let an AI agent read your project, change files and run commands. The difference is where you work and whose models you pay for. Claude Code is Anthropic's agent, used from a terminal, the Claude desktop app or your editor, with Claude models included in a paid Claude plan. Cursor is a coding app you download, with a choice of models. Codex is OpenAI's agent, included in ChatGPT plans, strong on tasks that run in the cloud while you do something else.
The plans below were read on 18 November 2026 on each vendor's own pricing page. All three change their plans and prices often, so check each vendor's pricing page before you buy.
The short version
- You want Claude models and you are fine typing requests in a terminal or in the Claude desktop app: Claude Code.
- You want an editor where you see and edit the code yourself, with an agent beside it and many models to choose from: Cursor.
- You already pay for ChatGPT, or you want to hand off tasks that run in the cloud and come back as a pull request: Codex.
None of them is best at everything, and plenty of developers use two side by side.
What each tool is
Claude Code is an agentic coding tool from Anthropic. It reads your codebase, edits files and runs commands. You can use it in the terminal, in VS Code and JetBrains, in the Claude desktop app (the Code tab) and on the web. It needs a paid Claude plan (Pro or higher) or a Console account with API credits. The full introduction is in what is Claude Code.
Cursor describes itself as a coding agent for building software. You install the Cursor app (macOS 12 or later, Windows 10 or later, Linux), open a folder and ask the agent to explain, plan or change the code. It also has a command-line agent (agent) with Agent, Plan and Ask modes, and cloud agents on the higher plans. Its model list includes Claude, Gemini, Grok and Cursor's own Composer models.
Codex is OpenAI's coding agent. The Codex CLI works on your local repository from the terminal; there is an IDE extension; Codex Cloud runs tasks in their own workspace, which keep going while your computer sleeps, and you review the changes or open a pull request. It is part of ChatGPT plans and runs OpenAI's GPT models.
Side by side
| Claude Code | Cursor | Codex | |
|---|---|---|---|
| Made by | Anthropic | Anysphere (Cursor) | OpenAI |
| Where you use it | Terminal, VS Code, JetBrains, Claude desktop app, web | Cursor app, CLI, cloud agents | CLI, IDE extension, web, iOS, ChatGPT desktop app |
| Models | Claude models | Grok in the plan; Claude, Gemini and others at API list price; Cursor's Composer | OpenAI GPT models |
| Smallest plan that includes it | Claude Pro (monthly or cheaper yearly) | Free (limited); Plus (lowest paid tier, Grok models only) | ChatGPT Free (desktop app, limited); Plus for CLI, IDE and web |
| Bigger individual plans | Max, Ultra | Premium, Super, Ultra | Pro (three higher tiers) |
| Teams | Team: standard seat (yearly or monthly per user) | Teams (per user, monthly) | Business (yearly or monthly per user) |
| Project instructions file | CLAUDE.md (reads AGENTS.md if there is no CLAUDE.md) |
.cursor/rules, AGENTS.md |
AGENTS.md |
| Pay by API instead | Yes, Console account | Third-party models at API list price | Yes, API key |
Sources for every cell are listed at the end of the article.
What it costs to use Claude models in each
- In Claude Code, Claude model use is part of your Claude plan, up to the plan's usage limits (on Pro and Max they reset every 5 hours and every week). Pro is the smallest paid plan that includes it. What each plan includes is in how much Claude costs.
- In Cursor, the pricing page says the Premium plan and above include usage of Grok models but no allowance for third-party models. Claude models remain available, billed by usage at API list price, and you can set spending caps.
- In Codex, you cannot use Claude models; Codex runs OpenAI models.
So if Claude is the model you want, Claude Code is the direct route. If you want to switch models from task to task in one app, Cursor is built for that, and you pay per use for the models outside its plan.
Who should pick which
| You are… | Start with |
|---|---|
| A developer who lives in the terminal | Claude Code or the Codex CLI |
| A developer who wants to read and edit every line in an editor | Cursor, or Claude Code inside VS Code |
| Not a programmer (files, documents, small automations) | Claude Code in the desktop app: you describe the result, it does the steps |
| Already paying for ChatGPT Plus | Try Codex first; it's already included |
| A team that wants agents to work in the background | Codex Cloud, Cursor cloud agents or Claude Code on the web; test with one real task |
An accounting firm in Leeds that wants an assistant to tidy exported reports has no reason to learn an editor; Claude Code in the desktop app is the shorter path. A two-person software shop that already works in Cursor every day can keep its editor and add Claude Code or Codex for long tasks.
Using them together
You do not have to choose only one. Two practical points:
- One instructions file. Put the rules every agent should follow (build commands, folder layout, "never touch X") in
AGENTS.md. Codex and Cursor read it. Claude Code reads it when there is noCLAUDE.md, or you can create a shortCLAUDE.mdwith the line@AGENTS.md. More in what is CLAUDE.md. - One task, one agent. Two agents editing the same files at the same time make a mess. Give each its own task, or its own Git branch.
How to test before you pay for a bigger plan
Take one real task you know well, for example "add a CSV export to the orders page" or "rename these 200 invoice files by date". Give the same request to each tool on the lowest plan that includes it, in a copy of the project. Compare three things: did the result work, how many times did you have to correct it, and how much of your plan's usage did it take. That tells you more than any benchmark table.
If you run that test and want to compare notes with others weighing the same tools, come join Team of One. It is a free WhatsApp community I host for people learning to get more done with AI.
If you choose Claude Code, the install guides are for Mac and for Windows.
Questions
Is Claude Code better than Cursor?
They are built for different ways of working. Claude Code is an agent you talk to in a terminal or desktop app, and it runs Claude models. Cursor is a coding app with its own agent and a choice of models. If you mainly want Claude models, Claude Code includes their use in your Claude plan; in Cursor, Claude models are billed at API list price on top of the plan.
Can I use Claude models in Cursor?
Yes. Cursor's documentation lists Claude models. Its pricing page says third-party models are not included in the monthly price and are billed by usage at API list price.
Is Codex free?
Codex is included in ChatGPT plans, including the Free plan. On Free and Go, the pricing page lists Codex in the desktop app with a smaller model. Codex in the CLI, the IDE extension and the web starts with the paid Plus plan.
Which one is cheapest to start?
Cursor Plus (Grok models only) is the lowest paid entry tier, while Claude Pro (cheaper billed yearly) and ChatGPT Plus for Codex sit at the same entry tier. What you end up paying in practice depends on how much you use it.
Can I use two of them on the same project?
Yes. Keep the shared project rules in an AGENTS.md file: Codex and Cursor read it, and Claude Code reads it when there is no CLAUDE.md (or when your CLAUDE.md imports it).
Sources
- claude.com: Claude plans: Free (no Claude Code), Pro (monthly or cheaper yearly billing), Max, Ultra; Team standard seat (yearly or monthly billing); check claude.com for current prices, checked 18 November 2026
- code.claude.com: Claude Code: terminal, IDE extensions, desktop app and web; reads the codebase, edits files, runs commands, checked 18 November 2026
- code.claude.com: Claude Code account types: Pro, Max, Ultra, Team, Enterprise or Console; the free plan does not include Claude Code, checked 18 November 2026
- code.claude.com: Claude Code reads AGENTS.md when there is no CLAUDE.md, checked 18 November 2026
- cursor.com: Cursor plans: Free, Plus (Grok models only), Premium, Super, Ultra, and Teams; third-party models at API list price, billed separately; weekly usage allowance; check cursor.com for current prices, checked 18 November 2026
- cursor.com: Cursor: a coding agent; models list including Claude Opus 5.5 and Sonnet 5.5, Composer 2.5, Gemini 3.1 Pro, checked 18 November 2026
- cursor.com: Cursor install: macOS 12 and later, Windows 10 and later, Linux, checked 18 November 2026
- cursor.com: Cursor CLI: agent in the terminal, Agent, Plan and Ask modes, print mode for scripts and CI, checked 18 November 2026
- cursor.com: Cursor rules: .cursor/rules and AGENTS.md, checked 18 November 2026
- developers.openai.com: Codex pricing: included in ChatGPT Free, Go, Plus, Pro (multiple tiers), and Business (yearly or monthly per-user billing); Plus includes Codex on the web, in the CLI, in the IDE extension and on iOS; API key option, checked 18 November 2026
- learn.chatgpt.com: Codex CLI: inspect, edit and run code from your terminal; codex exec for scripts and CI, checked 18 November 2026
- learn.chatgpt.com: Codex Cloud: tasks run in the cloud in their own workspace, keep working while your computer sleeps, checked 18 November 2026
Free WhatsApp community
Learning AI? Learn it on real work.
In “Team of one” I post what I actually tried on my own work. Most of it is in Romanian, but ask in English any time and we will work it out together.
Join the community