How-toSelected

Claude Token Usage Optimization

Why we picked it

This setting change can reduce token costs for Claude users, especially those working with Fable 5.1.

A user shared a tip to make Claude tokens last longer by disabling 1M context. The setting change involves adding CLAUDE_CODE_DISABLE_1M_CONTEXT to the environment variables in ~/.claude/settings.json. This adjustment is particularly noticeable when using Fable 5.1. The tip was shared by 宝玉 @dotey on Twitter.

Original · 小互

学习了 宝玉 @dotey 一个让你 Claude 的 Token 更耐用的经验:禁用 1M 上下文,尤其是在用 Fable 5.1 的时候很明显。 ~/.claude/settings.json "env": { "CLAUDE_CODE_DISABLE_1M_CONTEXT": "1" } 🔗 View Quoted Tweet 💬 1 🔄 0 ❤️ 7 👀 2556 📊 2 ⚡