Claude Code context full before 256k
Quick fix
No verifiable solution is available. The report shows an error at about 117.9k context and inability to /compact.
Symptom
Section titled “Symptom”实际上下文窗口在117.9k就出现了报错且无法/compactThe actual context window errors at 117.9k and cannot /compact.
The report states that, after proxying Codex through cpa and mapping the model to opus4.8 1m, Claude Code encountered an error at about 117.9k actual context, earlier than the expected 256k. The original post provides no exact error text, proxy configuration, or reproducible root cause, so it cannot confirm whether model mapping, the proxy, or a Claude Code context limit is responsible.
This issue remains open; a comment explicitly states that no solution was found. This is not a confirmed fix.
The original post has not provided a verifiable solution. Follow issue #4926 for updates, and provide the actual error text and relevant configuration to help diagnose it.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- Why does the context fill up before 256k?
- The original post only reports an error at about 117.9k and inability to /compact; it provides no verifiable root cause or solution.
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.