Onam
AI Security

Bedrock Guardrails vs Azure AI content filters vs Google Model Armor: 2026 comparison

By Anup Yadav, Founder & CEO•November 28, 2026•14 min read

Would rather we looked for you? We run a free one-time audit scan of one cloud account and go through the results with you. No charge, no commitment.

Free audit scan
Monday, 08:50, a hypothetical but familiar scene. The CISO stops at your desk with one question: "Is every AI model we run behind a guardrail?" You run models on AWS, Azure and Google Cloud. Each cloud has its own safety service, and each one means something different by "attached". This page puts the three side by side and gives you the commands to answer the question before lunch.

Amazon Bedrock Guardrails, Azure AI content filters (now called guardrails in Microsoft Foundry) and Google Model Armor all screen prompts and responses for harmful content, prompt attacks and sensitive data. They differ most in where they attach. Azure puts a default content filter on every model deployment, except embedding and audio models. Bedrock and Model Armor apply only when a request names them or when you switch on central enforcement: account or organization enforcement on AWS, floor settings on Google Cloud. To prove coverage, check every deployment, agent and project with the CLI commands below.

We read each provider's own documentation and pricing pages on 28 November 2026 and link every claim to its source. Onam sells a cloud security platform that checks whether these guardrails are present; our section is labelled. Features marked preview were in preview on that date.

The three-way comparison

Amazon Bedrock GuardrailsAzure AI content filters (Foundry guardrails)Google Model Armor
What it filtersContent filters (hate, insults, sexual, violence, misconduct, prompt attack), denied topics, word filters, sensitive information filters (PII, custom regex), contextual grounding checks, Automated Reasoning checksHate, sexual, violence and self-harm at four severity levels; Prompt Shields for user prompt attacks and indirect attacks; protected material (text and code); groundedness (preview); PII (preview); task adherence for agentsResponsible AI categories (hate speech, harassment, sexually explicit, dangerous), prompt injection and jailbreak, Sensitive Data Protection, malicious URLs, CSAM
Default stateApplies only when a request, agent or enforcement setting names a guardrailA default policy is on every deployment: medium threshold for the four harm categories; jailbreak shield and protected material on; indirect attack detection offScreens only through a template on a request, a project floor setting, an integration or a direct API call
Where it attachesPer inference request, on an agent, on a knowledge base query, on a flow node, or account and organization enforcementTo a model deployment, as a named guardrail (RAI policy); Foundry Agent Service agents can carry their own (preview)Per request on Gemini generateContent, project floor settings, Apigee, Agent Gateway, Service Extensions, Gemini Enterprise, or direct API
Central enforcementIAM condition key bedrock:GuardrailIdentifier; account-level enforcement; AWS Organizations Amazon Bedrock policiesThe default policy on each deployment; turning filters off on completions needs Microsoft's approvalFloor settings at organization and folder level (template conformance) and project level (inline enforcement)
On a hitBlocks or masks, and returns the message you configuredError on the prompt, or finish_reason set to content_filter; annotate-only mode existsInspect only (log), or inspect and block
Published priceContent filters and denied topics $0.15 per 1,000 text units; sensitive information and grounding $0.10; word filters and regex freeNo separate line for built-in filters on the pages we readStandalone: free up to 2 million tokens a month, then $0.10 per million
LoggingCloudWatch namespace AWS/Bedrock/Guardrails; CloudTrailAnnotations in the API response; Azure Monitor metrics and diagnostic settingsCloud Logging, which you must turn on

Sources for each row are in the sections below.

What each one filters, from the provider's own pages

Amazon Bedrock Guardrails. AWS lists six safeguards: content filters for "Hate, Insults, Sexual, Violence, Misconduct and Prompt Attack", denied topics, word filters, sensitive information filters (including custom regex), contextual grounding checks, and Automated Reasoning checks (AWS: Bedrock Guardrails). A guardrail "can be used directly with FMs during the inference API invocation by specifying the guardrail ID and the version", or through the ApplyGuardrail API "without invoking the foundation models" (same page).

Azure AI content filters. Microsoft's filter system uses classifiers for four categories (hate, sexual, violence and self-harm) at four severity levels, plus optional models for jailbreak risk and known text and code (Microsoft Learn: content filtering). The default "is set to filter at the medium severity threshold for all four content harms categories for both prompts and completions". Prompt Shields for jailbreaks and protected material are on by default, indirect attack detection is off, and groundedness and PII are listed as preview (Microsoft Learn: configure content filters). Filtering "doesn't apply to prompts and completions processed by the Embedding models or the audio models such as Whisper".

