Dev Says 400K-Token Context Was Cheaper and Better, Now Default in Claude Code
YashasGunderia · x · 2026-12-03
Developer Yashas Gunderia replied to Garry Tan's thread on gstack to describe ystack, his eval-driven loop for trimming AI coding agent context down to only what improves outcomes.
- Across 200K API calls he found that a 400K-token context was actually better and cheaper than smaller contexts.
- About two weeks after he shipped it, the approach became Anthropic's default in Claude Code, he says.
- ystack is a power-user stack for Claude Code, Codex and OpenCode with mods, skills and subagents; it enforces rules as code rather than hoping a prompt works, keeps long sessions fast and cheap, and installs in one line.
Related event: ystack developer: 400k context turns out cheaper in practice(2 posts)→