Opus 4.7 Context Window Bug (200K vs 1M)
- Entity ID:
ent-20260423-r31a000000033 - Type:
concept - Scope:
private - Status:
active
Description
Correctness bug patched in v2.1.117: Opus 4.7 sessions computed context-utilization percentages against a 200K window instead of the model's native 1M window. The 200K value was the pricing boundary (above which premium pricing applies) reused as the context ceiling in an internal constant — the same confusion documented in GitHub #23432. Consequence: autocompact fired at ~20% actual utilization, prematurely compacting context the user still had headroom to use.
Key claims
- v2.1.117 fixes Opus 4.7 using 200K instead of 1M for context percentages
Relations
- Opus 4.7 Context Window Bug (200K vs 1M) --[patched_by]--> v2.1.117