Learning resourcesReviewed · Anthropic

Per-message effort

Per-message effort is a guide for developers who want to change Claude’s effort level during a conversation while preserving prompt-cache compatibility, but the feature is beta and has model-specific restrictions. It explains how to add an empty system message with output_config.effort while keeping the request’s top-level effort unchanged.

Researched 15 Nov 2026

In short.

Per-message effort is a Claude API guide for developers building conversations with changing effort needs, but its beta feature requires careful model, platform and conversation-history handling. It documents request syntax, when effort changes take effect, cache-prefix preservation, supported deployments and configuration errors. Examples cover cURL, CLI and seven programming languages. Prices, measured benefits and execution results are not supplied.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is the complete selected documentation page at [https://platform.claude.com/docs/en/build-with-claude/effort-per-message.md], including its examples, beta notice, placement rules, errors, platform availability and Managed Agents exclusion. Linked pages are outside scope, including detailed effort semantics, preserved-thinking mismatch behavior and adjacent system-message placement rules. No examples were executed, no API behavior was tested, and prices, redistribution rights, measured benefits and availability after capture remain unknown.

The overview

Identity

This is Anthropic’s documentation for changing effort within a Claude conversation. The original source address is [https://platform.claude.com/docs/en/build-with-claude/effort-per-message.md], and the page identifies its web address as [https://platform.claude.com/docs/en/build-with-claude/effort-per-message].

The resource is an implementation guide for an API capability. It supplies examples and operating constraints rather than a standalone application, model download or installable assistant instruction set.

Assessment

The guide is useful when an application needs different effort levels across turns while retaining compatibility with an existing cached request prefix. Its practical strengths are explicit placement rules, persistent-change behavior and documented failure cases.

It does not establish how much changing effort affects response quality, latency, token usage or spending. Cache compatibility is documented behavior; actual cache hits and application benefits have not been assessed through execution.

Users

The main audience is developers maintaining multi-turn Claude API conversations, including applications that alternate between demanding tasks and routine follow-ups. The supplied example moves from planning a database migration to summarizing that plan.

Beginners receive concrete request examples, but need familiarity with API requests, message roles and conversation history. Experienced developers get details relevant to tool-result turns, preserved thinking, cloud deployment differences and error handling.

Capabilities

An empty system message can set a new output_config.effort value without changing the request’s top-level effort. The new value remains active until a later message changes it.

The page provides implementations in cURL, CLI, Python, TypeScript, C#, Go, Java, PHP and Ruby. It also explains how message position controls activation and how Amazon Bedrock InvokeModel receives the beta identifier.

Using it

Requirements

Use a supported model and platform combination, a client that can send the documented system-message structure, and the beta identifier mid-conversation-output-config-2026-07-01. The direct API example authenticates with an API key and uses anthropic-version: 2026-10-21. Minimum SDK versions are unknown.

The availability table lists Fable 5.1 and Opus 5.5 across Claude API, Amazon Bedrock, Claude Platform on AWS, both Google Cloud management options and Microsoft Foundry. Other listed models have narrower combinations: Fable 5.2, Mythos 5.2, Mythos 5.1, Opus 5, Sonnet 5.5 and Haiku 5.5 should be checked against their specific rows.

The bedrock-runtime row lists Fable 5.2, Mythos 5.2, Fable 5.1 and Opus 5.5. On Bedrock InvokeModel, put the beta value in the request body’s anthropic_beta array instead of an HTTP header. Managed Agents does not support this per-message feature.

Mechanism

The inserted system message changes effort for subsequent processing while leaving the earlier request prefix unchanged. Keeping that prefix stable allows it to continue matching the prompt cache, according to the documentation.

Placed directly after a user turn containing new input, the change applies to the reply to that turn. In other positions, including between an assistant reply and the next user turn, it starts with the next user turn containing new input. A user turn containing only tool_result blocks does not count as new input.

Setup

Keep the existing top-level output_config.effort value. Append a message with role set to system, content set to an empty array, and output_config.effort set to the desired new level. Include the required beta header, or the documented Bedrock body parameter.

Keep this message in the same position on later requests. Do not insert it before turns already sent, move it or remove it. On models with preserved thinking, those history changes invalidate thinking blocks in later assistant turns. Adjacent system messages containing content also have placement restrictions, whose full rules are on a linked page outside this source.

Example

The documented example uses claude-opus-5-5 with max_tokens set to 4096 and top-level effort set to high. The history contains a user request for a three-step SQLite-to-PostgreSQL migration plan and an assistant answer.

Before a new user request to summarize the plan, it inserts {"role":"system","content":[],"output_config":{"effort":"low"}}. The summary turn therefore uses low effort while the top-level value remains high. The assistant text shown in the history is example input, not evidence of a successful API run.

Assessment & evidence

Limitations

Without the beta header, per-message output_config produces a 400 error stating that extra inputs are not permitted. Unsupported models also return 400 errors. The page specifically identifies Fable 5 as unsupported and documents a different error form for unsupported Bedrock models and Opus 5 on Bedrock.

Sonnet 5.5 with thinking.type set to between_tools and Haiku 5.5 with thinking.type set to disabled reject a per-message change to a new effort level. The documentation advises adaptive thinking when varying effort per turn in those cases.

The page does not enumerate every accepted effort level or quantify their effects. Complete rules for preserved-thinking prefix mismatches and adjacent system-message placement require linked documentation that was not assessed.

Fit considerations

A practical fit follows from the documented design: applications that already retain conversation history can record effort changes in that history while keeping earlier configuration stable. This is especially relevant when successive tasks need different effort settings.

The requirement to retain each change message creates an additional history-management obligation. Whether that complexity produces worthwhile quality, speed or cost benefits remains unknown without application-specific measurements.

Alternatives

The page contrasts per-message changes with changing top-level effort on the next request. It says a top-level change can invalidate all or part of the cache and, on Fable 5.1, steer effort less reliably because the model tends to remain consistent with earlier replies.

For Managed Agents, the documented alternative is setting session effort through overrides to the agent’s model settings. Adaptive thinking is the stated option for the restricted Sonnet 5.5 and Haiku 5.5 configurations. The linked implementation details for these alternatives were not assessed.

Evidence

The evidence is the complete documentation snapshot acquired from [https://platform.claude.com/docs/en/build-with-claude/effort-per-message.md] at 2026-11-15T00:40:55.168Z. Its source SHA-256 is 93b4ac69511466561cfae337b556922bc3d51d329f0d0c6d4a309a25cfc19195.

The snapshot includes examples, activation rules, error descriptions, an availability table and the required beta identifier. These support statements about documented behavior. No code or API requests were executed; runtime behavior, cache reuse and platform compatibility remain unverified through execution.

Access & freshness

Costs

The page gives no model prices, cache charges, beta surcharge, cloud-provider charges or worked cost calculation. The cost of using this feature is unknown from this source.

It describes preserving cache-prefix compatibility but supplies no measured cache-hit rate or quantified savings. Lower effort should not be treated as a proven cost reduction on the strength of this page alone.

Rights

The supplied page contains no explicit licence or redistribution permission for its text and examples. Permission to redistribute a captured copy is unknown.

API usage terms, cloud-provider terms and rights governing generated output are not established by this page.

Freshness

The capture dates to 15 November 2026, and the page marks the feature as beta. It names mid-conversation-output-config-2026-07-01 as the beta identifier and uses API version 2026-10-21 in its cURL example.

Those identifiers are configuration values, not a publication or last-update date. The supplied page provides no explicit update date, and changes after capture are unknown.

Next steps

Before implementation, match the intended model and hosting platform to the availability table, check the thinking configuration, and choose the correct beta-header or Bedrock body format. Preserve effort-change messages as part of the conversation history.

For an application trial, check activation timing around normal user input and tool results, handle the documented 400 errors, and measure cache usage, response quality, latency and cost. These are suggested validation steps; no trial results are supplied.

Evidence for this report

selected-page.txtselected · checked 2026-11-15