Skip to content
AI.info

tools

Portkey Guardrails

Portkey Guardrails checks AI inputs and outputs for risks, validates formats, and routes requests through policies.

Portkey Guardrails

Portkey Guardrails applies input and output checks to AI requests through Portkey’s gateway. It can detect prompt injections, PII leaks, hallucinations, harmful content, and format violations, then block, retry, reroute, or log requests.

Developers and platform teams use it for LLM applications, agents, embeddings, and organization-wide AI policies. Custom guardrails can be connected through webhooks. Portkey’s hosted plans include guardrails; model-provider charges and enterprise features may cost extra.

Features

  • Runs input and output guardrails on LLM requests
  • Detects prompt injections, PII leaks, hallucinations, and harmful content
  • Routes, blocks, retries, or falls back when checks fail
  • Supports deterministic checks such as JSON validation and RegEx patterns
  • Connects custom guardrails through webhook calls
  • Applies guardrails to embedding requests
  • Shows verdicts, latency, and pass/fail status in logs
  • Enforces organization-wide policies across teams and models

Use cases

  • Block prompt injections before requests reach a model
  • Redact sensitive information from AI inputs and outputs
  • Validate structured responses before sending them to users
  • Route failed or risky requests to another model or workflow
  • Monitor guardrail violations across enterprise AI applications
  • Protect embedding pipelines from sensitive or invalid data

Pros

    Cons

      Pricing

      Starting price
      $49/month
      Pricing checked
      2026-09-19

      Free Forever

      Free Forever

      • 10k recorded logs per month
      • AI Gateway with fallbacks, load balancing, and retries
      • Deterministic Guardrails
      • 3 Prompt Templates
      • Community Support

      Production

      $49/month

      • 100k recorded logs per month
      • LLM & Partner Guardrails
      • Unlimited Prompt Templates
      • Role-Based Access Control
      • Production Support

      Enterprise

      Custom Pricing

      • Custom Guardrail Hooks
      • Advanced Evaluation Templates
      • Custom retention periods
      • SSO and granular budget and rate limits
      • Private cloud, VPC hosting, and advanced compliance
      Official website