[Bug] Context command doesn't work for sonnet[1m] past a certain point

Resolved 💬 5 comments Opened Nov 11, 2025 by jhh3 Closed Jan 13, 2026

Bug Description
the context command doesn't work for sonnet[1m] passed 200k tokens - it returns this error Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 215350 tokens > 200000 maximum"},"request_id":"req_011CV2WBvuYjXioipfPoNryB"}

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.37
  • Feedback ID: 1272cfe6-bd61-40fc-9404-9f3b56fb61dc

Errors

> /context
Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 215350 tokens > 200000 

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