ข้ามไปยังเนื้อหาหลัก
Dapols
เปรียบเทียบ

Codex กับ Claude Code

เอเจนต์เขียนโค้ดบนเทอร์มินัลสองตัวที่นักพัฒนาถกเถียงกันจริง ๆ นี่คือราคาและความเหมาะสมที่ต่างกัน

คำตัดสินของเรา

เอเจนต์เขียนโค้ดทั้งคู่มาพร้อมการสมัครแชตของผู้ให้บริการในราคาที่ใกล้เคียงกัน ดังนั้นตัวเลือกขึ้นอยู่กับวิธีทำงานของคุณ Codex เป็นตัวเลือกเริ่มต้นที่ถูกกว่า เพราะ ChatGPT Free และ Go ใช้ Codex ได้แบบจำกัด และตอนนี้แผน Pro ยังไม่มีการจำกัดเวลา 5 ชั่วโมง Claude Code เริ่มใช้ได้ตั้งแต่แผน Pro ซึ่งเป็นแผนเริ่มต้นเดียวที่จ่ายรายปีได้ ส่วนแผน Max และ Ultra มี Fable ซึ่งเป็นโมเดลระดับสูงสุดของ Anthropic ตรวจสอบราคาและขีดจำกัดจากหน้าทางการของทั้งสองรายแล้ว

 CodexClaude Code
ราคาเริ่มต้นแพ็กเกจฟรี$20/mo
แพ็กเกจฟรี
ความง่ายในการใช้งาน62/10060/100
สำหรับทีมเทคนิค
เหมาะที่สุดสำหรับImprove coding / developmentImprove coding / development
ราคาที่ตรวจแล้ว

Codex

OpenAI's agentic coding tool for building and fixing software from the terminal or editor.

Claude Code

An agentic command-line coding tool for building and refactoring software with AI.

สรุปสั้น ๆ

Both coding agents come with the vendor's chat subscription, at matching prices: $20 a month to start, $100 and $200 for heavy use, and $25 a seat ($20 billed annually) for teams. Codex has a cheaper way in, because the Free and $8 Go plans include limited Codex, while Claude Code starts at Pro. Claude Pro is the only entry plan you can pay for annually, at $17 a month. For all-day use, OpenAI's Pro tiers have no five-hour limit for now and go up to a $500 tier. Claude Max keeps the five-hour window, and Ultra drops it for verified accounts.

ราคาของแต่ละระดับ

ระดับCodexClaude Code
ตัวเลือกเริ่มต้นที่ถูกที่สุดFree · $0Pro · $20เรียกเก็บเงินรายปี: $17
แผนมาตรฐานPlus · $20Pro · $20เรียกเก็บเงินรายปี: $17
ใช้งานหนักPro 100 · $100Max · $100
ระดับสูงสุดสำหรับบุคคลPro 500 · $500Ultra · $200
ที่นั่งสำหรับทีมBusiness (Standard seat) · $25เรียกเก็บเงินรายปี: $20Team (Standard seat) · $25เรียกเก็บเงินรายปี: $20
ที่นั่งทีมระดับพรีเมียมBusiness (Premium seat) · $125เรียกเก็บเงินรายปี: $100Team (Premium seat) · $125เรียกเก็บเงินรายปี: $100

เปรียบเทียบทุกแผนแบบเคียงข้างกัน

แต่ละค่าลิงก์ไปยังหน้าอย่างเป็นทางการที่ใช้อ้างอิง

Codex (OpenAI)

