Skip to content

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.

Error output
claude code在已使用1m模型的对话中换用非1m模型claude code不会自动压缩,模型仍显示为1m状态。
English translation

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.

  1. Retest the context display and auto-compaction behavior after switching to a non-1M model on the latest CC Switch.

  2. If it still reproduces, submit the CC Switch and Claude Code versions, the current provider’s model configuration, and the actual model ID sent.

ToolClaude Code
Version3.16.3(问题报告版本)
PlatformsWindows
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.

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.