Google Model Armor. Google lists responsible AI filters (hate speech, harassment, sexually explicit, dangerous content), prompt injection and jailbreak detection, Sensitive Data Protection, malicious URL detection and CSAM detection (Google Cloud: Model Armor overview). Two limits are worth knowing: Model Armor "inspects each prompt and response independently as a single-turn request", and it "doesn't decode or inspect encoded content, such as prompts encoded in Base64".

Price and logs

  • Bedrock. You pay per safeguard you turn on: $0.15 per 1,000 text units for content filters and for denied topics, $0.10 for sensitive information filters and for contextual grounding, $0.17 per 1,000 text units for each Automated Reasoning policy, and nothing for word filters and regex. A text unit holds up to 1,000 characters (AWS: Bedrock pricing). Enforced guardrails are billed the same way. Runtime metrics, including how often a guardrail intervened, are in the CloudWatch namespace AWS/Bedrock/Guardrails (AWS: guardrail metrics).
  • Azure. We did not find a separate price for the built-in filters on the Azure OpenAI pricing page. The standalone Azure AI Content Safety service bills per 1,000 text records (Azure: Content Safety pricing). Filter results come back in the API response. Platform metrics are collected automatically, but resource logs are only kept once you create a diagnostic setting (Microsoft Learn: monitor Azure OpenAI).
  • Model Armor. Standalone use is free up to 2 million tokens a month, then $0.10 per million. Security Command Center Enterprise subscriptions include 3 billion tokens a month (Google Cloud: Security Command Center pricing). In "Inspect only" mode, results exist only in Cloud Logging, so turn logging on first (Google Cloud: Model Armor overview).

Where the guardrail attaches decides your coverage

This is the part that answers the CISO's question, and it is where the three services differ most.

  • Azure attaches to the deployment. Each model deployment has a guardrail (in the API, an RAI policy, stored in raiPolicyName). Microsoft says that "by default, models are assigned the Microsoft.DefaultV2 guardrail" (Microsoft Learn: guardrails overview). In Foundry Agent Service, agent guardrails are in preview. An agent with its own guardrail "fully overrides the model's guardrail", and an agent without one inherits its model deployment's. Microsoft also notes that the guardrail system "currently applies only to agents developed in the Foundry Agent Service". A request can also override the deployment's filter with an x-policy-id header (Microsoft Learn: configure content filters).
  • Bedrock attaches to the request, unless you enforce it. Inference requests name a guardrail in the header or the guardrailConfig field, agents carry a guardrailConfiguration, and knowledge base queries pass one in each RetrieveAndGenerate request (AWS: use cases for guardrails). To make it mandatory, you have three options. An IAM policy with the bedrock:GuardrailIdentifier condition key can deny inference calls that do not include your guardrail (AWS: enforce specific guardrails). Account-level enforcement applies a guardrail to "all Amazon Bedrock model invocations" from that account. Organization-level enforcement uses AWS Organizations Amazon Bedrock policies. Both have to be set up in every Region, and the Automated Reasoning policy "is unsupported for guardrail enforcements" (AWS: guardrails enforcements).
  • Model Armor attaches to a request or a project. On Google's AI platform, you can pass a template in each generateContent call, or use floor settings to apply protection "to all generateContent API calls to Gemini models" in a project (Google Cloud: Model Armor and Agent Platform). Google renamed Vertex AI to Gemini Enterprise Agent Platform (Google Cloud: name changes). The integration has a gap that matters for audits: the platform "skips the Model Armor sanitization step and continues processing the request" if Model Armor is unavailable in the region, unreachable, or returns an error. Floor settings can also cover Google Cloud MCP servers, which is in preview (Google Cloud: floor settings).

