Skip to content
HIPS
  • Earn with your GPU
  • Pricing
  • Docs
Sign inJoin early access
  1. Coding agents
  2. /
  3. Codex vs Claude Code

Codex vs Claude Code

Codex is OpenAI's coding agent. Claude Code is Anthropic's. Both work in the terminal, in editors, in a desktop app and on the web. Two differences matter most: Codex comes with every ChatGPT plan, the Free plan included, and its CLI is open source. Claude Code comes with Claude's paid plans and runs Anthropic's Claude models.

Published by HIPS. Not affiliated with OpenAI or Anthropic. Every fact below is from each vendor's own pages, read December 1, 2026.

Join early accessRun both on open models
Run both on open models
$ curl -fsSL https://hips.com/hi.sh | sh$ hi login$ hi codex$ hi claude

Codex

vs

Claude Code

On this page

  1. 01Codex vs Claude Code, side by side
  2. 02Claude Code vs Codex: the differences that matter
  3. 03Run both on open models
  4. 04Where each fits
  5. 05Questions
Run both on open models
$ curl -fsSL https://hips.com/hi.sh | sh$ hi login$ hi codex$ hi claude
01

Codex vs Claude Code, side by side

Codex vs Claude Code, side by side
CodexClaude Code
Made byOpenAIAnthropic
In its maker's words"Codex CLI is a coding agent from OpenAI that runs locally on your computer.""Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools."
Where it runs"Codex on the web, in the CLI, in the IDE extension, and on iOS" (Plus), and the desktop app"the terminal, IDE extensions, a desktop app, and the web"
Source codeThe CLI is open source, "Apache-2.0 license"Not stated on the Anthropic pages read
Models on its plans"GPT-6.1 Sol and GPT-6 Luna" on Plus; "GPT-6 Luna at Standard speed in the desktop app, subject to rollout" on Free and GoAnthropic's Claude models: Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5
Free planIncluded: "Explore Codex capabilities on quick coding tasks." ($0)Not included in Claude's Free plan ($0)
Paid plans, per monthGo $8; Plus $20; Pro "Plans at $100, $200, or $500 USD per month"; Business $20 a user billed annually, 2+ users ($25 billed monthly); Enterprise and Edu through salesPro $20 ($17 billed annually); Max $100; Ultra $200; Team $20 or $100 a seat billed annually ($25 or $125 monthly); Enterprise "US$20/seat/month + tax, billed annually, 20 seat minimum" plus usage at API rates
Pay per tokenWith an API key: "Pay for Codex usage based on API pricing", with "No cloud-based features (GitHub code review, Slack, etc.)"With a Console account: "Claude Code consumes API tokens at standard API pricing"
Limits"local messages per five-hour period" on Plus and Standard Business; "Pro plans currently have no five-hour limit"; "Weekly limits may also apply.""a session limit that resets every five hours, and weekly limits that reset once every week"; verified Ultra accounts have no five-hour limit
Shared with"ChatGPT Work and Codex share pricing, credits, and usage limits.""your usage of all different Claude product surfaces (claude.ai, Claude Code, Claude Desktop) counts towards the same usage limit"
Past the limit"Eligible plans can extend usage with credits or USD usage-based billing."Usage credits, "billed at standard API rates"
Training on business dataBusiness: "No training on your business data by default.""Anthropic does not train generative models using code or prompts sent to Claude Code under commercial terms"

Sources, all read December 1, 2026: Codex's pricing page and GitHub repository; Anthropic's pricing page, Claude Code overview, Claude Code product page, data usage page and help article on limits. Prices are in US dollars and change; each vendor's page is the authority.

02

Claude Code vs Codex: the differences that matter

Getting started.
Codex is on ChatGPT's Free plan. Claude Code is not on Claude's Free plan; it starts with Pro, or a Console account billed per token.
Models.
Each runs its own maker's models on its maker's plans: OpenAI's GPT models in Codex, Claude in Claude Code. With an API key, Codex's "Model availability follows the API models available to your key".
Source.
You can read and change the Codex CLI's code. The Anthropic pages read do not say the same of Claude Code.
Limits.
Both meter use in five-hour windows. Claude adds weekly limits, and Codex says weekly limits may also apply. Both have a top plan without the five-hour window: Codex's Pro plans and Claude's verified Ultra accounts.
Automation.
Both can run on a pay-per-token key. OpenAI calls the API key route "Great for automation in shared environments like CI." Anthropic's Claude Code overview says: "Pipe logs into it, run it in CI, or chain it with other tools".
03

Run both on open models

hi, HIPS's command line, starts either one on open models such as DeepSeek, Kimi, Qwen and GLM, signed in to HIPS for one session, with no API key. HIPS bills the tokens.

Run both on open models
CommandAgentIts program
hi codexCodexcodex
hi claudeClaude Codeclaude
"Each agent talks to HIPS in its own protocol, which the gateway serves: Anthropic's Messages API for Claude Code, the Responses API for Codex, chat completions for the rest."
$ curl -fsSL https://hips.com/hi.sh | sh$ hi login$ hi codex$ hi claude

