June 16, 2026

2026 年 Claude Code 与 Codex 定价:AI 编程智能体要花多少钱

Claude Code 的定价从 Claude Pro 的每月 $20 起,Codex 则包含在从 ChatGPT Free、Go 到 Pro 的各个套餐中。下面并列列出所有套餐,说明用量限制如何运作,以及如何充分利用你已付费的套餐。

快速解答

最后核实:2026 年 10 月 23 日,依据 claude.com/pricing、Anthropic 的 Max 套餐和用量限制帮助文章、OpenAI 的 Codex 定价和 API 定价页面,以及 cursor.com/pricing。价格均为每月美元价格,不含税。各提供商经常调整套餐,购买前请在其页面上确认。

  • Claude Code 包含在 Claude Pro($20/月,按年付费为 $17/月)、Max 5x($100/月)、Max 20x($200/月)以及 Team 席位(按月付费每席位 Standard $25、Premium $125)中。你也可以按 API 用量随用随付来运行它。
  • OpenAI Codex 包含在所有 ChatGPT 套餐中:Free、Go($8/月)、Plus($20/月)、Pro($100/月起,另有 $200 和 $500 档位)以及 Business(按月付费每用户 $25,按年付费 $20)。你也可以使用 API 密钥按 API 费率运行它。
  • **两者起步价相同:**每月 $20 即可获得 Claude Pro 或 ChatGPT Plus,且各自都包含其编程智能体。

AI 编程智能体定价对比

智能体入门付费套餐更高档位团队定价随用随付
Claude CodeClaude Pro,$20/月(按年付费 $17/月)Max 5x $100/月,Max 20x $200/月Team Standard $25/席位,Premium $125/席位(按月付费)Anthropic API,按 token 计费
OpenAI CodexChatGPT Go $8/月或 Plus $20/月(Free 也包含)Pro $100/月起,另有 $200 和 $500 档位Business $25/用户(按月付费),按年付费 $20OpenAI API 密钥,按 token 计费
CursorPlus $8/月(另有 Free 套餐)Premium $30、Super $100、Ultra $200 每月Teams $30/用户起第三方模型单独计费
Aider开源,无需订阅––使用你自己的 API 密钥,调用你所选的模型

所有价格最后核实于 2026 年 10 月 23 日。


Claude Code 定价

所有 Claude 付费套餐都包含 Claude Code,它与网页版、桌面版和移动版 Claude 共用同一个用量池。

套餐价格Claude Code 用量
Free$0不包含 Claude Code
Pro$20/月,按年付费为 $17/月(预付 $200)包含
Max 5x$100/月每个五小时会话为 Pro 用量的 5×
Max 20x$200/月每个五小时会话为 Pro 用量的 20×
Team Standard按月付费 $25/席位/月,按年付费 $20用量高于 Pro
Team Premium按月付费 $125/席位/月,按年付费 $100Standard 席位的 5×

**API 定价。**Claude Code 也可以使用 Anthropic API 密钥运行,按每百万 token 计费:

模型输入输出
Opus 5.5$4$20
Sonnet 5.5$2$10
Haiku 5.5$0.10$0.50

提示缓存让重复上下文的成本大幅降低(Opus 5.5 缓存读取为每百万 token $0.20),这对需要反复读取相同文件的编程智能体很重要。

**哪个套餐适合你?**如果你大多数日子都会用 Claude Code 进行专注的会话,Pro 是不错的起点。Max 5x 适合在大部分工作时间运行 Claude Code 的人,Max 20x 适合并行运行多个 Claude Code 会话的人。


Claude Code 用量限制

Claude Code 不公布固定的消息数量。付费套餐改用两种限制:

  • **五小时会话限制。**你的额度按滚动的五小时窗口重置。
  • **每周限制。**每周重置一次,重置时间是分配给你账户的固定时间。

用量是共享的:你在 Claude 和 Claude Code 中的所有操作都计入同一限制。Max 会成倍提高每个会话的额度(Pro 的 5× 或 20×)。

**查看当前用量。**在 Claude Code 中运行 /usage,或在 Claude 中打开“设置 → 用量”,即可查看会话和每周的用量进度以及各自的重置时间。

**达到限制时,**你可以等待重置、升级套餐,或开启用量额度,以标准 API 费率继续工作。Max 附带的每月 API 额度仅用于 API,不能在 Claude Code 中使用。

**更充分地利用限额。**让每个会话专注于一项任务,在不相关的任务之间清空上下文,简单的修改使用更轻量的模型。如果你还有 ChatGPT 套餐,把部分工作交给 Codex 可以将其分摊到两份独立的额度上,这正是用 Chief 同时运行两者的用途。


Codex 定价

所有 ChatGPT 套餐都包含 Codex,你也可以使用 OpenAI API 密钥运行 Codex CLI。