Which to use when

  • Your models run on one cloud's managed AI service. Use that cloud's own guardrail. It plugs into the service's request path, and you configure it in the same console.
  • You need the same policy in front of models on several clouds. Two services can screen text without being in the model's request path. Bedrock's ApplyGuardrail API evaluates text "without invoking the foundation models". Google describes Model Armor for AI "in Google Cloud or other cloud providers". Either one means a call from your code or gateway, so coverage depends on every app making that call.
  • You want a guardrail nobody can skip. On AWS, use account or organization enforcement. On Google Cloud, use project floor settings with inline enforcement, but remember the fail-open cases above. On Azure, every deployment already has a filter, so audit for weakened custom policies, not for missing ones.
  • You are testing new filters on live traffic. Model Armor has an "Inspect only" mode that logs without blocking. Azure has "Annotate only". Both let you measure false positives before you block.
  • You are protecting agents and their tool calls. Azure has tool call and tool response checks in preview for Foundry Agent Service agents. Google's floor settings for MCP servers are in preview. On AWS, check that each Bedrock agent has a guardrailConfiguration.

Check that a guardrail is attached to every model and agent

Run these read-only commands with a viewer role. Repeat them for every Region, subscription and project you use. Guardrails are regional on AWS, and Model Armor templates are regional on Google Cloud.

AWS: guardrails, enforcement and agents

REGION=us-east-1
# Guardrails that exist (lists the DRAFT version of each)
aws bedrock list-guardrails --region $REGION \
  --query "guardrails[].{id:id,name:name,status:status}" --output table

# Account-level enforcement: is one guardrail applied to every invocation?
aws bedrock list-enforced-guardrails-configuration --region $REGION \
  --query "guardrailsConfig[].{guardrail:guardrailId,version:guardrailVersion,owner:owner}" --output table

# Agents with no guardrail show an empty guardrail column
aws bedrock-agent list-agents --region $REGION \
  --query "agentSummaries[].{agent:agentName,guardrail:guardrailConfiguration.guardrailIdentifier}" --output table

# Organization-level enforcement in effect for one account
aws organizations describe-effective-policy --policy-type BEDROCK_POLICY --target-id <account-id>

AWS CLI reference: list-guardrails, list-enforced-guardrails-configuration, list-agents, describe-effective-policy. If the enforcement list is empty and no organization policy applies, a guardrail only runs when application code asks for it. A list of guardrails that exist does not prove any request uses them.

Azure: the guardrail on every deployment

# Azure OpenAI and Foundry (AIServices) accounts in the subscription
az cognitiveservices account list \
  --query "[?kind=='OpenAI' || kind=='AIServices'].{name:name,rg:resourceGroup,kind:kind}" -o table

# The guardrail (RAI policy) on each deployment
az cognitiveservices account deployment list -g <resource-group> -n <account> \
  --query "[].{deployment:name,model:properties.model.name,guardrail:properties.raiPolicyName}" -o table

# The custom policies on the account, and what each is based on
az rest --method get --url "https://management.azure.com/subscriptions/<sub-id>/resourceGroups/<resource-group>/providers/Microsoft.CognitiveServices/accounts/<account>/raiPolicies?api-version=2024-10-01"

References: az cognitiveservices account, az cognitiveservices account deployment, the deployment's raiPolicyName property and the RAI policies list API. On Azure the useful question is less "is there a filter?" and more "which one?". Open every custom policy and check its thresholds and whether any filter is set to annotate only. For agents, look at each agent's guardrail assignment in the Foundry portal; an agent without one inherits its model deployment's.

Google Cloud: floor settings and templates

# Project floor setting: look for enableFloorSettingEnforcement,
# integratedServices (AI_PLATFORM) and aiPlatformFloorSetting
gcloud model-armor floorsettings describe \
  --full-uri="projects/<project-id>/locations/global/floorSetting"

# Same check at folder and organization level
gcloud model-armor floorsettings describe \
  --full-uri="organizations/<org-id>/locations/global/floorSetting"

# Templates are regional: point gcloud at the regional endpoint first
gcloud config set api_endpoint_overrides/modelarmor "https://modelarmor.us-central1.rep.googleapis.com/"
gcloud model-armor templates list --location=us-central1

References: gcloud model-armor, floor settings, templates list. Inline enforcement on the AI platform is set only at the project level; organization and folder floor settings govern template conformance. A template that exists does not show that any call passes it. To see whether screening happened, look for Model Armor entries in Cloud Logging (service modelarmor.googleapis.com), which you have to turn on first.

