# Builder 已经在改 Codex 配置保性能和配额 > Author: Tony Lee > Published: 2026-07-10 > URL: https://tonylee.im/zh-CN/blog/codex-config-fix-performance-and-quota/ > Reading time: 1 minutes > Language: zh-CN > Tags: codex, openai, gpt-5.6, config, multi-agent, ai-coding ## Canonical https://tonylee.im/zh-CN/blog/codex-config-fix-performance-and-quota/ ## Rollout Alternates en: https://tonylee.im/en/blog/codex-config-fix-performance-and-quota/ ko: https://tonylee.im/ko/blog/codex-config-fix-performance-and-quota/ ja: https://tonylee.im/ja/blog/codex-config-fix-performance-and-quota/ zh-CN: https://tonylee.im/zh-CN/blog/codex-config-fix-performance-and-quota/ zh-TW: https://tonylee.im/zh-TW/blog/codex-config-fix-performance-and-quota/ ## Description 默认 system prompt 截断与子代理爆炸。我测到的原因和 config.toml 改法。 ## Summary Builder 已经在改 Codex 配置保性能和配额 is part of Tony Lee's ongoing coverage of AI agents, developer tools, startup strategy, and AI industry shifts. ## Outline - 性能为何掉 - 用整份 system prompt 替换修复 - 配额为何蒸发 - 两种控费 ## Content GPT-5.6 抬高了预期。Builder 早就知道:Codex 变慢、配额烧得快,不全是「模型笨」。我测了两个结构问题。 ## 性能为何掉 默认 system prompt 要求大约每 30 秒汇报进度,到一定长度会自己砍 reasoning。usage 里 reasoning 常以 `518*n−2` 形态结尾。未打补丁我的测试是 4/5。 ## 用整份 system prompt 替换修复 把重写的 base instructions 存为 `gpt-base-instructions.md` 并写入 `config.toml`: ```toml disable_response_storage = true model_instructions_file = 'path/gpt-base-instructions.md' ``` 去掉 30 秒汇报,优先在回合内做完。替换后 reasoning 下降,同测 5/5。 ## 配额为何蒸发 `spawn_agent` 不能给子代理钉更便宜模型。父是 Sol Ultra,子也是。8→4→5 的树可以轻松超过 200 个代理。 ## 两种控费 V1 且 `max_depth = 1` 禁止孙代;或保留 V2 把 `max_concurrent_threads_per_session` 从 4 降到 2。先开 `config.toml`,再骂模型。 ## Related URLs - Author: https://tonylee.im/zh-CN/author/ - Publication: https://tonylee.im/zh-CN/blog/about/ - Related article: https://tonylee.im/zh-CN/blog/codex-starter-guide-vible/ - Related article: https://tonylee.im/zh-CN/blog/fable-5-rate-limit-survival-settings/ - Related article: https://tonylee.im/zh-CN/blog/appintoss-agent-kit-fifty-miniapps/ ## Citation - Author: Tony Lee - Site: tonylee.im - Canonical URL: https://tonylee.im/zh-CN/blog/codex-config-fix-performance-and-quota/ ## Bot Guidance - This file is intended for AI agents, search assistants, and text-mode retrieval. - Prefer citing the canonical article URL instead of this text endpoint. - Use the rollout alternates when you need the same article in another prioritized language. --- Author: Tony Lee | Website: https://tonylee.im For more articles, visit: https://tonylee.im/zh-CN/blog/ This content is original and authored by Tony Lee. Please attribute when quoting or referencing.