# When Claude Managed Agents on Bedrock Beat Custom Loops (https://reapi.ai/resources/claude-managed-agents-bedrock)

At AWS re:Invent on December 2, 2026, AWS and Anthropic shipped two enterprise deployment paths on the same day.<sup><a href="#ref-4">\[4]</a></sup><sup><a href="#ref-5">\[5]</a></sup> **Claude Managed Agents for Amazon Bedrock** (posted in public preview on December 1 across 14 AWS Regions) hands Anthropic's long-running agent harness to AWS while keeping tool execution inside your own AWS account.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-3">\[3]</a></sup> **Claude via AWS AI Factories** installs AWS-operated Bedrock inference hardware inside customer-owned data centers behind AWS Nitro System v7 isolation.<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-11">\[11]</a></sup>

Both launches unblock regulated teams that stayed off hosted agent clouds, yet they sharpen one practical trade-off. Handing orchestration to **Claude Managed Agents** removes retry scaffolding and overnight session state, while still billing Bedrock token rates (plus a 10% regional premium), AgentCore containers, storage, and logs.<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-7">\[7]</a></sup><sup><a href="#ref-10">\[10]</a></sup> Whether Bedrock's managed harness beats a custom `/v1/messages` loop hinges on security boundaries, preview gaps, and multi-turn token math.<sup><a href="#ref-7">\[7]</a></sup><sup><a href="#ref-15">\[15]</a></sup>

