Skip to content

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.

Error output
实际上下文窗口在117.9k就出现了报错且无法/compact
English translation

The 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.

  1. 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.

ToolClaude Code
Version3.16.5
PlatformsmacOS
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.

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.