Codex Allows Raising Compaction Thresholds Per Directory
soumitrashukla9 · x · 2026-07-12
A follow-up explains a more granular use case: if you prefer not to change the default settings globally, you can place your automation tasks into a specific folder and add a project-level configuration file there.
This way, you only raise modelautocompacttokenlimit to 900000 for large tasks that need it, leaving the rest at the default 353K. The author emphasizes that the reason for this is straightforward: larger contexts are more expensive, so it should be enabled strictly on a per-need basis.
Related event: OpenAI Codex Raises Auto-Compaction Context Baseline(3 posts)→
More from coding & agent
- Codex tip: use Sol with Astra and Luna sub-agents to save usage — pvncher · 2026-09-11
- agents-best-practices: a provider-neutral Agent Skill for designing and auditing agentic harnesses — tom_doerr · 2026-09-11
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11