![Architectural poured-concrete vault with matte-basalt hardware bays and copper conduits illustrating Claude Managed Agents on Amazon Bedrock and AWS AI Factories](https://cdn.reapi.ai/media/blog/claude-managed-agents-bedrock/hero-v1.png)

## Split Security Boundary Inside Claude Managed Agents for Amazon Bedrock

**Claude Managed Agents** on Amazon Bedrock separates orchestration from execution across a strict IAM boundary.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup> AWS operates the Anthropic-tuned harness (managing planning loops, tool dispatch, context state, and model retries), calls Claude inside Bedrock, and stores session transcripts and cross-session memory until you delete them.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-5">\[5]</a></sup> Prompts and outputs remain inside AWS, never go to Anthropic, and stay inaccessible to AWS operators.<sup><a href="#ref-5">\[5]</a></sup>

Your own AWS account hosts every tool and side effect.<sup><a href="#ref-2">\[2]</a></sup> Code and shell commands run inside isolated **Amazon Bedrock AgentCore Runtime** sandboxes (one container per session) or on a customer-operated tool runner.<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-7">\[7]</a></sup> Agents mount files from Amazon S3 and connect to Model Context Protocol (MCP) tools via **Amazon Bedrock AgentCore Gateway**, which keeps credentials outside the agent container and applies IAM roles plus millisecond-level AgentCore Policy checks.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-14">\[14]</a></sup> Bedrock enters your account solely through an IAM role you control, logging activity to CloudTrail and per-agent token spend to CloudWatch.<sup><a href="#ref-2">\[2]</a></sup>

December 2, 2026 early-adopter evaluations show where that split works:<sup><a href="#ref-3">\[3]</a></sup>

* **Nomura Research Institute** ran agents in a closed VPC with zero internet access using VPC endpoints, pausing asynchronous human-approval flows overnight before resuming cleanly.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup>
* **Above Security** ported its Discovery investigation agent in a few days without rewriting AWS tools, matching accuracy at 41% lower model cost with CloudTrail session logs.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup>
* **Ripple**, **KnowBe4**, and **NTT DATA** validated scheduled release workflows, code-controlled writes, and tool-level permissions under existing AWS audit reviews.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup>

Avoid confusing this service with AWS's September 29, 2026 preview of **OpenAI-powered Bedrock Managed Agents** (Codex harness, 3 US Regions via `bedrock-mantle`), which differs from December's 14-Region Anthropic harness.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-12">\[12]</a></sup> Anthropic now offers four managed-agent modes: AWS-operated **Claude Managed Agents** for Bedrock, Anthropic-operated **Claude Platform on AWS** (`$0.01` AWS Marketplace Claude Consumption Units, day-one features), native Claude Platform, and private-beta self-hosted.<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-10">\[10]</a></sup>

## Preview Constraints and IAM Mechanics That Break Direct Migrations

Porting an existing Claude agent onto the December 1, 2026 Bedrock preview requires concrete code and infrastructure changes across six documented gaps:<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-7">\[7]</a></sup>

1. **Inference profiles only:** You must pass a Bedrock inference-profile ID instead of a bare Claude model name, and `inference_geo` is unavailable because geography follows the profile.<sup><a href="#ref-7">\[7]</a></sup>
2. **No direct MCP URLs or built-in web tools:** Existing MCP servers must register as **AgentCore Gateway** targets.<sup><a href="#ref-7">\[7]</a></sup> Native `web_search` and `web_fetch` are unsupported; AWS points to its Gateway Web Search Tool, which mandates source citations and forbids bulk extraction, result storage, or index building.<sup><a href="#ref-7">\[7]</a></sup>
3. **Missing Files, Vaults, and Skills APIs:** Replace them with Amazon S3 mounts (requiring AgentCore Runtime V2), AWS Secrets Manager, and skill directories mounted to your runner.<sup><a href="#ref-7">\[7]</a></sup>
4. **No native session budget cap:** The preview rejects the `session budget` field.<sup><a href="#ref-7">\[7]</a></sup> AWS documents summing usage from `span.model_request_end` events and calling `user.interrupt` plus AWS Budgets alerts, providing reactive interruption rather than a hard pre-inference limit.<sup><a href="#ref-7">\[7]</a></sup>
5. **Automation and EFS gaps:** Webhooks, scheduled deployments, and newer multi-agent types are missing (coordinator-to-subagent calls work, and EventBridge covers simple triggers).<sup><a href="#ref-7">\[7]</a></sup> Critically, **Enterprise Frontier Safeguards (EFS)**, built with over 100 customers for zero-data-retention misuse detection in customer S3 buckets, does not cover **Claude Managed Agents** sessions yet.<sup><a href="#ref-4">\[4]</a></sup>
6. **IAM, ARM64, and three-way region checks:** Calls require AWS SigV4 temporary role credentials (IAM-user and root keys are refused), separate session and tool-runner roles, and Linux ARM64 container images in same-Region ECR.<sup><a href="#ref-7">\[7]</a></sup> Public-preview sessions act as the shared session role rather than passing end-user identity (private preview only), and projects lack automatic per-user isolation.<sup><a href="#ref-7">\[7]</a></sup> Teams must verify the agent endpoint, inference profile, and tool availability independently: Managed Agents covers 14 Regions including Mumbai, yet Mumbai neither guarantees India-only inference nor offers the Gateway Web Search Tool.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-7">\[7]</a></sup>

Even with a local machine tool runner, tool outputs still flow back into AWS's coordinating service, so keeping documents on local disk does not keep processing strictly local.<sup><a href="#ref-7">\[7]</a></sup>

## Real Cost Anatomy Behind the Waived Preview Harness Fee

AWS waives any separate **Claude Managed Agents** service fee during preview while warning that general-availability pricing may change.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-7">\[7]</a></sup> Four active meters drive the real AWS bill:<sup><a href="#ref-7">\[7]</a></sup><sup><a href="#ref-10">\[10]</a></sup>

* **Bedrock Claude tokens and regional surcharges:** Standard Anthropic list rates per million tokens are `$4.00` input, `$20.00` output, `$5.00` 5-minute cache write, and `$0.20` cache read for [Claude Opus 5.5](/models/claude-opus-5-5); `$2.00/$10.00/$2.50/$0.10` for [Claude Sonnet 5.5](/models/claude-sonnet-5-5); and `$8.00/$40.00/$10.00/$0.20` for [Claude Fable 5.2](/models/claude-fable-5-2).<sup><a href="#ref-10">\[10]</a></sup> Automatic permission checks consume billable model tokens, and Bedrock adds a **10% regional/multi-region endpoint premium** (`1.1x`) on Claude 4.5+ models for geographic pinning (`$4.40/$22.00` for Opus 5.5; `$8.80/$44.00` for Fable 5.2).<sup><a href="#ref-7">\[7]</a></sup><sup><a href="#ref-10">\[10]</a></sup> Upgrading from Claude Sonnet 4.6 or earlier also introduces Anthropic's Claude 4.7+ tokenizer, which produces roughly 30% more tokens for identical text.<sup><a href="#ref-10">\[10]</a></sup>
* **AgentCore Runtime, storage, and VPC networking:** Active ARM64 containers bill per session, while ECR images, CloudWatch logs, and S3 files continue billing after sessions stop.<sup><a href="#ref-7">\[7]</a></sup> Audits of AWS's September OpenAI Managed Agents AgentCore sample stack (with 28,800-second / 8-hour container caps) also exposed a private-VPC trap: a NAT gateway bills continuously while agents sleep.<sup><a href="#ref-12">\[12]</a></sup>
* **Gateway and Web Search metering:** AgentCore includes 5,000 free monthly search queries shared across an AWS Organization (commercial Regions and Tool/API combined), then bills `$7` per 1,000 queries plus `$5` per million `InvokeTool` calls.<sup><a href="#ref-7">\[7]</a></sup> Running 6,000 searches costs `$7.03` with an unused pool or `$42.03` if another account already depleted it, and exceeding the quota never halts traffic.<sup><a href="#ref-7">\[7]</a></sup>
* **Governance add-ons:** Layering AgentCore Evaluations (13 built-in evaluators plus custom LLM judges) or episodic AgentCore Memory adds extra inference and storage charges.<sup><a href="#ref-14">\[14]</a></sup>

AWS's December 1, 2026 cost-control tools add governance without cutting base frontier rates.<sup><a href="#ref-8">\[8]</a></sup> **Amazon Bedrock Gateway** and **smart routing in Amazon Bedrock** remain in **gated preview** (as Bedrock topped 300,000 customers in October 2026 with spend up over 10x in 2026).<sup><a href="#ref-8">\[8]</a></sup> Bedrock Gateway enforces hard pre-inference dollar caps per user, group, or IAM role (via IAM, Okta, or Entra ID, logged in CloudTrail), closing Managed Agents' missing budget cap once paired.<sup><a href="#ref-7">\[7]</a></sup><sup><a href="#ref-8">\[8]</a></sup> Smart routing evaluates complexity and cache state in milliseconds (with live shadow mode) across Anthropic and OpenAI families, cutting bills 40% to 50% in AWS trials and 57% across monday.com's 800+ developers (versus 35% from Bundesliga's manual split) by downshifting simpler turns rather than discounting Opus 5.5 or Fable 5.2 tokens.<sup><a href="#ref-8">\[8]</a></sup><sup><a href="#ref-9">\[9]</a></sup>

