Claude vs OpenAI Codex: pricing, features and which to choose

Plans, prices, deployment options, strengths and limits for Claude vs OpenAI Codex, taken from each company's pricing page, docs and changelog. Updated November 2026.

ClaudeOpenAI Codex
Claude logo

Claude

Writing AI Tools

Claude is Anthropic’s conversational AI assistant for writers, researchers, developers, and organizations. It supports web search, file creation, code execution, Projects, Artifacts, connectors, and Claude Code on paid plans. A free plan is available, Pro costs $20/month or $200/year, and Max starts at $100/month. API access is billed by model and token usage.

OpenAI Codex logo

OpenAI Codex

Coding AI Tools

OpenAI Codex is a software engineering agent from OpenAI for developers who want delegated coding work in a terminal, IDE, web workspace, GitHub, or mobile app. Access starts with a limited free offering and ChatGPT plans, with Plus at $20/month. Business and API routes add administration or token billing.

Quick comparison

FeatureClaudeOpenAI Codex
CategoryWriting AI ToolsCoding AI Tools
Main useAI writing assistantAI coding agent
Pricing modelFree plan + paid tiersFree plan + paid tiers
Free plan Yes Yes
Entry paid plan$20/month (Pro)$20/month (Plus)
PlatformsWeb, mobile & APIWeb, CLI & IDE
Open source No Yes
Self-hosted No No
Public API Yes Yes
Profile updatedNovember 2026November 2026

Pricing plans

Every public plan, as listed on each company's pricing page.

Claude

  • Free$0/month

    Rolling five hour limits vary by demand, model, feature, and task. Includes up to five Projects.

  • Pro$20/month

    Annual billing costs $200/year. Includes at least five times Free usage per rolling five hour session, with weekly limits.

  • Max$100/month

    Provides five times Pro usage per rolling five hour session, higher output limits, priority access, and $100/month in API credits.

  • Ultra$200/month

    Anthropic lists 10 times Pro weekly usage, no five hour limit for verified accounts, Fable for up to half the weekly limit, priority access, and $200/month in API credits.

  • Team Standard$25/user/month

    Annual billing costs $20/user/month, billed upfront. Available for teams of 2 to 150, with more usage than Pro. Anthropic says Team plans include monthly API credits of $20 per Standard seat and $100 per Premium seat, pooled and capped at $500.

  • Team Premium$125/user/month

    Annual billing costs $100/user/month, billed upfront. Provides five times Standard seat usage.

  • Enterprise$20/user/month

    Billed annually, plus usage at API rates. Adds enterprise administration, security, retention, and access controls. Anthropic lists a 20 seat minimum for self-serve Enterprise and 50 seats for sales-assisted plans.

  • EducationCustom

    University wide access for students, faculty, and staff, with educational features, training, enablement, and dedicated API credits.

  • Claude API$0.10/million input tokens

    Haiku 5.5 base input rate; output costs $0.50 per million tokens. Other models, tools, and cloud providers have different rates.

OpenAI Codex

  • Free$0/month

    Limited Codex access for a limited time; allowance varies by task complexity.

  • Plus$20/month

    Web, CLI, IDE, iOS, cloud integrations, latest models, and higher usage limits.

  • Pro$100, $200, or $500/month

    Everything in Plus, priority processing, higher usage limits across local and cloud tasks. $500 tier includes Ultrafast mode.

  • Business$20/user/month annual billing (2+ seats)

    Dedicated workspace, larger virtual machines, admin controls, SAML SSO, MFA, and no training on business data by default.

  • EnterpriseCustom

    Enterprise security, SCIM, EKM, analytics, audit logs, retention, and residency controls.

  • API keyUsage based

    CLI, SDK, and IDE access billed by token; cloud integrations are unavailable.

Strengths and limits

Claude

  • Current models offer context windows up to 1 million tokens.
  • Artifacts turn generated content and code into shareable interactive outputs.
  • Claude combines web search, file creation, code execution, memory, and connectors.
  • The API is offered directly and through major cloud platforms.
  • Max, Ultra, and Team plans include monthly Claude API credits, according to Anthropic.
  • Usage limits vary with conversation length, model, features, and task complexity.
  • Consumer plans use an opt out setting for model training.
  • API costs rise with token consumption and selected platform features.

