Skip to content

Entire 5-Hour + 22% Weekly Limits + All Credits Burned Without Running #11508

Closed

Description

@BjornMelin

What version of Codex CLI is running?

codex-cli 0.99.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.3-codex

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64

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

ZSH Windows Terminal (WSL)

What issue are you seeing?

I just updated to the latest version of codex cli/tui about an hour and a half ago, and it seemed to be going great for a while. However, I was just finishing up with some manual tasks in my IDE and then went to start up a new codex TUI session, and my usage limits had been 100% drained for my 5 hour limit (I've never even gotten close with my Pro sub), the 139.905 credits I had were all burned through, and my weekly limits went from 67% at the end of my last session, to now down to 45% weekly, without having had codex running even. I was worried I was hacked or something, but double checked what I could and have MFA and passkeys set to login to my account, and looks like that was not the case.

My best guess is that I had just recently, after upgrading to codex-cli 0.99.0, enabled the experimental features for memory_tool and search_tool, which could potentially be the issue.

What steps can reproduce the bug?

Setting the following from config.toml and starting a new session running codex-cli 0.99.0 from the tui.

[features]
apply_patch_freeform = true
unified_exec = true
shell_snapshot = true
steer = true
sqlite = true
apps = true
collab = true
memory_tool = true
search_tool = true

What is the expected behavior?

Drain 5-hour usage limits and any available credits completely without running a prompt/

Additional information

Would be awesome to get the credits and weekly limit reset back to what they were prior to this.

Activity

  1. added
    CLIIssues related to the Codex CLI
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    rate-limitsIssues related to rate limits, quotas, and token usage reporting
    on Feb 12, 2026
  2. removed
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    CLIIssues related to the Codex CLI
    on Feb 12, 2026
  3. acgxv commented on Feb 12, 2026

    @acgxv

    Same

    Please fix this ASAP, I can't work without codex 👼🏻

    ■ You've hit your usage limit. Visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at 9:51 AM.
    
    ─ Inference: 1 call (2.1s) ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    
    /status
    
    ╭─────────────────────────────────────────────────────────────────────────────────╮
    │  >_ OpenAI Codex (v0.99.0)                                                      │
    │                                                                                 │
    │ Visit https://chatgpt.com/codex/settings/usage for up-to-date                   │
    │ information on rate limits and credits                                          │
    │                                                                                 │
    │  Model:                gpt-5.3-codex (reasoning high, summaries auto)           │
    │  Directory:            ~/code/trusted/hack-ink/vibe-style                       │
    │  Approval:             never                                                    │
    │  Sandbox:              danger-full-access                                       │
    │  Agents.md:            AGENTS.md                                                │
    │  Account:              aurevoirxavier.us@gmail.com (Pro)                        │
    │  Collaboration mode:   Default                                                  │
    │  Session:              019c4e26-5df4-7891-8dde-cc6c8ea3f44c                     │
    │                                                                                 │
    │  Context window:       46% left (144K used / 258K)                              │
    │  5h limit:             [░░░░░░░░░░░░░░░░░░░░] 0% left (resets 09:51)            │
    │  Weekly limit:         [████████████░░░░░░░░] 61% left (resets 16:21 on 18 Feb) │
    ╰─────────────────────────────────────────────────────────────────────────────────╯
    
    Image
  4. etraut-openai commented on Feb 12, 2026

    @etraut-openai
    Contributor

    @BjornMelin, you mentioned that the credits were consumed "without running", but in your description you mentioned that you were running a task recently in the TUI. Is it possible that the session you were running consumed all of the remaining usage and credits? I notice that you have the collab experimental feature enabled. That can drain limits quickly if the session spins up a bunch of subagents.

    @aurexav, can you provide more details, similar to what @BjornMelin posted? Are you using any experimental features?

  5. acgxv commented on Feb 12, 2026

    @acgxv

    After a 5h limit checkpoint reach, a chat would reset it.

    /status
    
    ╭─────────────────────────────────────────────────────────────────────────────────╮
    │  >_ OpenAI Codex (v0.99.0)                                                      │
    │                                                                                 │
    │ Visit https://chatgpt.com/codex/settings/usage for up-to-date                   │
    │ information on rate limits and credits                                          │
    │                                                                                 │
    │  Model:                gpt-5.3-codex (reasoning high, summaries auto)           │
    │  Directory:            ~/code/trusted/hack-ink/vibe-style                       │
    │  Approval:             never                                                    │
    │  Sandbox:              danger-full-access                                       │
    │  Agents.md:            AGENTS.md                                                │
    │  Account:              aurevoirxavier.us@gmail.com (Pro)                        │
    │  Collaboration mode:   Default                                                  │
    │  Session:              019c4e26-5df4-7891-8dde-cc6c8ea3f44c                     │
    │                                                                                 │
    │  Context window:       46% left (144K used / 258K)                              │
    │  5h limit:             [██████████████░░░░░░] 72% left (resets 14:06)           │
    │  Weekly limit:         [████████████░░░░░░░░] 61% left (resets 16:21 on 18 Feb) │
    ╰─────────────────────────────────────────────────────────────────────────────────╯
    
    
    › Hi
    
    
    • Hi,我在。要我现在给你一版“已完成/未完成”的精确状态清单吗?
    
    ─ Inference: 1 call (2.1s) • Streams: 784 events (130.3s) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    
    /status
    
    ╭─────────────────────────────────────────────────────────────────────────────────╮
    │  >_ OpenAI Codex (v0.99.0)                                                      │
    │                                                                                 │
    │ Visit https://chatgpt.com/codex/settings/usage for up-to-date                   │
    │ information on rate limits and credits                                          │
    │                                                                                 │
    │  Model:                gpt-5.3-codex (reasoning high, summaries auto)           │
    │  Directory:            ~/code/trusted/hack-ink/vibe-style                       │
    │  Approval:             never                                                    │
    │  Sandbox:              danger-full-access                                       │
    │  Agents.md:            AGENTS.md                                                │
    │  Account:              aurevoirxavier.us@gmail.com (Pro)                        │
    │  Collaboration mode:   Default                                                  │
    │  Session:              019c4e26-5df4-7891-8dde-cc6c8ea3f44c                     │
    │                                                                                 │
    │  Context window:       34% left (174K used / 258K)                              │
    │  5h limit:             [████████████████████] 100% left (resets 14:51)          │
    │  Weekly limit:         [████████████░░░░░░░░] 61% left (resets 16:21 on 18 Feb) │
    ╰─────────────────────────────────────────────────────────────────────────────────╯
    
    
    › 
    
  6. acgxv commented on Feb 12, 2026

    @acgxv

    @aurexav, can you provide more details, similar to what @BjornMelin posted? Are you using any experimental features?

    I used these

    [features]
    apply_patch_freeform = true
    apps = true
    child_agents_md = true
    collab = true
    memory_tool = true
    # responses_websockets_v2 = true
    runtime_metrics = true
    search_tool = true
    sqlite = true
    

    I’m not sure how to reproduce this but it occurs after upgrading to 0.99.

    Before the upgrade I was simply coding and it seems the upgrade broke it.

  7. BjornMelin commented on Feb 12, 2026

    @BjornMelin
    Author

    @etraut-openai No, it is not possible... sorry I didn't clarify that well. I meant that I had ran a session successfully (without this issue occurring) using codex-cli 0.99.0 without an issue earlier today. No tasks were running and I checked my limits in that session once it completed and they were at 67% for my weekly limit, and I still had 139.905 credits that I haven't touched since early January. I have collab enabled, but have instructions set so it will only trigger subagents when explicitly asked (haven't had a subagent triggered in ~1 week). My last session in the TUI had concluded, with my limits still at the earlier mentioned values, and then about an hour later, after reviewing/refactoring some things manually in Cursor, I tried to open a new TUI session, and was shown the same message as @aurexav posted above. 5-hour limit, credits, and 22% weekly limits drained without even having a TUI session, or IDE session running (checked IDE, TUI, session logs, codex web, and can't figure out why or how this happened).

  8. BjornMelin commented on Feb 12, 2026

    @BjornMelin
    Author

    Adding to my last response, with double usage rates right now, and a pro subscription, the closest I've gotten, even with running 2-3 TUI sessions in parallel to the 5-hour limit, is about 60%. I feel like it'd be extremely challenging to drain the 5-hour limit to 0 by actually coding. @etraut-openai

  9. acgxv commented on Feb 12, 2026

    @acgxv

    Adding to my last response, with double usage rates right now, and a pro subscription, the closest I've gotten, even with running 2-3 TUI sessions in parallel to the 5-hour limit, is about 60%. I feel like it'd be extremely challenging to drain the 5-hour limit to 0 by actually coding. @etraut-openai

    I believe it’s a bug in the CLI or web version. The usage differs; on the website, it shows I have a lot of remaining time but in the CLI it shows zero.

  10. etraut-openai commented on Feb 12, 2026

    @etraut-openai
    Contributor

    @BjornMelin, are you also seeing a disconnect between the CLI and the web usage stats?

    You both mentioned that you saw this shortly after upgrading to CLI 0.99. Could you try downgrading to 0.98 to see if there is maybe a regression in our client-side usage accounting logic?

  11. mweinbach commented on Feb 12, 2026

    @mweinbach
    Image

    I'm noticing the same here, it happens when the memory tool is enabled. It consumed 1000 credits for me as well, plus used the full token utilization for the 5 hour window across 2 pro accounts. No sessions were running, just CLI running with memory tool enabled.

    I think the memory summarization agent is going a little too hard on generating memory and using all available tokens.

    To test, I've just let an empty terminal with gpt 5.1 codex mini open and in ~10 minutes it used 2% of the tokens available in my 5 hour window. No sessions were run across any surface. It seems like it's the memory tool.

  12. etraut-openai commented on Feb 12, 2026

    @etraut-openai
    Contributor

    Thanks for making that connection, @mweinbach.

    The memory_tool is still under active development. Not recommended for use at this point. Please do not enable it.

  13. thehumanworks commented on Feb 12, 2026

    @thehumanworks

    There’s a big difference between under development and knowingly buggy to the point that it makes users lose money (reaching the limit = money spent). Telling the users to not enable a feature that is available to be enabled is senseless. If it’s not ready for user testing it can’t exist.

  14. Akrelion45 commented on Feb 12, 2026

    @Akrelion45
    Contributor

    I had it on too, (read your answer to late Eric) and yep, it consumes usage limit like crazy. Took around 27% of my weekly limit on pro plan.

    (if you guys tried to fix this with a recent commit, like i saw jif adding something that it does drop CoT, it didn't help, since i used the alpha that came out after the commits, alpha 9).

    Anyway, turned it off now until it is stable. 😅

  15. etraut-openai commented on Feb 12, 2026

    @etraut-openai
    Contributor

    @thehumanworks, we do our development in the open, but that means there will be code in the repo for features that are not yet ready for use. We clearly mark these features as "under development" and provide a prominent warning in the TUI if you attempt to enable one of these features. If you ignore this warning, then you're taking on the risks associated with using a feature that is not yet ready.

    I checked with the developer who is working on this feature. The behavior you're seeing here is not a bug. It intentionally consumes a lot of tokens right now because we're tuning the backend models for this feature.

  16. MisterRound commented on Feb 12, 2026

    @MisterRound

    @etraut-openai Sounds like a great opportunity for a TUI warning flash that makes some one click yes or no for accepting risks of significant token loss, should be global in all such cases. The tolerance for experimental bugs that crash or do weird stuff is exponential orders of magnitude higher than ones that may empty your token bank account. It needs to be called out in a "do you accept the risk" type opt-in manner for the latter and future features and functions need to be audited and scored for this potential.

  17. thehumanworks commented on Feb 12, 2026

    @thehumanworks

    @thehumanworks, we do our development in the open, but that means there will be code in the repo for features that are not yet ready for use. We clearly mark these features as "under development" and provide a prominent warning in the TUI if you attempt to enable one of these features. If you ignore this warning, then you're taking on the risks associated with using a feature that is not yet ready.

    I checked with the developer who is working on this feature. The behavior you're seeing here is not a bug. It intentionally consumes a lot of tokens right now because we're tuning the backend models for this feature.

    I don't want to be spiteful here, and I think it's important I first add that I admire and absolutely appreciate and adore the work you guys do. So thank you first and foremost. - but you will agree that "under development" means there is instability and things to polish, there's a difference between "this is beta/alpha" and "this is just sand but it will be a sandcastle".

    The main issue with the feature is that I actually have 0 visibility of how many tokens it consumes. It doesn't show as "cli" or "exec" or "other" in my usage dashboard. It doesn't even show in the performance metrics and usage reports that I have switched on. That's the main problem.

    It's ok if an under development feature feels a bit like a toy gun that shoots more toy bullets than I initially thought. It's more of a problem if the bullets are invisible.

    Can you add an explicit warning in the "features list" section that this tool may lead to high token usage?

  18. thehumanworks commented on Feb 12, 2026

    @thehumanworks

    @etraut-openai Sounds like a great opportunity for a TUI warning flash that makes some one click yes or no for accepting risks of significant token loss, should be global in all such cases. The tolerance for experimental bugs that crash or do weird stuff is exponential orders of magnitude higher than ones that may empty your token bank account. It needs to be called out in a "do you accept the risk" type opt-in manner for the latter and future features and functions need to be audited and scored for this potential.

    There is a warning notification for unstable features. But a "it's unstable and may consume tokens insanely fast" is a great way for me to know if I'm feeling "bungee-jumping level adventurous" or just "I'll go out without a jacket" adventurous

  19. halfsies1 commented on Feb 14, 2026

    @halfsies1

    is this a one time activity to build up a memory? does the memory tool and sql lite instance per project? can they be check-into git with the codebase so team members can also use it? thx

  20. acgxv commented on Feb 14, 2026

    @acgxv

    is this a one time activity to build up a memory? does the memory tool and sql lite instance per project? can they be check-into git with the codebase so team members can also use it? thx

    I built a really nice mem tool. But it requires some setup.

    https://github.com/hack-ink/ELF

  21. BjornMelin commented on Feb 17, 2026

    @BjornMelin
    Author

    @etraut-openai thanks for all the follow up here! Sorry I was out over the holiday weekend and never followed up. I'll just proceed with your recommendation and wait for stable memory_tool release.

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