[BUG] Request size exceeds model context window

Resolved 💬 5 comments Opened Aug 22, 2025 by ty13r Closed Jan 4, 2026

Environment

  • Platform (select one):
  • [x ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.88 (Claude Code)
  • Operating System: macOS 14.5 (23F79)
  • Terminal: terminal

Bug Description

Whenever I send an image to claude code via terminal I get the following error and it's unrecoverable I have to start a new session.

API Error: 413 {"type":"error","error":{"type":"invalid_request_erro r","message":"Request size exceeds model context window"},"request_id":"req_011CSPNuAhthTRUQTGE2aT3i"}

Steps to Reproduce

  1. send screenshot to claude code using ctrl + v
  2. get error

Expected Behavior

claude to see my screenshot and use it as context

Actual Behavior

API Error: 413 {"type":"error","error":{"type":"invalid_request_erro r","message":"Request size exceeds model context window"},"request_id":"req_011CSPNuAhthTRUQTGE2aT3i"}

Additional Context

That's it

View original on GitHub ↗

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