Amazon Bedrock adds Amazon CloudWatch metrics for OpenAI- and Anthropic-compatible APIs
Monitor token usage, error rates, and inference volume for OpenAI/Anthropic-compatible Bedrock workloads with new CloudWatch metrics.
View original announcement →Visual Summary
What's New
Amazon Bedrock now publishes CloudWatch metrics for the bedrock-mantle endpoint — the OpenAI- and Anthropic-compatible inference endpoint — under the new AWS/BedrockMantle namespace. Customers can monitor inference counts, token consumption (input and output), and client error rates at multiple granularity levels including account, project, model, and project-and-model combinations. This brings bedrock-mantle to operational parity with bedrock-runtime for observability, enabling production-grade monitoring, alerting, and capacity planning for workloads migrated from OpenAI or Anthropic SDKs.
How It Works
- Namespace: Metrics are published to the
AWS/BedrockMantleCloudWatch namespace, separate from the existingAWS/Bedrocknamespace used bybedrock-runtime. - Inference metrics:
Inferences(total completed requests) andInferenceClientErrors(4xx failures) are published at all four granularity levels: Account, Project, Model, and Project+Model. - Aggregate token metrics:
TotalInputTokensandTotalOutputTokensrepresent billable tokens summed over the publish interval and are available at Account, Project, and Model levels — suited for sum and rate calculations. - Per-request token metrics:
InputTokensandOutputTokensemit one data point per completed inference and are published only at the Project+Model level, enabling percentile statistics (p50/p90/p99) on individual request sizes. - Dimensions: The
Projectdimension carries the project ID; theModeldimension carries the model identifier (e.g.,anthropic.claude-opus-4-7); account-level metrics carry no additional dimensions. - Fan-out behavior: Each inference contributes independently to all applicable granularity levels simultaneously, so a single request increments account, project, model, and project+model counters in one publish cycle.
- Access: Metrics are viewable immediately in the CloudWatch console by navigating to Metrics →
AWS/BedrockMantle, and can be used to create alarms, dashboards, and anomaly detection rules like any other CloudWatch metric.
Why It's Important
- Production readiness for migrated workloads: Teams migrating OpenAI or Anthropic SDK codebases to Bedrock can now operate
bedrock-mantlewith the same observability rigor they apply to other production AWS services, closing a critical gap for enterprise adoption. - Cost attribution and chargeback: Multi-granularity metrics (project, model, project+model) allow platform teams to attribute token consumption and inference volume to specific teams or workloads, enabling accurate internal chargeback and budget governance.
- Proactive capacity management: Alarm-based alerting on error rates and token throughput lets operators detect quota exhaustion or traffic spikes before they impact end users, supporting SLA commitments.
- Unified observability: Organizations already using CloudWatch for
bedrock-runtimeand other AWS services can consolidatebedrock-mantlemonitoring into existing dashboards and on-call runbooks without adopting new tooling. - Percentile-level token visibility: The per-request
InputTokens/OutputTokensmetrics at the Project+Model level expose tail latency and token distribution (p99), which is essential for optimizing prompt engineering and controlling costs at scale.
How It's Different
- Separate namespace from bedrock-runtime:
AWS/BedrockMantleis distinct from theAWS/Bedrocknamespace, reflecting the architectural and API-surface differences between the two endpoints and preventing metric confusion. - Project-based attribution vs. IAM tagging:
bedrock-runtimeuses IAM and per-request metadata tagging for usage attribution, whilebedrock-mantleuses the Projects/Workspaces model as a first-class dimension, making team-level attribution more structured. - Per-request percentile metrics:
bedrock-mantleintroducesInputTokens/OutputTokensas per-inference data points (Project+Model only), a capability not present in the same form forbedrock-runtime, enabling statistical distribution analysis of token usage. - Covers only mantle-native APIs: These metrics exclusively cover inference through the Responses API, Chat Completions API, and Anthropic Messages API on the
bedrock-mantleendpoint;InvokeModelandConversetraffic onbedrock-runtimeis not included and remains under the existing runtime metrics. - Endpoint-level throughput model: Unlike
bedrock-runtime's fixed per-account RPM/TPM quotas,bedrock-mantleuses advanced scheduling and work-queuing for fair-share distribution, and the new metrics reflect this by surfacing aggregate and per-request views suited to that dynamic model.
When to Prefer It
- Migrating from OpenAI or Anthropic SDKs: Use
bedrock-mantle(and these metrics) when your application was built against the OpenAI Responses/Chat Completions API or the Anthropic Messages API and you want to switch to Bedrock by changing only the base URL and API key. - Multi-team platform engineering: Use the Project+Model granularity metrics when you operate a shared Bedrock platform and need to enforce per-team token budgets, generate usage reports, or implement internal showback/chargeback.
- Stateful conversation or server-side tool use: Choose
bedrock-mantlewhen your application relies on stateful conversation management or server-side tool use, features not available onbedrock-runtime, and monitor those workloads with these metrics. - New application development: AWS now recommends
bedrock-mantlefor new applications; pair it with these CloudWatch metrics from day one to establish observability baselines before scaling to production. - Tail-latency and token distribution analysis: Use the per-request
InputTokens/OutputTokensmetrics at the Project+Model level when you need to understand p90/p99 token distributions to optimize prompts, set rate limits, or size capacity. - Avoid for InvokeModel/Converse workloads: If your application uses Bedrock-native
InvokeModelorConverseAPIs onbedrock-runtime, continue using the existingAWS/Bedrockmetrics;AWS/BedrockMantlewill not capture that traffic.
Availability
- GA status: Generally available as of June 1, 2026; no preview or opt-in required.
- Supported regions: US East (N. Virginia, Ohio), US West (Oregon), Asia Pacific (Jakarta, Mumbai, Sydney, Tokyo), Europe (Frankfurt, Ireland, London, Milan, Stockholm), and South America (São Paulo) — all regions where the
bedrock-mantleendpoint is offered. - Pricing: CloudWatch metrics are billed at standard Amazon CloudWatch rates for custom metrics and API calls; no additional Bedrock-specific charge is associated with metric publication.
- Scope limitation: Metrics cover only inference routed through the
bedrock-mantleendpoint (Responses API, Chat Completions API, Anthropic Messages API);bedrock-runtimetraffic is not included. - Token metric granularity limitation:
TotalInputTokensandTotalOutputTokens(aggregate) are not published at the Project+Model level; per-requestInputTokens/OutputTokensare published only at the Project+Model level and not at Account or Model levels. - Getting started: Navigate to the CloudWatch console → Metrics → select
AWS/BedrockMantlenamespace to begin viewing metrics immediately.