Skip to content

{"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.3-codex-spark' model is not supported when using Codex with a ChatGPT account."}} #17642

Open

Description

@Sam0174

What version of Codex CLI is running?

OpenAI Codex (v0.120.0)

What subscription do you have?

Pro

Which model were you using?

gpt-5.3-codex-spark

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What terminal emulator and version are you using (if applicable)?

Windows Terminal (CMD)

What issue are you seeing?

╭────────────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.120.0) │
│ │
│ model: gpt-5.3-codex-spark high /model to change │
│ directory: ~ │
╰────────────────────────────────────────────────────────╯

Tip: NEW: JavaScript REPL is now available in /experimental. Enable it, then start a new chat or restart Codex to use
it.

› test

■ {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.3-codex-spark' model is not
supported when using Codex with a ChatGPT account."}}

What steps can reproduce the bug?

codex --model gpt-5.3-codex-spark --dangerously-bypass-approvals-and-sandbox

What is the expected behavior?

Not getting the error: ■ {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.3-codex-spark' model is not
supported when using Codex with a ChatGPT account."}}

Additional information

Logged in via chatGPT Account, not API

GPT-5.3-Codex-Spark 5 hour usage limit
100%
remaining
GPT-5.3-Codex-Spark Weekly usage limit
100%
remaining

Activity

  1. added
    CLIIssues related to the Codex CLI
    authIssues related to authentication and accounts
    on Apr 13, 2026
  2. github-actions commented on Apr 13, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. etraut-openai commented on Apr 13, 2026

    @etraut-openai
    Contributor

    This model is currently supported only for Pro subscriptions. Are you sure you're currently on a pro subscription? Perhaps the subscription lapsed, and you've fallen back to the free tier?

  4. jparraporcar commented on Jun 2, 2026

    @jparraporcar

    Same issue here. Paid user of Plus subscription and today suddenly I got this message but in my case with a different model.

    {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.3-codex' model is not supported when using Codex with a ChatGPT account."}}

    Potential "Claude Code only" user here xD

  5. geirigrimmi commented on Jun 2, 2026

    @geirigrimmi

    Same issue here. Plus subscription, using codex in VS Code

    {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.3-codex' model is not supported when using Codex with a ChatGPT account."}}

  6. vab2048 commented on Jun 2, 2026

    @vab2048

    Same here - I am a paid user (£20 a month) and suddenly there is no option to choose the model with Codex, and I get the error:

    {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.3-codex' model is not supported when using Codex with a ChatGPT account."}}

    Image

    From Codex:

    Image

    From intelliJ:

    Image

    On IntelliJ I changed the model to GPT-5.4-medium and it started working again and in Codex I also changed the model and it started working.

    I'm guessing this is a policy change issue and we no longer get access to gpt-5.3-codex.

  7. Ap4uuk commented on Jun 2, 2026

    @Ap4uuk

    Why would people leave a working Codex with the 5.3 model when there's a bug with the incorrect limit being used? They'll also make money on loans, don't you understand?
    PS: I lost 15% of my 5-hour limit in a 2-minute request in Codex 5.4, what a joke...

  8. iqdoctor commented on Jun 3, 2026

    @iqdoctor

    +1, gpt-5.3-codex' model is not supported when using Codex with a ChatGPT account.

    ■ {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.3-codex' model is not supported when using Codex with a ChatGPT account."}}
    
    /status
    
    ╭───────────────────────────────────────────────────────────────────────────────────────╮
    │  >_ OpenAI Codex (v0.136.0)                                                           │
    │                                                                                       │
    │ Visit https://chatgpt.com/codex/settings/usage for up-to-date                         │
    │ information on rate limits and credits                                                │
    │                                                                                       │
    │  Model:                       gpt-5.3-codex (reasoning xhigh, summaries auto)         │
    │  Directory:                   /home/vp/bot4shops                                      │
    │  Permissions:                 Full Access                                             │
    │  Agents.md:                   AGENTS.md                                               │
    │  Account:                     commonvibe@protonmail.com (Pro Lite)                    │
    │  Collaboration mode:          Default                                                 │
    │  Session:                     019e8d80-2524-7d20-90d8-1f7b73ab7e0d                    │
    │                                                                                       │
    │  Context window:              100% left (0 used / 250K)                               │
    │  5h limit:                    [████████████████████] 100% left (resets 20:40)         │
    │  Weekly limit:                [░░░░░░░░░░░░░░░░░░░░] 0% left (resets 18:42 on 7 Jun)  │
    │  GPT-5.3-Codex-Spark limit:                                                           │
    │  5h limit:                    [████████████████░░░░] 80% left (resets 16:12)          │
    │  Weekly limit:                [█████████████████░░░] 85% left (resets 12:19 on 8 Jun) │
    ╰───────────────────────────────────────────────────────────────────────────────────────╯
    
    
  9. redsigma commented on Jun 5, 2026

    @redsigma

    Using pro account and i have same issues on gpt-5.3-codex-spark

    UPDATE: I managed to fix it by reseting the config.toml file and switching to gpt5-4-mini and then back to gpt-5.3-codex-spark.

  10. alienforhumans commented on Jun 8, 2026

    @alienforhumans

    This model is currently supported only for Pro subscriptions. Are you sure you're currently on a pro subscription? Perhaps the subscription lapsed, and you've fallen back to the free tier?

    @etraut-openai
    No, it is not, I am getting the same error with the 5.3-codex:
    {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.3-codex' model is not supported when using Codex with a ChatGPT account."}}

    Image
  11. etraut-openai commented on Jun 8, 2026

    @etraut-openai
    Contributor

    @alienforhumans, the 5.2 and 5.3-codex models have been retired. You'll need to switch to a newer model.

  12. alienforhumans commented on Jun 8, 2026

    @alienforhumans

    @alienforhumans, the 5.2 and 5.3-codex models have been retired. You'll need to switch to a newer model.

    So the older codex model is retired and newer model is now only for the Pro account? So I can't use Codex in my Plus subscription, which says I do have access to codex, right @etraut-openai ?

  13. dediweb commented on Jun 11, 2026

    @dediweb

    guys they've retired the old model for subscription users, codex still works on plus you just need to type /model and pick the newer model.

  14. alienforhumans commented on Jun 11, 2026

    @alienforhumans

    @dediweb You can't use Codex-specific models like GPT-5.3-codex and there are no *-codex models for the 5.4 or 5.5.
    https://openai.com/index/introducing-gpt-5-3-codex/
    *-codex models where created for better coding purposes, but now we can't use these models and there are no any analogs in newer models for that and this is the problem, because this is the main reason Codex users pays for their subscriptions

  15. paddykopp commented on Sep 16, 2026

    @paddykopp

    Additional reproducible case on Windows 11.

    Feedback ID:
    no-active-thread-01a0a794-8554-7cd1-bafe-d6a6c2f94bed

    Environment:

    • Windows 11 x64
    • Codex CLI 0.154.0
    • Authentication: ChatGPT
    • Spark usage UI: 100% remaining

    Reproduction:

    codex exec --ephemeral
    --ignore-user-config --skip-git-repo-check
    --sandbox read-only --model gpt-5.3-codex-spark
    -c model_reasoning_effort=medium --json
    'Do not use tools or inspect files. Reply exactly: SPARK_ACCESS_OK'

    Result:

    HTTP 400 invalid_request_error

    "The 'gpt-5.3-codex-spark' model is not supported when using Codex with a ChatGPT account."

    Additional warning:

    "Model metadata for gpt-5.3-codex-spark not found.
    Defaulting to fallback metadata."

    The same result occurs after logout/login and with --ignore-user-config.
    codex doctor reports authentication, installation, HTTP reachability and WebSocket reachability as OK.

  16. paddykopp commented on Sep 16, 2026

    @paddykopp

    Additional confirmation for this issue:

    The affected ChatGPT account is an active ChatGPT Pro account.
    The ChatGPT profile UI explicitly shows the "Pro" badge.

    Current state:

    • ChatGPT subscription: Pro
    • Codex CLI: 0.154.0
    • Authentication: ChatGPT
    • GPT-5.3-Codex-Spark 5-hour limit: 100% remaining
    • GPT-5.3-Codex-Spark weekly limit: 100% remaining
    • Tested after logout/login
    • Tested with --ignore-user-config
    • Tested with --ephemeral
    • Tested with read-only sandbox

    The backend still returns:

    HTTP 400 invalid_request_error

    "The 'gpt-5.3-codex-spark' model is not supported when using Codex with a ChatGPT account."

    Therefore this is not explained by the account being Free or Plus.
    The affected account is confirmed as Pro.

    Feedback ID:
    no-active-thread-01a0a794-8554-7cd1-bafe-d6a6c2f94bed

  17. paddykopp commented on Sep 16, 2026

    @paddykopp

    Additional diagnostic result:

    I tested the reported config-reset workaround.

    Procedure:

    1. Backed up config.toml
    2. Removed config.toml from the active Codex configuration
    3. Tested a control model
    4. Tested gpt-5.3-codex-spark
    5. Restored the original config.toml

    Control model result (gpt-5.5):

    "You've hit your usage limit. Visit https://chatgpt.com/codex/settings/usage
    to purchase more credits or try again at Sep 19th, 2026 10:09 AM."

    Spark result:

    HTTP 400 invalid_request_error

    "The 'gpt-5.3-codex-spark' model is not supported when using Codex with a ChatGPT account."

    Spark also reports:

    "Model metadata for gpt-5.3-codex-spark not found.
    Defaulting to fallback metadata."

    Important distinction:
    The normal model is rejected by the general usage-limit gate,
    whereas Spark is rejected by a separate model/account entitlement check.

    The config.toml reset workaround therefore does NOT resolve this account.

    Latest Spark exec thread:
    01a0a7a2-59d5-7173-9a92-479a6661883c

    Account:
    ChatGPT Pro

    Spark usage UI:
    5-hour: 100% remaining
    weekly: 100% remaining

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIauthIssues related to authentication and accountsbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions