lowob

LLM Guardrails Tools Compared

LLM guardrails tools check what goes into and comes out of a language model, flagging prompt injection, jailbreaks, harmful content and personal data. Managed options include Amazon Bedrock Guardrails, Azure Prompt Shields, Google Model Armor and Lakera; open-source options include Llama Prompt Guard 2, NeMo Guardrails and Guardrails AI. None replaces narrow permissions.

IN SHORT: Guardrails are filters, and filters miss things. The best published prompt-injection scores sit around 89% to 95% on one vendor-run benchmark, which means some attacks get through. Use a guardrail to cut volume and catch obvious abuse, and design your agent so a missed attack can't do much harm.

This review is based on vendor documentation, public pricing and published test results as of November 2026. We haven't run these tools ourselves.

Key facts

Tools compared Amazon Bedrock Guardrails, Azure Prompt Shields, Google Model Armor, Lakera (Check Point AI Guardrails), Llama Prompt Guard 2, NeMo Guardrails, Guardrails AI
Top published prompt-injection score Lakera Guard 95.2% on PINT (May 2, 2025), a benchmark Lakera runs
PINT dataset 4,314 inputs; prompt injections are 5.2% and jailbreaks 0.9% of it
Only published latency Prompt Guard 2: 92.4 ms (86M) and 19.3 ms (22M) per classification on an A100, 512 tokens
Bedrock prompt attack price $0.08 per 1,000 text units via the InvokeGuardrailChecks API
Model Armor price 2 million tokens free per month, then $0.10 per million
Azure free tier 5,000 text records per month
Last checked November 28, 2026

What does a guardrail actually block?

A guardrail blocks only what it was built to detect, and only when it's confident. It's a classifier (a model that sorts inputs into categories) or a set of rules sitting in front of or behind your main model.

There are four jobs, and most tools do two or three:

  1. Prompt attacks. Text that tries to override your instructions. This includes direct jailbreaks from the user and indirect prompt injection hidden in a document, email or web page the model reads.
  2. Harmful content. Hate, violence, sexual content, self-harm, in prompts or answers.
  3. Sensitive data. Personal data, credentials or account numbers going in or coming out.
  4. Grounding and topic. Answers that drift from your source documents or your allowed topics.

If you want the concepts first, read what AI guardrails are.

The comparison table

Tool Input checks Output checks Prompt-injection detection Latency (published) Price
Amazon Bedrock Guardrails Content filters, denied topics, PII, word filters Same, plus contextual grounding and Automated Reasoning checks Yes (prompt attack filter) Not published on pages we checked $0.15 per 1,000 text units (content, denied topics); $0.10 (PII, grounding); via InvokeGuardrailChecks, $0.07 content and $0.08 prompt attack; regex and word filters free
Azure Prompt Shields (AI Content Safety) User prompt attacks; document attacks (up to 5 documents per request) Separate Content Safety features (harm categories, groundedness, protected material) Yes, direct and indirect Not published Free tier: 5,000 text records per month; Standard price not shown on the page
Google Model Armor Prompt injection and jailbreak, harmful content, sensitive data, malicious URLs (first 256), documents Same filters on responses Yes; returns no match for inputs under three words Not published 2M tokens free per month, then $0.10 per million (standalone)
Lakera / Check Point AI Guardrails Prompt attacks, PII, content violations, unknown links PII, content violations, unknown links Yes, in prompts and reference material Not published in the quickstart Not published in the docs we checked
Llama Prompt Guard 2 (open source) Prompt injection and jailbreak, labels benign or malicious No Yes; 512-token window, split longer inputs 92.4 ms (86M), 19.3 ms (22M) on A100 Free model (Llama 4 Community License); you pay for compute
NeMo Guardrails (open source) Input, dialog and retrieval rails; jailbreak and injection detection Output and execution rails; self-check fact-checking, hallucination detection Yes, heuristics, LLM self-check or NemoGuard Jailbreak Detection NIM No figures; model-backed checks add calls Free library (Apache 2.0); you pay for compute and any models it calls
Guardrails AI (open source) Input guards from Hub validators Output guards, structured-output validation Depends on validators you install Not published Free library (Apache 2.0); hosted remote inference discontinued (planned cutoff August 25, 2026), validators now installed with pip
lowob score Bedrock 4, Azure 3.5, Model Armor 3.5, Lakera 3.5, Prompt Guard 2 4, NeMo 3.5, Guardrails AI 3 (out of 5)

