Claude Code 2.1.308
AI overview
Sign in and the AI will write an overview from our coverage.
Headlines · 1
- Recovering a Claude Code session that exceeded its 1M-token limit
A firsthand account describes a Claude Code session whose requests all failed with a 400 error: 930,665 message tokens plus a 128,000-token completion allowance exceeded the deepseek-v4-pro limit of 1,048,576 tokens. The author notes that /compact also returned 400, because it sends the full conversation to the model rather than truncating locally, and attributes the failure to three overlapping causes: the hard model limit, an auto-compact window set to the full 1M with no headroom, and /compact needing the full transcript. The suggested recovery order is to exit and relaunch with claude --resume and a reduced 65,536-token output allowance, then /compact immediately, and only then /clear if 400 persists, since session JSONL files and memory files survive. Prevention settings are an 800,000-token auto-compact window and a 65,536 output allowance, which take effect only for newly started processes and can be checked with /context. The session ran on Claude Code 2.1.308 with deepseek-v4-pro on 2026-11-02; the author notes context-management behavior may change across versions.
掘金 · 人工智能 · 🔥 0
Experience and discussion from the community
Share my Claude Code 2.1.308 experienceAsk about Claude Code 2.1.308
Nobody has shared their experience with Claude Code 2.1.308 yet.