Still shows 1M after switching to a non-1M model, Claude Code
Quick fix
Retest on the latest CC Switch; if it still shows 1M and cannot auto-compact, submit the model configuration and actual model ID.
Symptom
Section titled “Symptom”claude code在已使用1m模型的对话中换用非1m模型claude code不会自动压缩,模型仍显示为1m状态。In Claude Code, after switching to a non-1M model in a conversation that had used a 1M model, Claude Code does not auto-compact, and the model still shows the 1M status.
Reported on CC Switch 3.16.3: after a Claude Code conversation used a 1M model and switched to a non-1M model, the context still showed 1M, and auto-compaction and `/compact` stopped working. Comments noted that not all models support compaction; the maintainer also clarified that Claude Code’s compaction capability and still showing 1M after switching are separate issues.
The maintainer said 4.0 rewrote how Claude Code model configuration is written, with different model-field and 1M-marker generation logic from 3.x, and recommended retesting on the latest version. This issue did not provide a confirmed configuration fix. If it still reproduces on the latest version, check the current provider’s model configuration and the actual model ID sent.
Retest the context display and auto-compaction behavior after switching to a non-1M model on the latest CC Switch.
If it still reproduces, submit the CC Switch and Claude Code versions, the current provider’s model configuration, and the actual model ID sent.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- Do all models support compaction?
- Comments noted that not all models support compaction; however, the maintainer identified the context still showing 1M after switching models as an issue to retest.
- What information should I provide if it still shows 1M and does not auto-compact on the latest version?
- Include the CC Switch and Claude Code versions, the current provider’s model configuration, and the actual model ID sent.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.