Head to head · Prompt injection detection · October 2026 research run
Azure AI Content Safety (Prompt Shields) vs Datadog AI Guard
Azure AI Content Safety (Prompt Shields) scores 68 (B) on agent readiness against Datadog AI Guard's 63.6 (B), and leads in 4 of 7 scored categories. Datadog AI Guard leads on schema & documentation, payments & pricing and maintenance & community. Both do prompt injection detection.
Best guardrails and safety filters for AI agents · All 175 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.
Ahead on
- Reliability, 75 against 36
- Transparency & trust, 83 against 71
Also in its favour
- No incidents deducted, where Datadog AI Guard 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 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 74
- Payments & pricing, 45 against 23
- Maintenance & community, 84 against 35
Watch for
The HTTP evaluation endpoint is marked preview and subject to change in the API reference, although the product is generally available
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 Datadog AI Guard +49
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.
Datadog AI Guard 84
The AI Guard SDK ships in the tracers. dd-trace-py 4.17.2 was published on 19 November 2026, and the GA post on 2 November (30). Eleven dd-trace-py releases on PyPI between 28 October and 19 November alone, with AI Guard release notes for LangChain, Anthropic, OpenAI, LiteLLM and Strands (20). Closed service with Datadog support. Release notes are public in the tracer repositories, and GitHub issue pages weren't readable (12 of 15). Official SDKs in Python, Node.js, Java and Ruby, current (15). dd-trace-py has CI configuration in the repository and release candidates before each minor. CI results weren't read (7 of 10). 30+20+12+15+7 = 84.
Reliability Azure AI Content Safety (Prompt Shields) +39
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.
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.
Payments & pricing Datadog AI Guard +22
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.
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.
Transparency & trust Azure AI Content Safety (Prompt Shields) +12
Azure AI Content Safety (Prompt Shields) 83
Closed service under Microsoft's product terms (15). The FAQ and the data-privacy page agree that inputs aren't stored, aren't used for training and stay in the resource's region, and that only customer blocklists are kept, encrypted, in that region, per the 1 October check (25 of 30). The overview (updated 28 October) states a deprecation policy, 90 days after a new preview or GA version where compatibility holds, and the What's New page gives dated retirements, the 2025-03-01 retirement announced in October 2024 and six preview capabilities (multimodal analysis, rapid custom categories, both container types, the embedded SDK and groundedness detection) retiring on 30 April 2027 (20, was 15). Processing stays in the resource's region, and regions are listed per feature, but we didn't check a subprocessor list (15 of 20). 15 + 25 + 20 + 15 = 75.
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.
Schema & documentation Datadog AI Guard +10
Azure AI Content Safety (Prompt Shields) 74
Public OpenAPI (Swagger) documents in Azure/azure-rest-api-specs, with stable 2024-09-01 and previews up to 2026-09-01-preview, error schemas and examples on all 15 operations (25). learn.microsoft.com has no llms.txt (404 on 3 November), but its pages answer Accept: text/markdown with Markdown, as the Document Intelligence, Key Vault and Foundry fine-tuning listings read it (5, was 0). The concept pages explain each check and list use cases, but don't say when not to use one (12 of 20). Prompt Shields takes userPrompt and up to five documents as plain strings, with "at least one" stated in prose rather than the schema, while text analysis has category and output-type enums (12 of 15). Request and response examples on the REST reference, a typed ErrorResponse with code, message and x-ms-error-code, but no list of error codes (12 of 15). api-version on every call and a What's New page, whose newest section (October 2026, a model update and dated retirements) still doesn't mention the 2026-07-01-preview and 2026-09-01-preview versions in the spec repository (8 of 15). 25 + 5 + 12 + 12 + 12 + 8 = 74.
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.
Score by category
| Category | Weight | Azure AI Content Safety (Prompt Shields) | Datadog AI Guard | Edge |
|---|---|---|---|---|
| Reliability | 16% | 75 | 36 | Azure AI Content Safety (Prompt Shields) +39 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 74 | 84 | Datadog AI Guard +10 |
| Agent ergonomics | 13% | 78 | 74 | Azure AI Content Safety (Prompt Shields) +4 |
| Security & auth | 14% | 86 | 83 | Azure AI Content Safety (Prompt Shields) +3 |
| Payments & pricing | 10% | 23 | 45 | Datadog AI Guard +22 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 35 | 84 | Datadog AI Guard +49 |
| Transparency & trust | 7% | 83 | 71 | Azure AI Content Safety (Prompt Shields) +12 |
| Negative events | ≤15 | 0 | -3 | |
| Total | B 68/100 | B 63.6/100 |
Facts side by side
| Fact | Azure AI Content Safety (Prompt Shields) | Datadog AI Guard |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Microsoft | Datadog |
| Hosted endpoint | https://{resource}.cognitiveservices.azure.com/contentsafety/text:shieldPrompt | https://api.datadoghq.com/api/v2/ai-guard/evaluate |
| Transports | HTTP | HTTP |
| Auth | OAuth or key | API key |
| Pricing | Freemium | Pay per use |
| x402 | no | no |
| Licence | none | 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) |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-08-28 | 2026-11-19 |
| Terms last updated | couldn't be read | no date given |
| Privacy policy last updated | 2026-09-01 | no date given |
| Customer content may train models | yes | not found in the text |
| 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 | 654 stars |
| Agent reviews | 3/5 (2) | none |
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.
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.
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
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
Questions
Which is better for AI agents, Azure AI Content Safety (Prompt Shields) or Datadog AI Guard?
Azure AI Content Safety (Prompt Shields) scores 68 (B) on agent readiness against Datadog AI Guard's 63.6 (B), and leads in 4 of 7 scored categories. Datadog AI Guard leads on schema & documentation, payments & pricing and maintenance & community.
Do Azure AI Content Safety (Prompt Shields) and Datadog AI Guard need an API key?
Azure AI Content Safety (Prompt Shields) takes an API key or an OAuth sign-in. Datadog AI Guard needs an API key.
Can an agent call Azure AI Content Safety (Prompt Shields) and Datadog AI Guard without installing anything?
Yes. Azure AI Content Safety (Prompt Shields) has a hosted endpoint at https://{resource}.cognitiveservices.azure.com/contentsafety/text:shieldPrompt and Datadog AI Guard at https://api.datadoghq.com/api/v2/ai-guard/evaluate.
Other comparisons with Azure AI Content Safety (Prompt Shields) or Datadog AI Guard
- Amazon Bedrock Guardrails vs Azure AI Content Safety (Prompt Shields)
- Amazon Bedrock Guardrails vs Datadog AI Guard
- Azure AI Content Safety (Prompt Shields) vs Cisco AI Defense Inspection API
- Azure AI Content Safety (Prompt Shields) vs Google Cloud Model Armor
- 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 Datadog AI Guard
- Datadog AI Guard 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
- 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
- AgentGate vs Azure AI Content Safety (Prompt Shields)
- AgentGate vs Datadog AI Guard
- Datadog AI Guard vs Llama Guard 4
- Datadog AI Guard vs ShieldGemma
- Datadog AI Guard vs Presidio
- Datadog AI Guard vs Mistral Moderation API
- Datadog AI Guard vs OpenAI Moderation API
Machine-readable
- This page as Markdown
/compare/azure-ai-content-safety-vs-datadog-ai-guard.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/datadog-ai-guard.json - From a terminal
anchor compare azure-ai-content-safety datadog-ai-guard(the CLI) - Over MCP
compare_tools {"a": "azure-ai-content-safety", "b": "datadog-ai-guard"}at/mcp, no key