claude-sonnet-4-6 reports context_window_size: 200000 in statusline data instead of 1000000
Resolved 💬 3 comments Opened Mar 27, 2026 by choobs96 Closed Mar 30, 2026
Bug
claude-sonnet-4-6 reports context_window_size: 200000 in the status line JSON data, even though the model's actual context window is 1,000,000 tokens.
Status line data received
{
"model": {
"id": "claude-sonnet-4-6",
"display_name": "Sonnet 4.6"
},
"context_window": {
"context_window_size": 200000,
"used_percentage": 62,
"remaining_percentage": 38
}
}
Expected
context_window_size should be 1000000 for claude-sonnet-4-6.
Additional notes
claude-opus-4-6appears to work correctly — itsdisplay_nameis"Opus 4.6 (1M context)"which allows third-party statusline tools to infer the correct window size as a fallbackclaude-sonnet-4-6'sdisplay_nameis just"Sonnet 4.6"with no context size hint- Both the incorrect
context_window_sizevalue and the missing hint indisplay_namecause third-party tools (e.g.ccstatusline) to display inflated context usage percentages (~5× too high)
Environment
- Claude Code version: 2.1.84
- Model:
claude-sonnet-4-6 - Platform: macOS
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