Match each cloud managed guardrail product to its provider
Drag each answer to line up with its matching prompt
Prompt Shields
Google Cloud
Bedrock Guardrails
Amazon AWS
Model Armor
Microsoft Azure
NeMo Guardrails
Meta
Llama Guard 4 / Prompt Guard 2
OpenAI
Moderation API and safety filters
NVIDIA
Azure ships Prompt Shields, AWS ships Bedrock Guardrails, Google ships Model Armor, NVIDIA ships NeMo Guardrails, Meta ships Llama Guard plus Prompt Guard, OpenAI ships Moderation.
Imagine three big grocery chains all selling their own brand of bleach. Same job, different bottles, slightly different smells. Cloud guardrails are like that. Each big cloud has rebottled the safety layer with its own brand name so they can sell it next to their model hosting. The OSS world has its own brands too. Meta makes the safety-classifier bottles and NVIDIA makes the orchestration bottle. OpenAI runs its own first-party detector behind the API. The job each of them does is the same shape: filter inputs, filter outputs, and refuse policy-violating prompts. The price tags, the latency, and the supported policy categories are what differ.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
The cloud-managed guardrail landscape is small enough to memorise and confusing enough that the products are often cross-attributed. Knowing the names and the vendor behind each one is the minimum. The axes along which they differ (data residency, customisation, latency, failure ownership) matter more when building a production safety layer.
Cloud providers brand their guardrails with cloud-flavoured words (Shields, Guardrails, Armor). Model vendors brand theirs with their model family (NeMo, Llama Guard, Prompt Guard). The pattern holds across every major name.
The six vendor product lines
The hyperscaler trio
The three big cloud providers each ship a managed guardrail product:
- Azure Prompt Shields is Microsoft's offering, part of the broader Azure AI Content Safety service. It screens for user prompt attacks and document (indirect) attacks and integrates with Azure OpenAI deployments. The naming hints at scope: 'Shields' suggests the inline protection role.
- AWS Bedrock Guardrails is Amazon's product, layered around any model invoked through Bedrock, and through the ApplyGuardrail API around other models too. It exposes six policy types: content filters, denied topics, word filters, sensitive information filters, contextual grounding checks and Automated Reasoning checks. The branding follows AWS service-naming convention.
- Google Cloud Model Armor is Google's equivalent. It screens prompts and responses for any model, including models on other clouds. It checks for prompt injection and jailbreak, sensitive data, malicious URLs and harmful content. Naming is again service-specific.
The OSS and vendor-branded set
- NVIDIA NeMo Guardrails is the open-source orchestration framework, with the Colang DSL as the rule language. It is not a classifier itself. It calls classifiers (Llama Guard, custom models, regex) as rails.
- Meta Llama Guard 4 is the broad safety classifier with a configurable taxonomy and multimodal coverage. Meta Prompt Guard 2 is the specialised injection/jailbreak detector. Both ship as open-weights models you self-host.
- OpenAI Moderation is the first-party content classifier exposed at the OpenAI platform API. Anthropic documents no separate moderation endpoint; its classifier safeguards run inside its own API.
A note on smaller players
The vendor landscape also includes Lakera Guard (a hosted screening API, now owned by Check Point), Guardrails AI (open-source Python SDK with a validator hub), and Vijil (evaluation, red teaming and the open-source Vijil Dome guardrails). They sit alongside the big six rather than replacing them.
Situations where this technique stops working.
2–4 min · Everything important, quickly.
Real products, models, and research that use this idea.
- Bedrock Guardrails' ApplyGuardrail API screens prompts and responses for any model, including self-hosted and third-party ones, without invoking a foundation model.
- Azure Prompt Shields detects user prompt attacks and document attacks. Its standalone API returns attackDetected and leaves blocking to the application.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow would you choose between Bedrock Guardrails and self-hosted Llama Guard 4 for a B2B SaaS shipping in three cloud regions?
Bedrock Guardrails wins on operational simplicity and audit trail across the three regions if all three are AWS. Self-hosted wins on customisation and on multi-cloud portability. A common pattern is Bedrock for default coverage and self-hosted Prompt Guard 2 as a secondary on routes that handle customer PII.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Confusing the cloud-managed shields with each other or thinking Llama Guard is Microsoft's product. Llama Guard ships from Meta and is self-hostable, not a cloud-managed offering.
60 second bullets to scan on the way to the call.
Six vendors and their guardrail product lines
Distinction between cloud-managed shields and self-hosted classifiers
Primary sources. Browse if you want the original framing.
Same topic, related formats. Practice these next.