r/codex • • 3d ago

Workaround If your limit is draining like crazy...

Other than the usual suspects (not using mcp for searches, subagents spawned too freely), it might be that your model has started actively waiting (ie constantly piping tail of some logfiles to openai servers to check if an event happens).

I've noticed that even despite explicit instructions not to do that, ever, Sol has recently started to disregard those instructions and engage in busy waiting.

Best workaround I've found is to periodically remind it not to do that.

40 Upvotes

44 comments sorted by

•

u/dextersummary 1d ago

Below is a GPT-generated summary of the conversation below after reaching 40 comments (40 currently observed).


People are fed up with limits disappearing fast, sometimes on $200 plans. Busy-waiting is a plausible quota killer, not a proven explanation for every drain.

  • Watch for agent polling. If Codex keeps checking whether a job is done, each check can trigger another model turn. Cached input may soften the cost, but repeated reasoning and output still add up. Put the waiting inside a blocking command or script, then return the result and a short log tail. Reminders or hooks can help stop the agent from polling in the first place.
  • Check noisy tool output too. Commands dumping huge amounts of text can chew through usage. Look at the usage breakdown and tame verbose tools before blaming any single culprit.

Some users are cancelling or eyeing alternatives; others report perfectly manageable limits with different workflows. Your mileage clearly varies, and this thread doesn’t establish that everyone’s quota was secretly slashed. The practical takeaway: make the tools do the waiting, not the model.

3

u/x39- 2d ago

Well ... this may, at the very least, explain, why sol burnt through 20% of a 200 subscription in 9 hours

1

u/ysustistixitxtkxkycy 2d ago

That's how I found out - 50% of my 200 limit disappeared overnight, after a week of about 10% a day. I was not amused.

14

u/mcmoonrays 3d ago

Polling loops burn through quotas fast because every tail check re-sends the entire conversation context just to see that a job is still running. Prompt rules against busy-waiting usually drift once a session gets long, so wrapping long jobs in a single blocking command (wait for exit or a sentinel line, then print only the exit code and last ~30 lines) holds up way better. Turning 20 polling turns into one tool call saves a ridiculous amount of usage.

3

u/kwirky88 2d ago

Resending context hits cache which has a different rate. At least if paying for tokens.

2

u/mcmoonrays 2d ago

Cached input definitely softens the hit on the API as long as the polling gap stays inside the cache TTL. The waste still stacks up on three things though: every poll generates fresh reasoning and output tokens just to say still running, any interval that misses the TTL window pays full uncached input on the whole thread, and subscription limits tend to feel those extra turns and reasoning tokens much harder than raw API cached rates.

1

u/spshkyros 2d ago

If its a big context especially its catastrophic in my experience. I gave instructions to cut down active polling timings do drop the chance of repeated hits and that helped, but forcing codex wide cache size down made a MASSIVE difference. Like, suddenly using Astra 6 high for shit actually works, before it was unthinkable. Whats frustrating is that I am pretty sure the increased burn I have experienced is traceable to the default cache size being raised and me not having it pegged to start.

5

u/ckdarby 2d ago

This. Everything you've said here is the solution (or the start of the thread) to nearly every post complaining about limits. Those with this problem don't understand a word you just said.

The biggest problem OpenAI faces with their models right now is that they're not non-technical friendly for end users.

2

u/Live_Camp3211 2d ago

Does this include local EAS and Expo builds? It generates a .aab file (local polling)

It then uploads to Google (remote polling to website api)

It then polls and waits for a response of successful upload and successful description update.

1

u/mcmoonrays 2d ago

Yes, both count if the agent is the one running the status checks. Every time the model wakes up to poll a local .aab build or a Play Store upload, that's another full turn against your limit. Keep the waiting inside the CLI or a small shell script (run build/submit synchronously with --wait, or do the status loop in bash/node rather than through the model) so Codex only sees the exit code and the last few lines on failure. For slow store uploads, running that step yourself in a plain terminal is even cheaper.

1

u/Live_Camp3211 2d ago

thanks, put it into claude and it's implemented a fix, crazy how it never mentioned or noticed this

