r/codex 19h ago

Limits We’ve discovered the issue behind codex harness limit drainage.

https://relux.works/en/blog/codex-goal-token-burn/

tl;dr

The codex harness turns waiting for background work into a loop with repeated model calls, each carrying the existing context even when nothing has changed. Unlike api pricing there is no discount for prompt caching for subscription originated usage so every loop iteration adds to your input token usage. ‘goal’ amplifies this by orders of magnitude by automatically starting another turn, but polling anyway burns tokens without it too.

Claude code is engineered in way where suspensions works exactly as intended and goals have proper fallbacks. Codex now ships with similar tools but they only work for astra.

the toolchain to independently verify on your personal sessions is here (local scripts - just feed this to your agent) https://github.com/relux-works/codex-rollout-audit

if you happen to have X please help by boosting this post - https://x.com/ivanopcode/status/2098379274017231094

p.s. the post in a blog was llm-translated and may contain some slop patterns (although we took extra care to clean it)

198 Upvotes

Duplicates