Best of · Models & inference
Best guardrails and safety filters for AI agents
The 10 highest-scoring of 19 guardrails and safety filters on the Anchor benchmark, with a pick for each need and where each one falls short. Scores come from public evidence, re-checked as vendors change.
- 19 ranked
- 5 agent-ready
- 10 hosted endpoints
- Updated 23 November 2026
Top three
Picks by need
Worked out from the scores, prices and facts, so they change when the research does.
Maintenance & community
89/100 on maintenance & community, against 65 for the overall leader.
Transparency & trust
90/100 on transparency & trust, against 70 for the overall leader.
Self-hosting under an open licence
self-hosted, Apache-2 licence.
Also OpenAI Guardrails, self-hosted, MIT licence.
The shortlist
| # | Tool | Grade | Best for | Price | Where |
|---|---|---|---|---|---|
| 1 | Amazon Bedrock Guardrails Amazon Web Services |
A 79.3 | A team already on AWS that wants one versioned policy covering topics, PII masking, grounding and prompt attacks in front of any model. | Pay per use | Hosted |
| 2 | Google Cloud Model Armor Google Cloud |
BB 74.4 | 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. | Freemium | Hosted |
| 3 | OpenAI Moderation API OpenAI |
BB 74 | A free harm-category filter for an agent already on OpenAI. | Free | Hosted |
| 4 | NVIDIA NeMo Guardrails NVIDIA |
BB 73.2 | Teams that want to compose several checks (their own, NVIDIA's and third-party APIs) behind one OpenAI-compatible endpoint. | Free · OSS | Library |
| 5 | OpenAI Guardrails OpenAI |
BB 71.7 | Teams already on the OpenAI client or Agents SDK that want several checks from one config file with little code. | Free · OSS | Library |
| 6 | Presidio Data Privacy Stack |
B 68.6 | Detecting and masking personal data in prompts, outputs, logs and images on the owner's own machines, with detection tuned by entity, threshold and custom recognisers. | Free · OSS | Local |
| 7 | Azure AI Content Safety (Prompt Shields) Microsoft |
B 68 | An agent on Azure that retrieves documents and needs indirect-injection checks next to harm-category moderation. | $338 / mo | Hosted |
| 8 | Lakera Guard (Check Point AI Guardrails) Check Point |
B 66.8 | An agent that wants one hosted call to screen user input, tool calls and tool results for injection in the OpenAI message format. | Freemium | Hosted |
| 9 | Datadog AI Guard Datadog |
B 63.6 | Teams already on Datadog APM who want inline checks of prompts and tool calls, with spans and signals in the same place. | Pay per use | Hosted |
| 10 | Cisco AI Defense Inspection API Cisco Systems, Inc. |
B 63.1 | A company already buying Cisco security through Security Cloud Control that wants its own application to decide what to do with each verdict. | Paid | Hosted |
9 more are ranked in the full table.
How to choose
- Injection and jailbreak coverageCheck which attack types are detected, including indirect injection in tool results, because agents read untrusted pages and documents that can carry instructions.
- Wrongful blocks on clean inputCheck the false positive rate on clean inputs, because a filter that blocks legitimate tool calls stops the agent's task without any attack taking place.
- Latency added to each callCheck the latency each check adds at your payload size, since guardrails run on every model call and the delay compounds across a multi-step agent run.
- Self-hosting optionCheck whether the filter can run in your own infrastructure, because a hosted check sends every prompt, including personal data, to another party.
How the benchmark tests this category. A set of prompts with injections, jailbreaks, personal data and clean inputs run through each filter. We count what is caught and what is wrongly blocked, and measure the latency each adds.
Each one in detail
Amazon Bedrock Guardrails
A 79.3/100Configurable guardrail policies (content filters with a prompt-attack category, denied topics, word filters, PII and regex filters, contextual grounding, Automated Reasoning checks) applied to any model through the ApplyGuardrail API, or inline through InvokeGuardrailChecks.
Verdict ApplyGuardrail works with any model, self-hosted or third party, without invoking Bedrock inference. Per-policy billing, so four paid policies on one request cost four times.
Best for A team already on AWS that wants one versioned policy covering topics, PII masking, grounding and prompt attacks in front of any model.
Strengths
- ApplyGuardrail works with any model, self-hosted or third party, without invoking Bedrock inference
- InvokeGuardrailChecks takes the checks inline and returns severity and confidence scores, so no guardrail resource is needed
- IAM can grant bedrock:ApplyGuardrail on one guardrail ARN and nothing else, and calls land in CloudTrail as data events
Weaknesses
- Per-policy billing, so four paid policies on one request cost four times, and no Guardrails-specific free tier
- Classic tier covers English, French and Spanish only, and Standard tier uses cross-Region inference that can move prompts within a geography
- Listed in AWS's open me-central-1 and me-south-1 disruptions, where AWS said on 15 September 2026 that some data can't be restored
Price Pay per useAuth API keyx402 NoHosted
Google Cloud Model Armor
BB 74.4/100Google Cloud's prompt and response screening service.
Verdict 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.
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.
Strengths
- 2 million free tokens a month, then $0.10 per million
- No incidents for Model Armor on the Google Cloud status page in the last 90 days
- Each screening method has its own IAM permission and writes Data Access audit logs once the operator enables them
Weaknesses
- OAuth only, and a template must exist in the same location as the endpoint before the first call
- Filter versions v1 and v2 retire on 17 December 2026, a date that moved from 29 November within the same month
- No SLA listed for Model Armor
Price FreemiumAuth OAuthx402 NoHosted
OpenAI Moderation API
BB 74/100Free classifier endpoint that scores text and images against 13 harm categories (harassment, hate, illicit, self-harm, sexual, violence and their sub-types) and returns a flagged boolean plus per-category scores.
Verdict Free, on any OpenAI project key. No prompt-injection, jailbreak or PII detection.
Best for A free harm-category filter for an agent already on OpenAI.
Strengths
- Free, on any OpenAI project key
- A restricted key can be limited to the moderation endpoint
- Text and images in the same request, with per-category scores
Weaknesses
- No prompt-injection, jailbreak or PII detection
- One model snapshot from 26 September 2024, and scores can shift when the latest alias moves
- Fixed categories with no custom policies or per-request category choice
Price FreeAuth API keyx402 NoHosted
NVIDIA NeMo Guardrails
BB 73.2/100Open-source Python toolkit that runs input, output, retrieval, dialogue and tool rails around any LLM.
Verdict Apache-2.0, 7,200 stars and nine releases between 9 October 2025 and 16 September 2026. Usage telemetry and a heartbeat every 10 minutes to NVIDIA by default.
Best for Teams that want to compose several checks (their own, NVIDIA's and third-party APIs) behind one OpenAI-compatible endpoint.
Strengths
- Apache-2.0, 7,200 stars and nine releases between 9 October 2025 and 16 September 2026
- Input, output, retrieval, dialogue, tool-input and tool-output rails in one config
- Adapters for about 20 hosted guardrail services plus NVIDIA's NemoGuard models
Weaknesses
- Usage telemetry and a heartbeat every 10 minutes to NVIDIA by default
- Six breaking changes in 0.24.0, and the project is still pre-1.0
- No authentication on the server, by design
Price Free · OSSAuth Nonex402 NoLibrary
OpenAI Guardrails
BB 71.7/100OpenAI's open-source Python library that wraps the OpenAI client and runs configured checks on inputs, outputs and tool calls, including moderation, jailbreak, prompt injection, personal data, URL and off-topic checks. It is labelled a preview.
Verdict MIT-licensed wrapper that adds twelve configurable checks to OpenAI client calls from one JSON file, with tool-level injection checks for the Agents SDK. The README labels it a preview at version 0.3.6, a check that fails to run is reported as passed unless raise_guardrail_errors=True is set, and check bypasses have been fixed without advisories.
Best for Teams already on the OpenAI client or Agents SDK that want several checks from one config file with little code.
Strengths
- MIT licence, source on GitHub, and five tagged releases in the 90 days to 1 November 2026 (0.3.2 to 0.3.6)
- Twelve built-in checks set in one versioned JSON file across pre-flight, input and output stages
GuardrailAgentruns the prompt injection check before and after every tool call in the OpenAI Agents SDK
Weaknesses
- By default a check that fails to run returns
tripwire_triggered=False, so the request continues. Strict mode is opt-in - The README titles the package a preview, the version is 0.3.6, and no release was published between 15 December 2025 and 21 July 2026
- With
stream=Truethe output checks run alongside the stream, and the docs say violating content may appear briefly
Price Free · OSSAuth API keyx402 NoLibrary
Presidio
B 68.6/100Open-source Python library and Docker services that detect personal data in text and images and replace, mask, hash or encrypt it. Created at Microsoft and run since June 2026 by the community organisation Data Privacy Stack.
Verdict MIT-licensed personal data detector with a public OpenAPI document, two releases in late October 2026 and about 1.2 million weekly PyPI downloads. The REST containers have no authentication, 2.2.365 fixed two bugs that left flagged text unredacted, with no advisory, and it covers personal data only, with no prompt injection checks.
Best for Detecting and masking personal data in prompts, outputs, logs and images on the owner's own machines, with detection tuned by entity, threshold and custom recognisers.
Strengths
- MIT licence, source on GitHub, and nothing to buy. No account, key or card is needed to install or run it
- OpenAPI 3.0 document for the analyser and anonymiser REST services, with request examples and 400 and 422 error shapes
- Two releases in October 2026 (2.2.365 and 2.2.366), each with a dated changelog section crediting outside contributors
Weaknesses
- The REST containers have no authentication by design. The FAQ says to put a gateway or proxy in front
- 2.2.365 fixed two bugs that left flagged personal data in clear, filed as ordinary fixes with no security advisory
- SUPPORT.md states no SLA and no official support. The project is run by volunteers since leaving Microsoft
Price Free · OSSAuth Nonex402 NoLocal
Azure AI Content Safety (Prompt Shields)
B 68/100Microsoft's API for analysing harmful text and images, detecting prompt injection and checking groundedness.
Verdict 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.
Best for An agent on Azure that retrieves documents and needs indirect-injection checks next to harm-category moderation.
Strengths
- Prompt Shields checks up to five retrieved documents for indirect injection, not only the user prompt
- 5,000 free text records and 5,000 free images a month on F0
- FAQ and data-privacy page agree that inputs aren't stored or trained on and stay in the resource's region
Weaknesses
- Needs an Azure subscription with a card, a resource and a region that has the feature, before the first call
- Stable Python SDK is 1.0.0 from December 2023 with no Prompt Shields method; the September 2026 SDKs that add it are pre-releases
- No retry or 429 guidance in the Content Safety docs
Price $338 / moAuth OAuth or keyx402 NoHosted
Lakera Guard (Check Point AI Guardrails)
B 66.8/100Hosted screening API for prompt attacks, PII and data leakage, content violations and unknown or malicious links, run against a per-project policy.
Verdict One hosted call screens user input, tool calls and tool results in the OpenAI message format, and the reference says which errors to retry. Prompts and outputs are stored for the dashboard by default, there are no prices above the free tier or published rate limits, and the changelog had one entry between June and November 2026.
Best for An agent that wants one hosted call to screen user input, tool calls and tool results for injection in the OpenAI message format.
Strengths
- OpenAI message format in, including tools, tool calls and tool results
- 10,000 free screening requests a month on the Community plan
- No Guard incidents on Check Point's status feed from August to early November 2026
Weaknesses
- Prompts and outputs are stored for the dashboard by default
- No public pricing above the free tier and no published rate limits
- Only the last interaction is screened, so a slow multi-turn attack needs your own history handling
Price FreemiumAuth API keyx402 NoHosted
Datadog AI Guard
B 63.6/100Datadog AI Guard is a hosted runtime guardrail that evaluates an agent's prompts, model responses, tool calls and tool results for prompt injection, tool misuse and data exfiltration, through Datadog's tracer SDKs or an HTTP API.
Verdict 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.
Best for Teams already on Datadog APM who want inline checks of prompts and tool calls, with spans and signals in the same place.
Strengths
- Public price of $0.80 per million evaluated tokens billed annually, $1.20 on demand, with failed evaluations not billed
- Typed OpenAPI contract for the evaluation endpoint, Markdown versions of every docs page and an llms.txt index
- Application keys scoped to
ai_guard_evaluate, separate from the view and write permissions that change policies
Weaknesses
- The HTTP evaluation endpoint is marked preview and subject to change in the API reference, although the product is generally available
- Automatic and manual integrations let a call proceed without evaluation when the organisation hits its rate limit
- Evaluations are processed in the US for every Datadog site, and the external model providers used aren't named
Price Pay per useAuth API keyx402 NoHosted
Cisco AI Defense Inspection API
B 63.1/100Hosted inspection API from Cisco that checks chat messages, HTTP requests and responses, and MCP messages for prompt injection, personal data, harmful content and policy violations, and returns an allow or block verdict for the calling application to enforce.
Verdict Per-connection API keys with expiry, revocation and regeneration, published limits of 60,000 calls a minute, weekly dated release notes and a one-year retention statement suit companies already on Cisco Security Cloud Control. Access needs a subscription bought through sales, with no public price or trial for the API, and the developer changelog has one entry from February 2025.
Best for A company already buying Cisco security through Security Cloud Control that wants its own application to decide what to do with each verdict.
Strengths
- One call returns
is_safe, an action, classifications, severity, matched rules and, since April 2026, the type and position of each suspected PII value - Each connection has its own API key with an expiry date, revocation and regeneration, and the key works only on the Inspection API
- Published limits of 60,000 calls a minute, a one million token context per inspection and one million tokens in parallel per organisation
Weaknesses
- No public price, free tier or trial for the Inspection API. Subscriptions are bought through sales and activated with a claim code
- The Toxicity rule was removed on 16 September 2026 in the release note that announced it, with no earlier notice found
- The developer changelog lists only v1.0.0 of 28 February 2025, while release notes record later changes to the API's responses and rules
Price PaidAuth API keyx402 NoHosted
Head to head
- Amazon Bedrock Guardrails vs Google Cloud Model Armor A 79.3 vs BB 74.4
- Amazon Bedrock Guardrails vs OpenAI Moderation API A 79.3 vs BB 74
- Amazon Bedrock Guardrails vs NVIDIA NeMo Guardrails A 79.3 vs BB 73.2
- Amazon Bedrock Guardrails vs OpenAI Guardrails A 79.3 vs BB 71.7
- Google Cloud Model Armor vs OpenAI Moderation API BB 74.4 vs BB 74
- Google Cloud Model Armor vs NVIDIA NeMo Guardrails BB 74.4 vs BB 73.2
- Google Cloud Model Armor vs OpenAI Guardrails BB 74.4 vs BB 71.7
- NVIDIA NeMo Guardrails vs OpenAI Moderation API BB 73.2 vs BB 74
- OpenAI Guardrails vs OpenAI Moderation API BB 71.7 vs BB 74
- NVIDIA NeMo Guardrails vs OpenAI Guardrails BB 73.2 vs BB 71.7
Questions
What are the highest-rated guardrails and safety filters for AI agents?
Amazon Bedrock Guardrails has the highest benchmark score of the 19 ranked guardrails and safety filters, 79.3 (A). Google Cloud Model Armor is second with 74.4 (BB).
How many guardrails and safety filters are agent-ready?
5 of the 19 ranked here grade BB or better, the bar for agent-ready on the Anchor benchmark.
Which guardrails and safety filters accept x402 payments?
None of the ranked listings here accepts x402 for its main call yet.
How is this list ranked?
By the Anchor benchmark score out of 100, a weighted mean of the scored categories minus deductions for negative events, from public evidence re-checked as vendors change. Listings cannot pay for a place. The latest assessment behind this page is from 23 November 2026.
How this list is made
The order is the Anchor benchmark score, the same number as on each listing and in the top list. Each listing is graded from public evidence against the benchmark checklist, and the picks above are worked out from those grades, prices and facts. No listing pays for its place, and paid audits or listing help never change a score.
Full ranked table · 175 head-to-head comparisons · Best tools in every category