Skip to main content
Watch: I Built an AI App Without Leaving Databricks

OpenAI Codex CLI error

Codex CLI: To use Codex with your ChatGPT plan, upgrade to Plus...

Error message
To use Codex with your ChatGPT plan, upgrade to Plus: https://chatgpt.com/explore/plus.

Status: Fixed in releaseLast verified 1 documented fix4 sources

What it means

Codex believes your signed-in ChatGPT plan does not include Codex. Older builds linked to https://openai.com/chatgpt/pricing. Paid users seeing it were hitting a misreported plan.

Causes

  • Maintainer etraut-openai (#2330): Codex used the plan encoded in the cached access token, which can be out of date if you change plans.

How to fix it

  1. Fix 1.

    Upgrade to 0.66.0 or later: PR #7610 reads the plan type from the usage endpoint instead of the auth token, so it is always fresh.

More Codex CLI errors

All 14 Codex CLI errors

FAQ

What does "To use Codex with your ChatGPT plan, upgrade to Plus..." mean in Codex CLI?

Codex believes your signed-in ChatGPT plan does not include Codex. Older builds linked to https://openai.com/chatgpt/pricing. Paid users seeing it were hitting a misreported plan.

How do I fix "To use Codex with your ChatGPT plan, upgrade to Plus..."?

Upgrade to 0.66.0 or later: PR #7610 reads the plan type from the usage endpoint instead of the auth token, so it is always fresh.

Is this Codex CLI error fixed?

Status: Fixed in release. A release fixed this. The affected versions note says where the fix landed. Affected versions: Reported on codex-cli 0.21.0 (#2330); fixed in 0.66.0

Sources

Last verified against 4 sources: official docs, maintainer replies and release notes.

Newsletter

Fixes for the tools you use, weekly

One email per week. New coding agent releases, what broke, and how developers are working around it.