128 MB Request Size on the Claude API
The Claude API now accepts requests up to 128 MB, four times the old 32 MB cap, for developers sending lots of images or large PDFs.
Details
- Max request size for the Messages and Token Counting endpoints went from 32 MB to 128 MB
- For requests with more than 20 images, the per-image limit rose from 2000 px to 3000 px
- The 128 MB limit applies only on Anthropic's own API; through cloud platforms the limit stays between 20 and 32 MB
Best for
Long computer-use sessions and big PDF jobs that ran out of request room before they ran out of context.
When to use it
Your API calls fail on size even though the model still has context left.
Who benefits
Developers building document-processing or screen-driving agents on the Claude API.
Join the newsletter to get ahead with AI.
I share strategies, new modules, free guides, and tools to get you better at using AI in your work.
Leading a team? See team programs →