Features and prices from each vendor's own pages, checked November 28, 2026.

How we scored them

The lowob 5-point score averages five criteria, each 1 to 5, from documentation and published results only:

  1. Coverage: how many of the four jobs it does, on both input and output.
  2. Evidence: published test results, ideally from someone other than the vendor.
  3. Latency transparency: does the vendor publish figures?
  4. Price clarity: a public, per-unit price scores higher.
  5. Control: can you tune thresholds, see scores and decide the action yourself?

Published test results

We didn't run our own tests. Here are the published results we could find, with who ran them.

Lakera's PINT benchmark (Prompt Injection Test) scores systems on 4,314 inputs. Most of the dataset is benign: chats, public documents and harmless text that looks like an attack. That's the point, because a guardrail that blocks normal users is as bad as one that misses attacks. Lakera archived the repository on August 5, 2026.

System PINT score Test date
Lakera Guard 95.22% May 2, 2025
AWS Bedrock Guardrails 89.24% May 2, 2025
Azure AI Prompt Shield (documents and user prompts) 89.12% May 2, 2025
Protect AI deberta-v3-base-prompt-injection-v2 79.14% May 2, 2025
Llama Prompt Guard 2 (86M) 78.76% May 5, 2025
Google Model Armor 70.07% Aug 27, 2025
Aporia Guardrails 66.44% May 2, 2025
Llama Prompt Guard (first version) 61.82% May 2, 2025

Read it carefully. Lakera built the benchmark and tops it. Scores are over a year old for most systems, and every vendor has shipped updates since. Use the table to pick a shortlist, not a winner.

Meta's own Prompt Guard 2 results tell a different story on a different test: on Meta's own evaluation, the 86M model reports 97.5% recall at a 1% false positive rate in English (88.7% for the 22M model). Same model, 78.8% on PINT. Benchmarks measure the dataset as much as the tool, which is why you test on your own traffic.

Why guardrails don't replace permissions

Every tool here can miss. Meta's model card warns that attackers may build attacks specifically to get past it, and says fine-tuning on your own data improves results for your application. Microsoft's documentation says Prompt Shields don't judge whether content is harmful, accurate or on-task; they only spot attacks.

So the real control is what the model is allowed to do. An agent that can only read one knowledge base and draft replies can't wire money, however clever the injection. That's the problem we describe in excessive agency: too many tools, too many permissions, too little human approval.

Checklist before you buy a guardrail:

  • [ ] Every tool the agent can call is listed, with why it needs it.
  • [ ] Write actions (send, pay, delete) need a human click.
  • [ ] The agent's credentials can't reach data the user couldn't.
  • [ ] Documents and web pages are treated as untrusted input.
  • [ ] You log every blocked and allowed request for review.

Worked example: what screening costs

These numbers are illustrative. Say you run 1 million requests a month, each with a 2,000-character prompt and a 1,000-character answer.

Tool How we counted it Monthly cost
Bedrock, prompt attack only (InvokeGuardrailChecks) 2 text units per prompt × 1M = 2M units × $0.08 per 1,000 $160
Bedrock, content filters on prompt and answer 3 units per request × 1M = 3M units × $0.15 per 1,000 $450 ($210 at the $0.07 InvokeGuardrailChecks rate)
Model Armor, prompt and answer About 750 tokens per request (4 characters per token) × 1M = 750M tokens, minus 2M free, × $0.10 per million About $75
Prompt Guard 2 22M, self-hosted Your GPU or CPU time Depends on hardware

Two lessons. Screening is cheap next to model costs, so price isn't a reason to skip it. And splitting checks lets you pay for what you need: run the attack check on inputs and the content check only where users see output.

Verdict by use case

