Skip to content

Usage still being cached when switching accounts in Codex App #14730

Closed

Description

@vinhnx

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.311.21342 (993)

What subscription do you have?

Plus

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

After hitting usage limits on account A, I switched to account B (which has remaining quota), completed OAuth, and resumed the current session — but the app still reports the usage limit from account A. The session appears to be carrying over the previous account's limit state instead of reflecting the newly authenticated account.

What steps can reproduce the bug?

Uploaded thread: 019cef73-03ae-7013-b3f5-7aff21af3818

What is the expected behavior?

The account's plan usage should be refreshed.

Additional information

No response

Activity

  1. added
    appIssues related to the Codex desktop app
    on Mar 15, 2026
  2. added
    bugSomething isn't working
    authIssues related to authentication and accounts
    rate-limitsIssues related to rate limits, quotas, and token usage reporting
    on Mar 15, 2026
  3. github-actions commented on Mar 15, 2026

    @github-actions
    Contributor
  4. vinhnx commented on Mar 15, 2026

    @vinhnx
    ContributorAuthor

    I don't think this is duplicated; this is a separate caching issue.

  5. etraut-openai commented on Mar 15, 2026

    @etraut-openai
    Contributor

    The remaining usage for the new account won't be reported until after the first prompt is submitted. It is reported in the HTTP header for the response.

  6. vinhnx commented on Mar 15, 2026

    @vinhnx
    ContributorAuthor

    @etraut-openai Got it. Thank you for your clarification, I will close this issue for now.

  7. torbentomtrust commented on Jun 22, 2026

    @torbentomtrust

    I have this exact same issue in codex for vsc. Sending a new prompt doesn't solve the problem.

  8. Sbrjt commented on Aug 25, 2026

    @Sbrjt

    Seems like a missing useEffect dependency on the account state? lol

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

    appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething 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