The releases HIPS has tested. From HIPS's signed list of tested versions, issued December 1, 2026: Claude Code 2.1.314 to 2.1.333 on macOS, 2.1.319 to 2.1.333 on Linux and 2.1.322 to 2.1.333 on Windows; Codex 0.162.1 to 0.172.0 on macOS, 0.167.0 to 0.172.0 on Linux and 0.167.1 to 0.172.0 on Windows. hi starts a release outside those with a one-line notice.

The models each one passed. "Tested" means: "A test of the agent passed on this model's current version: it called a tool, sent the tool's result back and answered with it." It is not a score of the code.

The models each one passed
ModelClaude CodeCodex
DeepSeek V4 ProTestedTested
DeepSeek V4.1 FlashTestedTested
Kimi K3.1 ProTestedTested
Kimi K3TestedTested
GLM 5.3TestedTested
GLM 5.3 FlashTestedTested
Qwen3.6 35B A3BTestedTested
Qwen3 30B A3B Instruct 2507 FP8TestedTested
gpt oss 120bTestedTested
North Mini Code 1.0Meets the requirements, not tested yetTested
NVIDIA Nemotron 3.5 LightningMeets the requirements, not tested yetTested
Qwen3.5 9BMeets the requirements, not tested yetFailed its test

From HIPS's catalog, revision 611, and its signed test record, sequence 76 (Claude Code 2.1.333, Codex 0.172.0), both December 1, 2026. Prices and today's results are on the model catalog.

Together. With --team, agents you start on one computer work as one team, "for example a Claude Code session leading Codex, OpenCode and DeepSeek Harness builders". Codex joins a team from hi 0.1.20. "Nothing of a team is sent to HIPS."

What you give up. These are not OpenAI's or Anthropic's models, and results differ by model. Anthropic "doesn’t support routing Claude Code to non-Claude models through any gateway." The OpenAI pages read say nothing either way about Codex on other models. Run Claude Code with any model says more.

04

Where each fits

Codex fits when you already pay for ChatGPT, since Codex comes with it; when you want to read or change your agent's source; and when you run agents in CI on an API key.

Claude Code fits when you want Anthropic's Claude models with Anthropic's own support; when your company already runs Claude Team or Enterprise; and when you want one usage pool across Claude chat and coding.

Both, through hi, fit when you want either agent on open models with one per-token bill, or a Claude Code session leading Codex builders.

05

Questions

Which should I choose, Codex or Claude Code?

+

This page names no winner. They differ in plans, models and source code, and the right one is the one that does your work. Try both on a task of your own.

Is Codex free? Is Claude Code free?

+

Codex is on ChatGPT's Free plan: "Explore Codex capabilities on quick coding tasks." Claude Code is not on Claude's Free plan; see Is Claude Code free?.

How do Codex and Claude Code prices compare?

+

Both have a $20 monthly plan: ChatGPT Plus and Claude Pro. Above that, Codex's Pro plans are $100, $200 or $500 a month, and Claude's Max and Ultra are $100 and $200. Both can bill per token instead. Every Claude price is on Claude Code pricing.

Do Codex and Claude Code have usage limits?

+

Yes, both. Codex estimates "local messages per five-hour period" on Plus and Standard Business, and "Weekly limits may also apply." Claude has "a session limit that resets every five hours, and weekly limits that reset once every week".

Can Codex use Claude models, or Claude Code use GPT models?

+

Not on their own plans: each runs its maker's models there, and Anthropic supports Claude Code on Claude models only. Through hi, both run on the same open models, listed above.

Can I use Codex and Claude Code together?

+

Yes. Under hi, a Claude Code session can lead Codex in one team on your computer. GitHub also offers both: its Copilot Pro plan lists "Access to 3rd party agents (Claude Code and Codex)".

Do I need an API key?

+

Not on a plan: Codex signs in with ChatGPT, and Claude Code with a Claude account. Each takes an API key for per-token billing. Under hi, neither needs one: hi signs them in to HIPS for the session.

Join early access

Related

  • Cursor vs Claude Code
  • OpenCode vs Claude Code
  • GitHub Copilot vs Claude Code

Product

  • Inference
  • Models
  • Serverless GPUs
  • GPU rental
  • Deploy your model
  • Coding agents
  • How it works
  • Use cases
  • Pricing

Models

  • DeepSeek API
  • Kimi API
  • Qwen API
  • GLM API
  • Gemma API
  • Mistral API
  • gpt-oss API
  • All models

Developer

  • Docs
  • Quickstart
  • Migrate to HIPS
  • HIPS SDK
  • Batch jobs
  • API reference
  • Claude Code pricing

Provider

  • Earn with your GPU
  • Register GPU interest
  • Download for Mac
  • Download for Windows
  • Download for Linux

Resource

  • Security and Data
  • Resources
  • llms.txt

Compare

  • OpenRouter alternatives
  • Together AI alternatives
  • Groq alternatives
  • Runpod alternatives
  • Claude Code alternatives
  • Cursor alternatives
  • All comparisons

Company

  • About
  • Contact
  • Affiliate program
  • HIPS Payments

Legal

  • Legal
  • Consumer Health Data Privacy Policy
  • Report content
  • Cookie preferences

Support

  • Contact HIPS
  • Looking for payments support?

HIPS. AI inference for builders.

hips.com

Hyperscale Inference Processing Systems OÜ