Skip to content

Credits desync: CLI blocked with "usage limit hit" while UI showed 312 credits, web ui dropped to 0 with no usage recorded. #18083

Open

Description

@GraciousGazelles

What version of Codex CLI is running?

Custom fork based on openai/codex/main @ commit 4cc6818

What subscription do you have?

ChatGPT Pro

Which model were you using?

gpt-5.4-mini

What platform is your computer?

Linux 6.17.0-20-generic x86_64 unknown

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

Tmux

What issue are you seeing?

I was actively using Codex CLI and had ~312 credits remaining (confirmed in the UI shortly before the issue).

I then attempted to submit a message and received:

■ You've hit your usage limit. Visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at Apr 17th, 2026 6:10 AM.

At the same time:

CLI blocked further usage entirely
Codex cloud usage page suddenly showed 0 credits remaining
No new usage entries were logged for today
Credits appeared to drop from ~312 → 0 instantly
No visible consumption in usage history explaining the drop

This looks like a state desync between billing/credits and enforcement, or a backend accounting issue.

What steps can reproduce the bug?

Use Codex CLI normally with remaining credits (~312 in my case)
Submit a prompt
CLI responds with usage limit error
Check usage UI:
Credits now show 0
No corresponding usage logged for the drop

Thread ID:

019d6d0a-82da-7560-a51f-35dabdd0a229

What is the expected behavior?

Credits should decrement transparently and consistently
CLI enforcement should match UI-reported credit balance
Usage history should reflect any credit consumption
Users should not be blocked if credits are available

Additional information

This appears to be a critical billing/state consistency issue rather than a simple quota limit.

Activity

  1. added
    CLIIssues related to the Codex CLI
    rate-limitsIssues related to rate limits, quotas, and token usage reporting
    on Apr 16, 2026
  2. GraciousGazelles commented on Apr 16, 2026

    @GraciousGazelles
    Author

    This seems related to #18018

  3. GraciousGazelles commented on Apr 17, 2026

    @GraciousGazelles
    Author

    Confirming that my Codex webui shows 0 credit consumption since 7 April, but this credit vanishing act happened 17 Apr. Vanished credits still don't appear in usage.

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

    bugSomething isn't workingrate-limitsIssues related to rate limits, quotas, and token usage reporting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions