Claude API's per-message effort lets you switch reasoning levels without breaking prompt cache

lyraxana · x · 2026-11-12

The Claude API now supports per-message effort: a system message can change the effort level partway through a conversation without altering the request's top-level value, so the cached prefix still matches and the prompt cache is preserved. The author finds it especially useful combined with a router like Jev — adjusting per-message reasoning spend while keeping cache hits, balancing quality and cost.

Related event: Claude API adds per-message effort without breaking prompt caching(2 posts)→

Original post →

More from coding & agent

coding & agent channel →