A ten-minute checklist

  • Every Bedrock Region you use has account or organization enforcement, or an IAM deny on calls without bedrock:GuardrailIdentifier.
  • Every Bedrock agent shows a guardrail in list-agents.
  • No enforced Bedrock guardrail includes an Automated Reasoning policy.
  • Every Azure deployment's raiPolicyName is a policy you have reviewed, and no custom policy sets completions to annotate only without a reason on record.
  • Foundry agents that call tools have a guardrail with tool call and tool response checks, if you have opted into the preview.
  • Every Google Cloud project that calls Gemini has a floor setting with AI_PLATFORM in integratedServices, and Cloud Logging is on for Model Armor.
  • You have an alert for the fail-open cases: Model Armor unavailable or erroring in a region.
  • Embedding and audio models are on your list as unfiltered on Azure.

Where Onam fits (that is us)

Onam's AI security builds one AI inventory of managed AI on AWS (SageMaker, Bedrock), Azure (Azure AI services including Azure OpenAI, and Azure Machine Learning) and Google Cloud (Vertex AI). For each service it checks whether the provider's guardrail is present: Bedrock Guardrails, Azure content filters and Google Model Armor. The inventory also shows which data each AI workload can reach, and it treats AI agents as identities, with findings when an agent has admin or wide write permissions. AI findings map to OWASP Top 10 for LLM 2025, NIST AI RMF, ISO/IEC 42001 and the EU AI Act; "automated" there means at least one working rule is linked, not full coverage. AI security does not read prompt or answer text unless an admin turns on prompt-text detection, which is off by default. Onam never reads training data or model weights.

  • The honest limit: Onam checks that a guardrail is attached. It does not enforce one, and it does not block a prompt or a response. Enforcement stays with the three services above.

Our prices are public: $20 per unit a month for Complete, which includes data security; $14 per unit a month for Posture; and $39 per active developer a month for code security, with a 25-unit minimum. There is no time-limited trial. Instead there is a free plan of up to 25 units with API-based scanning only, and a free one-time audit scan of one cloud account.

Frequently asked questions

Is Azure OpenAI content filtering on by default?

Yes. Microsoft's documentation says models deployed in Foundry get default safety settings, filtering the four harm categories at a medium threshold for prompts and completions. Jailbreak detection and protected material detection are on by default, and indirect attack detection is off. Embedding and audio models such as Whisper are not filtered.

Do Bedrock Guardrails apply automatically to every model?

Not by default. A guardrail applies when a request, agent, knowledge base query or flow node names it. To apply one to every model invocation, set up account-level enforcement or AWS Organizations Amazon Bedrock policies in each Region, or deny inference calls without your guardrail using the bedrock:GuardrailIdentifier IAM condition key.

How much does Google Model Armor cost?

Google's Security Command Center pricing page says standalone Model Armor is free up to 2 million tokens a month, then $0.10 per million tokens. Security Command Center Enterprise subscriptions include 3 billion tokens a month. Model Armor counts four characters as one token, excluding white space.

Can Model Armor protect models outside Google Cloud?

Google describes Model Armor for AI deployed "in Google Cloud or other cloud providers". Outside the built-in integrations, your application or gateway calls the Model Armor API to screen each prompt and response.

How do I check which content filter an Azure OpenAI deployment uses?

Run az cognitiveservices account deployment list for the account and read properties.raiPolicyName on each deployment. Then list the account's RAI policies through the management API to see how each custom policy is configured.

Does a guardrail stop prompt injection completely?

No provider claims that. Each one offers detection with a confidence or severity threshold. Google documents that Model Armor checks each prompt on its own, without conversation history, and does not decode encoded content such as Base64. Treat guardrails as one layer, alongside least-privilege identities for the model and its tools.

Corrections

Every provider statement above comes from that provider's own documentation or pricing page, read on 28 November 2026. Preview features and prices change often, so check the linked page before you rely on a detail. If anything here is wrong or out of date, email hello@onamsecurity.com and we will correct it.

Read next

Try it on your own cloud

Start free. The free plan covers up to 25 units of cloud security, with API-based scanning only: posture (CSPM), identity and permissions (CIEM), data stores found through cloud APIs (DSPM checks, no content classification) and AI-SPM. Posture scanning connects through read-only cloud roles, the free plan deploys no agent or scanner, and no card is needed. Register, and the team emails you the login.

Start free · Book a demo

See this on your own cloud, free

The free plan covers up to 25 units of cloud security with read-only cloud API scanning. It deploys no agent or scanner and needs no card. Register, and the team emails you the login.