## Claude on AWS AI Factories and What Nitro v7 Actually Isolates

For organizations barred from public Regions, **Claude via AWS AI Factories** runs proprietary Claude inside customer data centers for the first time.<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-11">\[11]</a></sup> Customers supply floor space and power while AWS operates dedicated EC2 UltraClusters under AWS Region SLAs, pairing **Trainium2/Trainium3** and **NVIDIA B200/GB200** (plus upcoming **B300/GB300**) accelerators with petabit-scale EFA networking, FSx for Lustre, and S3 Express One Zone via standard Bedrock APIs, Claude Code, and Claude Cowork.<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-6">\[6]</a></sup>

The hardware mechanism behind Anthropic's consent is **AWS Nitro System v7**, enforcing **Zero Operator Access** across Trainium and NVIDIA GPUs so neither AWS nor Anthropic can read prompts, outputs, or uploads ("context exhaust") or train on customer payloads.<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-11">\[11]</a></sup> On-premises deployments serve Opus, Sonnet, and Haiku (Fable varies by geography), cover Unclassified through Top Secret baselines, and will add on-premises EFS.<sup><a href="#ref-4">\[4]</a></sup><sup><a href="#ref-13">\[13]</a></sup>

Named evaluators show who actually qualifies: **Akbank** (Turkish banking residency), **Forlex** (Brazilian legal confidentiality), **Petrobras** (sovereign energy HPC), and Saudi Arabia's **HUMAIN** (building an AI Zone up to 150,000 AI chips including GB300 GPUs).<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-13">\[13]</a></sup> Because procurement runs through AWS account teams with dedicated facility power, SaaS startups and standard product teams should ignore AI Factories and evaluate **Claude Managed Agents** on Bedrock directly against custom `/v1/messages` loops.<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-15">\[15]</a></sup>