OpenAI Codex

  • Runs tests and development commands inside its task environment.
  • Works across web, terminal, IDE, GitHub, Slack, and iOS.
  • GPT-5-Codex targets long software engineering tasks.
  • Business plans exclude business data from training by default.
  • Usage allowances vary with task size and execution location.
  • API access and cloud features have different availability.
  • Generated changes still require human review.

Which should you choose?

Choose Claude if

  • Writers who need drafting, revision, and long document analysis in one workspace.
  • Developers who want Claude Code, tool use, and large codebase context.
  • Research teams using web search, file analysis, and shared Projects.
  • Organizations requiring SSO, audit logs, retention controls, and commercial terms.

Look elsewhere if

  • Users who need built in image or video generation from the assistant.
  • Teams requiring predictable message counts instead of rolling and weekly limits.
  • Consumers intending to use a consumer plan for commercial work.

Choose OpenAI Codex if

  • Developers delegating repository tasks to an agent.
  • Teams needing GitHub, Slack, and workspace administration.
  • Terminal users who want local permissions and repeatable commands.
  • OpenAI customers already paying for ChatGPT.

Look elsewhere if

  • Teams requiring fully autonomous production changes.
  • Users unwilling to review generated diffs and test results.
  • Workflows dependent on unrestricted network access in sandboxes.

Claude logo Claude in brief

Claude is Anthropic’s conversational AI assistant, launched on March 14, 2023 after closed-alpha testing, with chat and API access. It now supports web, desktop, iOS, Android, Amazon Bedrock, Google Cloud, and Microsoft Foundry, combining text and image input, vision, web search, file creation, code execution, projects, memory, connectors, Artifacts, and Claude Code. Current models include Fable 5.1 for demanding reasoning, Opus 5.5 for long-running agentic work, Sonnet 5.5 for fast coding and agents, and Haiku 5.5 for high-volume tasks. Free access has rolling limits, while Pro costs $20 monthly or $200 annually; Max costs $100 monthly and Ultra costs $200 monthly. Team starts at $20 per seat annually, and Enterprise adds governance. ChatGPT and Gemini are the closest alternatives. Claude suits researchers, developers, and businesses prioritizing long-context work, when users verify outputs and monitor usage.

A typical Claude workflow starts with a conversation, uploaded file, Project, or connected service. Users can request drafts, revisions, summaries, analysis, or code, then turn results into shareable documents, applications, tables, and other outputs through Artifacts. Web search supplies current information, while sandboxed Python supports data analysis. Projects organize instructions and files, and memory can retain information across conversations. Connectors reach services such as Google Drive, Gmail, Dropbox, Notion, OneDrive, Outlook, Trello, and Zoom, depending on account and plan. Developers select a model for the Messages API, then add tools, prompt caching, batch processing, managed agents, or data residency controls as needed. The workflow is flexible for research, writing, coding, and business automation, though users should verify outputs and monitor token, search, and execution charges.

Claude’s main weaknesses are its unpredictable capacity and usage-based economics. Free and paid plans reset through rolling five-hour windows rather than fixed message allowances, while Pro, Max, and business tiers also impose weekly limits that vary with model, conversation length, features, and complexity. API costs add up by input and output tokens, with separate charges for web search, managed agents, and some code execution, although batch processing halves token rates. Outputs can be inaccurate or incomplete, so important decisions and generated code require review. Consumer and commercial services have separate terms, while API, Team, and Enterprise offerings exclude customer content from training by default. ChatGPT offers broader general-purpose features, Gemini favors Google users, and Perplexity emphasizes source-linked search. Choose Claude for long documents, careful drafting, coding, and collaborative projects.

Read the full Claude review

OpenAI Codex logo OpenAI Codex in brief