套餐价格Codex 用量
Free$0包含;限制未公布
Go$8/月包含;限制未公布
Plus$20/月按模型计算的五小时消息额度(见下文)
Pro$100/月起($100、$200 或 $500 档位)无五小时限制
Business按月付费 $25/用户/月,按年付费 $20(2 名及以上用户)每席位额度与 Plus 相同
Enterprise 和 Edu联系销售灵活定价,或每席位 Plus 级别的限制

**Plus 和 Business 的 Codex 用量限制。**OpenAI 按模型公布了每五小时的预估本地消息数:GPT-6.1 Sol 15–160 条,GPT-6 Luna 350–3,000 条,GPT-6 Astra 5–45 条。云端任务使用同一额度,也可能适用每周限制。你的 Codex 用量仪表板会显示当前数据。

**API 定价。**使用 API 密钥时,Codex 按 OpenAI API 费率以每百万 token 计费:

模型输入输出
gpt-6.1-sol$2.00$10.00
gpt-6-astra$10.00$50.00
gpt-6-luna$0.10$0.50
gpt-5.3-codex$1.75$14.00

**哪个套餐适合你?**Plus 可以满足你在使用 ChatGPT 的同时日常使用 Codex 的需求。Pro 没有五小时限制,适合长时间的 Codex 会话和大量云端任务。


Claude Code 与 Codex 定价对比

在入门级别,两者价格相同:Claude Pro 和 ChatGPT Plus 都是每月 $20,并且都包含各自的编程智能体。Codex 还包含在 ChatGPT Free 和 Go 中,因此是试用智能体成本更低的方式。对于重度使用,Claude Max 和 ChatGPT Pro 都从 $100 起,且都有更高档位。

许多开发者两者都保留。这两个智能体各有所长,用量额度彼此独立,因此两个 $20 套餐能比一个支持更多工作,你还可以为每项任务选择合适的智能体。关于各智能体最擅长什么,请参阅 Claude Code 与 Codex 对比。如需在一处运行两者,请参阅 Chief + Claude Code 和 Chief + Codex。


在同一预算下运行 Claude Code 和 Codex

Chief 在你自己的机器上运行 Claude Code、Codex 和其他编程智能体,并使用你已有的套餐登录。它不会在你的订阅之外额外增加智能体费用。

  • **按项目和任务查看用量。**在一处查看每个项目和任务消耗了多少提供商套餐用量,涵盖所有提供商。
  • **带用量预算的 Auto mode。**设置任务限制以及提供商用量的每周上限。Chief 朝着你的目标推进,达到任一限制时停止。
  • **为每个里程碑选择合适的智能体。**为每个项目设置默认智能体,并可为任意里程碑另选一个,让繁重的工作交给仍有余量的套餐。
  • **共享上下文。**将一个里程碑从 Claude Code 切换到 Codex 时,接手的智能体已经知道之前发生了什么,你无需花费用量重新解释代码库。

Chief 提供免费套餐,无需信用卡;请参阅 Chief 定价。

查看你在所有智能体上的用量。免费开始 →


2026 年预计花费

**一个智能体,日常使用:**每月约 $20。对于每天用一个智能体工作一段时间的大多数人,Claude Pro 或 ChatGPT Plus 就够了。

**两个智能体:**Claude Pro 加 ChatGPT Plus 每月约 $40。这样你可以获得两份独立的额度,并兼得两个智能体的长处。

**重度、全天使用:**Claude Max 或 ChatGPT Pro 每月 $100–200,有时还会搭配另一家提供商的 $20 套餐。

**团队:**按席位计费,按月付费的 Claude Team Standard 或 ChatGPT Business 每月 $25 起,全天运行智能体的人可选用更高用量的席位。

更充分利用套餐的技巧

**让智能体匹配任务。**架构设计和棘手的多文件修改使用你最强的模型,小修改和测试使用更轻量、更便宜的模型。

**每个会话只做一项明确的任务。**专注且验收标准清晰的会话占用更少上下文,产出的工作也更容易审查。

**分批安排工作。**将明确界定的工作分批派发,而不是整天反复启动和停止会话,这样智能体重新读取代码库的次数会更少。

**按项目跟踪用量。**了解哪些项目和任务消耗了最多的套餐用量,就能知道在哪里换用更轻量的模型或第二家提供商会有帮助。关于同时运行多个智能体的全局视角,请参阅 AI 智能体编排。

常见问题

Claude Code 要多少钱?

Claude Code 包含在 Claude Pro(每月 $20,按年付费每月 $17)、Max 5x(每月 $100)和 Max 20x(每月 $200)中。Team 席位按月付费为每席位 $25(Standard)或 $125(Premium)。你也可以按 Anthropic API 定价随用随付使用它。价格最后核实于 2026 年 10 月 23 日。

