- Newest
- Most votes
- Most comments
This is expected behavior. The Bedrock Mantle (OpenAI-compatible) endpoints currently do not support Model Invocation Logging to CloudWatch. This is a known limitation of the Mantle endpoints.
Model Invocation Logging is only supported for calls made through the native Bedrock Runtime APIs (InvokeModel, InvokeModelWithResponseStream, Converse, ConverseStream). The Mantle endpoints provide OpenAI API compatibility but bypass the standard Bedrock invocation logging pipeline.
Workarounds for monitoring Mantle endpoint usage:
AWS CloudTrail: Mantle API calls should still appear in CloudTrail as API events. You can create CloudWatch alarms based on CloudTrail event patterns to detect usage spikes.
AWS Cost Explorer / Billing Alerts: Set up AWS Budgets with alerts to get notified when Bedrock spending exceeds a threshold. This won't give you per-request visibility but will catch unexpected cost spikes.
Application-level logging: Add logging in your application layer before/after Mantle API calls to capture request metadata, token counts (from the response usage field), and latency.
Switch to native Bedrock APIs: If invocation logging is a hard requirement, consider using the native Bedrock Converse API instead of the Mantle endpoint. The Converse API supports the same models and provides full CloudWatch logging.
I'd recommend opening an AWS Support case or submitting a feature request to have Model Invocation Logging extended to Mantle endpoints, as this is a common ask.
Relevant content
- asked 3 months ago
- asked 4 years ago

I was afraid that was the case, but thanks for the info and workarounds for now! Unfortunately, we're currently using Semantic Kernel with .NET, which has limited provider support in its native libraries, so we're stuck looking at other options or continuing to use Mantle with limited monitoring.