首頁AI 工具OpenAI Codex
OpenAI Codex logo
OpenAI Codex
OpenAI's autonomous coding agent — plans, writes, and tests code from a natural-language task description.
0
收藏數
Free; $8/mo (Go)
起價
OpenAI
開發者
OpenAI Codex
產品截圖

OpenAI Codex 是什麼?

內容最後驗證於 May 4, 2026 · 由 AI Tools Set 研究團隊撰寫

OpenAI Codex is OpenAI's autonomous coding agent product — distinct from the original 2021 Codex model that powered early GitHub Copilot — capable of taking on a coding task described in natural language and carrying it out across a codebase, from planning and writing code through running tests. It's accessed through ChatGPT's Codex interface, a CLI, or the API depending on how you want to work with it.

In 2026, OpenAI switched Codex's pricing model from message-based estimates to a direct token-based credit system: usage is metered by actual input, cached input, and output tokens consumed rather than a flat per-message cost, with credits refilling on a rolling 5-hour window. That makes cost more directly tied to task complexity than earlier flat-rate approaches.

Individual tiers run Free, Go at $8/month, Plus at $20/month, and Pro at $100/month (5x capacity) or $200/month (20x capacity). Business teams pay $20 per user/month on annual billing ($25 month-to-month), with custom Enterprise and Education pricing available. A typical working session costs roughly $0.50-$2.00 in credits, with team budgets commonly landing around $100-200 per developer per month.

OpenAI Codex 的主要功能

  • Autonomous multi-step coding: Plans, writes, and tests code from a natural-language task description.
  • Multiple access points: Available through ChatGPT's Codex interface, a CLI, and the API.
  • Token-based credit pricing: Usage is metered by actual token consumption rather than flat per-message pricing.
  • Rolling usage window: Credits refill on a rolling 5-hour window rather than a hard monthly reset.

OpenAI Codex 的使用情境

  • Delegate a coding task described in plain language to an autonomous agent
  • Run coding tasks from the terminal via the Codex CLI
  • Integrate autonomous coding capability into a product via the API
  • Handle routine, well-specified coding tasks without manual step-by-step guidance

優點與缺點

優點
Backed by OpenAI's frontier models, with frequent capability updates
Token-based pricing ties cost more directly to actual task complexity than flat message pricing
Available through multiple interfaces (chat, CLI, API) depending on workflow preference
缺點
Token-based credit pricing can be harder to predict upfront than a flat monthly rate
Higher tiers ($100-200/mo) are a meaningful cost for individual developers
OpenAI has iterated through several coding-agent product names and pricing structures in quick succession, so specifics can shift again

價格

Go
$8 /mo
Entry-level Codex access
最受歡迎
Plus
$20 /mo
Standard Codex access, higher limits
Pro
$100–$200 /mo
5x or 20x capacity
在你的網站推廣 OpenAI Codex
分享
使用者評論
Sign in to review
4.8
★★★★★
2,341 reviews
5
1,826
4
328
3
117
2
47
1
23
OpenAI Codex Review 2026: Pricing, Credits & How It Works