แผน
Free
รายเดือน
$0
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
1
เอเจนต์เขียนโค้ด
มีจำกัด
ขีดจำกัดการใช้งาน
Limited Codex access; GPT-6 Luna at Standard speed in the desktop app, subject to rollout.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
Go
รายเดือน
$8
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
1
เอเจนต์เขียนโค้ด
มีจำกัด
ขีดจำกัดการใช้งาน
Limited Codex access for lightweight tasks; GPT-6 Luna at Standard speed in the desktop app, subject to rollout.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
Plus
รายเดือน
$20
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
1
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
Estimated local messages per 5 hours: GPT-6.2 Sol 17–180, GPT-6.2 Astra 6–50, GPT-6.1 Terra 35–285, GPT-6 Luna 350–3,000. Weekly limits may also apply.
ตัวเลขที่เผยแพร่
Ranges per 5 hours, by model
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
Pro 100
รายเดือน
$100
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
1
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
No five-hour limit at present; weekly allowance larger than Plus (doubled on 29 Oct 2026). No Ultrafast.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
$100
แหล่งที่มา
แผน
Pro 200
รายเดือน
$200
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
1
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
No five-hour limit at present; more usage than Pro 100. OpenAI's Work and Codex article says Pro 200 gets GPT-6.2 Sol Ultrafast in Codex; the Pro tiers article says Ultrafast is Pro 500 only.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
$200
แหล่งที่มา
แผน
Pro 500
รายเดือน
$500
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
1
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
Highest included usage of the Pro tiers; no five-hour limit at present; Ultrafast included (uses allowance at 6x–8x the Standard rate).
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
$500
แหล่งที่มา
แผน
Business (Standard seat)
รายเดือน
$25
เรียกเก็บเงินรายปี
$20
ที่นั่ง
2–200
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
Estimated local messages per 5 hours: GPT-6.2 Sol 17–180, GPT-6.2 Astra 6–50, GPT-6.1 Terra 35–285, GPT-6 Luna 350–3,000. Weekly limits may also apply.
ตัวเลขที่เผยแพร่
Ranges per 5 hours, by model (same as Plus)
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
Business (Premium seat)
รายเดือน
$125
เรียกเก็บเงินรายปี
$100
ที่นั่ง
2–200 (mix with Standard seats)
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
More usage than a Standard seat, with no five-hour limit.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
Enterprise & Edu
รายเดือน
ราคาตามตกลงหรือคิดตามการใช้งาน
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
Custom
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
Flexible-pricing workspaces have no fixed rate limits and scale with credits; others match Plus per seat for most features.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
API key (pay as you go)
รายเดือน
ราคาตามตกลงหรือคิดตามการใช้งาน
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
Any
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
No plan allowance; you pay for every token. CLI, SDK and IDE only, no cloud features.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา

Claude Code (Anthropic)

แผน
Free
รายเดือน
$0
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
1
เอเจนต์เขียนโค้ด
ไม่รวม
ขีดจำกัดการใช้งาน
Limited usage every 5 hours and every week. Claude Code is not included.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
Pro
รายเดือน
$20
เรียกเก็บเงินรายปี
$17
ที่นั่ง
1
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
1x baseline, reset every 5 hours plus a weekly limit; at least 5x Free per session. Chat and Claude Code share one pool. Fable only through paid usage credits.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
Max
รายเดือน
$100
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
1
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
5x Pro usage every 5 hours and every week; Fable included up to half the weekly limit; priority access at busy times.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
$100
แหล่งที่มา
แผน
Ultra
รายเดือน
$200
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
1
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
10x Pro usage every week; no five-hour limit for verified accounts; Fable up to half the weekly limit.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
$200
แหล่งที่มา
แผน
Team (Standard seat)
รายเดือน
$25
เรียกเก็บเงินรายปี
$20
ที่นั่ง
2–150
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
More usage than Pro (multiple not stated).
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
Team (Premium seat)
รายเดือน
$125
เรียกเก็บเงินรายปี
$100
ที่นั่ง
2–150 (mix with Standard seats)
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
5x the usage of a Standard seat; Fable up to half the weekly limit.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
Enterprise
รายเดือน
ราคาตามตกลงหรือคิดตามการใช้งาน
เรียกเก็บเงินรายปี
$20
ที่นั่ง
20+
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
Usage billed at API rates; admins set user and org spend limits.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา
แผน
API key (pay as you go)
รายเดือน
ราคาตามตกลงหรือคิดตามการใช้งาน
เรียกเก็บเงินรายปี
รายเดือนเท่านั้น
ที่นั่ง
Any
เอเจนต์เขียนโค้ด
รวมแล้ว
ขีดจำกัดการใช้งาน
No plan allowance; no hard stop, the account is charged for what it uses.
ตัวเลขที่เผยแพร่
ไม่มีการเผยแพร่ข้อมูล
เครดิต API ต่อเดือน
ไม่มี
แหล่งที่มา

ตัวเลือกที่เหมาะกับผู้ใช้แต่ละประเภท

นักพัฒนาที่ทำงานคนเดียวสูสีกัน

  • Codex: Plus · $20/เดือน
  • Claude Code: Pro · $20/เดือน

Both cost $20 a month. Claude Pro drops to $17 a month if you pay for a year up front; ChatGPT Plus has no annual option.

ผู้ใช้หนักทุกวันได้เปรียบ: Codex

  • Codex: Pro 100 · $100/เดือน
  • Claude Code: Max · $100/เดือน

Both cost $100 and include $100 a month in API credits. Pro 100 has no five-hour limit for now, while Max still resets every five hours at 5x Pro. Max includes Fable, Anthropic's top model, for up to half the weekly limit.

ทีมสูสีกัน

  • Codex: Business (Standard seat) · $25/เดือน
  • Claude Code: Team (Standard seat) · $25/เดือน

Same seat prices on both: $25 a month, or $20 billed annually, and $125 or $100 for a premium seat. ChatGPT Business allows up to 200 users and Claude Team up to 150.

