Amazon Bedrock Guardrails vs LLM Guard
Amazon Bedrock Guardrails
aws.amazon.comLLM Guard
github.comSide by side
| Figure | Amazon Bedrock Guardrails | LLM Guard |
|---|---|---|
| Price from | $0.07/mo | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Linux | — | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 10 | 1 |
| Spec score · LLM Security Tools | 7.3 (#16) | 7.6 (#11) |
| Spec score · AI Guardrail Software | 7.3 (#14) | 7.7 (#9) |
Plans
Amazon Bedrock Guardrails
- Content filters — text$0.15 a month
- Content filters — imageFree
- Denied topics$0.15 a month
- Sensitive information filters$0.10 a month
- Sensitive information filters — regular expressionFree
- Word filtersFree
- Contextual grounding checks$0.10 a month
- InvokeGuardrailChecks — content filters$0.07 a month
- InvokeGuardrailChecks — prompt attack$0.08 a month
- InvokeGuardrailChecks — sensitive information filters$0.10 a month
In their own words
Amazon Bedrock Guardrails
Amazon Bedrock Guardrails is a cloud service for applying checks to model interactions. Listed capabilities include prompt injection defense, output guardrails, PII redaction, and secrets detection. Controls include text and image content filters, denied-topic rules, sensitive-information filters, word filters, and contextual grounding checks. Separate InvokeGuardrailChecks options cover content filters, prompt attacks, and sensitive-information filters; content-filter and prompt-attack checks are specified for text only. The service is web-based and has no free plan. Listed prices include $0.15 a month for text content filters on Standard and Classic tiers, and $0.15 a month for denied topics. Sensitive-information filters and contextual grounding checks each cost $0.10 a month. Image content filters, regular-expression sensitive-information filters, and word filters are listed at free. InvokeGuardrailChecks content filters cost $0.07 a month, prompt-attack checks cost $0.08 a month, and sensitive-information checks cost $0.10 a month.
LLM Guard
LLM Guard is a self-hosted security toolkit for checking interactions with large language models. It scans prompts and outputs for concerns such as prompt injection, secrets, personally identifiable information, toxicity, bias, malicious URLs, and factual consistency. It can sanitize interactions, detect harmful language, help prevent data leakage, and resist prompt injection attacks. The documentation includes examples for the OpenAI SDK, LangChain, LiteLLM, and LlamaIndex. In the OpenAI examples, prompts and responses are scanned; a streaming example also checks response chunks. LLM Guard can run as an API, and custom scanners can be added. Installation uses `pip install llm-guard` and requires Python 3.9 or higher. It is free and listed under the MIT License, with API, Linux, and self-hosted platforms. The repository was archived on July 9, 2026, is read-only, and is no longer actively developed or maintained. Production deployment assistance is directed to GitHub issues, Slack, and [email protected].