OpenAI Codex is an AI software engineering agent made by OpenAI. It launched in 2025, beginning as a cloud based research preview in May before reaching general availability in October. Codex writes, reviews, tests, and modifies code through web, terminal, IDE, GitHub, Slack, and mobile interfaces, with local and cloud workflows connected through ChatGPT. OpenAI says daily usage grew more than tenfold since early August 2025, while GPT-5-Codex processed more than 40 trillion tokens during its first three weeks, figures reported by the company rather than independent auditors. Codex remains active and has not been acquired or closed. Its current plans include Free, Plus, Pro, Business, Edu, Enterprise, and usage based API access, with limits varying by task and model.

OpenAI Codex is a software engineering agent that writes, reviews, tests, and ships code through its web client, CLI, IDE extension, GitHub, Slack, and iOS app. A typical workflow starts with a repository and a scoped request, such as adding an API endpoint. Codex reads the relevant files, edits the project, runs commands, tests, linters, and type checkers, then presents a diff with terminal logs and test results. You review the changes, request revisions, merge them, or open a pull request. Cloud tasks run in separate environments, while the CLI and IDE extension support local work with configurable permissions. Codex is included with ChatGPT plans, including Plus at $20 monthly, and API key usage is billed by tokens. Limits vary with task size and execution location.

OpenAI Codex is a coding agent for delegated repository work across the terminal, IDE, web, GitHub, Slack, and iOS. It can edit files, run commands, execute tests, and propose pull requests, but its output still requires human review. Task allowances vary with codebase size, model, and execution location, while cloud work and API-key use have different capabilities. Sandboxed execution can also constrain workflows needing network access, and remote tasks may take longer than interactive editing. Claude Code is more terminal-centered, Google Jules emphasizes asynchronous repository tasks, and GitHub Copilot focuses more on editor assistance. Codex fits teams already using ChatGPT, GitHub workflows, or OpenAI workspaces, especially when business administration and cross-surface access matter. Choose Codex if you want one OpenAI agent spanning local development, cloud delegation, and team workflows.

Read the full OpenAI Codex review

Frequently asked questions

How do Claude vs OpenAI Codex compare on price?

Claude has a free option, and its first paid plan (Pro) is listed at $20/month. OpenAI Codex has a free option, and its first paid plan (Plus) is listed at $20/month. Prices are from each company's pricing page and can change, so check before you buy.

Which has a free plan, Claude vs OpenAI Codex?

All of them. Claude: Rolling five hour limits vary by demand, model, feature, and task. Includes up to five Projects. OpenAI Codex: Limited Codex access for a limited time; allowance varies by task complexity.

Can I self-host or integrate Claude vs OpenAI Codex?

OpenAI Codex is open source. All of them run as hosted services only. Claude and OpenAI Codex offer a public API.

How much does Claude cost?

Claude has a Free plan at $0/month. Pro costs $20/month or $200/year. Max costs $100/month for five times Pro usage, and Ultra costs $200/month for 10 times Pro weekly usage. Team Standard costs $25/user/month, or $20/user/month with annual billing. Enterprise costs $20/user/month plus usage at API rates, with a 20 seat minimum for self-serve plans. API pricing varies by model, tokens, and features.

Is Claude free to use?

Yes. The Free plan costs $0/month and works on web, desktop, iOS, and Android. It includes web search, file creation, code execution, memory, connectors, Artifacts, voice mode, and up to five Projects. Usage is limited by a rolling five hour window, with capacity affected by demand, model choice, conversation length, and task complexity.

How much does OpenAI Codex cost?

Codex is included in ChatGPT plans. Plus costs $20/month, Pro costs $200/month, and Business costs $30 per user monthly. Free and Go access is currently described as limited time. API-key use is metered by tokens, and ChatGPT credits can extend included usage.

Is OpenAI Codex free?

Yes, OpenAI lists Codex in Free and Go plans for a limited period, with lower allowances than paid plans. The amount consumed depends on task size, codebase context, and whether work runs locally or in the cloud. OpenAI can change availability and limits, so free access should not be treated as a permanent unlimited tier.

Related comparisons

Sources