Claude Code 免费吗?

Claude Free 套餐不包含 Claude Code。使用它成本最低的方式是每月 $20 的 Claude Pro,或按 token 计费的 Anthropic API 密钥。

Codex 要多少钱?

Codex 包含在 ChatGPT Free、Go(每月 $8)、Plus(每月 $20)、Pro(每月 $100 起)和 Business(按月付费每用户 $25)中。你也可以使用 OpenAI API 密钥按 API 费率运行它。价格最后核实于 2026 年 10 月 23 日。

Claude Code 的用量限制是什么?

Claude 付费套餐有五小时会话限制和每周限制,由 Claude 和 Claude Code 共用。Max 5x 和 Max 20x 每个会话分别提供 Pro 用量的 5× 和 20×。在 Claude Code 中运行 /usage 即可查看当前用量以及限制的重置时间。

达到 Claude Code 用量限制后会怎样?

你可以等待五小时或每周重置、升级到更高的套餐,或开启用量额度以按 API 费率继续工作。如果你还有 ChatGPT 套餐,可以把下一项任务交给拥有独立额度的 Codex。

Claude Code 和 Codex 哪个更便宜?

Claude Pro 和 ChatGPT Plus 价格相同,都是每月 $20。Codex 还包含在 ChatGPT Free 和 Go 中,因此试用成本更低。对于重度使用,两者都有每月 $100 起的套餐。

Chief 会在我的智能体订阅之外增加费用吗?

不会增加智能体费用。Chief 运行你已付费的智能体,并使用你自己的账户登录。Chief 本身提供免费套餐,付费套餐会提高其项目数量和每日任务数量的上限。

More articles

AI Agent Orchestration Guide

What AI agent orchestration is, how multi-agent orchestration works for Claude Code and Codex, and a comparison of orchestration approaches. Free guide.

What Is Agentic Engineering?

Agentic engineering means directing AI coding agents that write and test code while you set goals and review results. How it differs from agentic coding.

AI Code Review at Scale

What AI code review is, the main types of AI code review tools, and five workflows for reviewing AI-generated code from several coding agents at once.

From Single Agent to Multi-Agent

Already using one AI coding agent? Here's how to scale to multiple instances running in parallel — the concurrency patterns, worktree isolation, and task decomposition strategies that make it work.

Vibe Coding at Scale

Vibe coding with one agent is fun. Vibe coding with five is chaos — unless you have orchestration. Here's how to scale the vibe without losing the quality.

Why AI Agents Need an Orchestration Layer

Running AI coding agents in terminal tabs works for two. Five signs you've outgrown it, tabs vs an orchestration layer, and what to look for in one.

Multi-Provider AI Orchestration

Claude Code, Codex, Cursor, Aider — each excels at different work. Here's how to combine providers into one coordinated workflow and why cross-provider review catches bugs single-provider setups miss.

Use Chief From Your AI Assistant

Add Chief's remote MCP server to Claude, Claude Code or Codex. Ask what's waiting on you, catch up on what shipped and propose milestones from chat.

Claude Code vs Codex: When to Use Each

Codex vs Claude Code: when each fits, a comparison table and FAQ. Claude Code vs Codex isn't either-or; Chief runs both on your projects.

Claude Code vs Cursor: When to Use Each

Cursor vs Claude Code: when each fits, a comparison table and FAQ. Claude Code vs Cursor isn't either-or; keep Cursor and let Chief run Claude Code.

How to Run Multiple Claude Code Agents in Parallel

Run multiple Claude Code agents in parallel, step by step: worktrees, background agents, subagents and review. Then let Chief orchestrate them for you.

Git Worktrees for AI Coding Agents

How to use git worktrees with Claude Code and Codex: one per agent, parallel runs, .env files, merging and cleanup. Every command, step by step.

How to Run Claude Code From Your Phone

Run Claude Code from your phone: Remote Control, cloud sessions in the Claude mobile app, or SSH and tmux, step by step. Plus approving agents in Discord.

The Best AI Coding Agents in 2026

The best AI coding agents of 2026: Claude Code, Codex, Cursor, Copilot and more agentic AI coding tools compared, and how to run several with Chief.

Subagents vs Parallel Agents

What is a subagent? How Claude Code subagents and Codex subagents work, how they differ from parallel agents, and when to use each one.

How to Install and Set Up Codex CLI

Install Codex CLI on macOS, Linux or Windows, sign in, run your first session and update it. Every command, then run Codex alongside Claude Code in Chief.

Ready to manage your agents?

免费套餐,无需信用卡。Chief 让你在一个视图中查看所运行的每个智能体的用量,付费套餐会提高 Free 套餐的项目数量和每日任务数量上限。