Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

One read of Claude Developer Platformapi-20261202T060707Z

80 pages moved out of 993 read.

Pages moved 80 significant first
Pages read 993 in this capture
Captured 06:07 UTC
Corpus hash 82ca5f991fc9 corpus-hash

What this read moved

1-25 of 80, page 1 of 4

This capture is too large to show at once. Changes 1-25 of 80 are below, significant first; the rest are on the following screens.

about-claude/pricing Changed · +3 / -3 lines

from line 32
3232| Claude Sonnet 5 | $2 / MTok<sup>3</sup> | $2.50 / MTok | $4 / MTok | $0.20 / MTok | $10 / MTok<sup>3</sup> |
3333| Claude Sonnet 4.6 | $3 / MTok | $3.75 / MTok | $6 / MTok | $0.30 / MTok | $15 / MTok |
3434| Claude Sonnet 4.5 ([retired, except on Amazon Bedrock (bedrock-runtime)](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $3 / MTok | $3.75 / MTok | $6 / MTok | $0.30 / MTok | $15 / MTok |
35| Claude Sonnet 4 ([retired, except on Claude Models on Google Cloud (Google managed) and Bedrock](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $3 / MTok | $3.75 / MTok | $6 / MTok | $0.30 / MTok | $15 / MTok |
35| Claude Sonnet 4 ([retired, except on Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $3 / MTok | $3.75 / MTok | $6 / MTok | $0.30 / MTok | $15 / MTok |
3636| Claude Haiku 5.5 (for prompts up to 100,000 tokens) | $0.10 / MTok | $0.125 / MTok | $0.20 / MTok | $0.01 / MTok | $0.50 / MTok |
3737| Claude Haiku 5.5 (for prompts over 100,000 tokens) | $0.50 / MTok | $0.625 / MTok | $1 / MTok | $0.05 / MTok | $2.50 / MTok |
3838| Claude Haiku 4.5 | $1 / MTok | $1.25 / MTok | $2 / MTok | $0.10 / MTok | $5 / MTok |
from line 239
239239| Claude Sonnet 5 | $1 / MTok | $5 / MTok |
240240| Claude Sonnet 4.6 | $1.50 / MTok | $7.50 / MTok |
241241| Claude Sonnet 4.5 ([retired, except on Amazon Bedrock (bedrock-runtime)](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $1.50 / MTok | $7.50 / MTok |
242| Claude Sonnet 4 ([retired, except on Claude Models on Google Cloud (Google managed) and Bedrock](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $1.50 / MTok | $7.50 / MTok |
242| Claude Sonnet 4 ([retired, except on Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $1.50 / MTok | $7.50 / MTok |
243243| Claude Haiku 5.5 (for prompts up to 100,000 tokens) | $0.05 / MTok | $0.25 / MTok |
244244| Claude Haiku 5.5 (for prompts over 100,000 tokens) | $0.25 / MTok | $1.25 / MTok |
245245| Claude Haiku 4.5 | $0.50 / MTok | $2.50 / MTok |
from line 288
288288| Claude Sonnet 5 | 354 tokens | 474 tokens |
289289| Claude Sonnet 4.6 | 497 tokens | 589 tokens |
290290| Claude Sonnet 4.5 ([retired, except on Amazon Bedrock (bedrock-runtime)](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 496 tokens | 588 tokens |
291| Claude Sonnet 4 ([retired, except on Claude Models on Google Cloud (Google managed) and Bedrock](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 313 tokens | 315 tokens |
291| Claude Sonnet 4 ([retired, except on Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 313 tokens | 315 tokens |
292292| Claude Haiku 5.5 | 286 tokens | 406 tokens |
293293| Claude Haiku 4.5 | 496 tokens | 588 tokens |
294294 

api/claude-code/routines-fire Changed · +4 / -4 lines

from line 12
1212 
1313This endpoint is the HTTP entry point. POSTing to it starts a new run of an existing routine and returns the resulting session ID and URL. Typical callers are alerting systems, CI pipelines, and internal tools that need to start a Claude Code session programmatically.
1414 
15Calling this endpoint requires a claude.ai account on a Pro, Max, Ultra, Team, or Enterprise plan with [Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web) enabled. Authenticate with a per-routine bearer token created in the Claude Code web UI rather than a Claude API key.
15Calling this endpoint requires a claude.ai account on a Pro, Max, Ultra, Team, or Enterprise plan with [Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web) enabled. Authenticate with a per-routine bearer token created in the Claude Code web UI rather than Claude Platform credentials.
1616 
1717## Differences from the Claude Platform
1818 
from line 20
2020 
2121| Aspect | This endpoint | Claude Platform APIs |
2222| ----- | ----- | ----- |
23| Authentication | `Authorization: Bearer` with a per-routine token (`sk-ant-oat01-...`) created at [claude.ai/code/routines](https://claude.ai/code/routines) | A Claude API key from Claude Console, sent as `Authorization: Bearer` |
24| Token scope | One routine only; no read access | Workspace-level |
23| Authentication | `Authorization: Bearer` with a per-routine token (`sk-ant-oat01-...`) created at [claude.ai/code/routines](https://claude.ai/code/routines) | [Access token or Developer API key](https://platform.claude.com/docs/en/manage-claude/authentication), sent as `Authorization: Bearer` |
24| Token scope | One routine only; no read access | Workspace or organization |
2525| SDK support | None | Available in all [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) |
2626| Billing | Claude Code subscription usage on claude.ai | Claude Platform usage |
2727| Path namespace | `/v1/claude_code/...` | `/v1/...` |
from line 151
151151 
152152## SDK support
153153 
154This endpoint is not in the Anthropic SDKs. Its token model differs from API key authentication, and typical callers such as CI jobs and alerting webhooks send the request directly.
154This endpoint is not in the SDK. Its token model differs from Claude Platform authentication, and typical callers such as CI jobs and alerting webhooks send the request directly.
155155 
156156## See also
157157 

build-with-claude/claude-on-amazon-bedrock-legacy Changed · +161 / -165 lines

### API model IDs #### API model IDs

from line 91
9191 import com.anthropic.bedrock.backends.BedrockBackend;
9292 import com.anthropic.models.messages.MessageCreateParams;
9393 import com.anthropic.models.messages.Message;
94 import com.anthropic.models.messages.Model;
9594 
96 public class BasicMessage {
97 public static void main(String[] args) {
98 AnthropicClient client = AnthropicOkHttpClient.builder()
99 .backend(BedrockBackend.fromEnv())
100 .build();
95 void main() {
96 AnthropicClient client = AnthropicOkHttpClient.builder()
97 .backend(BedrockBackend.fromEnv())
98 .build();
10199 
102 MessageCreateParams params = MessageCreateParams.builder()
103 .model(Model.CLAUDE_OPUS_4_6)
104 .maxTokens(1024L)
105 .addUserMessage("What is the capital of France?")
106 .build();
100 MessageCreateParams params = MessageCreateParams.builder()
101 .model("global.anthropic.claude-opus-4-6-v1")
102 .maxTokens(1024L)
103 .addUserMessage("What is the capital of France?")
104 .build();
107105 
108 Message response = client.messages().create(params);
109 response.content().stream()
110 .flatMap(block -> block.text().stream())
111 .forEach(textBlock -> System.out.println(textBlock.text()));
112 }
106 Message response = client.messages().create(params);
107 response.content().stream()
108 .flatMap(block -> block.text().stream())
109 .forEach(textBlock -> IO.println(textBlock.text()));
113110 }
114111 ```
115112 </CodeGroup>
from line 143
146143 
147144Go to the [AWS Console > Bedrock > Model Access](https://console.aws.amazon.com/bedrock/home?region=us-west-2#/modelaccess) and request access to Anthropic models. Note that Anthropic model availability varies by region. See the [AWS documentation on model availability by region](https://docs.aws.amazon.com/bedrock/latest/userguide/models-regions.html) for the latest information.
148145 
149#### API model IDs
146### API model IDs
150147 
151<Note>
152 Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Sonnet 5.5, Claude Sonnet 5, Claude Haiku 5.5, Claude Opus 4.8, and Claude Opus 4.7 are reachable through `InvokeModel` on `bedrock-runtime`. These requests are served by the same infrastructure as the [Claude in Amazon Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock) endpoint. For the native Messages API request shape and full feature parity, use that page. These models are omitted from the model table on this page. The table does list Claude Fable 5.2 and Claude Mythos 5.2, because `bedrock-runtime` is the only Amazon Bedrock endpoint that serves them.
153</Note>
148To call a model, pass its inference profile ID: a prefix, a period, and the base model ID. For example, global.anthropic.claude-opus-5-5 calls Claude Opus 5.5. The prefix sets where AWS routes the request through [cross-region inference](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) (CRIS). To learn how the prefixes affect routing and pricing, see [Global versus regional endpoints](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#global-vs-regional-endpoints).
154149 
155Lifecycle terms (Deprecated, Retired) are defined in [Model deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations). Lifecycle dates on partner-operated platforms are set by the partner and can differ from the Claude API schedule. For the current retirement date of any model on Amazon Bedrock, see [Amazon Bedrock’s model lifecycle page](https://docs.aws.amazon.com/bedrock/latest/userguide/model-lifecycle.html).
150The following table gives each model’s base ID and the prefixes it takes:
156151 
157AWS offers newer Claude models through [cross-region inference](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) rather than on-demand throughput. For these models, a request that passes the base model ID fails with an HTTP 400 error like the following:
158 
159```text wrap
160Invocation of model ID anthropic.claude-sonnet-4-5-20250929-v1:0 with on-demand throughput isn't supported. Retry your request with the ID or ARN of an inference profile that contains this model.
161```
162 
163To call these models, pass an inference profile instead of the base model ID. The inference profile ID is the base model ID with a prefix from a column marked “Yes” in the following table, for example us.anthropic.claude-sonnet-4-5-20250929-v1:0. You can also pass the full inference profile ARN, in the form `arn:aws:bedrock:{region}:{account-id}:inference-profile/{inference-profile-id}`. For AWS’s authoritative list of available inference profiles, see [Supported Regions and models for inference profiles](https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-support.html). To learn how the prefixes affect routing and pricing, see the [Global versus regional endpoints](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#global-vs-regional-endpoints) section.
164 
165| Model | Base Bedrock model ID | `global` | `us` | `eu` | `jp` | `apac` |
152| Model | Base Bedrock model ID | `global` | `us` | `eu` | `jp` | `au` |
166153| :---- | :---- | :---- | :---- | :---- | :---- | :---- |
167154| Claude Fable 5.2 | `anthropic.claude-fable-5-2` | Yes | Yes | No | No | No |
168155| Claude Mythos 5.2 ([limited availability](https://support.claude.com/en/articles/14604842)) | `anthropic.claude-mythos-5-2` | Yes | Yes | No | No | No |
169| Claude Opus 4.6 | `anthropic.claude-opus-4-6-v1` | Yes | Yes | Yes | Yes | Yes |
156| Claude Fable 5.1 | `anthropic.claude-fable-5-1` | Yes | Yes | No | No | No |
157| Claude Mythos 5.1 ([limited availability](https://support.claude.com/en/articles/14604842)) | `anthropic.claude-mythos-5-1` | Yes | Yes | No | No | No |
158| Claude Fable 5 | `anthropic.claude-fable-5` | Yes | Yes | No | No | No |
159| Claude Opus 5.5 | `anthropic.claude-opus-5-5` | Yes | Yes | Yes | Yes | Yes |
160| Claude Opus 5 | `anthropic.claude-opus-5` | Yes | Yes | Yes | No | Yes |
161| Claude Opus 4.8 | `anthropic.claude-opus-4-8` | Yes | Yes | Yes | Yes | Yes |
162| Claude Opus 4.7 | `anthropic.claude-opus-4-7` | Yes | Yes | Yes | Yes | Yes |
163| Claude Opus 4.6 | `anthropic.claude-opus-4-6-v1` | Yes | Yes | Yes | No | Yes |
170164| Claude Opus 4.5 ([deprecated](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `anthropic.claude-opus-4-5-20251101-v1:0` | Yes | Yes | Yes | No | No |
171165| Claude Opus 4.1 ([deprecated](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `anthropic.claude-opus-4-1-20250805-v1:0` | No | Yes | No | No | No |
172| Claude Sonnet 4.6 | `anthropic.claude-sonnet-4-6` | Yes | Yes | Yes | Yes | No |
173| Claude Sonnet 4.5 ([deprecated](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `anthropic.claude-sonnet-4-5-20250929-v1:0` | Yes | Yes | Yes | Yes | No |
174| Claude Sonnet 4 ([deprecated](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `anthropic.claude-sonnet-4-20250514-v1:0` | Yes | Yes | Yes | No | Yes |
175| Claude Haiku 4.5 | `anthropic.claude-haiku-4-5-20251001-v1:0` | Yes | Yes | Yes | No | No |
166| Claude Sonnet 5.5 | `anthropic.claude-sonnet-5-5` | Yes | Yes | Yes | No | Yes |
167| Claude Sonnet 5 | `anthropic.claude-sonnet-5` | Yes | Yes | Yes | No | Yes |
168| Claude Sonnet 4.6 | `anthropic.claude-sonnet-4-6` | Yes | Yes | Yes | Yes | Yes |
169| Claude Sonnet 4.5 ([deprecated](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `anthropic.claude-sonnet-4-5-20250929-v1:0` | Yes | Yes | Yes | Yes | Yes |
170| Claude Haiku 5.5 | `anthropic.claude-haiku-5-5` | Yes | Yes | Yes | Yes | Yes |
171| Claude Haiku 4.5 | `anthropic.claude-haiku-4-5-20251001-v1:0` | Yes | Yes | Yes | Yes | Yes |
176172 
173The Claude Mythos models in the table are available only to organizations verified through Anthropic’s verification programs, such as the [Cyber Verification Program](https://support.claude.com/en/articles/14604842).
174 
175In most AWS regions, a request that passes the base model ID with no prefix fails with an HTTP 400 error such as this one:
176 
177```text wrap
178Invocation of model ID anthropic.claude-opus-5 with on-demand throughput isn’t supported. Retry your request with the ID or ARN of an inference profile that contains this model.
179```
180 
181In place of the inference profile ID, you can pass its full ARN: `arn:aws:bedrock:{region}:{account-id}:inference-profile/{inference-profile-id}`.
182 
183AWS’s [Anthropic model cards](https://docs.aws.amazon.com/bedrock/latest/userguide/model-cards-anthropic.html) list inference profile IDs and the regions where each one works. A card can also show regions where the base model ID works on its own. AWS adds prefixes over a model’s life, so a card and the table can differ.
184 
185[Model deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations) defines the lifecycle terms (Deprecated, Retired). On partner-operated platforms, the partner sets lifecycle dates, which can differ from the Claude API schedule. For the current retirement date of any model on Amazon Bedrock, see [Amazon Bedrock’s model lifecycle page](https://docs.aws.amazon.com/bedrock/latest/userguide/model-lifecycle.html).
186 
177187### List available models
178188 
179The following examples show how to print a list of all the Claude models available through Bedrock:
189To print the inference profile IDs that you can call from a region, run `aws bedrock list-inference-profiles --region us-west-2`. Replace `us-west-2` with your region.
180190 
191The following examples print the base model IDs of all the Claude models available through Bedrock:
192 
181193<CodeGroup exclude="shell">
182194 ```bash AWS CLI
183195 aws bedrock list-foundation-models --region=us-west-2 --by-provider anthropic --query "modelSummaries[*].modelId"
from line 277
265277 import software.amazon.awssdk.services.bedrock.model.ListFoundationModelsResponse;
266278 import software.amazon.awssdk.services.bedrock.model.FoundationModelSummary;
267279 
268 public class ListAnthropicModels {
269 public static void main(String[] args) {
270 BedrockClient client = BedrockClient.builder()
271 .region(Region.US_WEST_2)
272 .build();
280 void main() {
281 BedrockClient client = BedrockClient.builder()
282 .region(Region.US_WEST_2)
283 .build();
273284 
274 ListFoundationModelsRequest request = ListFoundationModelsRequest.builder()
275 .byProvider("anthropic")
276 .build();
285 ListFoundationModelsRequest request = ListFoundationModelsRequest.builder()
286 .byProvider("anthropic")
287 .build();
277288 
278 ListFoundationModelsResponse response = client.listFoundationModels(request);
289 ListFoundationModelsResponse response = client.listFoundationModels(request);
279290 
280 for (FoundationModelSummary summary : response.modelSummaries()) {
281 System.out.println(summary.modelId());
282 }
283 
284 client.close();
291 for (FoundationModelSummary summary : response.modelSummaries()) {
292 IO.println(summary.modelId());
285293 }
294 
295 client.close();
286296 }
287297 ```
288298 
from line 482
472482 import com.anthropic.models.messages.Message;
473483 import com.anthropic.models.messages.MessageCreateParams;
474484 
475 public class BedrockExample {
485 void main() {
486 // Uses default AWS credential provider chain
487 AnthropicClient client = AnthropicOkHttpClient.builder()
488 .backend(BedrockBackend.fromEnv())
489 .build();
476490 
477 public static void main(String[] args) {
478 // Uses default AWS credential provider chain
479 AnthropicClient client = AnthropicOkHttpClient.builder()
480 .backend(BedrockBackend.fromEnv())
481 .build();
491 Message message = client
492 .messages()
493 .create(
494 MessageCreateParams.builder()
495 .model("global.anthropic.claude-opus-4-6-v1")
496 .maxTokens(256)
497 .addUserMessage("Hello, world")
498 .build()
499 );
482500 
483 Message message = client
484 .messages()
485 .create(
486 MessageCreateParams.builder()
487 .model("global.anthropic.claude-opus-4-6-v1")
488 .maxTokens(256)
489 .addUserMessage("Hello, world")
490 .build()
491 );
492 
493 System.out.println(message.content());
494 }
501 IO.println(message.content());
495502 }
496503 ```
497504 </Tab>
from line 557
550557 }
551558 )
552559 
553 response = bedrock.invoke_model(
554 body=body, modelId="global.anthropic.claude-opus-4-6-v1"
555 )
560 response = bedrock.invoke_model(body=body, modelId="global.anthropic.claude-opus-5-5")
556561 
557562 response_body = json.loads(response.get("body").read())
558563 print(response_body.get("content"))
from line 603
598603 )
599604 
600605 message = client.messages.create(
601 model="us.anthropic.claude-sonnet-4-5-20250929-v1:0",
606 model="us.anthropic.claude-opus-4-6-v1",
602607 max_tokens=1024,
603608 messages=[{"role": "user", "content": "Hello!"}],
604609 )
from line 621
616621 });
617622 
618623 const message = await client.messages.create({
619 model: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
624 model: "us.anthropic.claude-opus-4-6-v1",
620625 max_tokens: 1024,
621626 messages: [{ role: "user", content: "Hello!" }]
622627 });
from line 644
639644 
640645 var response = await client.Messages.Create(new MessageCreateParams
641646 {
642 Model = "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
647 Model = "us.anthropic.claude-opus-4-6-v1",
643648 MaxTokens = 1024,
644649 Messages = [new() { Role = Role.User, Content = "Hello!" }],
645650 });
from line 671
666671 )
667672 
668673 message, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{
669 Model: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
674 Model: "us.anthropic.claude-opus-4-6-v1",
670675 MaxTokens: 1024,
671676 Messages: []anthropic.MessageParam{
672677 anthropic.NewUserMessage(anthropic.NewTextBlock("Hello!")),
from line 692
687692 import com.anthropic.models.messages.MessageCreateParams;
688693 import software.amazon.awssdk.regions.Region;
689694 
690 // Option 1: Set AWS_BEARER_TOKEN_BEDROCK environment variable and use fromEnv()
691 AnthropicClient client = AnthropicOkHttpClient.builder()
692 .backend(BedrockBackend.fromEnv())
693 .build();
695 void main() {
696 // Option 1: Set AWS_BEARER_TOKEN_BEDROCK environment variable and use fromEnv()
697 AnthropicClient client = AnthropicOkHttpClient.builder()
698 .backend(BedrockBackend.fromEnv())
699 .build();
694700 
695 // Option 2: Provide the token programmatically
696 client = AnthropicOkHttpClient.builder()
697 .backend(BedrockBackend.builder()
698 .apiKey("your-bearer-token")
699 .region(Region.US_WEST_2)
700 .build())
701 .build();
701 // Option 2: Provide the token programmatically
702 client = AnthropicOkHttpClient.builder()
703 .backend(BedrockBackend.builder()
704 .apiKey("your-bearer-token")
705 .region(Region.US_WEST_2)
706 .build())
707 .build();
702708 
703 MessageCreateParams params = MessageCreateParams.builder()
704 .model("us.anthropic.claude-sonnet-4-5-20250929-v1:0")
705 .maxTokens(1024)
706 .addUserMessage("Hello!")
707 .build();
709 MessageCreateParams params = MessageCreateParams.builder()
710 .model("us.anthropic.claude-opus-4-6-v1")
711 .maxTokens(1024)
712 .addUserMessage("Hello!")
713 .build();
708714 
709 client.messages().create(params).content().stream()
710 .flatMap(block -> block.text().stream())
711 .forEach(textBlock -> System.out.println(textBlock.text()));
715 client.messages().create(params).content().stream()
716 .flatMap(block -> block.text().stream())
717 .forEach(textBlock -> IO.println(textBlock.text()));
718 }
712719 ```
713720 </Tab>
714721 
from line 732
725732 messages: [
726733 ['role' => 'user', 'content' => 'Hello!']
727734 ],
728 model: 'us.anthropic.claude-sonnet-4-5-20250929-v1:0',
735 model: 'us.anthropic.claude-opus-4-6-v1',
729736 );
730737 echo $message->content[0]->text;
731738 ```
from line 748
741748 )
742749 
743750 message = client.messages.create(
744 model: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
751 model: "us.anthropic.claude-opus-4-6-v1",
745752 max_tokens: 1024,
746753 messages: [{role: "user", content: "Hello!"}]
747754 )
from line 775
768775 
769776* [Messages API](https://platform.claude.com/docs/en/api/messages/create)
770777* [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching)
778* [Token counting](https://platform.claude.com/docs/en/build-with-claude/token-counting) on [select models](https://platform.claude.com/docs/en/build-with-claude/token-counting#feature-availability), through Amazon Bedrock’s [`CountTokens` API](https://docs.aws.amazon.com/bedrock/latest/userguide/count-tokens.html) with an AWS SDK
771779* [Thinking](https://platform.claude.com/docs/en/build-with-claude/thinking)
772780* [Tool use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview), including the [Bash tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/bash-tool), [Computer use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool), [Memory tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool), and [Text editor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/text-editor-tool)
773781* [Citations](https://platform.claude.com/docs/en/build-with-claude/citations)
from line 794
786794 
787795### Computer use and browser use toolsets on Bedrock
788796 
789The [computer use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool) and [browser use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool) toolsets are available through the InvokeModel API for these models:
797The [computer use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool) and [browser use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool) toolsets are available through the InvokeModel API on select models. Both toolsets work on the same models. For the list, see the entry for Amazon Bedrock (`bedrock-runtime`) in [Availability of the browser use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool#feature-availability).
790798 
791* Claude Fable 5.2
792* Claude Mythos 5.2
793* Claude Fable 5.1
794* Claude Fable 5
795* Claude Opus 5.5
796* Claude Opus 5
797* Claude Opus 4.8
798* Claude Sonnet 5.5
799* Claude Sonnet 5
800* Claude Haiku 5.5
801 
802799To use one, add an entry of type `computer_toolset_20260801` or `browser_toolset_20260801` to the `tools` array. No beta header is required for either toolset.
803800 
804801### PDF support on Bedrock
from line 804
807804 
808805### Mid-conversation system messages on Bedrock
809806 
810[Mid-conversation system messages](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages) are available through the InvokeModel API for Claude Fable 5.2, Claude Mythos 5.2, Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Opus 4.8, Claude Sonnet 5.5, and Claude Haiku 5.5. This feature is not available on Claude Sonnet 5. Use the top-level `system` field instead. It is not available for the other models in the model table on this page.
807[Mid-conversation system messages](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages) are available through the InvokeModel API on select models. For the list, see the entry for Amazon Bedrock (`bedrock-runtime`) in [Availability of mid-conversation system messages](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages#feature-availability). This feature is not available on Claude Sonnet 5. Use the top-level `system` field instead.
811808 
812809A `role: "system"` message can also set `output_config.effort` to [change effort mid-conversation](https://platform.claude.com/docs/en/build-with-claude/effort-per-message) on Claude Fable 5.2, Claude Mythos 5.2, Claude Fable 5.1, and Claude Opus 5.5. This is in beta: add `mid-conversation-output-config-2026-07-01` to the `anthropic_beta` array in the request body. Without that beta, or on Claude Fable 5, Claude Opus 5, or Claude Opus 4.8, the request returns a 400 error: `messages.N.output_config: Extra inputs are not permitted`. In the error, `N` is the index of the `system` message in `messages`.
813810 
from line 812
815812 
816813### Context window
817814 
818Claude Fable 5.2, Claude Mythos 5.2, Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, Claude Sonnet 5.5, Claude Sonnet 5, Claude Sonnet 4.6, and Claude Haiku 5.5 have a [1M-token context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) on Amazon Bedrock. Other Claude models, including Sonnet 4.5 (deprecated) and Sonnet 4 (deprecated), have a 200k-token context window.
815On `bedrock-runtime`, Claude 4.6 and later models have a [1M-token context window](https://platform.claude.com/docs/en/build-with-claude/context-windows). Claude Opus 4.5, Claude Opus 4.1, Claude Sonnet 4.5, and Claude Haiku 4.5 have a 200k-token context window.
819816 
820817Bedrock limits request payloads to 20 MB. When sending large documents or many images, you might reach this limit before the token limit.
821818 
822819## Global versus regional endpoints
823820 
824Starting with **Claude Sonnet 4.5 and all future models**, Bedrock offers two endpoint types:
821Bedrock offers two endpoint types:
825822 
826823* **Global endpoints:** Dynamic routing for maximum availability
827824* **Regional endpoints:** Guaranteed data routing through specific geographic regions
828825 
829Regional endpoints include a 10 percent pricing premium over global endpoints.
826The table in [API model IDs](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#api-model-ids) shows which endpoint types each model offers. The `global` prefix is the global endpoint. The other prefixes are regional endpoints, each named for its geography, such as `au` for Australia and `jp` for Japan.
830827 
831<Note>
832 This applies to Claude Sonnet 4.5 (deprecated) and future models only. Older models (Claude Sonnet 4 (deprecated) and earlier) maintain their existing pricing structures.
833</Note>
834 
835828### When to use each option
836829 
837830**Global endpoints (recommended):**
from line 838
845838 
846839* Route traffic through specific geographic regions
847840* Are required for data residency and compliance requirements
848* Are available for US, EU, Japan, and Asia-Pacific
849* Carry a 10 percent pricing premium that reflects infrastructure costs for dedicated regional capacity
841* Carry a 10 percent [pricing premium](https://platform.claude.com/docs/en/about-claude/pricing#cloud-platform-pricing) over global endpoints on Claude 4.5 and later models outside AWS GovCloud
850842 
851843### Implementation
852844 
853**Using global endpoints (default for Opus 4.6, Sonnet 4.6, and Sonnet 4.5 (deprecated)):**
845**Using global endpoints:**
854846 
855The model IDs for Claude Opus 4.6, Sonnet 4.6, and Sonnet 4.5 (deprecated) already include the `global.` prefix:
847To use global endpoints, add the `global.` prefix to the base model ID:
856848 
857849<Tabs>
858850 <Tab title="cURL">
from line 944
952944 import com.anthropic.client.okhttp.AnthropicOkHttpClient;
953945 import com.anthropic.models.messages.MessageCreateParams;
954946 
955 // Uses default AWS credential provider chain
956 AnthropicClient client = AnthropicOkHttpClient.builder()
957 .backend(BedrockBackend.fromEnv())
958 .build();
947 void main() {
948 // Uses default AWS credential provider chain
949 AnthropicClient client = AnthropicOkHttpClient.builder()
950 .backend(BedrockBackend.fromEnv())
951 .build();
959952 
960 var message = client
961 .messages()
962 .create(
963 MessageCreateParams.builder()
964 .model("global.anthropic.claude-opus-4-6-v1")
965 .maxTokens(256)
966 .addUserMessage("Hello, world")
967 .build()
968 );
953 var message = client
954 .messages()
955 .create(
956 MessageCreateParams.builder()
957 .model("global.anthropic.claude-opus-4-6-v1")
958 .maxTokens(256)
959 .addUserMessage("Hello, world")
960 .build()
961 );
962 }
969963 ```
970964 </Tab>
971965 
from line 1000
10061000 
10071001**Using regional endpoints (CRIS):**
10081002 
1009To use regional endpoints, replace the `global.` prefix with a regional prefix such as `us.`:
1003To use regional endpoints, replace the `global.` prefix with a regional prefix such as `us.`. Send the request to an AWS region that the prefix covers, such as `us-west-2` for `us.` or `ap-southeast-2` for `au.`:
10101004 
10111005<Tabs>
10121006 <Tab title="cURL">
from line 1103
11091103 import com.anthropic.client.okhttp.AnthropicOkHttpClient;
11101104 import com.anthropic.models.messages.MessageCreateParams;
11111105 
1112 // Uses default AWS credential provider chain
1113 AnthropicClient client = AnthropicOkHttpClient.builder()
1114 .backend(BedrockBackend.fromEnv())
1115 .build();
1106 void main() {
1107 // Uses default AWS credential provider chain
1108 AnthropicClient client = AnthropicOkHttpClient.builder()
1109 .backend(BedrockBackend.fromEnv())
1110 .build();
11161111 
1117 // Using US regional endpoint (CRIS)
1118 var message = client
1119 .messages()
1120 .create(
1121 MessageCreateParams.builder()
1122 .model("us.anthropic.claude-opus-4-6-v1") // Regional prefix
1123 .maxTokens(256)
1124 .addUserMessage("Hello, world")
1125 .build()
1126 );
1112 // Using US regional endpoint (CRIS)
1113 var message = client
1114 .messages()
1115 .create(
1116 MessageCreateParams.builder()
1117 .model("us.anthropic.claude-opus-4-6-v1") // Regional prefix
1118 .maxTokens(256)
1119 .addUserMessage("Hello, world")
1120 .build()
1121 );
1122 }
11271123 ```
11281124 </Tab>
11291125 

build-with-claude/preserved-thinking/prefix-checks Changed · +27 / -21 lines

from line 24
2424 
2525Each request that sends thinking blocks back to a [model with preserved thinking](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#outcomes) gets a prefix check. A prefix check fails if `system`, `tools`, or an earlier message changed after Claude produced a block. It also fails if a thinking block between others was left out or moved.
2626 
27Failing the prefix check might or might not result in a 400 error, [depending on the model](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#outcomes), so [handle both cases](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#handle-either-outcome).
27Failing the prefix check might or might not result in a 400 error, [depending on the model and account](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#outcomes). The defensive approach is to [handle both cases](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#handle-either-outcome).
2828 
2929## Who the prefix check affects
3030 
from line 69
6969 
7070## What each model does when the prefix check fails
7171 
72On the Claude API and [some cloud platforms](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#feature-availability), the result of failing the prefix check with [`prefix_mismatch_behavior`](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#preserved-thinking-controls) unset depends on the model:
72On the Claude API and [some cloud platforms](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#feature-availability), if a request fails the prefix check and leaves [`prefix_mismatch_behavior`](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#preserved-thinking-controls) unset, whether it gets an error depends on the model and the account:
7373 
74| Model with preserved thinking | Result |
75| ----- | ----- |
76| Claude Fable 5.2 | 400 error |
77| Claude Mythos 5.2 | 400 error |
78| Claude Mythos 5.1 | 400 error |
79| Claude Fable 5.1 | [Possible 400 error](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#possible-400-error) |
80| Claude Opus 5.5 | [Possible 400 error](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#possible-400-error) |
81| Claude Sonnet 5.5 | [Possible 400 error](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#possible-400-error) |
82| Claude Haiku 5.5 | [Possible 400 error](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#possible-400-error) |
74| Model | Account created | Account created |
75| ----- | ----- | ----- |
76| Name | On or after August 31, 2026 | Before August 31, 2026 |
77| Claude Fable 5.2 | 400 error | 400 error |
78| Claude Mythos 5.2 | 400 error | 400 error |
79| Claude Fable 5.1 | 400 error | No error |
80| Claude Mythos 5.1 | 400 error | 400 error |
81| Claude Opus 5.5 | 400 error | No error |
82| Claude Sonnet 5.5 | 400 error | No error |
83| Claude Haiku 5.5 | 400 error | No error |
8384 
84Where the table says “Possible 400 error,” there are two cases: a request that fails the prefix check might get a 400 error or no error. When no error is returned, the failing blocks reach the model. Claude reads them like any other input, you’re billed for them, and Claude works from reasoning about content that has since changed.
85The cutoff is 00:00 UTC on August 31, 2026. In the Message Batches API, an item that leaves the field unset doesn’t get the 400 error. For this and for how to tell which column your account is in, see [Batches and token counting](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/fix-bound-to-a-different-conversation#batches) and [Check which case you get](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#check-which-case).
8586 
86On those models, you can [check which case a request gets](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#check-which-case), but [handle both cases](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#handle-either-outcome).
87Where the table says “No error,” Claude reads the failing blocks like any other input. You’re billed for them, and Claude works from reasoning about content that has since changed.
8788 
89[What counts as your account](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#accounts-by-platform) depends on the platform. On two platforms, the “On or after August 31, 2026” column goes by first use of any Claude model on that platform:
90 
91* **Amazon Bedrock:** applies to AWS accounts that first used Claude on Bedrock on or after August 31, 2026
92* **Claude Models on Google Cloud (Google managed):** applies to Google Cloud projects that first used Claude there on or after August 31, 2026
93 
94Accounts and projects that first used Claude on those platforms before that date are in the “Before August 31, 2026” column.
95 
8896<Tip>
8997 Code that follows [the three habits of an append-only integration](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#prefix-check) doesn’t cause prefix check failures.
9098</Tip>
9199 
92[Message Batches items](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/fix-bound-to-a-different-conversation#batches) that leave `prefix_mismatch_behavior` unset get no error, and the API can drop the failing blocks.
93 
94100## Handle both cases
95101 
96102For one result on every request, make your integration append-only or set `prefix_mismatch_behavior`. Otherwise, your code must handle both behaviors.
from line 142
136142| ----- | ----- |
137143| `"error"` | The API rejects the request with a 400 error that names the first invalid block |
138144| `"drop_block"` | The API drops the invalid blocks, and the request succeeds. You aren’t billed for those blocks, but [dropping them can cost more](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/fix-bound-to-a-different-conversation#drop-block-cost) |
139| Not set, or `null` | [Depends on the model](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#outcomes) |
145| Not set or `null` | [Depends on the model and account](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#outcomes) |
140146 
141147Blocks that fail the prefix check stay invalid on every later request that sends them, while the change is in place. The setting acts on the one request that carries it. With thinking off (`"disabled"` or `"between_tools"`), sending it is a 400 error on every model.
142148 
from line 422
416422 
417423### Check which case you get
418424 
419On [some models](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#outcomes), a request that fails the prefix check might get the 400 error or no error. This test shows which one a request gets:
425To find out which column your account is in, run this test on one of the [models with a “No error” cell](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#outcomes):
420426 
4214271. Take a conversation that holds a thinking block from one of those models. Change or add the system prompt (`system`). The block then fails the prefix check, because the system prompt changed after Claude produced the block.
4224282. Send it to the same model with the `thinking-binding-controls-2026-08-01` beta header, and leave `prefix_mismatch_behavior` unset.
from line 433
427433* **A 200 response whose `input_transformations` array has `thinking_mismatch_allowed` entries:** The request got no error. Each entry names a thinking block that failed the prefix check and reached Claude.
428434* **A 200 response whose `input_transformations` array is empty:** No block failed the prefix check, so the test shows nothing. Check that the conversation holds a thinking block from that model.
429435 
430The result describes that one request and promises nothing about later ones, so write your code to [handle both cases](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#handle-either-outcome).
436A 400 error means your requests get the outcome in the “On or after August 31, 2026” column. A 200 response with those entries means they get the outcome in the “Before August 31, 2026” column.
431437 
432438## Next steps
433439 

build-with-claude/token-counting Changed · +12 / -7 lines

from line 29
2929 supportedPlatforms:
3030 Claude API: stable
3131 Amazon Bedrock: stable
32 Amazon Bedrock (bedrock-runtime): stable
32 Amazon Bedrock (bedrock-runtime):
33 availability: stable
34 note: Through Amazon Bedrock's `CountTokens` API.
3335 Claude Platform on AWS: stable
3436 Claude Models on Google Cloud (Anthropic managed): stable
3537 Claude Models on Google Cloud (Google managed): stable
from line 68
6668 
6769### Supported models
6870 
69All [active models](https://platform.claude.com/docs/en/models/overview) support token counting.
71All [active models](https://platform.claude.com/docs/en/models/overview) support token counting on the Claude API. For cloud platforms, see [Availability of token counting](https://platform.claude.com/docs/en/build-with-claude/token-counting#feature-availability).
7072 
7173<Note>
7274 Claude 4.7 and later models and Claude Mythos Preview use a newer tokenizer. The same input text produces approximately 30 percent more tokens than on earlier models. The exact increase depends on the content and workload shape. Recount prompts against the model you plan to use rather than reusing counts measured against earlier models.
from line 1192
11901192 
11911193 ```python Python
11921194 import base64
1193 import anthropic
1195 # ...
11941196 
11951197 client = anthropic.Anthropic()
11961198 
from line 1486
14841486 
14851487## Availability
14861488 
1487Token counting is available on every model and eligible for zero data retention and HIPAA readiness.
1489Token counting is available on select models and eligible for zero data retention and HIPAA readiness.
14881490 
14891491### API support
14901492 
from line 1494
14921494 
14931495* Availability: Available
14941496 
1495| Status | Models |
1496| ----- | ----- |
1497| Available | [All models](https://platform.claude.com/docs/en/models/overview) |
1497| Status | Cloud platforms | Models |
1498| ----- | ----- | ----- |
1499| Available | Claude API, [Amazon Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock), [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), [Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed), [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry) | [All models](https://platform.claude.com/docs/en/models/overview) |
1500| Available<sup>1</sup> | [Amazon Bedrock (bedrock-runtime)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy) | [Claude Haiku 4.5](https://platform.claude.com/docs/en/models/haiku-4-5/overview), [Claude Opus 4.6](https://platform.claude.com/docs/en/models/opus-4-6/overview), [Claude Sonnet 4.6](https://platform.claude.com/docs/en/models/sonnet-4-6/overview), [Claude Opus 4.5](https://platform.claude.com/docs/en/models/opus-4-5/overview) |
1501 
15021. Through Amazon Bedrock’s `CountTokens` API.
14981503 
14991504#### [Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview)
15001505 

cli-sdks-libraries/cli/scripting Changed · +3 / -3 lines

from line 96
9696 
9797## Use the CLI from Claude Code
9898 
99[Claude Code](https://code.claude.com/docs/en/overview) can use the `ant` CLI out of the box. With the CLI installed and authenticated, you can ask Claude Code to operate on your API resources directly. For example:
99[Claude Code](https://code.claude.com/docs/en/overview) can run the `ant` CLI for you. With the CLI [installed and authenticated](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart), you can ask Claude Code to operate on your API resources directly. For example:
100100 
101101* “List my recent agent sessions and summarize which ones errored.”
102102* “Upload every PDF in `./reports` to the Files API and print the resulting IDs.”
103103* “Pull the events for session `session_01...` and tell me where the agent got stuck.”
104104 
105Claude Code runs `ant` commands, parses the structured output, and reasons over the results (no custom integration code required).
105Claude Code runs `ant` commands, parses the structured output, and uses the results to complete your request (no custom integration code required).
106106 
107107## Authenticate curl requests with CLI credentials
108108 
109Scripts that call the API with `curl` or another HTTP client can use the credentials stored by [`ant auth login`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart#authentication) instead of a static API key. The OAuth access token goes in the `Authorization` header as a bearer token; the `x-api-key` header is only for static API keys.
109To call the API with `curl` or another HTTP client, use your [`ant auth login`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart#authentication) credentials instead of a [Developer API key](https://platform.claude.com/docs/en/manage-claude/api-keys). The OAuth access token goes in the `Authorization` header as a bearer token, and `x-api-key` is only for API keys. In CI, use [Workload Identity Federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation).
110110 
111111`ant auth print-credentials --access-token` prints the active profile’s access token, refreshing it first if it is expired or near expiry:
112112 

cli-sdks-libraries/libraries/apple-foundation-models Changed · +18 / -19 lines

### Developer API key (development) ### API key (development)

from line 43
4343 
4444* iOS 27, macOS 27, visionOS 27, or watchOS 27 (all in beta): the OS releases whose Foundation Models framework supports server-side language models
4545* Xcode 27 (beta)
46* A Claude API key from the [Claude Console](https://platform.claude.com/) for development. See [Authentication](https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models#authentication) for production options.
46* To ship: [App Attest, or a proxy on your own back end](https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models#authentication)
47* To develop without App Attest, which doesn’t work in the Simulator: a [Developer API key scoped to one workspace](https://platform.claude.com/docs/en/manage-claude/api-keys#scope) from the [Claude Console](https://platform.claude.com/)
4748 
4849## Install the package
4950 
from line 89
8889 
8990## Choosing a model
9091 
91Model identifiers are values of `ClaudeModel`. Use a compiled-in constant, or construct one with explicit capabilities for an ID that isn’t compiled in yet (see [Capabilities](https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models#capabilities)):
92Model identifiers are values of `ClaudeModel`. Use a compiled-in constant, or construct one with explicit capabilities for an ID that isn’t compiled in (see [Capabilities](https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models#capabilities)):
9293 
9394```swift
9495ClaudeLanguageModel(name: .opus5_5, auth: auth)
from line 142
141142)
142143```
143144 
144<Note>
145 App Attest requires a physical device. The Simulator, and hardware without a Secure Enclave, cannot perform App Attest. Use `.apiKey` while iterating in the Simulator, and `.appAttest` when running on a device.
146</Note>
145App Attest requires a physical device. The Simulator and hardware without a Secure Enclave can’t perform it. Use `.apiKey` while iterating in the Simulator and `.appAttest` when running on a device.
147146 
148147To set up App Attest, you need your Apple Developer Team ID and the admin role in your Claude Console organization. Configure your Xcode project and register your app in the [Claude Console](https://platform.claude.com/):
149148 
from line 173
174173ClaudeLanguageModel(
175174 name: .sonnet5,
176175 auth: .proxied(headers: ["X-App-Token": "..."]),
177 baseURL: URL(string: "https://api.yourapp.com/claude")!
176 baseURL: URL(string: "https://api.example.com/claude")!
178177)
179178```
180179 
181Your proxy receives standard [Messages API](https://platform.claude.com/docs/en/api/messages/create) requests, attaches your API key as `Authorization: Bearer <key>`, and forwards them to `https://api.anthropic.com`.
180Your proxy receives standard [Messages API](https://platform.claude.com/docs/en/api/messages/create) requests and attaches a [Workload Identity Federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation) access token or a Developer API key as `Authorization: Bearer <credential>`. It forwards them to `https://api.anthropic.com`.
182181 
183### API key (development)
182### Developer API key (development)
184183 
185Pass an API key directly while developing:
184<Warning>
185 Anyone can extract the key from a shipped app and make requests billed to your account. Use `.apiKey` only in development, and switch to App Attest or a proxy before release.
186</Warning>
186187 
188Pass a [Developer API key scoped to one workspace](https://platform.claude.com/docs/en/manage-claude/api-keys#scope):
189 
187190```swift
188191ClaudeLanguageModel(name: .sonnet5, auth: .apiKey("YOUR_API_KEY"))
189192```
190193 
191<Warning>
192 A key bundled into an app is extractable from the shipping binary, and anyone who extracts it can make requests billed to your account. Use `.apiKey` for development only, and switch to App Attest or a proxy before release.
193</Warning>
194 
195194## Streaming
196195 
197196`streamResponse(to:)` returns the response incrementally. Each element is a cumulative snapshot of the response so far, not a delta:
from line 263
264263 let response = try await session.respond(to: prompt)
265264 print(response.content)
266265} catch ClaudeError.missingCredential {
267 // Prompt for an API key.
266 // Prompt for a Developer API key.
268267} catch let error as LanguageModelError {
269268 // Framework-shaped errors (rate limits, guardrails, context-window overflow, decoding).
270269} catch {

cli-sdks-libraries/libraries/openai-sdk Changed · +20 / -22 lines

from line 48
48482. Change the following:
4949 
5050 * Update your base URL to point to the Claude API.
51 * Replace your API key with a [Claude API key](https://platform.claude.com/settings/keys) from the Claude Console.
51 * Replace your OpenAI key with a [Developer API key](https://platform.claude.com/settings/keys) from the Claude Console.
5252 * If your key is a [personal or service account key](https://platform.claude.com/docs/en/manage-claude/api-keys#key-types) scoped to the organization, also send the `anthropic-workspace-id` header on every request. For example, set it as a default header on the client. See [Select a workspace](https://platform.claude.com/docs/en/manage-claude/api-keys#select-a-workspace) on the Developer API keys page.
5353 * Update your model name to use a [Claude model](https://platform.claude.com/docs/en/models/overview).
5454 
from line 63
6363 from openai import OpenAI
6464 
6565 client = OpenAI(
66 api_key=os.environ.get("ANTHROPIC_API_KEY"), # Your Claude API key
66 api_key=os.environ.get("ANTHROPIC_API_KEY"), # Your Developer API key
6767 base_url="https://api.anthropic.com/v1/", # the Claude API endpoint
6868 )
6969 
from line 82
8282 import OpenAI from "openai";
8383 
8484 const openai = new OpenAI({
85 apiKey: process.env.ANTHROPIC_API_KEY, // Your Claude API key
85 apiKey: process.env.ANTHROPIC_API_KEY, // Your Developer API key
8686 baseURL: "https://api.anthropic.com/v1/" // Claude API endpoint
8787 });
8888 
from line 105
105105 ChatClient chatClient = new(
106106 model: "claude-opus-5-5", // Claude model name
107107 credential: new ApiKeyCredential(
108 Environment.GetEnvironmentVariable("ANTHROPIC_API_KEY")), // Your Claude API key
108 Environment.GetEnvironmentVariable("ANTHROPIC_API_KEY")), // Your Developer API key
109109 options: new OpenAIClientOptions()
110110 {
111111 Endpoint = new Uri("https://api.anthropic.com/v1/") // the Claude API endpoint
from line 132
132132 
133133 func main() {
134134 client := openai.NewClient(
135 option.WithAPIKey(os.Getenv("ANTHROPIC_API_KEY")), // Your Claude API key
135 option.WithAPIKey(os.Getenv("ANTHROPIC_API_KEY")), // Your Developer API key
136136 option.WithBaseURL("https://api.anthropic.com/v1/"), // the Claude API endpoint
137137 )
138138 
from line 157
157157 import com.openai.models.chat.completions.ChatCompletion;
158158 import com.openai.models.chat.completions.ChatCompletionCreateParams;
159159 
160 public class QuickStart {
161 public static void main(String[] args) {
162 OpenAIClient client = OpenAIOkHttpClient.builder()
163 .apiKey(System.getenv("ANTHROPIC_API_KEY")) // Your Claude API key
164 .baseUrl("https://api.anthropic.com/v1/") // the Claude API endpoint
165 .build();
160 void main() {
161 OpenAIClient client = OpenAIOkHttpClient.builder()
162 .apiKey(System.getenv("ANTHROPIC_API_KEY")) // Your Developer API key
163 .baseUrl("https://api.anthropic.com/v1/") // the Claude API endpoint
164 .build();
166165 
167 ChatCompletionCreateParams params = ChatCompletionCreateParams.builder()
168 .model("claude-opus-5-5") // Claude model name
169 .addSystemMessage("You are a helpful assistant.")
170 .addUserMessage("Who are you?")
171 .build();
166 ChatCompletionCreateParams params = ChatCompletionCreateParams.builder()
167 .model("claude-opus-5-5") // Claude model name
168 .addSystemMessage("You are a helpful assistant.")
169 .addUserMessage("Who are you?")
170 .build();
172171 
173 ChatCompletion completion = client.chat().completions().create(params);
174 System.out.println(completion.choices().get(0).message().content().orElse(""));
175 }
172 ChatCompletion completion = client.chat().completions().create(params);
173 IO.println(completion.choices().get(0).message().content().orElse(""));
176174 }
177175 ```
178176 
from line 182
184182 require "openai"
185183 
186184 openai = OpenAI::Client.new(
187 api_key: ENV["ANTHROPIC_API_KEY"], # Your Claude API key
185 api_key: ENV["ANTHROPIC_API_KEY"], # Your Developer API key
188186 base_url: "https://api.anthropic.com/v1/" # the Claude API endpoint
189187 )
190188 

manage-claude/api-and-data-retention Changed · +21 / -14 lines

from line 6
66 
77This page covers the Claude API (`api.anthropic.com`), Claude Platform on AWS, [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), and [Claude in Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry), where Anthropic is the data processor. On Claude Models on Google Cloud (Google managed) and Amazon Bedrock, the cloud provider is the data processor; refer to those platforms’ data retention and compliance documentation for their equivalent controls.
88 
9Anthropic now offers three data handling arrangements for the Claude API: [legacy zero data retention (Legacy ZDR)](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#zero-data-retention-zdr-scope), [HIPAA readiness](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#hipaa-readiness), and [Enterprise Frontier Safeguards (EFS ZDR)](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/overview). The [feature eligibility table](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#feature-eligibility) lists which API features Legacy ZDR and HIPAA readiness cover. For Anthropic’s standard retention policies outside these arrangements, see the [commercial data retention policy](https://privacy.claude.com/en/articles/7996866-how-long-do-you-store-my-organization-s-data) and the [consumer data retention policy](https://privacy.claude.com/en/articles/10023548-how-long-do-you-store-my-data).
9Anthropic now offers three data handling arrangements for the Claude API: [legacy zero data retention (Legacy ZDR)](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#zero-data-retention-zdr-scope), [HIPAA readiness](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#hipaa-readiness), and [Enterprise Frontier Safeguards (EFS ZDR)](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/overview). The [feature eligibility table](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#feature-eligibility) lists which API features each arrangement covers. For Anthropic’s standard retention policies outside these arrangements, see the [commercial data retention policy](https://privacy.claude.com/en/articles/7996866-how-long-do-you-store-my-organization-s-data) and the [consumer data retention policy](https://privacy.claude.com/en/articles/10023548-how-long-do-you-store-my-data).
1010 
1111<Warning>
1212 EFS ZDR is in beta. While EFS ZDR rolls out, if you see references to “ZDR” in our Documentation outside the Enterprise Frontier Safeguards guide, these references refer to Legacy ZDR.
from line 180
180180 
181181## Feature eligibility
182182 
183The following tables list which Claude API features are eligible for Legacy ZDR and HIPAA readiness arrangements. They split the features as the [Features overview](https://platform.claude.com/docs/en/build-with-claude/overview) does.
183The following tables list which Claude API features are eligible for Legacy ZDR, [Enterprise Frontier Safeguards ZDR (EFS ZDR)](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/overview), and HIPAA readiness arrangements. They split the features as the [Features overview](https://platform.claude.com/docs/en/build-with-claude/overview) does. For EFS ZDR, the tables cover `api.anthropic.com` only. Under EFS ZDR, “not stored” means not stored by Anthropic: [Sealed Safety Data](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/customer-owned-storage#what-is-stored) goes to your own storage. EFS ZDR applies once your setup takes effect. See [How long changes take](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/faq#how-long-changes-take).
184184 
185185Each eligibility column uses three values:
186186 
187187* **Yes:** The feature is fully eligible under the arrangement. For Legacy ZDR, “Yes” also assumes you are using a model that does not require 30-day data retention; [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements) are not available under Legacy ZDR regardless of feature eligibility, unless expressly authorized by Anthropic or used in a workspace on [Enterprise Frontier Safeguards](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/overview).
188 
188189* **Yes (qualified):** Your prompts and Claude’s outputs are not stored, but a bounded technical artifact (named in the Details column) is retained briefly for the feature to function. See [How Anthropic approaches data retention](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#how-anthropic-approaches-data-retention) for the commitments that govern these features.
189* **No:** The feature is not eligible. Under HIPAA readiness, the API blocks requests that include a “No” feature and returns a `400` error, unless the feature’s Details column says otherwise. Under Legacy ZDR, the API does **not** block these features; using one is a choice to step outside your Legacy ZDR arrangement for that specific data, and the feature’s own documented retention policy applies. However, in a workspace with [Anthropic Human Review](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review) off, such as any workspace on [Enterprise Frontier Safeguards](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/overview), the Batch API refuses new batches. Anthropic’s Claude Managed Agents service doesn’t run sessions there either. Features marked “No” for Legacy ZDR are typically stateful (they store jobs, files, or container state), which is why they cannot be zero-retention.
190190 
191* **No:** The feature is not eligible. These rules apply unless the Details column says otherwise:
192 
193 * Under HIPAA readiness, the API blocks requests that include the feature and returns a `400` error.
194 * Under Legacy ZDR and EFS ZDR, don’t rely on the API to block the feature. Any data that the feature handles falls outside your arrangement and follows the feature’s documented retention policy.
195 
191196ZDR eligibility is not the same as coverage under your BAA. For example, the web fetch tool is marked “Yes” for ZDR and “No” for HIPAA, and the [HIPAA Implementation Guide](https://trust.anthropic.com/resources) marks it as not covered. A ZDR arrangement doesn’t block such a feature, so a request that succeeds isn’t proof of coverage. Before you send PHI through a feature, check the guide, not only these tables, for what your BAA covers.
192197 
193198### Platform features
from line 199
194199 
195200This section lists features that relate to both the [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) and [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview). Some are available in only one of them. This table gives each feature’s eligibility in the Messages API. In Claude Managed Agents, no feature is eligible for Legacy ZDR or HIPAA readiness, except for self-hosted Managed Agents under Legacy ZDR. See the Claude Managed Agents row under [Managed Agents features](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#managed-agents-features).
196201 
197| Feature | Endpoint | Legacy ZDR eligible | HIPAA eligible | Details |
202| Feature | Endpoint | ZDR eligible (Legacy and EFS) | HIPAA eligible | Details |
198203| :---- | :---- | :---- | :---- | :---- |
199204| [Advisor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool) | `/v1/messages` with `advisor` tool | Yes | No | Advisor model output is returned in the API response; nothing is stored server-side after the response. |
200205| [Agent Skills](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview) | `/v1/skills`, `/v1/messages` with `skills` | No | No | Skill data retained according to standard policy. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview#data-retention) |
201| [Batch processing](https://platform.claude.com/docs/en/build-with-claude/batch-processing) | `/v1/messages/batches` | No | No | 29-day retention; async storage required. [Learn more](https://platform.claude.com/docs/en/build-with-claude/batch-processing#data-retention) |
206| [Batch processing](https://platform.claude.com/docs/en/build-with-claude/batch-processing) | `/v1/messages/batches` | No | No | 29-day retention; async storage required. [Learn more](https://platform.claude.com/docs/en/build-with-claude/batch-processing#data-retention) Under EFS ZDR or with Anthropic Human Review off, the Batch API refuses new batches. [Learn more](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review) |
202207| [Browser use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool) | `/v1/messages` with `browser` toolset | Yes | No | Client-side tool. Anthropic does not run browser actions or retain page content beyond standard API handling. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool#data-retention) Not covered under HIPAA readiness; requests that include the browser use tool are not blocked. |
203208| [Citations](https://platform.claude.com/docs/en/build-with-claude/citations) | `/v1/messages` | Yes | Yes | |
204209| [Computer use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool) | `/v1/messages` with `computer` toolset or tool | Yes | Yes | Client-side tool where screenshots and files are captured and stored in your environment, not by Anthropic. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool#data-retention) |
from line 219
214219| [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | `/v1/messages` | Yes | Yes | Your prompts and Claude’s outputs are not stored. KV cache representations and cryptographic hashes are held in memory for the cache TTL and promptly deleted after expiry. [Learn more](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#data-retention) |
215220| ↳ [Cache diagnostics](https://platform.claude.com/docs/en/build-with-claude/cache-diagnostics) | `/v1/messages` with `diagnostics` | Yes (qualified) | No | Your prompts and Claude’s outputs are not stored. A fingerprint of cryptographic hashes and token-count estimates is retained briefly to allow comparison against the next request. [Learn more](https://platform.claude.com/docs/en/build-with-claude/cache-diagnostics#data-retention) |
216221| [Search results](https://platform.claude.com/docs/en/build-with-claude/search-results) | `/v1/messages` with `search_results` source | Yes | Yes | |
217| [Structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs) | `/v1/messages` | Yes (qualified) | Yes | Your prompts and Claude’s outputs are not stored. Only the JSON schema is cached, for up to 24 hours since last use. This also covers strict tool use (`strict: true` on tools), which uses the same grammar pipeline. [Learn more](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#data-retention) PHI must not be included in JSON schema definitions; see PHI handling guidelines. [Learn more](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#phi-handling-guidelines) |
222| [Structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs) | `/v1/messages` | Yes (qualified) | Yes | Your prompts and Claude’s outputs are not stored. Only the JSON schema is cached, for up to 24 hours since last use. This also covers strict tool use (`strict: true` on tools), which uses the same grammar pipeline. [Learn more](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#data-retention) Under EFS ZDR, a customer-managed key turns off structured outputs with Covered Models. [Learn more](https://platform.claude.com/docs/en/manage-claude/cmek-coverage-claude-platform#turned-off-or-changed) PHI must not be included in JSON schema definitions; see PHI handling guidelines. [Learn more](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#phi-handling-guidelines) |
218223| [Thinking](https://platform.claude.com/docs/en/build-with-claude/thinking) | `/v1/messages` with `thinking` | Yes | Yes | |
219224| ↳ [Adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/thinking-steering-and-cost) | `/v1/messages` | Yes | Yes | |
220225| [Threshold compaction](https://platform.claude.com/docs/en/build-with-claude/compaction-threshold) | `/v1/messages` with `context_management` | Yes | No | Server-side compaction results are returned and round-tripped statelessly through the API response. |
221226| [Token counting](https://platform.claude.com/docs/en/build-with-claude/token-counting) | `/v1/messages/count_tokens` | Yes | Yes | Count tokens before sending requests. |
222227| [Tool search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool) | `/v1/messages` with `tool_search` tool | Yes | No | Server-side tool run by Anthropic; the tool definitions in the request are searched in memory per call and nothing is stored after the response. |
223| [Web fetch tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool) | `/v1/messages` with `web_fetch` tool | Yes | No | Fetched web content returned in the API response. Dynamic filtering for web fetch is not eligible for ZDR or HIPAA. Website publishers might retain request data (such as fetched URLs and request metadata) according to their own policies. |
224| [Web search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool) | `/v1/messages` with `web_search` tool | Yes | Yes | Real-time web search results returned in the API response. Dynamic filtering for web search is not eligible for ZDR or HIPAA. |
228| [Web fetch tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool) | `/v1/messages` with `web_fetch` tool | Yes | No | `web_fetch_20260209` and later versions are not eligible for Legacy ZDR or EFS ZDR by default because they use dynamic filtering. To turn off dynamic filtering, set `"allowed_callers": ["direct"]` on the tool. Fetched web content returned in the API response. Website publishers might retain request data (such as fetched URLs and request metadata) according to their own policies. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/server-tools#zdr-and-allowed-callers) |
229| ↳ [Dynamic filtering](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool#dynamic-filtering) | `/v1/messages` with `web_fetch_20260209` or later | No | No | Relies on code execution. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#data-retention) |
230| [Web search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool) | `/v1/messages` with `web_search` tool | Yes | Yes | `web_search_20260209` and later versions are not eligible for Legacy ZDR, EFS ZDR, or HIPAA readiness by default because they use dynamic filtering. To turn off dynamic filtering, set `"allowed_callers": ["direct"]` on the tool. Real-time web search results returned in the API response. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/server-tools#zdr-and-allowed-callers) |
231| ↳ [Dynamic filtering](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool#dynamic-filtering) | `/v1/messages` with `web_search_20260209` or later | No | No | Relies on code execution. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#data-retention) |
225232 
226233### Messages API features
227234 
228| Feature | Endpoint | Legacy ZDR eligible | HIPAA eligible | Details |
235| Feature | Endpoint | ZDR eligible (Legacy and EFS) | HIPAA eligible | Details |
229236| :---- | :---- | :---- | :---- | :---- |
230237| [Bash tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/bash-tool) | `/v1/messages` with `bash` tool | Yes | Yes | Client-side tool run in your environment. |
231238| [Code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) | `/v1/messages` with `code_execution` tool | No | No | Container data retained up to 30 days. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#data-retention) |
from line 239
232239| [Context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) | `/v1/messages` with `context_management` | Yes | No | Context edits (tool use clearing and thinking clearing) are applied in real time. |
233240| [Fine-grained tool streaming](https://platform.claude.com/docs/en/agents-and-tools/tool-use/fine-grained-tool-streaming) | `/v1/messages` | Yes | Yes | |
234241| [Memory tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool) | `/v1/messages` with `memory` tool | Yes | Yes | Client-side memory storage where you control data retention. |
235| [Message threads](https://platform.claude.com/docs/en/build-with-claude/message-threads) | `/v1/messages` with `thread` | No | No | A thread’s contents (the conversation, system prompt, and tools) are held in memory, encrypted under a server-managed key, never written to durable storage, and deleted no more than 1 hour after the thread’s last use. Using this feature does not affect your use of other ZDR eligible features. [Learn more](https://platform.claude.com/docs/en/build-with-claude/message-threads#data-retention) |
242| [Message threads](https://platform.claude.com/docs/en/build-with-claude/message-threads) | `/v1/messages` with `thread` | No | No | A thread’s contents (the conversation, system prompt, and tools) are held in memory, encrypted under a server-managed key, never written to durable storage, and deleted no more than 1 hour after the thread’s last use. Using this feature does not affect your use of other ZDR eligible features. [Learn more](https://platform.claude.com/docs/en/build-with-claude/message-threads#data-retention) Under Legacy ZDR and EFS ZDR, the API blocks some requests that include `thread` and returns a `400` `thread_unsupported_request` error. Send the full conversation without `thread` instead. |
236243| [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) | `/v1/messages` | Yes | Yes | Standard API calls for generating Claude responses. |
237244| [Text editor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/text-editor-tool) | `/v1/messages` with `text_editor` tool | Yes | Yes | Client-side tool run in your environment. |
238245 
239246### Managed Agents features
240247 
241| Feature | Endpoint | Legacy ZDR eligible | HIPAA eligible | Details |
248| Feature | Endpoint | ZDR eligible (Legacy and EFS) | HIPAA eligible | Details |
242249| :---- | :---- | :---- | :---- | :---- |
243| [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview) | `/v1/agents`, `/v1/sessions`, `/v1/environments` | No | No | Not eligible for ZDR, except for self-hosted Managed Agents. Sessions are stateful resources; transcripts persist until you delete them. [Learn more](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#how-long-data-is-kept) Not eligible for HIPAA. Applies to all Managed Agents sub-features. |
250| [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview) | `/v1/agents`, `/v1/sessions`, `/v1/environments` | No | No | Not eligible for ZDR, except for self-hosted Managed Agents under Legacy ZDR. Sessions are stateful resources; transcripts persist until you delete them. [Learn more](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#how-long-data-is-kept) Under EFS ZDR or with Anthropic Human Review off, Anthropic’s Claude Managed Agents service doesn’t run sessions. [Learn more](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review) Not eligible for HIPAA. Applies to all Managed Agents sub-features. |
244251 
245252### Other features
246253 
247| Feature | Endpoint | Legacy ZDR eligible | HIPAA eligible | Details |
254| Feature | Endpoint | ZDR eligible (Legacy and EFS) | HIPAA eligible | Details |
248255| ----- | ----- | ----- | ----- | ----- |
249256| [1M token context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | `/v1/messages` | Yes | Yes | |
250257| [OpenTelemetry export](https://platform.claude.com/docs/en/manage-claude/opentelemetry) | `/v1/organizations/telemetry_destinations` | Yes | No | Beta. Spans have the same ZDR eligibility as the feature that produces them. HIPAA organizations can export metadata. SDK spans go directly from your environment to your exporter. After delivery, the data is held by the service that you chose, outside Anthropic, under that service’s retention and access controls. |
from line 273
266273 </Accordion>
267274 
268275 <Accordion title="What happens if I use a feature marked &#x22;No&#x22; under Legacy ZDR?">
269 Nothing blocks the request. But in a workspace with [Anthropic Human Review](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review) off, such as any workspace on [Enterprise Frontier Safeguards](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/overview), the Batch API refuses new batches. Anthropic’s Claude Managed Agents service doesn’t run sessions there either. Features marked “No” for Legacy ZDR are fundamentally stateful: the Batch API stores your jobs, the Files API stores your files, and code execution runs in persistent containers. Data for these features is retained according to the feature’s documented policy. Using them is a choice to step outside your Legacy ZDR arrangement for that specific data.
276 Nothing blocks the request unless the [feature eligibility table](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#feature-eligibility) says otherwise. Features marked “No” for Legacy ZDR are fundamentally stateful: the Batch API stores your jobs, the Files API stores your files, and code execution runs in persistent containers. Data for these features is retained according to the feature’s documented policy. Using them is a choice to step outside your Legacy ZDR arrangement for that specific data.
270277 </Accordion>
271278 
272279 <Accordion title="Can I request deletion of data from features that are not ZDR-eligible?">

managed-agents/self-hosted-sandboxes-memory Changed · +4 / -4 lines

from line 10
1010 betaHeader: managed-agents-2026-04-01
1111 zdr:
1212 eligibility: not-eligible
13 note: Not eligible for ZDR, except for self-hosted Managed Agents. Sessions are stateful resources; transcripts persist until you delete them.
13 note: Not eligible for ZDR, except for self-hosted Managed Agents under Legacy ZDR. Sessions are stateful resources; transcripts persist until you delete them.
1414 supportedModels:
1515 - claude-fable-5-2
1616 - claude-mythos-5-2
from line 130
130130 
131131The idle limit is 60 seconds by default. [When the worker finishes with a session](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-reference#when-the-worker-finishes-with-a-session) says what the limit covers and how to change it.
132132 
133The agent’s `write` and `edit` tools change only the local copy, and the worker uploads those changes at its next sync. Paths under `/mnt/memory/` outside the store directories are not scratch space. The worker’s file tools refuse to write to them, and anything that a shell command writes there is never synced to a store.
133The agent’s `write` and `edit` tools change only the local copy. The worker uploads those changes at its next sync. An SDK worker also uploads them when the session goes idle. Paths under `/mnt/memory/` outside the store directories are not scratch space. The worker’s file tools refuse to write to them. Anything that a shell command writes there is never synced to a store.
134134 
135135[Memory versions](https://platform.claude.com/docs/en/managed-agents/memory#audit-memory-changes), redaction, and viewing or editing memories in the Claude Console work as they do for cloud sessions. The agent’s memory reads and writes appear in the [event stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming) as ordinary tool events.
136136 
from line 155
155155| Example (10 seconds) | `10` (typescript: `10_000`; go: `10 * time.Second`) |
156156| Disable memory support | `None` (typescript: `null`; go: `-1`) |
157157 
158The worker doesn’t sync on a timer. It checks the interval after each call to a tool that runs in your sandbox, such as `bash`, `read`, or a custom tool. The call doesn’t have to touch memory. Without tool calls, nothing syncs until the [final sync](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-memory#how-the-worker-handles-memory). A change in one session reaches another running session only after both have synced, so the wait has no fixed length.
158The worker doesn’t sync on a timer. It checks the interval after each call to a tool that runs in your sandbox, such as `bash`, `read`, or a custom tool. The call doesn’t have to touch memory. When the session goes idle, an SDK worker also uploads changed files immediately but downloads and deletes nothing. Without tool calls, nothing else syncs until the [final sync](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-memory#how-the-worker-handles-memory). A change in one session reaches another running session only after both have synced, so the wait has no fixed length.
159159 
160160A shorter interval narrows the window in which another session sees stale memories, at the cost of more memory store requests.
161161 
from line 352
352352| Item | Zero data retention | HIPAA |
353353| ----- | ----- | ----- |
354354| Status | Not eligible | Not eligible |
355| Details | Not eligible for ZDR, except for self-hosted Managed Agents. Sessions are stateful resources; transcripts persist until you delete them. [Learn more](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#how-long-data-is-kept) | Not eligible for HIPAA. Applies to all Managed Agents sub-features. |
355| Details | Not eligible for ZDR, except for self-hosted Managed Agents under Legacy ZDR. Sessions are stateful resources; transcripts persist until you delete them. [Learn more](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#how-long-data-is-kept) | Not eligible for HIPAA. Applies to all Managed Agents sub-features. |
356356 
357357Applicable endpoints:
358358 

managed-agents/self-hosted-sandboxes-operations Changed · +4 / -4 lines

from line 10
1010 betaHeader: managed-agents-2026-04-01
1111 zdr:
1212 eligibility: not-eligible
13 note: Not eligible for ZDR, except for self-hosted Managed Agents. Sessions are stateful resources; transcripts persist until you delete them.
13 note: Not eligible for ZDR, except for self-hosted Managed Agents under Legacy ZDR. Sessions are stateful resources; transcripts persist until you delete them.
1414 supportedModels:
1515 - claude-fable-5-2
1616 - claude-mythos-5-2
from line 184
184184 
185185Use `POST /v1/environments/{environment_id}/work/{work_id}/stop` (python, typescript, ruby: `client.beta.environments.work.stop()`; go, csharp: `client.Beta.Environments.Work.Stop()`; java: `client.beta().environments().work().stop()`; php: `$client->beta->environments->work->stop()`; cli: `ant beta:environments:work stop`) to ask the worker handling a specific session to shut it down.
186186 
187By default the work item moves to `stopping`. The worker detects this on its next lease heartbeat, cancels the session’s in-flight tool call, and confirms the shutdown. The work item then becomes `stopped`. A Python SDK worker instead lets the in-flight tool call complete first, which can take up to 2.5 minutes.
187By default, the work item moves to `stopping`. The worker detects this on its next lease heartbeat, cancels the session’s in-flight tool calls, and confirms the shutdown. The work item then becomes `stopped`. A Python SDK worker can’t cancel a synchronous custom tool (one defined with `@beta_tool`). It first waits up to 150 seconds in total for such calls to finish. Then, it leaves any unfinished tool running and posts an error result for its call.
188188 
189189Pass `force: true` (python: `force=True`; csharp: `Force = true`; go: `BetaSelfHostedWorkStopRequest: anthropic.BetaSelfHostedWorkStopRequestParam{Force: anthropic.Bool(true)}`; java: `.force(true)`; cli: `--force`) to mark the work item `stopped` immediately instead of waiting for the worker’s confirmation. A forced stop doesn’t end an in-flight tool call any sooner, because the worker still detects the stop on its next heartbeat.
190190 
from line 383
383383 
384384| SDK | Backstop | Fires after |
385385| ----- | ----- | ----- |
386| Python | The worker’s own tool call limit | About 2.5 minutes |
386| Python | The worker’s tool call limit | 325 seconds |
387387| TypeScript | The MCP SDK’s default request timeout | About a minute |
388| Go | The worker cancels a tool call that outlives its default limit | 120 seconds |
388| Go | The worker’s tool call limit | 325 seconds |
389389 

managed-agents/self-hosted-sandboxes-reference Changed · +3 / -2 lines

from line 10
1010 betaHeader: managed-agents-2026-04-01
1111 zdr:
1212 eligibility: not-eligible
13 note: Not eligible for ZDR, except for self-hosted Managed Agents. Sessions are stateful resources; transcripts persist until you delete them.
13 note: Not eligible for ZDR, except for self-hosted Managed Agents under Legacy ZDR. Sessions are stateful resources; transcripts persist until you delete them.
1414 supportedModels:
1515 - claude-fable-5-2
1616 - claude-mythos-5-2
from line 129
129129| ----- | ----- |
130130| `tools` (go: `ToolsFunc`) | A factory that receives the session’s `AgentToolContext` and returns the tool list. Defaults to the standard agent toolset. |
131131| `max_idle` (typescript: `maxIdleMs`; go: `MaxIdle`) | How long the worker waits while a session is idle before it finishes with the session. Idle time with a [`requires_action` stop reason](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#respond-when-the-session-goes-idle) does not count. Defaults to 60 seconds. To wait 5 minutes, set it to `300` (typescript: `300_000`; go: `anthropic.Ptr(5 * time.Minute)`). To turn the limit off, set it to `None` (typescript: `0`; go: `new(time.Duration)`). |
132| `max_concurrent_calls` (typescript: `maxConcurrentCalls`; go: `MaxConcurrentCalls`) | How many tool calls of a session can run at the same time. Defaults to 1, so calls run one at a time. With a higher value, the calls of different [session threads](https://platform.claude.com/docs/en/managed-agents/session-threads) run concurrently, so your tools must be safe to call concurrently. The calls of one thread still run one at a time. To turn the limit off, set it to `None` (typescript: `null`; go: `-1`). |
132133| `memory_sync_interval` (typescript: `memorySyncIntervalMs`; go: `MemorySyncInterval`) | The shortest time between two syncs of the attached memory stores while the session runs. The worker checks the interval after each call to a tool that runs in your sandbox, not on a timer. Defaults to 15 seconds. See [Sync interval](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-memory#sync-interval). |
133134| `memory_sync_deletions` (typescript: `memorySyncDeletions`; go: `MemorySyncDeletions`) | Whether files the agent deletes locally are also deleted from the store. See [Deletions](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-memory#deletions). |
134135 
from line 311
310311 
311312### Session tool runner
312313 
313`client.beta.sessions.events.tool_runner()` (typescript: `client.beta.sessions.events.toolRunner()`; go: `client.Beta.Sessions.Events.NewToolRunner()`) takes a tool list as `tools` (go: `Tools`). To build that list, set up `AgentToolContext` yourself and call `beta_agent_toolset_20260401(env)` (typescript: `betaAgentToolset20260401(ctx)`; go: `agenttoolset.BetaAgentToolset20260401(env)`):
314`client.beta.sessions.events.tool_runner()` (typescript: `client.beta.sessions.events.toolRunner()`; go: `client.Beta.Sessions.Events.NewToolRunner()`) takes the same [`max_concurrent_calls` (typescript: `maxConcurrentCalls`; go: `MaxConcurrentCalls`)](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-reference#environment-worker) option as `EnvironmentWorker`. It also takes a tool list as `tools` (go: `Tools`). To build that list, set up `AgentToolContext` yourself and call `beta_agent_toolset_20260401(env)` (typescript: `betaAgentToolset20260401(ctx)`; go: `agenttoolset.BetaAgentToolset20260401(env)`):
314315 
315316<CodeGroup exclude="shell, csharp, java, php, ruby">
316317 <CodeGroupItem language="cURL">

managed-agents/self-hosted/differences Changed · +5 / -1 lines

### Fast mode on Claude Opus 4.8

from line 139
139139 
140140### Models that accept fast mode
141141 
142By default, the server’s model catalog lists four models as ones that accept fast mode: Claude Opus 5.5, Claude Opus 5, Claude Opus 4.8, and Claude Opus 4.6. On Claude Opus 4.6, the Claude API accepts the request but [runs it at standard speed](https://platform.claude.com/docs/en/build-with-claude/fast-mode#checking-which-speed-was-used). These values of `inference.provider` are exceptions:
142By default, the server’s model catalog lists three models as ones that accept fast mode: Claude Opus 5.5, Claude Opus 5, and Claude Opus 4.6. On Claude Opus 4.6, the Claude API accepts the request but [runs it at standard speed](https://platform.claude.com/docs/en/build-with-claude/fast-mode#checking-which-speed-was-used). These values of `inference.provider` are exceptions:
143143 
144144* **`foundry`:** The catalog lists Claude Opus 5.5 alone.
145145* **`gateway` with `format: vertex-raw-predict`:** The catalog lists no model.
from line 146
146146* **`vertex`:** The catalog lists no model, and no setting changes that.
147147 
148148To change what the catalog lists, see [Model entries](https://platform.claude.com/docs/en/managed-agents/self-hosted/configuration-reference#model-entries).
149 
150### Fast mode on Claude Opus 4.8
151 
152The Claude API doesn’t accept [fast mode](https://platform.claude.com/docs/en/build-with-claude/fast-mode) on Claude Opus 4.8. On release 0.16.0 or earlier, every turn of an agent or session saved with fast mode on this model ends with an error. A session [working toward an outcome](https://platform.claude.com/docs/en/managed-agents/define-outcomes) ends, and you can’t resume it. To fix this, [upgrade the server](https://platform.claude.com/docs/en/managed-agents/self-hosted/upgrade) to the latest version.
149153 
150154## If you already run self-hosted sandboxes
151155 

models/haiku-5-5/migration-guide Changed · +4 / -3 lines

from line 53
5353| Platform | Claude Haiku 4.5 | Claude Haiku 5.5 |
5454| ----- | ----- | ----- |
5555| Claude API | `claude-haiku-4-5-20251001` or `claude-haiku-4-5` | `claude-haiku-5-5` |
56| Amazon Bedrock | `anthropic.claude-haiku-4-5` | `anthropic.claude-haiku-5-5` |
56| Amazon Bedrock (`bedrock-runtime`) | `global.anthropic.claude-haiku-4-5-20251001-v1:0` | `global.anthropic.claude-haiku-5-5` |
57| Amazon Bedrock (`bedrock-mantle`) | `anthropic.claude-haiku-4-5` | `anthropic.claude-haiku-5-5` |
5758| Claude Platform on AWS | `claude-haiku-4-5` | `claude-haiku-5-5` |
5859| Claude Models on Google Cloud (Anthropic managed) | `claude-haiku-4-5-20251001` | `claude-haiku-5-5` |
5960| Claude Models on Google Cloud (Google managed) | `claude-haiku-4-5@20251001` | `claude-haiku-5-5` |
6061| Microsoft Foundry | `claude-haiku-4-5` | `claude-haiku-5-5` |
6162 
62`claude-haiku-5-5` is a fixed model ID with no date suffix and no separate alias.
63`claude-haiku-5-5` is a fixed model ID with no date suffix and no separate alias. On `bedrock-runtime`, both models also take [regional prefixes](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#api-model-ids) in place of `global.`. For the regions where each Amazon Bedrock endpoint serves Claude Haiku 5.5, see [AWS’s model card for Claude Haiku 5.5](https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-anthropic-claude-haiku-5-5.html).
6364 
6465## Recount tokens
6566 
from line 160
159160 
160161## Migrating to Claude Haiku 5.5 from Claude Haiku 3.5 and earlier Haiku models
161162 
162Claude Haiku 3.5 is retired on the Claude API, Amazon Bedrock, and Claude Models on Google Cloud (Google managed). Claude Haiku 3 is retired on the Claude API and Claude Models on Google Cloud (Google managed). See [Model deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations).
163Claude Haiku 3.5 and Claude Haiku 3 are retired on the Claude API, Amazon Bedrock, and Claude Models on Google Cloud (Google managed). See [Model deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations).
163164 
164165From either model, first apply every preceding section, then these changes:
165166 

models/opus-5-5/whats-new-opus-5-5 Changed · +8 / -1 lines

from line 123
123123Claude Opus 5.5 is available on:
124124 
125125* **Claude API:** all customers, as `claude-opus-5-5`
126* **AWS:** [Claude in Amazon Bedrock (`bedrock-mantle`)](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock), as `anthropic.claude-opus-5-5`, and [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), as `claude-opus-5-5`
126 
127* **AWS:**
128 
129 * [Claude on Amazon Bedrock (`bedrock-runtime`)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy), as `global.anthropic.claude-opus-5-5` or with a [regional prefix](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#api-model-ids)
130 * [Claude in Amazon Bedrock (`bedrock-mantle`)](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock), as `anthropic.claude-opus-5-5`
131 * [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), as `claude-opus-5-5`
132 
127133* **Google Cloud:** [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), as `claude-opus-5-5`, and [Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed), as `claude-opus-5-5`
134 
128135* **Microsoft Foundry:** [Claude in Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry), as `claude-opus-5-5`
129136 
130137## Migrate from Claude Opus 5

models/sonnet-5-5/migration-guide Changed · +17 / -21 lines

from line 147
147147 ```
148148 
149149 ```java Java
150 import com.anthropic.models.messages.OutputConfig;
150 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
151151 
152 void main() {
153 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
152 MessageCreateParams params = MessageCreateParams.builder()
153 .model(Model.CLAUDE_SONNET_5_5)
154 .maxTokens(4096L)
155 .addUserMessage("Analyze the trade-offs between microservices and monolithic architectures")
156 .outputConfig(OutputConfig.builder()
157 .effort(OutputConfig.Effort.MEDIUM)
158 .build())
159 .build();
154160 
155 MessageCreateParams params = MessageCreateParams.builder()
156 .model(Model.CLAUDE_SONNET_5_5)
157 .maxTokens(4096L)
158 .addUserMessage("Analyze the trade-offs between microservices and monolithic architectures")
159 .outputConfig(OutputConfig.builder()
160 .effort(OutputConfig.Effort.MEDIUM)
161 .build())
162 .build();
163 
164 Message response = client.messages().create(params);
165 response.stopReason().ifPresent(reason -> IO.println("Stop reason: " + reason));
166 response.content().stream()
167 .flatMap(block -> block.text().stream())
168 .forEach(textBlock -> IO.println(textBlock.text()));
169 }
161 Message response = client.messages().create(params);
162 response.stopReason().ifPresent(reason -> IO.println("Stop reason: " + reason));
163 response.content().stream()
164 .flatMap(block -> block.text().stream())
165 .forEach(textBlock -> IO.println(textBlock.text()));
170166 ```
171167 
172168 ```php PHP
from line 1214
12181214 
12191215### Migrating from Claude Sonnet 4 or earlier
12201216 
1221Claude Sonnet 4 is retired on the Claude API but available on Claude Models on Google Cloud (Google managed) and Amazon Bedrock. Claude 3.7 Sonnet is retired. From either model, first apply every preceding section, then these changes:
1217First, apply every preceding section. Then, make these changes:
12221218 
12231219* **Tool versions:** Use `text_editor_20250728`, with the tool name `str_replace_based_edit_tool` and no `undo_edit` command. Use `code_execution_20260521`. See the [text editor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/text-editor-tool) and the [code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#upgrade-to-latest-tool-version).
12241220* **Stop reasons:** Handle `refusal`. Claude 4.5 and later models also stop with `model_context_window_exceeded` at the context window limit. See [Stop reasons and fallback](https://platform.claude.com/docs/en/build-with-claude/handling-stop-reasons).

models/sonnet-5-5/whats-new-sonnet-5-5 Changed · +8 / -1 lines

from line 145
145145Claude Sonnet 5.5 is available on:
146146 
147147* **Claude API:** all customers, as `claude-sonnet-5-5`
148* **AWS:** [Claude in Amazon Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock), as `anthropic.claude-sonnet-5-5`, and [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), as `claude-sonnet-5-5`
148 
149* **AWS:**
150 
151 * [Claude on Amazon Bedrock (`bedrock-runtime`)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy), as `global.anthropic.claude-sonnet-5-5` or with a [regional prefix](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#api-model-ids)
152 * [Claude in Amazon Bedrock (`bedrock-mantle`)](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock), as `anthropic.claude-sonnet-5-5` in the regions that [AWS’s model card for Claude Sonnet 5.5](https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5-5.html) lists for that endpoint
153 * [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), as `claude-sonnet-5-5`
154 
149155* **Google Cloud:** [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), as `claude-sonnet-5-5`, and [Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed), as `claude-sonnet-5-5`
156 
150157* **Microsoft Foundry:** [Claude in Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry), as `claude-sonnet-5-5`
151158 
152159## Migrate from Claude Sonnet 5

release-notes/overview Changed · +5 / -10 lines

from line 85
8585 
8686### November 9, 2026
8787 
88* We’ve launched **Claude Fable 5.2** (`claude-fable-5-2`), built for demanding reasoning and long-horizon agentic work. **Claude Mythos 5.2** (`claude-mythos-5-2`) offers the same capabilities only to organizations verified through Anthropic’s verification programs, such as the [Cyber Verification Program](https://support.claude.com/en/articles/14604842). Both models have a [1M token context window](https://platform.claude.com/docs/en/build-with-claude/context-windows), 128k max output tokens, and always-on [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/thinking). They cost $8 USD per MTok of input and $40 USD per MTok of output (Claude Fable 5.1 and Claude Mythos 5.1 cost $10 USD per MTok of input and $50 USD per MTok of output). Claude Fable 5.2 is available on the Claude API, [Amazon Bedrock (`bedrock-runtime`)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy), [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), [Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed), and [Claude in Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry). See [What’s new in Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/whats-new-fable-5-2) for API changes and migration guidance. For model-specific prompting patterns, see [Prompting Claude Fable 5.2](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-2).
89* Claude Fable 5.2 and Claude Mythos 5.2 enforce the [prefix check](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#prefix-check) for every account, whatever its age. Claude Fable 5.1 returns the error by default on accounts created on or after August 31, 2026 (see [When `prefix_mismatch_behavior` is unset](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#enforcement)). If your code edits the `system` prompt, `tools`, or an earlier message and then sends back a Claude Fable 5.2 or Claude Mythos 5.2 thinking block from a later turn, the request returns a 400 error. Before you switch, [check whether your code edits the prefix](https://platform.claude.com/docs/en/models/fable-5-2/migration-guide#fable-5-2-preserved-thinking).
90* Claude Fable 5.2 and Claude Mythos 5.2 read other models’ thinking blocks on the Claude API and Claude Models on Google Cloud (Google managed). So on those platforms, a conversation that moves onto either model keeps its reasoning. The other models include Claude Opus 5.5, Claude Sonnet 5.5, and Claude Haiku 5.5.
91* No other model reads thinking blocks from Claude Fable 5.2 or Claude Mythos 5.2. When a conversation moves from either one to a model outside this pair, the API drops those blocks. That includes a move to Claude Opus 5.5 or Claude Fable 5.1. The request still succeeds. See [Switching models mid-conversation](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#switching-models).
92* Claude Fable 5.2 and Claude Mythos 5.2 support computer use through the `computer_toolset_20260801` toolset. A request that declares the earlier `computer_20251124` tool returns a 400 error on every platform except Amazon Bedrock, where the earlier tool still works. See [Migrate from `computer_20251124`](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool#migrate-from-computer-20251124).
93* With the [advisor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool), which is in beta, a Claude Fable 5.2 or Claude Mythos 5.2 executor accepts only Claude Fable 5.2 or Claude Mythos 5.2 as its advisor. Any other advisor returns a 400 error, so set the advisor’s `model` to one of these two models when you move an executor to them. Every executor model accepts Claude Fable 5.2 as its advisor. See [Model compatibility](https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#model-compatibility).
94* Both models require 30-day data retention, like Claude Fable 5.1 and Claude Mythos 5.1. They aren’t available under zero data retention unless expressly authorized by Anthropic. See [Model-specific data retention requirements](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements).
95* Thinking blocks that Claude Fable 5.2 and Claude Mythos 5.2 produce work only in the account that produced them, or in an account linked to it. See [Preserved thinking](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#account-bound-thinking).
88* We’ve launched **Claude Fable 5.2** (`claude-fable-5-2`) and **Claude Mythos 5.2** (`claude-mythos-5-2`), built for demanding reasoning and long-horizon agentic work. Claude Mythos 5.2 is available only to organizations verified through Anthropic’s verification programs, such as the [Cyber Verification Program](https://support.claude.com/en/articles/14604842). Both cost $8 USD per MTok of input and $40 USD per MTok of output. Claude Fable 5.2 is available on the Claude API, [Amazon Bedrock (`bedrock-runtime`)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy), [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), [Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed), and [Claude in Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry). See [What’s new in Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/whats-new-fable-5-2), the [Claude Fable 5.2 and Claude Mythos 5.2 migration guide](https://platform.claude.com/docs/en/models/fable-5-2/migration-guide), and [Prompting Claude Fable 5.2](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-2).
89* Four changes from Claude Fable 5.1 can break code on these models. With `prefix_mismatch_behavior` unset, a request that fails the [prefix check](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#outcomes) gets a 400 error on every account. Before you switch, [check whether your code changes `system`, `tools`, or earlier messages](https://platform.claude.com/docs/en/models/fable-5-2/migration-guide#fable-5-2-preserved-thinking). No other model reads their thinking blocks, so the API [drops those blocks on a switch](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#switching-models), with no error. The earlier `computer_20251124` tool returns a 400 error everywhere except Amazon Bedrock, so [move to the computer use toolset](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool#migrate-from-computer-20251124). As [advisor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#model-compatibility) executors, they accept only Claude Fable 5.2 or Claude Mythos 5.2 as the advisor, and any other advisor returns a 400 error.
90* Thinking blocks from both models [work only in the account that produced them](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#account-bound-thinking) or in an account linked to it. Both models require [30-day data retention](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements) and aren’t available under zero data retention unless expressly authorized by Anthropic.
9691* [Dreams](https://platform.claude.com/docs/en/managed-agents/dreams) (research preview) now supports Claude Fable 5.2. See [Supported models](https://platform.claude.com/docs/en/managed-agents/dreams#feature-availability).
9792* We’ve launched [fast mode](https://platform.claude.com/docs/en/build-with-claude/fast-mode) for Claude Fable 5.2 in Messages API requests on the Claude API. Fast mode delivers up to 2.5x higher output tokens per second, at $16 USD per MTok of input and $80 USD per MTok of output. Set `speed: "fast"` on your request, with no beta header.
9893 
from line 228
233228### September 14, 2026
234229 
235230* The Messages API can now [compact a conversation on demand](https://platform.claude.com/docs/en/build-with-claude/compaction-on-demand) on the Claude API, in beta with the `compact-2026-09-04` beta header. Send the top-level `compaction` parameter, and the API returns a signed `compaction` block that summarizes the messages you sent. On later requests, send that block first, in place of those messages. You choose when to compact, the request can run in the background, and you can keep recent turns word for word after the summary. On models with preserved thinking, the thinking in those kept turns can stay valid.
236* With the `thinking-binding-controls-2026-08-01` beta header, the `input_transformations` response field gains a second entry type, `thinking_mismatch_allowed`. It names a thinking block that failed the prefix check on a request where the API doesn’t enforce that check: on Claude Fable 5.1, for example, a request from an account created before August 31, 2026, with `prefix_mismatch_behavior` unset. The block still reaches the model unchanged. Log these entries to find history edits in production traffic before you opt into enforcement. See [Set the mismatch behavior and read `input_transformations`](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#preserved-thinking-controls).
231* With the `thinking-binding-controls-2026-08-01` beta header, `input_transformations` gains a second entry type, `thinking_mismatch_allowed`. It names a thinking block that failed the [prefix check](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#prefix-check) but reached the model unchanged, because the API didn’t enforce the check on that request. Log these entries to find edits to `system`, `tools`, or earlier messages before you enforce the check with [`prefix_mismatch_behavior`](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#preserved-thinking-controls). See [Watch production traffic](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#watch-production-traffic).
237232 
238233### September 10, 2026
239234 
from line 249
254249* We’ve launched **Claude Fable 5.1** (`claude-fable-5-1`), the successor to Claude Fable 5 for long-running agentic coding, knowledge work, and research. For Project Glasswing participants, we’ve also launched **Claude Mythos 5.1** (`claude-mythos-5-1`). Both models support a [1M token context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) by default, 128k max output tokens, and always-on [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/thinking). They cost $10 / $50 USD per MTok, the same as Claude Fable 5, with cache reads cut to $0.25 USD per MTok. Claude Fable 5.1 is available on the Claude API, [Claude in Amazon Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock), and [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws). It’s also on [Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed) and [Claude in Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry). See [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview) for specifications.
255250* Prompt cache reads on Claude Fable 5.1 and Claude Mythos 5.1 cost $0.25 USD per million tokens: 0.025x the base input price, compared with 0.1x on other models. Cache writes are unchanged. See [Prompt caching pricing](https://platform.claude.com/docs/en/about-claude/pricing#prompt-caching).
256251* On Claude Fable 5.1 and Claude Mythos 5.1, `tool_choice` types `any` and `tool` aren’t supported and return a 400 error. `auto` and `none` are unchanged. To guarantee schema-conformant tool inputs, use [strict tool use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/strict-tool-use) or [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs).
257* Thinking blocks produced by Claude Fable 5.1 and Claude Mythos 5.1 are preserved only for the model that produced them or a newer one: earlier models can’t read them, and the API drops one replayed to an earlier model. Claude Fable 5.1 accepts thinking blocks from Claude Opus 5, Claude Fable 5, Claude Mythos 5, and earlier Claude models. On Claude Fable 5.1, the API also [checks that nothing before a block has changed](https://platform.claude.com/docs/en/build-with-claude/thinking#preserved-in-conversation): for new accounts created on or after August 31, 2026, replaying one after the `system` prompt, `tools`, or an earlier message changed returns a 400 error. With the `thinking-binding-controls-2026-08-01` beta header, dropped blocks are reported in an `input_transformations` response field, and `thinking.block_binding.prefix_mismatch_behavior` chooses between rejecting and dropping blocks whose history changed. See [Preserved thinking](https://platform.claude.com/docs/en/build-with-claude/thinking#preserved-thinking).
252* Thinking blocks from Claude Fable 5.1 and Claude Mythos 5.1 are [preserved across turns](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking) only for the model that produced them or a newer one. The API drops a block replayed to an earlier model. On Claude Fable 5.1, the API also [checks that nothing before a block has changed](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#prefix-check). If `system`, `tools`, or an earlier message changed, replaying the block returns a 400 error for accounts that are new on or after August 31, 2026. On Claude Models on Google Cloud (Google managed) and Amazon Bedrock, that [goes by first use of any Claude model there](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#outcomes). The `thinking-binding-controls-2026-08-01` beta header reports dropped blocks in an `input_transformations` response field. It also lets you [set `prefix_mismatch_behavior`](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#preserved-thinking-controls) to reject or drop blocks that fail the check.
258253* Per-message effort changes are in beta on Claude Fable 5.1, Claude Mythos 5.1, and Claude Opus 5 on the Claude API. Add a `role: "system"` message with `output_config.effort` inside `messages` to change effort for later turns while preserving the prompt cache. Include the `mid-conversation-output-config-2026-07-01` beta header in your requests. See [Per-message effort](https://platform.claude.com/docs/en/build-with-claude/effort#change-effort-mid-conversation-beta).
259254* [Turn-scoped system messages](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages#turn-scoped-system-messages) are in beta (`mid-conversation-system-clear-at-2026-08-21` header). Set `clear_at: "next_user_message"` on a mid-conversation `role: "system"` message and it renders for the current turn only, then stays in the history at no token cost. Per-turn reminders don’t accumulate and don’t invalidate the prompt cache or later thinking blocks.
260255* `thinking.display` accepts a third value, `"updates"`, in beta (`thinking-display-updates-2026-08-18` header). Reasoning comes back with an empty `thinking` field, as under `"omitted"`, and the short progress updates that Claude Fable 5.1, Claude Mythos 5.1, and Claude Fable 5 write between tool calls come back as text, at most one `thinking` block before a tool call. See [Progress updates between tool calls](https://platform.claude.com/docs/en/build-with-claude/thinking#progress-updates).

about-claude/api-credits-for-subscribers Changed · +2 / -2 lines

from line 66
6666 </Step>
6767 
6868 <Step title="Start building">
69 Your credits appear in the **Promotional credits** section of the [Billing](https://platform.claude.com/settings/billing) page (`platform.claude.com/settings/billing`) in the Console. Create an API key and make your first request. See [Get started](https://platform.claude.com/docs/en/get-started).
69 Your credits appear in the **Promotional credits** section of the [Billing](https://platform.claude.com/settings/billing) page (`platform.claude.com/settings/billing`) in the Console. Make your first request in the linked organization. See [Get started with Claude](https://platform.claude.com/docs/en/get-started).
7070 </Step>
7171</Steps>
7272 
from line 95
9595* **Timing.** Credits arrive each billing cycle, shortly after your plan payment is processed. On annual plans, credits arrive monthly.
9696* **Order.** Included credits are spent first, then any credits you’ve purchased. Auto-reload is based only on your purchased balance. It reloads when that balance reaches your threshold, even if included credits remain.
9797* **Expiry.** Unused credits expire at the end of each billing cycle (or monthly for annual plans) and don’t roll over.
98* **Sharing.** Every API key and workspace in the linked organization draws from the same balance. To cap spending on a project, give it its own workspace and set that workspace’s [spend limit](https://platform.claude.com/docs/en/manage-claude/workspaces#setting-workspace-limits).
98* **Sharing.** All usage of the [covered products](https://platform.claude.com/docs/en/about-claude/api-credits-for-subscribers#what-the-credits-cover) in the linked organization draws from the same balance. To cap spending on a project, give it its own workspace and set that workspace’s [spend limit](https://platform.claude.com/docs/en/manage-claude/workspaces#setting-workspace-limits).
9999* **Visibility.** Your credits appear in the **Promotional credits** section of the [Billing](https://platform.claude.com/settings/billing) page (`platform.claude.com/settings/billing`) in the Console, with the amount and expiry date.
100100* **Your Claude plan.** Credits don’t change your usage limits in Claude or Claude Code.
101101 

about-claude/models/model-ids-and-versions Changed · +1 / -1 lines

from line 32
3232 
3333Claude Opus 4.6 is the last Bedrock model ID to include the `-v1` suffix (`anthropic.claude-opus-4-6-v1`). Anthropic dropped the suffix starting with Claude Sonnet 4.6.
3434 
35On the `bedrock-runtime` endpoint, models that AWS serves through cross-region inference, including Claude Fable 5.2 and Claude Mythos 5.2, take an inference profile ID: the base model ID with a prefix such as `global.` or `us.`, for example `global.anthropic.claude-fable-5-2`. See [API model IDs](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#api-model-ids).
35On the `bedrock-runtime` endpoint, pass an inference profile ID: the base model ID with a prefix such as `global.` or `us.`, for example `global.anthropic.claude-opus-5-5`. For each model’s prefixes, see the [API model IDs](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#api-model-ids) section of Claude on Amazon Bedrock (`bedrock-runtime`).
3636 
3737On [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed) and [Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed), the format matches the Claude API.
3838 

agents-and-tools/tool-use/browser-use-tool Changed · +1 / -1 lines

from line 1631
16311631| Available | [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed) | [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview), [Claude Mythos 5.2](https://platform.claude.com/docs/en/models/mythos-5-2/overview), [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview), [Claude Mythos 5.1](https://platform.claude.com/docs/en/models/mythos-5-1/overview), [Claude Fable 5](https://platform.claude.com/docs/en/models/fable-5/overview), [Claude Mythos 5](https://platform.claude.com/docs/en/models/mythos-5/overview), [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview), [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview), [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview), [Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-4-8/overview) |
16321632| Available | [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry) | [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview), [Claude Mythos 5.2](https://platform.claude.com/docs/en/models/mythos-5-2/overview), [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview), [Claude Mythos 5.1](https://platform.claude.com/docs/en/models/mythos-5-1/overview), [Claude Fable 5](https://platform.claude.com/docs/en/models/fable-5/overview), [Claude Mythos 5](https://platform.claude.com/docs/en/models/mythos-5/overview), [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview), [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview), [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview), [Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-4-8/overview) |
16331633| Available | [Amazon Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock) | [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview), [Claude Mythos 5.1](https://platform.claude.com/docs/en/models/mythos-5-1/overview), [Claude Fable 5](https://platform.claude.com/docs/en/models/fable-5/overview), [Claude Mythos 5](https://platform.claude.com/docs/en/models/mythos-5/overview), [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview), [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview), [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview), [Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-4-8/overview) |
1634| Available | [Amazon Bedrock (bedrock-runtime)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy) | [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview), [Claude Mythos 5.2](https://platform.claude.com/docs/en/models/mythos-5-2/overview), [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview), [Claude Fable 5](https://platform.claude.com/docs/en/models/fable-5/overview), [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview), [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview), [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview), [Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-4-8/overview) |
1634| Available | [Amazon Bedrock (bedrock-runtime)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy) | [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview), [Claude Mythos 5.2](https://platform.claude.com/docs/en/models/mythos-5-2/overview), [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview), [Claude Mythos 5.1](https://platform.claude.com/docs/en/models/mythos-5-1/overview), [Claude Fable 5](https://platform.claude.com/docs/en/models/fable-5/overview), [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview), [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview), [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview), [Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-4-8/overview) |
16351635 
16361636#### [Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview)
16371637 

agents-and-tools/tool-use/computer-use-tool Changed · +1 / -1 lines

from line 2280
22802280| Available | [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed) | [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview), [Claude Mythos 5.2](https://platform.claude.com/docs/en/models/mythos-5-2/overview), [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview), [Claude Mythos 5.1](https://platform.claude.com/docs/en/models/mythos-5-1/overview), [Claude Fable 5](https://platform.claude.com/docs/en/models/fable-5/overview), [Claude Mythos 5](https://platform.claude.com/docs/en/models/mythos-5/overview), [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview), [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview), [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview), [Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-4-8/overview) |
22812281| Available | [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry) | [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview), [Claude Mythos 5.2](https://platform.claude.com/docs/en/models/mythos-5-2/overview), [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview), [Claude Mythos 5.1](https://platform.claude.com/docs/en/models/mythos-5-1/overview), [Claude Fable 5](https://platform.claude.com/docs/en/models/fable-5/overview), [Claude Mythos 5](https://platform.claude.com/docs/en/models/mythos-5/overview), [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview), [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview), [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview), [Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-4-8/overview) |
22822282| Available | [Amazon Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock) | [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview), [Claude Mythos 5.1](https://platform.claude.com/docs/en/models/mythos-5-1/overview), [Claude Fable 5](https://platform.claude.com/docs/en/models/fable-5/overview), [Claude Mythos 5](https://platform.claude.com/docs/en/models/mythos-5/overview), [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview), [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview), [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview), [Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-4-8/overview) |
2283| Available | [Amazon Bedrock (bedrock-runtime)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy) | [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview), [Claude Mythos 5.2](https://platform.claude.com/docs/en/models/mythos-5-2/overview), [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview), [Claude Fable 5](https://platform.claude.com/docs/en/models/fable-5/overview), [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview), [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview), [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview), [Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-4-8/overview) |
2283| Available | [Amazon Bedrock (bedrock-runtime)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy) | [Claude Fable 5.2](https://platform.claude.com/docs/en/models/fable-5-2/overview), [Claude Mythos 5.2](https://platform.claude.com/docs/en/models/mythos-5-2/overview), [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview), [Claude Mythos 5.1](https://platform.claude.com/docs/en/models/mythos-5-1/overview), [Claude Fable 5](https://platform.claude.com/docs/en/models/fable-5/overview), [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview), [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview), [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview), [Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-4-8/overview) |
22842284| Beta | All supported platforms | [Claude Haiku 4.5](https://platform.claude.com/docs/en/models/haiku-4-5/overview), [Claude Opus 4.7](https://platform.claude.com/docs/en/models/opus-4-7/overview), [Claude Opus 4.6](https://platform.claude.com/docs/en/models/opus-4-6/overview), [Claude Sonnet 4.6](https://platform.claude.com/docs/en/models/sonnet-4-6/overview), [Claude Opus 4.5](https://platform.claude.com/docs/en/models/opus-4-5/overview) |
22852285 
22862286#### [Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview)

agents-and-tools/tool-use/overview Changed · +1 / -1 lines

from line 776
776776| Claude Sonnet 5 | 354 tokens | 474 tokens |
777777| Claude Sonnet 4.6 | 497 tokens | 589 tokens |
778778| Claude Sonnet 4.5 ([retired, except on Amazon Bedrock (bedrock-runtime)](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 496 tokens | 588 tokens |
779| Claude Sonnet 4 ([retired, except on Claude Models on Google Cloud (Google managed) and Bedrock](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 313 tokens | 315 tokens |
779| Claude Sonnet 4 ([retired, except on Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 313 tokens | 315 tokens |
780780| Claude Haiku 5.5 | 286 tokens | 406 tokens |
781781| Claude Haiku 4.5 | 496 tokens | 588 tokens |
782782 

agents-and-tools/tool-use/web-fetch-tool Changed · +2 / -2 lines

from line 6
66 status: stable
77 zdr:
88 eligibility: eligible
9 note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements). Fetched web content returned in the API response. Dynamic filtering for web fetch is not eligible for ZDR or HIPAA. Website publishers might retain request data (such as fetched URLs and request metadata) according to their own policies.
9 note: 'Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements). `web_fetch_20260209` and later versions are not eligible for Legacy ZDR or EFS ZDR by default because they use dynamic filtering. To turn off dynamic filtering, set `"allowed_callers": ["direct"]` on the tool. Fetched web content returned in the API response. Website publishers might retain request data (such as fetched URLs and request metadata) according to their own policies.'
1010 supportedModels:
1111 - claude-fable-5-2
1212 - claude-mythos-5-2
from line 1095
10951095| Item | Zero data retention | HIPAA |
10961096| ----- | ----- | ----- |
10971097| Status | Eligible (excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements)) | Not eligible |
1098| Details | Fetched web content returned in the API response. Dynamic filtering for web fetch is not eligible for ZDR or HIPAA. Website publishers might retain request data (such as fetched URLs and request metadata) according to their own policies. | — |
1098| Details | `web_fetch_20260209` and later versions are not eligible for Legacy ZDR or EFS ZDR by default because they use dynamic filtering. To turn off dynamic filtering, set `"allowed_callers": ["direct"]` on the tool. Fetched web content returned in the API response. Website publishers might retain request data (such as fetched URLs and request metadata) according to their own policies. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/server-tools#zdr-and-allowed-callers) | — |
10991099 
11001100Applicable endpoints:
11011101 

agents-and-tools/tool-use/web-search-tool Changed · +2 / -2 lines

from line 6
66 status: stable
77 zdr:
88 eligibility: eligible
9 note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements). Real-time web search results returned in the API response. Dynamic filtering for web search is not eligible for ZDR or HIPAA.
9 note: 'Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements). `web_search_20260209` and later versions are not eligible for Legacy ZDR, EFS ZDR, or HIPAA readiness by default because they use dynamic filtering. To turn off dynamic filtering, set `"allowed_callers": ["direct"]` on the tool. Real-time web search results returned in the API response.'
1010 supportedModels:
1111 - claude-fable-5-2
1212 - claude-mythos-5-2
from line 761
761761| Item | Zero data retention | HIPAA |
762762| ----- | ----- | ----- |
763763| Status | Eligible (excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements)) | Eligible |
764| Details | Real-time web search results returned in the API response. Dynamic filtering for web search is not eligible for ZDR or HIPAA. | Dynamic filtering for web search is not eligible for ZDR or HIPAA. |
764| Details | `web_search_20260209` and later versions are not eligible for Legacy ZDR, EFS ZDR, or HIPAA readiness by default because they use dynamic filtering. To turn off dynamic filtering, set `"allowed_callers": ["direct"]` on the tool. Real-time web search results returned in the API response. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/server-tools#zdr-and-allowed-callers) | `web_search_20260209` and later versions are not eligible for Legacy ZDR, EFS ZDR, or HIPAA readiness by default because they use dynamic filtering. To turn off dynamic filtering, set `"allowed_callers": ["direct"]` on the tool. |
765765 
766766Applicable endpoints:
767767 
Feedback