Bedrock Guardrails Coverage Gaps for Non-Bedrock Models
Technical Guide

AWS Bedrock Guardrails Coverage for Non-Bedrock Models

AWS Bedrock Guardrails enforces policy checks only within the Bedrock Runtime request path, either automatically on InvokeModel and Converse calls or manually through the standalone ApplyGuardrail API. Models called via direct third-party APIs, self-hosted endpoints, other cloud providers, or external agent tool calls are not automatically evaluated. Closing this gap requires either explicit ApplyGuardrail integration in every non-Bedrock code path or an independent, model-agnostic runtime policy enforcement layer.

What Bedrock Guardrails Actually Intercepts

AWS Bedrock Guardrails enforces policy checks automatically within the Bedrock Runtime request path. When a request includes a guardrailIdentifier and version, InvokeModel and Converse calls are evaluated against the configured policy before a response is returned. The same policy logic is also available on demand through the standalone ApplyGuardrail API, which can score arbitrary text against the guardrail configuration independent of any model invocation.

Where the Enforcement Boundary Ends

Enforcement is scoped to the Bedrock Runtime request path itself, not to the model or the organization using it. Any call that originates outside that path, whether a direct third-party provider API, a self-hosted inference endpoint, another cloud provider's model service, or an external tool invoked by an agent, is not automatically evaluated. The table below summarizes where native coverage applies and where it stops.

Bedrock Guardrails enforcement boundary by invocation path
Invocation PathGuardrail Enforcement
Bedrock InvokeModel / Converse callsAutomatically evaluated when a guardrailIdentifier and version are attached to the request.
ApplyGuardrail API callsEvaluated only when explicitly invoked by application code against arbitrary text.
Third-party provider APIsOutside Bedrock Runtime; no automatic interception occurs.
Self-hosted model endpointsNot onboarded to Bedrock; no native guardrail evaluation.
Agent tool calls to external servicesExecute as separate transactions outside the guardrail boundary unless outputs are resubmitted.

ApplyGuardrail: Model-Agnostic but Not Automatic

ApplyGuardrail can technically evaluate output from a self-hosted model, or any other text source, because it oper