[Bug] Anthropic API: claude-opus-4-7 context window silently degraded from 1M to 400k tokens
Resolved 💬 3 comments Opened Apr 27, 2026 by oborchers Closed Apr 30, 2026
Bug Description
Max20: Opus 4.7 1M has been siltently degraded to 400k context instead of 1M. When running /context I see the following: Opus 4.7 (1M context) / claude-opus-4-7[1m] / 357.3k/400k tokens (89%). Why is this? Why is it telling me its a 1M model but I am capped at 400k tokens?
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.119
- Feedback ID: 96181009-f6d0-4092-b1b0-c550677430b0
Errors
[{"error":"Error: Request was aborted.\n at _16 (/$bunfs/root/src/entrypoints/cli.js:5379:1669)\n at next (native:1:11)\n at V$K (/$bunfs/root/src/entrypoints/cli.js:8838:5693)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T07:01:24.645Z"},{"error":"Error: Compaction interrupted · This may be due to network issues — please try again.\n at GC7 (/$bunfs/root/src/entrypoints/cli.js:4807:7050)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T07:01:24.646Z"},{"error":"Error: Request was aborted.\n at _16 (/$bunfs/root/src/entrypoints/cli.js:5379:1669)\n at next (native:1:11)\n at V$K (/$bunfs/root/src/entrypoints/cli.js:8838:5693)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T07:03:43.657Z"},{"error":"Error: Compaction interrupted · This may be due to network issues — please try again.\n at GC7 (/$bunfs/root/src/entrypoints/cli.js:4807:7050)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T07:03:43.658Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T07:04:04.627Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