## Bedrock Managed Agents vs AWS AI Factories vs Custom Loops

The matrix below compares all three deployment models against verified December 3, 2026 live reAPI rates on `POST https://api.reapi.ai/v1/messages` (`claude` default `0.7x` and `:claude-0.5` `0.5x`).<sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-15">\[15]</a></sup>

| Dimension           | Claude Managed Agents on Bedrock (Preview)                                                                            | Claude via AWS AI Factories (On-Prem)                                                                                      | Custom Loop via reAPI `/v1/messages`                                                                   |
| ------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| **Loop & state**    | AWS-operated Anthropic harness & memory<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-5">\[5]</a></sup>       | Private-site Bedrock APIs + your loop<sup><a href="#ref-5">\[5]</a></sup>                                                  | Your worker (TS, Python, Go, Claude Code)<sup><a href="#ref-15">\[15]</a></sup>                        |
| **Tool sandbox**    | AgentCore Runtime (1 ARM64/session) or runner<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-7">\[7]</a></sup> | Customer data-center compute & storage<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-6">\[6]</a></sup>             | Docker, Firecracker, Lambda, or VPC host                                                               |
| **Security scope**  | In AWS; IAM, VPC, CloudTrail (no EFS yet)<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-4">\[4]</a></sup>     | Physical facility; Nitro v7 Zero Operator Access<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-11">\[11]</a></sup> | App-owned secrets, ZDR routing, own logs                                                               |
| **Availability**    | 14 AWS Regions via inference profiles<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-7">\[7]</a></sup>         | Opus, Sonnet, Haiku (Fable by geography)<sup><a href="#ref-4">\[4]</a></sup>                                               | Direct IDs (`claude-opus-5-5`, etc.)<sup><a href="#ref-15">\[15]</a></sup>                             |
| **Opus 5.5 (1M)**   | `$4/$20` global (`$4.40/$22` regional); `$0.20` read<sup><a href="#ref-10">\[10]</a></sup>                            | Contracted AI Factory + Bedrock terms<sup><a href="#ref-5">\[5]</a></sup>                                                  | `$2.80/$14` (`$0.14` read); **`$2/$10`** `:claude-0.5` (`$0.10`)<sup><a href="#ref-15">\[15]</a></sup> |
| **Sonnet 5.5 (1M)** | `$2/$10` global (`$2.20/$11` regional); `$0.10` read<sup><a href="#ref-10">\[10]</a></sup>                            | Contracted AI Factory + Bedrock terms<sup><a href="#ref-5">\[5]</a></sup>                                                  | `$1.40/$7` (`$0.07` read); **`$1/$5`** `:claude-0.5` (`$0.05`)<sup><a href="#ref-15">\[15]</a></sup>   |
| **Fable 5.2 (1M)**  | `$8/$40` global (`$8.80/$44` regional); `$0.20` read<sup><a href="#ref-10">\[10]</a></sup>                            | Geography-dependent Bedrock terms<sup><a href="#ref-4">\[4]</a></sup>                                                      | `$5.60/$28` (`$0.14` read); **`$4/$20`** `:claude-0.5` (`$0.10`)<sup><a href="#ref-15">\[15]</a></sup> |
| **Extra overhead**  | `$0` preview fee; AgentCore, ECR, CloudWatch<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-7">\[7]</a></sup>  | Facility floor space, power, AWS contract<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-6">\[6]</a></sup>          | Existing app compute; zero gateway fee<sup><a href="#ref-15">\[15]</a></sup>                           |
| **Budgets & MCP**   | No `session budget`; MCP via Gateway<sup><a href="#ref-7">\[7]</a></sup>                                              | Internal Bedrock Gateway / IAM<sup><a href="#ref-8">\[8]</a></sup>                                                         | Exact client spend caps + direct MCP                                                                   |

