Guide

Codex or Claude Code for research: the same prices, and the $20 plans ration both labs' best models

Anthropic and OpenAI both sell their coding agents at $20, $100 and $200 a month. On the $20 plans, OpenAI estimates 5 to 45 Codex messages every five hours on its strongest model.

AI Fin ResearchStarter6 min read
The two agents cost the same. The choice that matters is the tier, because the $20 plan rations each lab's best model.

Prices and limits below are from Anthropic’s and OpenAI’s own pages, read on 5 November 2026, in US dollars before tax.

Claude Code (Anthropic) Codex (OpenAI)
Plans that include it Pro $20 a month ($17 on an annual plan), Max $100, Ultra $200 Plus $20, Pro at $100, $200 or $500. Free and Go get limited use
Five-hour limit Pro 1x, Max 5x Pro, Ultra none for verified accounts Plus: OpenAI publishes estimates per model. Pro: none
Weekly limit Pro 1x, Max 5x, Ultra 10x Pro “Weekly limits may also apply”
Strongest model Fable 5.1, “our top model”. Paid with usage credits on Pro, up to half the weekly limit on Max and Ultra GPT-6 Astra, which OpenAI says “suits the most demanding workflows”. 5 to 45 local messages per five hours on Plus
Everyday model on the $20 plan Opus 5.5 GPT-6.1 Sol, “near-Astra performance” at lower cost
API credits included $100 a month on Max, $200 on Ultra $100, $200 or $500 a month with the matching Pro tier
Long task that runs until a check passes /goal /goal
Project instruction file CLAUDE.md AGENTS.md
Skills Yes Yes
Sandbox at the start Off. Turn on with /sandbox or sandbox.enabled On: the workspace only, network off
Model training on your chats Listed as opt-out on every individual plan “Opt-out available” on every individual plan
$20the entry price of both agents, with each lab's strongest model rationed
5 to 45local Codex messages per five hours on GPT-6 Astra on the $20 Plus plan, OpenAI's own estimate
$100the tier where both labs lift the five-hour limit or multiply it by five

The $20 plans ration each lab’s strongest model

OpenAI publishes how many local Codex messages a Plus subscriber can expect every five hours. The ranges are wide because a long task with a large context uses more per message.

Model on ChatGPT Plus Local messages per five hours, OpenAI’s estimate
GPT-6 Astra 5 to 45
GPT-6.1 Sol 15 to 160
GPT-6.1 Terra 35 to 285
GPT-6 Luna 350 to 3,000

Anthropic gives multiples instead of counts. Max is five times Pro every five hours and every week. Ultra is ten times Pro every week, with no five-hour limit for verified accounts. Usage in Claude on the web, the desktop app, the phone and Claude Code all draws from one pool. On Pro, Anthropic’s strongest model, Fable 5.1, is paid for with usage credits on top of the plan.

Faster answers cost more of the same allowance. In Codex, Fast mode uses included usage 2.5 times as quickly, and Ultrafast on GPT-6 Astra or GPT-6.1 Sol 8 times as quickly.

Both agents run a long research task the same way

The working method is now the same in both tools. A project instruction file tells the agent how the project works (CLAUDE.md in Claude Code, AGENTS.md in Codex). Skills hold the repeatable procedures. /goal sets a condition, such as “every test in tests/ passes”, and the agent keeps working toward it. Anthropic’s documentation says Claude Code checks the condition after each turn and starts another turn if it is not yet met. OpenAI documents /goal in the Codex CLI, the IDE extension and the desktop app.

A researcher who learns the method in one tool has learned it for the other. The instruction file and skills guide shows it on a finance task in Claude Code.

Codex starts locked down, and Claude Code starts by asking

OpenAI’s documentation says Codex runs “with network access turned off” by default, inside a sandbox enforced by the operating system that typically limits it to the current workspace. In its Auto preset it reads, edits and runs commands in that folder, and asks before it touches files outside it or reaches the network.

Claude Code’s sandbox “is off by default.” Without it, Claude Code asks permission before acting, or lets a classifier approve actions in auto mode. Turn the sandbox on with /sandbox in a session, or set sandbox.enabled to true in ~/.claude/settings.json. The agent security guide gives a full settings file for a finance project, with the network limited to the sites a pipeline needs.

Try both on the same task

  1. Install both with the commands in the block below. Each signs in with its subscription the first time you start it.
  2. Copy one project twice, one folder for each tool. Write the same project rules into CLAUDE.md in one and AGENTS.md in the other.
  3. Start each on its strongest model at a high effort: /model and /effort in Claude Code, /model in Codex.
  4. Give both the same /goal, with a check the agent has to print, for example “the panel builds and every test in tests/ passes”.
  5. Compare the commits, the test results and how much of your allowance each run used.
# Claude Code
curl -fsSL https://claude.ai/install.sh | bash
cd ~/research/project-claude && claude

# Codex
curl -fsSL https://chatgpt.com/codex/install.sh | sh
cd ~/research/project-codex && codex

The top tiers include API credits

Claude Max includes $100 a month in API credits and Ultra $200. ChatGPT Pro includes $100, $200 or $500 a month, matching the tier. Those credits pay for the model calls a pipeline makes from code, such as scoring every earnings call transcript in a sample, without a second bill. OpenAI’s pricing page warns that API token prices are separate from subscription usage and should not be used to estimate what a plan includes.

Pay for $100 for one monthMax or Pro at $100 lifts or multiplies the five-hour limit. A month is enough to finish one real task.
Give it a task with a checkA /goal with a test the agent has to pass. In May, stock Claude Code and Codex wrote 117 papers unaided and none cleared a top venue's bar.
Keep the files portableRules, skills and tests in plain files move between the two tools. Switch when the other lab ships a better model.

A researcher with no budget at all has a cheaper route, for public data only, in the Muse Spark guide.

Retest every time either lab ships a model. Fable 5.1, GPT-6 Astra and Opus 5.5 all shipped in September.

References