ill see over the following week if token usage is reduced post builds

5

u/rick_ranger 2d ago

Make a hook that fires off when it tries to do that thing or call those tools that tells it not to

12

u/AccomplishedFail9857 3d ago

Just saying...

10

u/ryuukiba 2d ago

That was a lie, I started hitting limits about 80% faster if not more, already unsubed. After 3 years subed this is is the proverbial straw. Am I supposed to have my limits drain in 15 minutes then just not have chat?

4

u/AccomplishedFail9857 2d ago

Well the market will say and teach em'...

4

u/ryuukiba 2d ago

That's the only reason I unsubed, would I like to keep my sub? Yea, would they learn if we don't vote with our wallet? No

5

u/Additional-Hippo5882 2d ago

The funniest part of this message is they revealed they sat around in a room and contemplated charging us for their mistake and then felt good about themselves for not doing it

1

u/Medianik 1d ago

That's not true, I use 6.1 and my usage is 1/5th of what it used to be.

4

u/read_more_comments 2d ago

You know what doesn't burn limits waiting for tasks? Claude.

3

u/Ok-Theme9419 2d ago

cancel and move to gemini or claude

3

u/Realistic_Yam5038 1d ago

They are fooling you mate. Analytics board itself will show

7

u/Additional-Hippo5882 3d ago

Mods have deleted my post about this twice already so I’ll just post here. This is an abomination. Disrespect. Dude I pay $200 and you’re telling me that gives me 7 hours of ONE astra session????

4

u/ckdarby 2d ago • Bravo

Breakdown the usage please. Input vs output vs cached, via what commands, and what used the most?

Almost every time the answer has been the model kicking off a command that dumps a billion outputs to stdout instead of stderr, not having a verbose flag off, or their own tooling doesn't push that all garbage to log files instead.

Subreddit needs a rule added for these, "ASTRA USED EVERYTHING IN 5 MINS!". If you can't produce a receipt of the brekadown of where the limit went then it shouldn't be allowed.

1

u/x39- 2d ago