Pick **Claude Managed Agents** on Bedrock when closed-VPC AWS containment, overnight approval resume, and AWS enterprise commits outweigh preview gaps.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup> Pick **AWS AI Factories** only when sovereign or banking law mandates on-premises inference.<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-13">\[13]</a></sup> Keep a custom `/v1/messages` loop when you already run containers, need direct MCP, webhooks, or hard dollar caps today, or route across providers (see [Amazon Ergo vs Claude Opus 5.5](/resources/ergo-vs-opus-5-5), [Claude Code third-party API setup](/resources/claude-code-third-party-api-setup), and our [Claude Opus 5.6 release audit](/resources/claude-opus-5-6-release-date)).<sup><a href="#ref-7">\[7]</a></sup><sup><a href="#ref-15">\[15]</a></sup>

## Multi-Turn Session Math and a Stateless Messages Loop

To price Bedrock's waived preview fee at real agent scale, model an **illustrative 25-turn autonomous session** (about 15 to 20 minutes of cached tool iterations) under published Anthropic/Bedrock and reAPI token schedules.<sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-15">\[15]</a></sup> Assume `200,000` tokens (`0.20M`) written to the 5-minute prompt cache (`1.25x` input, breaking even after 1 read), `2,400,000` cached read tokens (`2.40M`, averaging `100K` across 24 turns), `200,000` fresh input tokens (`0.20M`), and `60,000` output tokens (`0.06M`), with regional Bedrock adding `10%`:<sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-15">\[15]</a></sup>

| Illustrative 25-Turn Session (`200K` Write, `2.40M` Read, `200K` Fresh, `60K` Out)                                          | Per Session | 1,000 / Month | vs Bedrock Opus Global     |
| --------------------------------------------------------------------------------------------------------------------------- | ----------: | ------------: | -------------------------- |
| [Claude Sonnet 5.5](/models/claude-sonnet-5-5) (`reAPI :claude-0.5`, `$1/$5/$0.05`)<sup><a href="#ref-15">\[15]</a></sup>   | **`$0.87`** |    **`$870`** | `75.0%` lower              |
| [Claude Opus 5.5](/models/claude-opus-5-5) (`reAPI :claude-0.5`, `$2/$10/$0.10`)<sup><a href="#ref-15">\[15]</a></sup>      | **`$1.74`** |  **`$1,740`** | **`50.0%` lower**          |
| [Claude Opus 5.5](/models/claude-opus-5-5) (`reAPI claude` `0.7x`, `$2.80/$14/$0.14`)<sup><a href="#ref-15">\[15]</a></sup> |     `$2.44` |      `$2,436` | `30.0%` lower              |
| [Claude Fable 5.2](/models/claude-fable-5-2) (`reAPI :claude-0.5`, `$4/$20/$0.10`)<sup><a href="#ref-15">\[15]</a></sup>    | **`$3.24`** |  **`$3,240`** | **`6.9%` lower than Opus** |
| Claude Opus 5.5 (Bedrock Global, `$4/$20/$0.20`)<sup><a href="#ref-10">\[10]</a></sup>                                      |     `$3.48` |      `$3,480` | Baseline (+ AgentCore)     |
| Claude Opus 5.5 (Bedrock Regional `+10%`, `$4.40/$22/$0.22`)<sup><a href="#ref-10">\[10]</a></sup>                          |     `$3.83` |      `$3,828` | `+10.0%` (+ AgentCore)     |
| Claude Fable 5.2 (Bedrock Global, `$8/$40/$0.20`)<sup><a href="#ref-10">\[10]</a></sup>                                     |     `$6.48` |      `$6,480` | `+86.2%` (+ AgentCore)     |

