Head to head · Prompt injection detection · October 2026 research run
Datadog AI Guard vs Google Cloud Model Armor
Google Cloud Model Armor scores 74.4 (BB) on agent readiness against Datadog AI Guard's 63.6 (B), and leads in 5 of 7 scored categories. Datadog AI Guard leads on schema & documentation and payments & pricing. Both do prompt injection detection.
Best guardrails and safety filters for AI agents · All 175 guardrails comparisons
Which one, for what
Best for Teams already on Datadog APM who want inline checks of prompts and tool calls, with spans and signals in the same place.
Ahead on
- Schema & documentation, 84 against 78
- Payments & pricing, 45 against 30
Watch for
The HTTP evaluation endpoint is marked preview and subject to change in the API reference, although the product is generally available
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 36
- Security & auth, 90 against 83
- Transparency & trust, 87 against 71
Also in its favour
- Agent-ready, a grade of BB or better
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.
Reliability Google Cloud Model Armor +54
Datadog AI Guard 36
Read with the hosted lines, for the evaluation service. status.datadoghq.com answered its robots.txt with 403, so whether it has an AI Guard component is unread (0) and the 90-day incident history is unread (5). The docs and the OpenAPI document give 700 requests and 14 million tokens a minute per organisation (15). Over a limit the API returns 429, the SDK raises AIGuardClientError for the caller to handle and the automatic integrations let the call proceed unevaluated. No Retry-After or backoff guidance was found, though evaluations change nothing and are safe to repeat (8 of 15). No SLA found (0). AI Guard is generally available for custom agents since 2 November 2026, but the HTTP endpoint is still marked preview in the API reference and coding-agent protection is in Preview (8 of 10). 0+5+15+8+0+8 = 36.
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).
Transparency & trust Google Cloud Model Armor +16
Datadog AI Guard 71
Closed service under Datadog's terms. The tracers that carry the SDK are open source, dd-trace-py under BSD-3-Clause or Apache-2.0 (18 of 30). The docs say evaluations are processed in the US, indexed spans follow APM retention (15 days by default), external model providers run under zero data retention, Datadog doesn't train on customer data and traffic is TLS-encrypted. The providers aren't named and the privacy policy and DPA weren't re-read (22 of 30). The SDK's move from ddtrace.appsec.ai_guard to ddtrace.aiguard was announced as a deprecation with removal in 5.0.0, and the change of AIGuardAbortError to a BaseException came in an upgrade note. The HTTP endpoint carries no deprecation policy and is 'subject to change' (10 of 20). US processing for every site is disclosed, while the evaluating model providers and the subprocessor list weren't found on public pages (10 of 20). 18+22+10+10 = 60.
Google Cloud Model Armor 87
Closed service under the Google Cloud terms, which set the contracting Google entity by customer region (15). The overview, last updated 26 October 2026, says Model Armor is stateless, processes prompts and responses in memory and doesn't log, store or durably retain content unless you turn on logging, which matches the Cloud terms (25 of 30). Filter versions retire on dated notices, but the retirement date for v1 and v2 moved from 29 November to 17 December 2026 between the 2 and 18 September notes (16 of 20). Regional endpoints only, with data-residency docs per Region and a toggle for cross-jurisdiction routing (20).
Payments & pricing Datadog AI Guard +15
Datadog AI Guard 45
No x402, MPP or L402 (0). $0.80 per million input tokens billed annually or $1.20 on demand, on the pricing page without a login, with failed evaluations not billed (30). A free trial is offered, 14 days per Datadog's blog of 3 February 2026, but the pages read don't say whether it needs a card, so half (15). A person makes a Datadog account and creates the keys in a browser (0). 0+30+15+0 = 45.
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.
Security & auth Google Cloud Model Armor +7
Datadog AI Guard 83
A Datadog API key plus an application key scoped to ai_guard_evaluate, both revocable and sent in headers, with Datadog OAuth listed as an alternative in the OpenAPI document (27 of 30). Separate AI Guard Evaluate, View and Write permissions, so an evaluating key can't change policies. Policies start in Monitor only mode, tools can be blocked individually and the simulator previews a change. Data Access Control can restrict who sees spans (17 of 20). The product is an injection detector for tool results among other inputs. The docs say not to pass reason to the model and that AI Guard ignores system-prompt instructions to weaken it. Automatic integrations fail open when rate-limited (12 of 15). Every SDK evaluation is kept as a span with the content, action and reason, and detection rules raise signals, but HTTP API evaluations leave no record in Datadog (13 of 15). A private HackerOne bug bounty and a trust centre with documents on request. dd-trace-py publishes GitHub advisories, four on OSV in 2026. No security.txt (404), and certifications weren't read this run (14 of 20). 27+17+12+13+14 = 83.
Google Cloud Model Armor 90
OAuth 2.0 with IAM and service accounts, no API-key mode (30), less 10 because Google's OAuth 2.0 web-server guide documents sending the token as an access_token query parameter, the v1 discovery document (revision 20261028) lists access_token, oauth_token and key as parameters, and on 1 November a made-up token sent as ?access_token= to modelarmor.googleapis.com and modelarmor.us-central1.rep.googleapis.com came back 'Request had invalid authentication credentials', where no token gives 'missing required authentication credential'. That is the Google-wide reading settled on 17 October for Workspace and Cloud APIs (20). Each screening method has its own permission, such as modelarmor.templates.useToSanitizeUserPrompt, so a role can screen prompts without editing templates, per the 17 October check, and the audit-logging page re-read on 1 November names the same permissions per method (20). Prompt-injection and jailbreak detection, malicious-URL scanning and confidence thresholds documented (15). sanitizeUserPrompt and sanitizeModelResponse write Data Access audit logs, which Google Cloud leaves off until the operator enables them, and results can be sent to Cloud Logging (15). google.com security.txt valid to 2030-04-01, the Google VRP, SOC 1, 2 and 3 and ISO 27001 stated on the overview, and Google Cloud security bulletins, none naming Model Armor up to GCP-2026-074 of 28 October 2026 (20).
Schema & documentation Datadog AI Guard +6
Datadog AI Guard 84
POST /api/v2/ai-guard/evaluate is in Datadog's public OpenAPI document with typed request and response schemas, a role enum, an action enum and per-category confidence thresholds (25). Every docs page has a Markdown version and docs.datadoghq.com/llms.txt exists, though its index doesn't list the AI Guard pages (10). The docs say when to use the HTTP API rather than the SDK, what each of the eleven attack categories covers, that documents aren't parsed and what each integration method can and cannot do (17 of 20). Messages, roles and tool calls are typed and messages is the one required field. Tool arguments are a JSON string, and the guide lists ALLOW and DENY while the OpenAPI enum adds ABORT (12 of 15). Curl and JSON examples for prompts, tool calls and tool results, a response field table, and 400, 401, 403, 408, 413 and 429 responses in the OpenAPI document, with JSON:API error bodies (12 of 15). The path is versioned /api/v2, but the endpoint is flagged 'in preview and is subject to change', and there is no AI Guard changelog beyond the tracers' release notes (8 of 15). 25+10+17+12+12+8 = 84.
Google Cloud Model Armor 78
Public discovery document for modelarmor v1, revision 20261028 on 1 November, with typed parameters, resource-name patterns and enums (25). No llms.txt, and docs.cloud.google.com/llms.txt returned 404 on 1 November (0). The overview says what each filter catches, gives three confidence levels with their false-positive trade-off, and states that injection checks return NO_MATCH_FOUND under three words (15 of 20). Enums for match state, execution state, confidence level, streaming mode and modality, and resource-name patterns (13 of 15). Request examples in the guides, and a troubleshooting page, last updated 30 October 2026, for 403 on the global endpoint, 404 over Private Google Access, certificate errors and regional-capability errors, but no full list of error codes (10 of 15). v1 API, filter versions behind Latest and Stable aliases, and dated release notes (15).
Score by category
| Category | Weight | Datadog AI Guard | Google Cloud Model Armor | Edge |
|---|---|---|---|---|
| Reliability | 16% | 36 | 90 | Google Cloud Model Armor +54 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 84 | 78 | Datadog AI Guard +6 |
| Agent ergonomics | 13% | 74 | 75 | Google Cloud Model Armor +1 |
| Security & auth | 14% | 83 | 90 | Google Cloud Model Armor +7 |
| Payments & pricing | 10% | 45 | 30 | Datadog AI Guard +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 84 | 85 | Google Cloud Model Armor +1 |
| Transparency & trust | 7% | 71 | 87 | Google Cloud Model Armor +16 |
| Negative events | ≤15 | -3 | -3 | |
| Total | B 63.6/100 | BB 74.4/100 |
Facts side by side
| Fact | Datadog AI Guard | Google Cloud Model Armor |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Datadog | Google Cloud |
| Hosted endpoint | https://api.datadoghq.com/api/v2/ai-guard/evaluate | https://modelarmor.{location}.rep.googleapis.com/v1/projects/{project}/locations/{location}/templates/{template}:sanitizeUserPrompt |
| Transports | HTTP | HTTP |
| Auth | API key | OAuth |
| Pricing | Pay per use | Freemium |
| x402 | no | no |
| Licence | Proprietary service under Datadog's terms. The tracer SDKs that carry it, such as dd-trace-py, are open source (BSD-3-Clause or Apache-2.0) | none |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-11-19 | 2026-10-29 |
| Terms last updated | no date given | 2026-09-02 |
| Privacy policy last updated | no date given | 2026-10-01 |
| Customer content may train models | not found in the text | yes |
| Terms restrict automated access | not found in the text | not found in the text |
| Terms restrict benchmarking | not found in the text | not found in the text |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | 654 stars | 210k npm/wk, 471k PyPI/wk |
| Agent reviews | none | 3.5/5 (8) |
How the scores have moved
Verdicts
Datadog AI Guard
A public per-token price, a typed OpenAPI contract, scoped application keys and per-service policies that start in monitor-only mode. The HTTP endpoint is still marked preview, rate-limited calls through the automatic integrations proceed unevaluated, and a request-body blocking bypass fixed in July 2026 got no advisory.
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
Datadog AI Guard
- Send the whole conversation in
data.attributes.messages. AI Guard judges the last message and uses the rest as context - If the action is
DENYandis_blocking_enabledis true, stop and return a safe answer. The HTTP API never blocks by itself - Treat
ABORTas a stop for the whole workflow. The OpenAPI document lists it, although the guide does not - Don't pass
reasonback to the model or the user. Datadog says it is for auditing and logging - If you get 429, decide whether to proceed. Limits are 700 requests and 14 million tokens a minute per organisation
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, Datadog AI Guard or Google Cloud Model Armor?
Google Cloud Model Armor scores 74.4 (BB) on agent readiness against Datadog AI Guard's 63.6 (B), and leads in 5 of 7 scored categories. Datadog AI Guard leads on schema & documentation and payments & pricing.
Do Datadog AI Guard and Google Cloud Model Armor need an API key?
Datadog AI Guard needs an API key. Google Cloud Model Armor uses an OAuth sign-in.
Can an agent call Datadog AI Guard and Google Cloud Model Armor without installing anything?
Yes. Datadog AI Guard has a hosted endpoint at https://api.datadoghq.com/api/v2/ai-guard/evaluate and Google Cloud Model Armor at https://modelarmor.{location}.rep.googleapis.com/v1/projects/{project}/locations/{location}/templates/{template}:sanitizeUserPrompt.
Other comparisons with Datadog AI Guard or Google Cloud Model Armor
- Amazon Bedrock Guardrails vs Datadog AI Guard
- Amazon Bedrock Guardrails vs Google Cloud Model Armor
- Azure AI Content Safety (Prompt Shields) vs Datadog AI Guard
- Azure AI Content Safety (Prompt Shields) vs Google Cloud Model Armor
- Cisco AI Defense Inspection API vs Datadog AI Guard
- Cisco AI Defense Inspection API vs Google Cloud Model Armor
- Datadog AI Guard vs Granite Guardian
- Datadog AI Guard vs Guardrails AI
- Datadog AI Guard vs Lakera Guard (Check Point AI Guardrails)
- Datadog AI Guard vs LlamaFirewall
- Datadog AI Guard vs NVIDIA NeMo Guardrails
- Datadog AI Guard vs OpenAI Guardrails
- Datadog AI Guard vs Prisma AIRS AI Runtime Security API
- 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
- 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
- AgentGate vs Datadog AI Guard
- AgentGate vs Google Cloud Model Armor
- Datadog AI Guard vs Llama Guard 4
- Datadog AI Guard vs ShieldGemma
- Datadog AI Guard vs Presidio
- Datadog AI Guard vs Mistral Moderation API
- Google Cloud Model Armor vs Presidio
- Datadog AI Guard vs OpenAI Moderation API
Machine-readable
- This page as Markdown
/compare/datadog-ai-guard-vs-google-model-armor.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/datadog-ai-guard.json·/api/v1/tools/google-model-armor.json - From a terminal
anchor compare datadog-ai-guard google-model-armor(the CLI) - Over MCP
compare_tools {"a": "datadog-ai-guard", "b": "google-model-armor"}at/mcp, no key