How Vertex AI Safety Filters Work
Vertex AI's Gemini API applies safety filtering through harm-category probability scoring returned alongside each model response. Four categories, harassment, hate speech, sexually explicit content, and dangerous content, can have their block thresholds adjusted by the calling application (block low, medium, high, or none). Google Cloud documentation distinguishes these adjustable safety settings from a separate set of non-configurable safety filters that block certain content automatically regardless of application-level tolerance. This means an enterprise team cannot fully disable protection in some categories even if their use case, such as security research or clinical content review, requires higher tolerance. Because safety ratings are returned as part of the same generation call, there is no added network round trip for evaluation, but the calling application is responsible for interpreting scores and enforcing its own blocking logic when thresholds are set to non-blocking levels.
How Bedrock Guardrails Work
Amazon Bedrock Guardrails takes a different architectural approach. Rather than being tied to a specific model's inference call, a guardrail is a standalone resource identified by a guardrail ID and version, which can be attached to multiple models, including custom, fine-tuned, and third-party models available through Bedrock. Guardrails support denied topics, content filters across six harm categories (hate, insults, sexual content, violence, misconduct, and prompt attacks), word filters, sensitive information filters for PII redaction, and contextual grounding checks that compare a response against a source document to flag potential hallucination. AWS added the prompt attack category specifically to detect prompt injection and jailbreak attempts. Guardrails can be evaluated on both the input prompt and the output response, either as part of a model invocation or through a separate ApplyGuardrail API call, which introduces a discrete evaluation step and associated latency that Vertex AI's inline scoring does not require.
Architecture and Configuration Differences
| Aspect | Vertex AI Safety Filters | Bedrock Guardrails |
|---|---|---|
| Attachment model | Inline with each generation call | Standalone resource, reusable across models |
| Configurability | Adjustable thresholds, with some non-configurable filters | Custom denied topics, word filters, and grounding checks |
| Evaluation scope | Model output harm-category scoring | Input prompt and output response |
| Latency impact | No added round trip | Added step and latency via ApplyGuardrail |
| Prompt injection coverage | Not a distinct category | Dedicated prompt attack category |
What Both Systems Leave Uncovered
The evidence packet is consistent on one point: neither Vertex AI Safety Filters nor Bedrock Guardrails documents evaluation of function-calling or tool-call parameters, multi-step agent reasoning, or actions an agent takes after a model call completes. Both systems are scoped to the boundary of a single model invocation, prompt in, response out. A guardrail or safety filter can catch harmful language in a model's text output, but it does not inspect what an agent does with that output, such as the arguments passed to an API call, a database query, or a financial transaction. In a workflow where an agent chains multiple model calls together, or where several agents coordinate across steps, each provider's filter would need to be re-invoked at every call boundary. Neither vendor documents automatic enforcement across an entire agent execution trace, and no mechanism is described for evaluating the semantic intent or downstream consequence of an agent-initiated action, only the text content itself.
Where coverage ends
Both platforms stop at the model call boundary. Tool-call arguments, downstream actions, and multi-step agent execution traces fall outside what either service documents as in scope.
Multi-Cloud and Multi-Agent Implications
Enterprises increasingly combine models across providers within a single agent workflow, and this is where the coverage gap becomes most concrete. Bedrock Guardrails is scoped to Bedrock's own model invocation pipeline, and Vertex AI's safety settings are scoped to Vertex AI's. Neither system is documented as portable to the other's platform, which means a workflow spanning both clouds requires separate filtering logic per provider, configured and maintained independently. This also affects audit and compliance work: safety filter and guardrail decisions are logged within each provider's own service, so consolidating evidence for a single compliance report across a multi-cloud deployment requires additional tooling outside either platform. For governance teams evaluating AI risk frameworks that emphasize end-to-end system oversight, such as NIST AI RMF, this decentralization is a material planning consideration rather than a minor implementation detail.
Implementation and Governance Tradeoffs
Both platforms place configuration responsibility on individual development teams. Vertex AI requires safety thresholds to be explicitly set per API call, and default thresholds may not match an enterprise's actual risk tolerance without review. Bedrock Guardrails must be explicitly created and associated with a model invocation; if a guardrail identifier is omitted, no guardrail is enforced at all. Denied topics and word filters in Bedrock require manually written topic descriptions and examples, which introduces a configuration burden and the possibility of gaps if topics are not exhaustively defined. Testing either system against adversarial or agentic prompts, such as an injection attempt designed to trigger tool misuse rather than produce harmful text, is not natively automated by either platform and requires separate red-teaming or evaluation work. For AI governance leaders, this means native filters address content-level risk but leave policy consistency, cross-team configuration discipline, and action-level oversight as open governance questions.