นักเรียนหรือนักศึกษาได้เปรียบ: Codex

  • Codex: Go · $8/เดือน
  • Claude Code: Pro · $20/เดือน

Neither company lists an individual student discount on its pricing pages; both sell plans to institutions. The cheapest paid way in is Go at $8 with limited Codex. Claude Code needs Pro.

งบจำกัดได้เปรียบ: Codex

  • Codex: Free · $0/เดือน
  • Claude Code: Pro · $20/เดือน

ChatGPT Free includes limited Codex in the desktop app. Claude Free does not include Claude Code.

ค่าใช้จ่ายสำหรับรูปแบบการใช้งานทั่วไป

Side project, a few sessions a week

Short sessions on evenings or weekends.

  • Codex: Plus · $20/เดือน
  • Claude Code: Pro · $20/เดือน

Daily professional use, 1–3 hours a day

The agent is part of your workday but not running all day.

  • Codex: Pro 100 · $100/เดือน
  • Claude Code: Max · $100/เดือน

All-day agents, 3+ hours or parallel runs

Long sessions, several agents at once, large refactors.

  • Codex: Pro 200 · $200/เดือน
  • Claude Code: Ultra · $200/เดือน

Team of five developers

Shared billing, admin controls, no training on business data by default.

  • Codex: Business (Standard seat) · $25/ที่นั่ง/เดือน
  • Claude Code: Team (Standard seat) · $25/ที่นั่ง/เดือน

CI and scripted runs

Automation in shared environments where a personal login does not fit.

  • Codex: API key (pay as you go) · ราคาตามตกลงหรือคิดตามการใช้งาน
  • Claude Code: API key (pay as you go) · ราคาตามตกลงหรือคิดตามการใช้งาน

แต่ละตัวเลือกเด่นด้านไหน

Codex

  • Free and Go ($8) include limited Codex; Claude Code starts at Pro.
  • Pro tiers have no five-hour limit for now.
  • A $500 tier with the highest allowance and Ultrafast mode.
  • Publishes per-model message ranges for Plus and Business.
  • Business seats go up to 200 users.

Claude Code

  • Pro can be billed annually at $17 a month.
  • Max and Ultra include Fable, Anthropic's top model, for up to half the weekly limit.
  • Ultra has no five-hour limit for verified accounts.
  • States its multiples plainly: Max 5x Pro, Ultra 10x Pro weekly, Premium seat 5x Standard.
  • Enterprise is self-serve at a published $20 a seat plus usage.

จะเกิดอะไรขึ้นเมื่อถึงขีดจำกัด

  • Both vendors meter in windows: a rolling five-hour window plus a weekly limit. OpenAI's Pro tiers and Business Premium seats have no five-hour limit for now, and neither does Claude Ultra for verified accounts.
  • When you reach the limit, both let you keep going on paid plans: OpenAI sells credits on Plus and Pro, and Claude paid plans can switch on usage credits billed at API rates. You can also wait for the reset or move up a plan.
  • On both, one pool covers chat and coding: ChatGPT Work shares Codex's allowance, and Claude chat shares Claude Code's.
  • The model you pick changes how fast you use the allowance. OpenAI's Plus estimates run from 6–50 messages per 5 hours on GPT-6.2 Astra to 350–3,000 on GPT-6 Luna. Anthropic says Opus uses noticeably more than Sonnet.

แผนไหนเหมาะกับวิธีทำงานของคุณ

เลื่อนแถบเพื่อปรับผลลัพธ์ ตัวเลขที่ได้เป็นการประมาณจากราคาที่ตรวจสอบแล้วด้านบนและข้อสมมติที่ระบุไว้ด้านล่าง

Codex · แผนที่แนะนำ

Pro 100

$100 ต่อเดือน

งานเดียวกันบน API (GPT-6.2 Sol)
$49

แผนจะคุ้มทุนเมื่อทำงานประมาณ 20.5 งานต่อวันต่อคน

สำหรับปริมาณการใช้งานนี้ API น่าจะถูกกว่าแผน

Claude Code · แผนที่แนะนำ

Max

$100 ต่อเดือน

งานเดียวกันบน API (Sonnet 5.5)
$49

แผนจะคุ้มทุนเมื่อทำงานประมาณ 20.5 งานต่อวันต่อคน

สำหรับปริมาณการใช้งานนี้ API น่าจะถูกกว่าแผน

ตัวเลขประมาณการ ไม่ใช่ใบเสนอราคา

