AI agents · OpenClaw · self-hosting · automation

Quick Answer

Claude Managed Agents: Claude API vs Bedrock vs Self-Hosted

Published:

The short answer

Claude Managed Agents is the same agent harness everywhere; what changes is who runs the loop, where your tools run, and who bills you. As of December 5, 2026:

  • Claude API — best default. Full feature set, Anthropic-hosted sandboxes or your own, tokens + $0.08 per session-hour.
  • Amazon Bedrock — best for AWS shops. AWS operates the service; tools run in your AWS account; IAM, CloudTrail, CloudWatch; no additional charge beyond models and AWS resources. Preview since December 2, 2026, in 14 Regions.
  • Claude Platform on AWS / Claude Models on Google Cloud (Anthropic managed) — Anthropic’s service billed through the cloud marketplace in Claude Consumption Units at the standard rates.
  • Self-hosted Claude Managed Agents — private beta; you run the server, its database and the workers, and pick the inference provider.

Compared

Claude APIAmazon BedrockSelf-hosted
Status (Dec 5, 2026)Beta (managed-agents-2026-04-01)Preview (Dec 2, 2026)Private beta (Nov 12, 2026)
Who runs the agent loopAnthropicAWS, inside Amazon BedrockYou
Where tools runAnthropic cloud sandbox or your self-hosted sandboxAgentCore Runtime container per session, or your tool runnerYour workers and sandboxes
Session history storedAnthropic, until deletedAmazon Bedrock, until deletedYour PostgreSQL database
AuthClaude API keyAWS SigV4 with IAM role credentialsYour identity provider
MCP toolsMCP servers, MCP tunnelsYour AgentCore GatewayYour network
PriceTokens + $0.08/session-hourNo extra charge; models + AWS resourcesVia Anthropic account team
ZDRNot eligible (except self-hosted under Legacy ZDR)Your Bedrock data retention modeApplies to model calls

Sources: Anthropic’s Managed Agents overview and pricing pages and AWS’s Bedrock documentation, read December 5, 2026.

Claude API: the full product

Anthropic’s docs describe Managed Agents as a “pre-built, configurable agent harness” for long-running and asynchronous work: bash, file operations, web search and fetch, MCP servers, persistent filesystems, and scheduled deployments on a cron schedule. You create an agent (model, prompt, tools, skills), an environment (Anthropic’s sandbox or your own), and sessions. Billing is the model’s token price — prompt caching multipliers apply, Batch does not — plus $0.08 per session-hour of running time, which replaces code-execution container-hour billing.

A session that runs Sonnet 5.5 ($2/$10 per million tokens) for two hours costs $0.16 in runtime plus its tokens; the runtime is rarely the big number.

Pick it when you want every feature now and Anthropic as the processor is acceptable.

Amazon Bedrock: your account, AWS’s controls

AWS announced Claude Managed Agents for Amazon Bedrock on December 2, 2026 at re:Invent. AWS runs the API and agent loop in Bedrock and calls Claude as your session role; each bash and file command runs in an AgentCore Runtime container (one per session) or a self-hosted tool runner in your account, which connects out over TLS and accepts no inbound connections. MCP calls go through your AgentCore Gateway. You control access with IAM, audit with CloudTrail and CloudWatch, and can encrypt with your own KMS key.

Differences from the Claude API: requests are signed with SigV4 (IAM role credentials only — IAM user or root credentials return 403), there is no environments API, and some features are not in the preview. AWS’s docs also warn that the tool runner runs commands with no sandbox around them: whatever the tool runner role and network can reach, the model can reach.

Pick it when compliance wants agent tools, files and billing inside AWS.

Self-hosted: everything on your side

Self-hosted Claude Managed Agents runs the server (cma-server), a PostgreSQL 16+ database, workers and a console on your infrastructure; model calls go to Anthropic, Bedrock, Google Cloud, Microsoft Foundry or your own gateway. It is the only option where session history never leaves your database. The cost is operational: you secure and upgrade it. Details in self-hosted Claude Managed Agents explained.

For fully on-premises inference, AWS also announced on December 2, 2026 that AWS AI Factories run Claude models through Bedrock inside customers’ own data centers, with Claude Code and Claude Cowork configurable to use them.

Which to pick

  1. Prototype or SaaS product → Claude API.
  2. Regulated AWS customer, data must stay in the account → Bedrock (keep a fallback until GA).
  3. Multi-cloud, billed through a marketplace → Claude Platform on AWS or Claude Models on Google Cloud.
  4. Session data must be in your own database → self-hosted (contact Anthropic).

To compare against other agent platforms, see Microsoft Foundry vs AWS AgentCore vs Claude Managed Agents; for model costs, our current API prices.

Last verified: December 5, 2026.

Sources