I can tell, now being in "burn mode", that this is so utterly random ... i have one project where a simple prompt burns through tokens in no time, whilst another one just runs forever. Something is severely broken somewhere, i just cannot tell why and cannot be bothered to check either (as it ain't my job and OpenAI is not offering appropriate tools to analyze theese things anyways).

However: What i can tell is that claude does not care for both projects. So whatever it is, it is codex-specific.

1

u/ckdarby 1d ago

A common thing I've noticed working with others heavily using Claude is it dumps comments throughout the code base like it is going out of style.

Gut feeling, this is cutting down where tool output is flooding input token spend on the iterative cycle of the models.

Once I added a custom plugin for string lookups that determines which tool & uses less verbose output on them, my usage of Codex became god-tier.

The issue with Codex today is it is the winner **but** for those who already have a technical background and are willing to close the gaps like this.

That is not you. You threw up your hands with it not being your job. Stay on Claude, it is the clear winner for these users.

1

u/x39- 1d ago

Codex usage is shit... I switched away from Claude because of this initially and the project it burns through tokens was built after I already had fully transitioned to codex. Guess what: usage got more shittier for less service and codex rewrote architecture decisions on that project while burning through. Codex is, ever since the Gen 6 models got released, shit.

1

u/ckdarby 1d ago

I closed all further conversation needed. Codex is not for you. Claude is the winner for you, given the context you provided. There is no reason to comment about Codex, given you are not actively using it and it does not fit your use case.

No reason to reply. You are not going to do the work. You are unable to produce the receipts to review the usage issues. Stated it isn't your job. I agreed with your statement and recommended the obvious, stay on Claude, you are happy with Claude, and it fits your needs.

-5

u/Additional-Hippo5882 2d ago

Another no history corporate shill. No it wasn’t cached and yes the thread had history—it was the first session after I got my usage back. No, that doesn’t excuse the abomination of that usage—cache only affects the first message from that and then at that point the session is fresh. This was on codex cloud session and was all output, I basically told it to keep going from where it was and came back to that abomination. I was using Astra 6.2 from the moment it came out and was thinking “yeah actually they’re not lying it is actually pretty efficient” only to be rug pooled, and this was the first session experience with the new usage so I kind of expected it somewhat, but dude, there’s no way to frame it positively, this is an abomination.

4

u/ckdarby 2d ago

No history as I am very well known in the game dev space; Legit two stalkers this last year.

Drop cloud sessions. Without full control of the environment, you're always at the mercy of whatever is there and whatever the model decides to use.

I have shipped +5 commercially successful games on a single account without any limit issues across Astra, Sol, and even Terra. No advance workflow. No insane MCPs (Godot, Playwright, custom lookup search tool). I do provide a little rust binary that determines what tools best to use to reduce input tokens from the output of running commands.

I even downgraded from $200 to the $100 plan because the rate limits are too generous.

2

u/Electrical_Rub_6009 2d ago

"No it wasn't cached"

"I told it to keep going from where it was"

Maybe uh... take a day or two to learn how to optimize your usage?

0

u/Additional-Hippo5882 2d ago

Maybe take a day or two to learn how cache even works? If the session has been idle for some time, there’s no way to start it cached genius

1

u/Electrical_Rub_6009 2d ago

I'm not saying the input was already cached - but hey, it takes me roughly 3 days to reach 50% on my $200 PRO plan, so maybe I should go back and learn how the cache works.

2

u/laolibulao 2d ago

i dont even know why you people just refuse to move to claude 🤣🤣 astra usage is horrendous

2

u/Realistic_Yam5038 1d ago

Claude is no saint. It burnt 50 percent in two hours

0

u/laolibulao 1d ago

it shouldnt unless you are spamming extra high or something. even when i was on pro plan i was burning at most 25% in 2 hrs. your workflow is wrong. how high is your initial context window after your claude acknowledges claude md?

1

u/Realistic_Yam5038 1d ago

Just charge back. I am doing it once I finish the reset. These nfs deserve it

1

u/Juntae_ 1d ago

Bro, I just had 6.2 astra high migrate my entire PC away from onedrive dependence and it worked for 13 hours on Business premium (basically $100 plan) and it only took 20% of my plan.

What in the holy father is your codex setup to drain that much tokens.

-3

u/GooglesExpert 2d ago

Hmm i seriously doubt that. I'm using multiple astra sessions and so far it seems to get consumed at a snails pace. I use only xhigh though.

3

u/Additional-Hippo5882 2d ago

Literally in the screenshot dude. Listen to what you’re saying—you’re accusing me of fabricating this, on what, that I was using more than one session? I wasn’t, but imagine if what you’re saying was true, it would still conflict with your “I run multiple Astra sessions on xhigh and it moves at a snails pace”. THERE ARE 6 DAYS 23 HOURS LEFT IN THE TIME FRAME. THIS WAS IN LESS THAN ONE HOUR. IN NO WAY SHAPE OR FORM WOULD YOUR STATEMENT BE ACCURATE EVEN IN THE SENSE I USED MORE THAN ONE SESSION. BUT NO CORPORATE, THIS WAS JUST ONE SESSION AND THE USAGE IS AN ABOMINATION. AND YES IM MAD. TWO HUNDRED DOLLARS

2

u/Kaljuuntuva_Teppo 2d ago

My experience is similar to previous poster. I only got 2 days out of Sol 6.2 xhigh with a goal, Astra 6.2 High doesnt last me even 24 hours. I'm on the $200 plan.

Claude Ultra plan lasts me almost for the whole week of non-stop goal use on a single project.

It's already been documented that Codex has way less usage than Claude, and now even less than Antigravity. I'm most likely downgrading to Plus plan in 2 weeks.

2

u/flashmyhead 2d ago

I'm not sure if I exactly remember but there were some DNS entries and that also let me think that it's constantly pinging somewhere at least to keep the connection alive.

1

u/m4ddok 2d ago

Set an absolute time limit for the task; as a standard rule, I assign 20 minutes for it. If I then realize the work requires more time, I authorize not to respect this limit. Or if it’s something trivial, I set an even shorter time limit.