Which should you choose?
Plans and usage side by side
| Decision | Claude Code | Codex |
|---|---|---|
| Free access | Claude Free excludes Claude Code | Limited GPT-6 Luna desktop access as it rolls out |
| Lowest paid subscription | Pro $20/month (about $17/month billed annually) | Go $8/month (light desktop use) |
| $20/month plan | Claude Pro | ChatGPT Plus |
| Included usage | Five-hour and weekly limits shared with the Claude apps. No fixed token allowance is published. | About 17–180 local GPT-6.2 Sol messages per five hours on Plus. Weekly limits can also apply. |
| Higher tiers | Max $100; Ultra $200 | Pro $100 / $200 / $500. No five-hour limit. |
Message counts vary by model and task. Cloud tasks can draw more from the allowance. Check Claude Settings → Usage or Codex Usage for your remaining allowance and reset time.
Compare API costs for the same workload
Enter cached tokens here and leave them out of uncached input.
Standard rates for the same token counts. OpenAI rates are for short context. Haiku 5.5 rates shown apply to prompts up to 100K tokens. Real tasks can use different token counts across tools. Excludes cache writes, taxes and other usage charges.
Comparing another editor? See Claude Code vs Cursor.
Questions
Can I try Claude Code or Codex for free?
Codex has a limited desktop Free tier with GPT-6 Luna as access rolls out. Claude Free does not include Claude Code. Claude Code is available via a paid subscription or a metered API key.
Should I choose Claude Pro or Codex Plus on a $20 budget?
Both cost $20 a month on monthly billing. Use the plan you already pay for if it covers your coding needs. Choose Claude Pro for Claude models and Codex Plus for GPT models. Compare each tool on the kind of work you do regularly.
Which costs less per coding session?
On our fixed token mix, one session at API list prices costs about $0.55 on Opus 5.5 and $0.27 on GPT-6.2 Sol. Your usage and session cost depend on the tool and task.
Sources
Prices were copied from these pages on Nov 27, 2026 and are re-checked automatically every hour. If a page changes, the row is flagged here and reviewed. How we check.