Model Releases
You can also set your autocompact threshold yourself and effectively lower your context window if you'd prefer. For example, 400k context is…
You can also set your autocompact threshold yourself and effectively lower your context window if you'd prefer. For example, 400k context is a good compromise: CLAUDE_CODE_AUTO_COMPACT_WINDOW=400000 c
You can also set your autocompact threshold yourself and effectively lower your context window if you'd prefer. For example, 400k context is a good compromise: CLAUDE_CODE_AUTO_COMPACT_WINDOW=400000 claude see docs here: https://code.claude.com/docs/en/settings#environment-variables
Source: Thariq (X) | 2026-04-16