*Math check: Bedrock Global Opus 5.5 = `0.20M x $5.00` (`$1.00`) + `2.40M x $0.20` (`$0.48`) + `0.20M x $4.00` (`$0.80`) + `0.06M x $20.00` (`$1.20`) = `$3.48` (`$3.828` at `1.1x` Regional; `$1.74` at `0.5x` `:claude-0.5`).<sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-15">\[15]</a></sup> Fable 5.2 uses Anthropic's `0.025x` cache-read rate (`$0.20` list, `$0.10` `:claude-0.5`), totaling `$6.48` on Bedrock Global vs `$3.24` on `:claude-0.5`.<sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-15">\[15]</a></sup>*

At 1,000 sessions per month, routing Opus 5.5 over `claude-opus-5-5:claude-0.5` (`$1,740/month`) instead of Bedrock Regional (`$3,828/month` plus AgentCore Runtime, ECR, CloudWatch, and Gateway fees) saves **`$2,088` monthly (`54.5%`)**, or `$25,056` per year in tokens alone.<sup><a href="#ref-7">\[7]</a></sup><sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-15">\[15]</a></sup> Escalating hard jobs to [Claude Fable 5.2](/models/claude-fable-5-2) on `:claude-0.5` (`$3.24`) even undercuts Bedrock Global Opus 5.5 (`$3.48`).<sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-15">\[15]</a></sup>

Running a stateless tool-calling turn with automatic prompt caching on `POST https://api.reapi.ai/v1/messages` takes one native Anthropic call (reAPI sets the protocol version automatically):<sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-15">\[15]</a></sup>

```bash
curl https://api.reapi.ai/v1/messages \
  -H "x-api-key: YOUR_REAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-5-5:claude-0.5",
    "max_tokens": 4096,
    "cache_control": {"type": "ephemeral"},
    "system": "You are a repository audit agent. Stop once all checks pass.",
    "tools": [
      {
        "name": "run_repo_check",
        "description": "Run a read-only test or lint command inside the sandbox.",
        "input_schema": {
          "type": "object",
          "properties": {"command": {"type": "string"}},
          "required": ["command"]
        }
      }
    ],
    "messages": [
      {"role": "user", "content": "Inspect auth/session.ts and run the unit tests."}
    ]
  }'
```

Issue one key in [API Keys](/settings/apikeys), tally `usage.input_tokens`, `usage.cache_read_input_tokens`, and `usage.output_tokens` per turn to enforce hard dollar limits in code, and switch among [Claude Sonnet 5.5](/models/claude-sonnet-5-5), [Claude Opus 5.5](/models/claude-opus-5-5), and [Claude Fable 5.2](/models/claude-fable-5-2) by swapping `model`.<sup><a href="#ref-15">\[15]</a></sup> Save **Claude Managed Agents** on Bedrock for workloads where AWS VPC containment and IAM governance outweigh preview constraints and Bedrock list rates.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-7">\[7]</a></sup>

## References

