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 每月 $200Team 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,且它與網頁版、桌面版和行動版 App 上的 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 從 $100 起,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 方案的專案數與每日任務數上限。