Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Incremental request bodies for API calls

A new api_incremental_request_body mode lets gzip-compressed API requests reuse parts of earlier request bodies

Group of 2 Under the hood Internal Changes
JSON All of v2.1.311
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
API RequestsArea: what it touches
Internal ChangesKind: in v2.1.311,
Internal ChangesSection of the release

What

Claude Code has a new way of building the request body it sends to the API. The request body is the data uploaded with each request, which includes the conversation.

  • A new name, api_incremental_request_body, joins the existing api_gzip_request_body entries in a list of API-related feature names.
  • The gzip path, which compresses request bodies before sending, now also accepts bodies prepared as binary buffers. Before, it compressed only text bodies.
  • It keeps fingerprints ("digests") of the blocks in a body from one request to the next. It also reports how much of each body was reused and whether an incremental body was sent.

Why

In a long conversation, much of each request repeats the previous one. Reusing those parts across requests can shrink what has to be uploaded each time.

See this entry in the whole of v2.1.311 →

Feedback