If you are Pick Why
Already on AWS with Bedrock models Bedrock Guardrails Widest coverage in one place, including grounding checks, public per-unit pricing and a strong PINT score
On Azure, reading email or documents Azure Prompt Shields Explicit document-attack detection for indirect injection; turn it on, since document attack detection is off by default in Foundry
On Google Cloud, high volume Model Armor The lowest cost in our worked example and broad filters; its PINT score was the lowest of the managed tools, so test injection detection hard
Cloud-neutral, security team in charge Lakera (Check Point) Top PINT score and four threat categories on input and output; ask for pricing and independent results
Want a fast, cheap attack filter you host Llama Prompt Guard 2 The only published latency figures; fine-tune it on your own traffic
Need dialog and topic control in code NeMo Guardrails Five rail types and the option to plug in other detectors, such as NVIDIA's NemoGuard jailbreak model or third-party services
Mainly need valid, structured output Guardrails AI Strong at output validation; bring your own injection validator

How we'd test it

  1. Collect 500 real prompts from your logs and 100 attacks written for your app, including injections hidden in documents.
  2. Run every tool on the same set and record catches, misses and false blocks.
  3. Measure added latency at your p95 (the slowest 5% of requests), not the average.
  4. Repeat in every language your users write in; Microsoft notes its models are trained mainly on English.
  5. Re-run monthly, because both attacks and vendors change.

What we'd do

  1. List every tool and permission your agent has this week, and remove the ones it doesn't need.
  2. Put one attack filter on inputs, including retrieved documents.
  3. Add output checks for personal data and harmful content where users see answers.
  4. Log decisions and review a sample of blocks and passes every week.
  5. Run the test above before committing to a vendor.

Common questions

What are LLM guardrails tools?

Services or libraries that check what goes into a language model and what comes out. They flag prompt injection, jailbreaks, harmful content, personal data and off-topic requests, and your application decides whether to block, mask or allow.

Which guardrails tool is best at catching prompt injection?

On Lakera's PINT benchmark, Lakera Guard scored 95.2%, AWS Bedrock Guardrails 89.2% and Azure Prompt Shield 89.1% in May 2025. Lakera runs that benchmark, so treat it as a vendor result and test on your own traffic.

Do guardrails stop prompt injection completely?

No. Meta's own model card warns that attackers may build attacks specifically to get past it. Guardrails lower the odds; narrow permissions limit the damage when one gets through.

How much do LLM guardrails cost?

Amazon Bedrock charges $0.08 to $0.15 per 1,000 text units (up to 1,000 characters each) depending on the filter. Google Model Armor gives 2 million tokens a month free, then $0.10 per million. Open-source tools cost only the compute you run them on.

How much latency do guardrails add?

Few vendors publish it. Meta reports 92.4 ms per classification for Prompt Guard 2 86M and 19.3 ms for the 22M model, on an A100 GPU with 512-token inputs. Measure the rest yourself.

What's the difference between input and output guardrails?

Input guardrails check the user's prompt and any documents before the model sees them, mainly for attacks. Output guardrails check the model's answer for harmful content, leaked personal data or ungrounded claims before the user sees it.

Should I use open-source or managed guardrails?

Managed if you already run on that cloud and want one bill and no models to host. Open-source if you need control over thresholds, want to fine-tune on your own traffic, or must keep data in your own environment.

Did you test these tools?

No. This review uses vendor documentation, public pricing and published benchmark results as of November 2026. We explain how we'd test them in a section above.

Sources

Last checked November 28, 2026. Written by Chris Wells, lowob.

How to cite this

Free to quote and link with credit. Please link to this page when you use a figure, chart or framework from it.

Cite as: Wells, C. (2026). LLM Guardrails Tools Compared. lowob RESEARCH. Published 29 November 2026, updated 28 November 2026. https://lowob.com/research/llm-guardrails-tools/

BibTeX
@online{lowob2026llmguardrailstools,
  author  = {Wells, Chris},
  title   = {LLM Guardrails Tools Compared},
  organization = {lowob},
  date    = {2026-11-29},
  urldate = {2026-11-28},
  url     = {https://lowob.com/research/llm-guardrails-tools/}
}

Using a chart? Each chart has its own link. Charts and data tables are licensed CC BY 4.0: reuse them with the credit line "Source: lowob RESEARCH" and a link to this page.

Changelog
  • 29 Nov 2026: First published.

What Is Prompt Injection?

Read next