1. <span id="ref-1" />AWS What's New. *Claude Managed Agents for Amazon Bedrock is now available in preview.* Checked December 3, 2026 from [aws.amazon.com/about-aws/whats-new/2026/12/claude-managed-agents-amazon-bedrock-preview](https://aws.amazon.com/about-aws/whats-new/2026/12/claude-managed-agents-amazon-bedrock-preview/)
2. <span id="ref-2" />Amazon Web Services. *Claude Managed Agents for Amazon Bedrock (Preview).* Checked December 3, 2026 from [aws.amazon.com/bedrock/claude-managed-agents](https://aws.amazon.com/bedrock/claude-managed-agents/)
3. <span id="ref-3" />Anthropic. *Claude Managed Agents for Amazon Bedrock is now available in public preview.* Checked December 3, 2026 from [claude.com/resources/articles/claude-managed-agents-for-amazon-bedrock](https://claude.com/resources/articles/claude-managed-agents-for-amazon-bedrock)
4. <span id="ref-4" />Anthropic. *New ways to build with Claude on AWS.* Checked December 3, 2026 from [claude.com/resources/articles/new-ways-to-build-with-claude-on-aws](https://claude.com/resources/articles/new-ways-to-build-with-claude-on-aws)
5. <span id="ref-5" />Amazon News. *AWS and Anthropic bring Claude on-premises via AI Factories.* Checked December 3, 2026 from [aboutamazon.com/news/aws/aws-anthropic-claude-on-premises-managed-agents](https://www.aboutamazon.com/news/aws/aws-anthropic-claude-on-premises-managed-agents)
6. <span id="ref-6" />Amazon Web Services. *AWS AI Factories overview and specifications.* Checked December 3, 2026 from [aws.amazon.com/about-aws/global-infrastructure/ai-factories](https://aws.amazon.com/about-aws/global-infrastructure/ai-factories/)
7. <span id="ref-7" />Rohit Ramachandran. *Claude Managed Agents on Bedrock: costs and preview limits.* Checked December 3, 2026 from [rohitai.com/blog/claude-managed-agents-bedrock-limits](https://rohitai.com/blog/claude-managed-agents-bedrock-limits)
8. <span id="ref-8" />Amazon News. *Amazon Bedrock adds tools to control and lower AI costs.* Checked December 3, 2026 from [aboutamazon.com/news/aws/amazon-bedrock-gateway-smart-routing-reduced-ai-costs](https://www.aboutamazon.com/news/aws/amazon-bedrock-gateway-smart-routing-reduced-ai-costs)
9. <span id="ref-9" />Amazon Web Services. *Lower Your Inference Costs with Smart Routing (preview).* Checked December 3, 2026 from [aws.amazon.com/bedrock/smart-routing](https://aws.amazon.com/bedrock/smart-routing/)
10. <span id="ref-10" />Anthropic. *Claude Platform Docs: Pricing.* Checked December 3, 2026 from [platform.claude.com/docs/en/about-claude/pricing](https://platform.claude.com/docs/en/about-claude/pricing)
11. <span id="ref-11" />Julie Bort (TechCrunch). *AWS is making Anthropic Claude available on-premises for the first time.* Checked December 3, 2026 from [techcrunch.com/2026/12/02/aws-is-making-anthropic-claude-available-on-premises-for-the-first-time](https://techcrunch.com/2026/12/02/aws-is-making-anthropic-claude-available-on-premises-for-the-first-time/)
12. <span id="ref-12" />Rama Adi (eesel AI). *Amazon Bedrock Managed Agents explained.* Checked December 3, 2026 from [eesel.ai/blog/bedrock-managed-agents](https://www.eesel.ai/blog/bedrock-managed-agents)
13. <span id="ref-13" />Amazon News. *AI Factories: AWS brings AI infrastructure directly to customer data centers.* Checked December 3, 2026 from [aboutamazon.com/news/aws/aws-data-centers-ai-factories](https://www.aboutamazon.com/news/aws/aws-data-centers-ai-factories)
14. <span id="ref-14" />Amazon News. *Amazon launches AI Agents that stay within boundaries, track their performance, and get smarter over time.* Checked December 3, 2026 from [aboutamazon.com/news/aws/aws-amazon-bedrock-agent-core-ai-agents](https://www.aboutamazon.com/news/aws/aws-amazon-bedrock-agent-core-ai-agents)
15. <span id="ref-15" />reAPI. *Live Claude Opus 5.5, Claude Sonnet 5.5, and Claude Fable 5.2 pricing and Messages API docs.* Checked December 3, 2026 from [reapi.ai/models/claude-opus-5-5](https://reapi.ai/models/claude-opus-5-5)
