Skip to main content
A Guardrail Check is a specific rule or validation applied to your AI traffic. You can apply checks to the Input (to sanitize user prompts before they reach the LLM) or the Output (to validate the LLM’s response before sending it back to your user). You can combine multiple checks to build a robust Guardrail.
You can now have configurable timeouts for Partner & Pro Guardrails!

Partner Guardrails

Each Guardrail Check has a specific purpose, it’s own parameters, supported hooks, and sources.
Acuvity

Acuvity

  • Scan prompts and responses for security threats * Detect PII, toxicity, and prompt injections * Real-time content analysis and filtering
Aporia

Aporia

  • Validate custom Aporia policies via project ID * Define policies on your Aporia dashboard * Seamless integration with Portkey checks
Bedrock

AWS Bedrock

  • Analyze and redact PII to prevent manipulation * Integrate AWS Guardrails directly in Portkey * Advanced security policy enforcement
Azure

Azure

  • Detect and redact sensitive PII data * Apply Azure’s comprehensive content safety checks * Detect jailbreaks and prompt injections with Shield Prompt
  • Identify copyrighted content with Protected Material detection
Javelin

Javelin (Highflame)

  • Platform to secure your entire AI journey, with visibility at every step, protection against emerging AI threats across GenAI, Agents & MCPs, and the confidence to innovate at scale
Lasso

Lasso Security

  • Analyze content for security risks and jailbreaks * Enforce custom policy violations detection * AI-powered threat detection and prevention
Mistral-AI

Mistral

  • Detect and filter harmful content automatically * Multi-dimensional content safety analysis * Real-time moderation capabilities
Pangea

Pangea

  • Guard LLM inputs and outputs with Text Guard * Detect malicious content and data transfers * Prevent model manipulation attempts
prisma

Palo Alto Networks Prisma AIRS

  • Real-time threat detection across all OSI layers (1-7) * Block prompt injections, data leakage, and model DoS attacks
Patronus

Patronus

  • Detect hallucinations and factual errors * Assess quality: conciseness, helpfulness, tone * Identify gender and racial bias in outputs
Pillar

Pillar

  • Scan prompts and responses comprehensively * Detect PII, toxicity, and injection attacks * Enterprise security and compliance features
PromptSecurity

Prompt Security

  • Scan prompts for security vulnerabilities * Analyze responses for policy violations * Advanced threat detection and mitigation
Qualifire

Qualifire

  • Best in class evaluation and guardrails for agents, RAG and chat bots. Detect and mitigate hallucinations, grounding issues, and any custom policies.
CrowdStrike-scaled

CrowdStrike AIDR

  • Pass LLM Input and Output to guard chat completions * Block or sanitize text depending on configured rules
ColorColor_TypeWordmark@4x-1

Exa

  • Provider business-grade search and crawling for any web data
tavily

Tavily

  • Real-time web search grounding for any LLM * Fine-tune freshness, domains, answers, raw content, images, and search depth from Portkey guardrails
f5-logo-solid-628x353

F5 Guardrails

  • Advanced content moderation and PII detection capabilities for LLM inputs and outputs
encrypted-tbn0.gstatic

Walled AI

  • Ensure the safety and compliance of your LLM inputs * Generic safety checks, greetings, PII, and compliance checks
Zscaler-AWS-Partners-2025-300x150-1

Zscaler

  • Integrates Zscaler AI Guard to perform security checks on both inbound prompts and outbound LLM responses

Akto

  • Advanced threat detection and security scanning for LLM inputs and outputs * Protect against prompt injection and sensitive data leakage

Portkey’s Guardrails

Along with the partner Guardrails, there are also deterministic as well as LLM-based Guardrails supported natively by Portkey.
  • BASIC Guardrails are available on all Portkey plans.
  • PRO Guardrails are available on Portkey Pro & Enterprise plans.

Understanding Supported Hooks

  • input_guardrails: Runs on the user’s prompt before calling the model.
  • output_guardrails: Runs on the model’s generated text after the call.

BASIC — Deterministic Guardrails

Basic deterministic guardrails are ideal for quick, hard-coded validations that require zero LLM overhead. Implement these when you need to enforce strict data structures (like JSON schema), exact regex matches, or basic text limits (like word counts) with absolute certainty and minimal latency.

Text & Format Validation

Data & Structure

Security & Auth

Routing & Control

Media Processing

Extensibility

PRO — LLM Guardrails

Pro guardrails leverage LLMs to perform nuanced, semantic validations. Implement these when you need to detect complex concepts like PII, toxicity, or gibberish that cannot be reliably caught with simple regex or deterministic rules.

Bring Your Own Guardrail

We have built Guardrails in a very modular way, and support bringing your own Guardrail using a custom webhook! Learn more here.

Contribute Your Guardrail

Integrate your Guardrail platform with Portkey Gateway and reach our growing user base. Check out some existing integrations to get started.
Last modified on May 19, 2026