Disable 1M Context to Save Claude Tokens: Practical Tip

dotey · x · 2026-09-02

A tip to make Claude tokens last longer: disable the 1M context window, especially noticeable when using Fable 5.1. You can configure this by adding the environment variable "CLAUDECODEDISABLE1MCONTEXT": "1" in /.claude/settings.. Additionally, keep Auto Compact enabled (default) or run /autocompact auto.

Related event: Tip: Disabling Claude's 1M Context Saves Tokens(4 posts)→

Original post →

More from coding & agent

coding & agent channel →