ข้อสมมติที่ใช้ในการประมาณการ
  • งานหนึ่งงานของเอเจนต์ใช้โทเค็นขาเข้าประมาณ 150,000 โทเค็น โดย 80% มาจากแคชพรอมป์ต์ และได้โทเค็นขาออกกลับมาประมาณ 15,000 โทเค็น
  • ใช้งาน 22 วันทำการต่อเดือน
  • ใช้งานไม่เกิน 1 ชั่วโมงหรือ 5 งานต่อวัน เหมาะกับแผนเริ่มต้น; ไม่เกิน 3 ชั่วโมงหรือ 20 งาน เหมาะกับแผนระดับกลาง; ไม่เกิน 6 ชั่วโมงหรือ 50 งาน เหมาะกับแผนระดับสูง; หากมากกว่านั้น ให้เลือกแผนสูงสุดที่มี ตัวเลขเหล่านี้เป็นการประเมินของ Dapols เพราะทั้งสองบริษัทไม่ได้ระบุจำนวนชั่วโมงต่อแผน
  • ทีมที่มี 2 คนขึ้นไปจะได้ที่นั่งสำหรับทีม: Standard สำหรับการใช้งานเบา และ Premium สำหรับการใช้งานแบบอื่น

ข้อควรทราบ

  • Usage allowances are not fixed message counts on either side. They depend on the model, context size and task, so the calculator below is an estimate.
  • Prices are in US dollars and exclude tax. Converted figures use a dated exchange rate and are approximate.
  • Plans change often. Each figure links to the official page it came from, and the date shows when we last read it.
  • OpenAI's message figures are estimates, not fixed limits; cloud tasks can use more of the allowance than local messages. แหล่งที่มา
  • ChatGPT Work and Codex share one allowance, so non-coding Work tasks draw from the same pool. แหล่งที่มา
  • Two OpenAI help articles disagree on whether Pro 200 includes any Ultrafast access. แหล่งที่มา
  • OpenAI's Business page says plan usage will share one limit across ChatGPT and Codex starting in December 2026. แหล่งที่มา
  • A Business workspace gets up to $500 a month in API credits in total, not per seat. แหล่งที่มา
  • API requests over 272K input tokens cost more: input doubles and output is 1.5x for the whole request. แหล่งที่มา
  • Anthropic publishes limits as multiples of Pro, not as message counts. How fast you reach a limit depends on the model, chat length and file size. แหล่งที่มา
  • Chat, the desktop app and Claude Code all draw from the same usage pool. แหล่งที่มา
  • Anthropic says it may add weekly or monthly caps, or model and feature limits, at its discretion. แหล่งที่มา
  • Max and Ultra API credits do not raise your Claude Code usage limits; they are for separate API-key work. แหล่งที่มา
  • Prices exclude applicable tax. แหล่งที่มา

รับอีเมลเมื่อราคาเหล่านี้เปลี่ยน

เราจะส่งอีเมลสั้นๆ เมื่อราคาแผนหรือข้อจำกัดเปลี่ยนแปลงเท่านั้น ไม่มีอีเมลอื่น

คำถามที่พบบ่อย

Is Codex or Claude Code cheaper?

At the main price points they cost the same: $20, $100 and $200 a month for individuals and $25 a seat ($20 billed annually) for teams. Codex is cheaper to start, because ChatGPT Free and Go ($8) include limited Codex. Claude is cheaper on annual billing, because Claude Pro costs $17 a month when paid yearly and ChatGPT Plus has no annual option.

Do I need a separate subscription for Codex or Claude Code?

No. Codex is included in ChatGPT plans, with limited access on Free and Go, and Claude Code is included in every paid Claude plan from Pro up. Each one shares its usage allowance with the matching chat app.

Which has higher usage limits, ChatGPT Pro or Claude Max?

Neither publishes absolute numbers for these tiers. OpenAI's Pro 100 has no five-hour limit for now. Claude Max gives 5x Pro every five hours and every week. Claude Ultra ($200) gives 10x Pro weekly with no five-hour limit for verified accounts.

What happens when I hit the usage limit?

You can wait for the window to reset or upgrade. On paid plans you can also keep working by paying extra: OpenAI sells credits on Plus and Pro, and Claude offers usage credits billed at standard API rates.

Is the API cheaper than a subscription?

Only at light use. GPT-6.2 Sol and Claude Sonnet 5.5 both cost $2 per million input tokens and $10 per million output tokens. Using our stated task-size assumption, the $20 plans pay for themselves at about four agent tasks a working day. The calculator shows the maths.

Do the $100 and $200 plans include API credits?

Yes, on both. ChatGPT Pro includes $100, $200 or $500 a month in API credits by tier, and Claude Max and Ultra include $100 and $200. Anthropic says its credits do not raise Claude Code usage limits.

ยังไม่แน่ใจอยู่ใช่ไหม?

ทำแบบทดสอบสองนาที แล้วเราจะแนะนำตัวเลือกที่เหมาะกับธุรกิจของคุณ

ทำแบบทดสอบ