Explaining the Surge in Codex Usage
jasondeanlee · x · 2026-07-14
This repost explains why a user saw their usage "explode" by focusing on Codex's billing and sub-agent behavior:
- Long context billing: Some claim that gpt-5.6 doubles in cost after exceeding 272k tokens. However, the cited content clarifies that subscriptions don't simply double the charge for longer contexts; the real cause lies elsewhere.
- Model trajectory length: The overall trajectory length (the sum of contexts across multiple compactions) isn't heavily impacted by reasoning effort, and output quality doesn't significantly differ after crossing the 272k context mark.
- Value of long context: A larger context offers three main benefits:
- Faster speeds, due to less frequent compaction;
- The ability to handle massive inputs;
- Potential cost savings when the system is well-tuned and cache hits are ideal.
- Compounding reasons for usage spikes: Another cited source notes that a combination of issues in Codex leads to abnormal usage/costs:
- gpt-5.6 becomes more expensive above 272k;
- Ultra sub-agents continue spawning Ultra, causing nested sub-agent consumption;
- Sol and Terra run on the v2 sub-agent layer, which is still in early stages and duplicates the full long context instead of starting a new history.
Overall, it details the implementation specifics of context, sub-agents, and billing in coding agents like Codex, and how these designs collectively amplify token consumption.
More from coding & agent
- HeyGen adds a media-sourcing skill for coding agents with 75k images and 10k tracks — HeyGen · 2026-07-22
- Agent search bottlenecks are now about variance, not raw latency — rohanpaul_ai · 2026-07-22
- LangSmith adds tracing for Pipecat, LiveKit, OpenAI Realtime, and Gemini Live — LangChain · 2026-07-22
- An MCP server signs every AI agent tool call into a verifiable Merkle chain — Funky_Chicken_22 · 2026-07-22
- Annotated transcript of a Claude Code team interview is now available — trq212 · 2026-07-22
- Claude Code skill uses 10 Markdown rules to make outputs ADHD-friendly — alex_verem · 2026-07-22