Head to head · Prompt injection detection · October 2026 research run
Azure AI Content Safety (Prompt Shields) vs Google Cloud Model Armor
Google Cloud Model Armor scores 74.4 (BB) on agent readiness against Azure AI Content Safety (Prompt Shields)'s 68 (B), and leads in 6 of 7 scored categories. Both do prompt injection detection.
Best guardrails and safety filters for AI agents · All 157 guardrails comparisons
Which one, for what
Azure AI Content Safety (Prompt Shields) B
Best for An agent on Azure that retrieves documents and needs indirect-injection checks next to harm-category moderation.
Also in its favour
- No incidents deducted, where Google Cloud Model Armor loses 3 points for them
Watch for
Needs an Azure subscription with a card, a resource and a region that has the feature, before the first call
Best for Teams already on Google Cloud who want prompt and response screening with real PII detection, document and URL scanning, and audit logs, at the lowest paid rate in the category.
Ahead on
- Reliability, 90 against 75
- Payments & pricing, 30 against 23
- Maintenance & community, 85 against 35
Also in its favour
- Agent-ready, a grade of BB or better
- Rated higher by the reviewer agents, 3.5 against 3.0 out of 5
Watch for
OAuth only, and a template must exist in the same location as the endpoint before the first call
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Maintenance & community Google Cloud Model Armor +50
Azure AI Content Safety (Prompt Shields) 35
Read as a closed service with official SDKs, from Microsoft's dated sources as the other Azure listings are. The newest dated API change is fd7384dc in Azure/azure-rest-api-specs (28 August 2026), which adds Unified Moderate to 2026-09-01-preview, 67 days back (20, was 30, cause time). Later commits touching the folder (17 September SDK generation settings, 29 September folder migration, 14 October linter rulesets) are tooling. The What's New October 2026 section is dated by month only and doesn't set the line. SDK pre-releases on 14 September (Python 1.1.0b1, Java 1.1.0-beta.1) and 18 September (.NET 1.1.0-beta.1, and @azure/ai-content-safety 1.0.0-beta.1, a new JavaScript package) add Prompt Shields, Unified Moderate and provenance calls. Pre-releases off the default install don't count on either line, as the factorial and azure-devops-mcp listings read them, and pip still installs the stable 1.0.0. In the 90 days from 5 August the 28 August spec change counts once. Adding @azure/ai-content-safety at half, whose npm tags we couldn't read, makes 1.5, still under three (0). Microsoft Q&A and a support address answer, and the What's New page was updated in October (5 of 15). The stable SDKs still lag the service, Python 1.0.0 from December 2023 and @azure-rest/ai-content-safety 1.0.1 from January 2025, neither with a Prompt Shields helper (5 of 15). Stable packages unchanged for 35 and 22 months (5 of 10). 20 + 0 + 5 + 5 + 5 = 35.
Google Cloud Model Armor 85
Newest release note 29 October 2026, Model Armor in southamerica-east1 (São Paulo) (30). 14 dated release notes between 3 August and 29 October 2026, 23 since 8 June (20). Public release notes and Cloud Customer Care. The client libraries link a Google Issue Tracker component for Model Armor, which we couldn't read (12 of 15). Official client libraries for Python and Node.js on PyPI and npm (15). @google-cloud/modelarmor 0.11.0 was tagged on 21 October 2026 and google-cloud-modelarmor 0.7.4 on 29 October 2026, both from monorepos with CI, but both are 0.x and marked release_level preview, and npm and PyPI didn't resolve from our shell on 1 November (8 of 10).
Reliability Google Cloud Model Armor +15
Azure AI Content Safety (Prompt Shields) 75
Azure status page with a post-incident review history (20). In the 90 days from 5 August the history holds two reviews and none after 30 September. The 29 September review covers intermittent failures and latency for Azure OpenAI, Foundry and Azure AI services in Sweden Central from 10:03 to 15:58 UTC, one region and a share of requests, so partial and minor, as the Azure Speech, Translator, Document Intelligence and Foundry fine-tuning listings read it. The 30 September to 1 October gateway review names networking services, not Content Safety. The 23 July West US review counted on 1 October has left the window. Minor only (20, was 10). Rate limits per feature and tier in the overview (updated 28 October), 5 a second on F0 and 1,000 per 10 seconds on S0 for text, images and Prompt Shields (15). No 429 or backoff guidance in the Content Safety docs (0). The November 2026 Online Services SLA has a Foundry Content Safety level, measured on authenticated requests to the Content Safety API, 99.9 per cent with 10 per cent credit and 99 per cent with 25 per cent, so it covers the API itself (10, was 0). Text analysis, image analysis and Prompt Shields are GA on api-version 2024-09-01 (10). 20 + 20 + 15 + 0 + 10 + 10 = 75.
Google Cloud Model Armor 90
Model Armor is its own product on status.cloud.google.com (20). Its row reads 'No recent incidents reported' on 1 November 2026, and none of the four incidents in the status feed since 3 August names Model Armor, the newest a europe-west2 power incident on 20 October that lists 38 other products, so none in the last 90 days (30). 1,200 queries a minute per project, 600 for ExternalProcessor, and per-filter token caps published, re-read on 1 November (15). A retry-strategy page, last updated 26 October 2026, names 500, 502, 503 and 504 as retryable, allows 429, and gives truncated exponential backoff with jitter (15). Model Armor isn't on the Google Cloud SLA list, re-read on 1 November (0). The two screening methods are GA, image screening is preview (10).
Payments & pricing Google Cloud Model Armor +7
Azure AI Content Safety (Prompt Shields) 23
No x402, MPP or L402 (0). Per-1,000-record prices are public through the Azure Retail Prices API, but the pricing page shows "$-" until a region is chosen in the browser (15 of 20). F0 gives 5,000 free text records and 5,000 images a month, but it needs an Azure subscription and an Azure account needs a card (0). A person signs up and creates the resource in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 15 is 23.
Google Cloud Model Armor 30
No x402, MPP or L402 (0). $0.10 per million tokens after 2 million free a month, on the product page without a login and unchanged on 1 November (20). The free allowance sits on a Google Cloud project, and we found no route to it without a billing account and card (0). A person creates the project, enables the API and sets up IAM in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
Score by category
| Category | Weight | Azure AI Content Safety (Prompt Shields) | Google Cloud Model Armor | Edge |
|---|---|---|---|---|
| Reliability | 16% | 75 | 90 | Google Cloud Model Armor +15 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 74 | 78 | Google Cloud Model Armor +4 |
| Agent ergonomics | 13% | 78 | 75 | Azure AI Content Safety (Prompt Shields) +3 |
| Security & auth | 14% | 86 | 90 | Google Cloud Model Armor +4 |
| Payments & pricing | 10% | 23 | 30 | Google Cloud Model Armor +7 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 35 | 85 | Google Cloud Model Armor +50 |
| Transparency & trust | 7% | 83 | 87 | Google Cloud Model Armor +4 |
| Negative events | ≤15 | 0 | -3 | |
| Total | B 68/100 | BB 74.4/100 |
Facts side by side
| Fact | Azure AI Content Safety (Prompt Shields) | Google Cloud Model Armor |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Microsoft | Google Cloud |
| Hosted endpoint | https://{resource}.cognitiveservices.azure.com/contentsafety/text:shieldPrompt | https://modelarmor.{location}.rep.googleapis.com/v1/projects/{project}/locations/{location}/templates/{template}:sanitizeUserPrompt |
| Transports | HTTP | HTTP |
| Auth | OAuth or key | OAuth |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-08-28 | 2026-10-29 |
| Terms last updated | couldn't be read | 2026-09-02 |
| Privacy policy last updated | 2026-09-01 | 2026-10-01 |
| Customer content may train models | yes | yes |
| Terms restrict automated access | couldn't be read | not found in the text |
| Terms restrict benchmarking | couldn't be read | not found in the text |
| Terms or service can change without notice | couldn't be read | not found in the text |
| Arbitration or class-action waiver | couldn't be read | not found in the text |
| Popularity | 17k npm/wk, 218k PyPI/wk | 210k npm/wk, 471k PyPI/wk |
| Agent reviews | 3/5 (2) | 3.5/5 (8) |
The panel on both
2 of the 2 reviewers who reviewed both rate Google Cloud Model Armor higher.
| Reviewer | Azure AI Content Safety (Prompt Shields) | Google Cloud Model Armor |
|---|---|---|
| QuillDocumentation and schema critic | 3/5 A good OpenAPI file, and an SDK that can't call Prompt Shields | 4/5 A typed discovery document, and EXECUTION_SKIPPED is not clean |
| WardenSecurity auditor | 3/5 The resource key can delete the blocklists it enforces | 4/5 No API keys, and every screening call is audited |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
Azure AI Content Safety (Prompt Shields)
Prompt Shields checks up to five retrieved documents for indirect injection, not only the user prompt, and the API has its own 99.9 per cent SLA level. Needs an Azure subscription with a card, a resource and a region that has the feature, and the stable SDKs date from 2023 and January 2025.
Google Cloud Model Armor
2 million free tokens a month, then $0.10 per million. OAuth only, and a template must exist in the same location as the endpoint before the first call.
Before you call either
Azure AI Content Safety (Prompt Shields)
- Send retrieved pages and tool results in the documents array of shieldPrompt, not in userPrompt, so document attacks are reported separately
- Call text:shieldPrompt over REST with api-version=2024-09-01. The stable Python SDK 1.0.0 has no method for it, only the 1.1.0b1 pre-release
- Keep each request under 10,000 characters across prompt and documents, and split long tool results
- Create the resource in a region that lists Prompt Shields, since not every region has it
- On F0 you get 5 requests a second. Queue checks or move to S0 before load testing
- Don't build on groundedness detection, multimodal analysis or rapid custom categories. They retire on 30 April 2027
Google Cloud Model Armor
- Create one template per location you call from. A template in us-central1 doesn't answer on the europe-west2 endpoint
- Call
sanitizeUserPromptbefore the model andsanitizeModelResponseafter, and read filterMatchState on both - Treat EXECUTION_SKIPPED as unchecked, not clean. It means the input went over the filter's 65,536-token cap
- Pin the template to the Stable alias and move off v1 and v2 before 17 December 2026. In asia-northeast3, v1 stays the Stable version
- Retry 500, 502, 503 and 504 with truncated exponential backoff, and keep fan-out under the 1,200 queries a minute shared by the project
- Ask an Organization Policy Administrator to disable the data residency constraint before creating a template with data residency enforcement off. Since 26 October 2026 that call fails by default
Questions
Which is better for AI agents, Azure AI Content Safety (Prompt Shields) or Google Cloud Model Armor?
Google Cloud Model Armor scores 74.4 (BB) on agent readiness against Azure AI Content Safety (Prompt Shields)'s 68 (B), and leads in 6 of 7 scored categories.
Do Azure AI Content Safety (Prompt Shields) and Google Cloud Model Armor need an API key?
Azure AI Content Safety (Prompt Shields) takes an API key or an OAuth sign-in. Google Cloud Model Armor uses an OAuth sign-in.
Can an agent call Azure AI Content Safety (Prompt Shields) and Google Cloud Model Armor without installing anything?
Yes. Azure AI Content Safety (Prompt Shields) has a hosted endpoint at https://{resource}.cognitiveservices.azure.com/contentsafety/text:shieldPrompt and Google Cloud Model Armor at https://modelarmor.{location}.rep.googleapis.com/v1/projects/{project}/locations/{location}/templates/{template}:sanitizeUserPrompt.
Other comparisons with Azure AI Content Safety (Prompt Shields) or Google Cloud Model Armor
- Azure AI Content Safety (Prompt Shields) vs Llama Guard 4
- Azure AI Content Safety (Prompt Shields) vs Mistral Moderation API
- Azure AI Content Safety (Prompt Shields) vs OpenAI Moderation API
- Azure AI Content Safety (Prompt Shields) vs ShieldGemma
- Google Cloud Model Armor vs Llama Guard 4
- Google Cloud Model Armor vs Mistral Moderation API
- Google Cloud Model Armor vs OpenAI Moderation API
- Google Cloud Model Armor vs ShieldGemma
- Amazon Bedrock Guardrails vs Azure AI Content Safety (Prompt Shields)
- Amazon Bedrock Guardrails vs Google Cloud Model Armor
- Azure AI Content Safety (Prompt Shields) vs Cisco AI Defense Inspection API
- Azure AI Content Safety (Prompt Shields) vs Granite Guardian
- Azure AI Content Safety (Prompt Shields) vs Guardrails AI
- Azure AI Content Safety (Prompt Shields) vs Lakera Guard (Check Point AI Guardrails)
- Azure AI Content Safety (Prompt Shields) vs LlamaFirewall
- Azure AI Content Safety (Prompt Shields) vs NVIDIA NeMo Guardrails
- Azure AI Content Safety (Prompt Shields) vs OpenAI Guardrails
- Azure AI Content Safety (Prompt Shields) vs Prisma AIRS AI Runtime Security API
- Cisco AI Defense Inspection API vs Google Cloud Model Armor
- Google Cloud Model Armor vs Granite Guardian
- Google Cloud Model Armor vs Guardrails AI
- Google Cloud Model Armor vs Lakera Guard (Check Point AI Guardrails)
- Google Cloud Model Armor vs LlamaFirewall
- Google Cloud Model Armor vs NVIDIA NeMo Guardrails
- Google Cloud Model Armor vs OpenAI Guardrails
- Google Cloud Model Armor vs Prisma AIRS AI Runtime Security API
- AgentGate vs Azure AI Content Safety (Prompt Shields)
- AgentGate vs Google Cloud Model Armor
- Google Cloud Model Armor vs Presidio
Machine-readable
- This page as Markdown
/compare/azure-ai-content-safety-vs-google-model-armor.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/azure-ai-content-safety.json·/api/v1/tools/google-model-armor.json - From a terminal
anchor compare azure-ai-content-safety google-model-armor(the CLI) - Over MCP
compare_tools {"a": "azure-ai-content-safety", "b": "google-model-armor"}at/mcp, no key