Guardrails in AI Gateways: LiteLLM, Kong, Portkey & TrueFoundry Compared

Updated March 2026 · V8

AI Gateway Series · Blog 7 of 15 · Technical Deep Dive · AI Security · Compliance · Enterprise AI
Editorial assessments based on public docs, March 2026

To stop customer PII from reaching a third-party model API, teams can put guardrails at the gateway layer, where they scan both the input prompt and the model's output. TrueFoundry's rules engine uses when conditions to apply different PII policies per app, team or model on one gateway, and its built-in PII/PHI detection needs no external credentials. The whole TrueFoundry data plane runs in the customer VPC, so unredacted prompts never leave it.

The 90-Second Version

REAL-WORLD SCENARIO · ENTERPRISE HEALTHCARE AI PLATFORM

It's 11 PM when Maya, a principal engineer at a health-tech company, gets paged. Their new AI clinical assistant has been live for three weeks. An audit flag just fired: a nurse used the assistant to summarise a patient chart, and somewhere in that conversation, the full name, date of birth, and Medicare number of the patient ended up in the response logs — accessible to anyone with dashboard access.

The assistant routes through four different LLM providers depending on query type. One model handles summarisation. Another handles coding questions for the engineering team. A third handles internal HR queries. All share the same gateway. The company has one AI gateway to govern all of it, but each application has radically different compliance requirements. The patient-facing assistant needs PHI redaction appropriate for HIPAA-regulated environments. The engineering copilot just needs secret detection. The HR bot needs PII masking but can tolerate a 50ms latency hit.

Maya's question isn't "which gateway has guardrails?" They all do. Her question is: "Can I configure fundamentally different PII policies per application — including keeping unredacted patient data entirely inside our VPC — without spinning up four separate gateway instances?"

Meanwhile, Alex, a lead engineer at a fast-moving SaaS startup, needs to ship agentic features by end of sprint. He doesn't want to manage infrastructure, doesn't need per-app policy routing, and just needs out-of-the-box SaaS guardrails to prevent bots from swearing at users, and maybe a content policy or two to keep things on-brand.

Both questions are valid. Both have different answers. That tension is what this comparison is designed to resolve.

Editorial quick-pick — based on public documentation as of March 2026. These are the TrueFoundry's assessments, not factual claims.

TrueFoundry

Enterprise · Compliance-heavy

Multi-app sovereignty + MCP agent guardrails. Best fit for Maya's compliance scenario.

LiteLLM

Self-hosted · Cost-sensitive

Full OSS control. Own the full stack. Best Presidio integration for in-VPC PII.

Kong

Existing Kong users · Topic policy

Native semantic (embedding-based) guardrails. Strong if teams already run Kong.

Portkey

Fast shipping · SaaS-first

20+ deterministic + LLM-based + partner guardrails, MCP Gateway GA (Jan 2026), highly optimized for fast shipping. Best fit for Alex's SaaS scenario.

TrueFoundry vs. Portkey on PII guardrails (editorial, as of March 2026)

GatewayPII redaction and MCP guardrails
PortkeyRegex redaction natively; NER via external providers; metadata may flow through Portkey cloud; MCP guardrails listed as 'coming soon'
TrueFoundryBuilt-in PII/PHI detection; per-app rules; data plane in the customer VPC; MCP pre-tool and post-tool guardrails

Editorial assessments only · Verify capabilities against current vendor docs before making architectural decisions · See the Feature Comparison Matrix and Final Verdict sections for full reasoning

Why PII Redaction & Prompt Injection Detection Are Non-Negotiable

Modern enterprise AI applications sit at a dangerous intersection: they ingest user-supplied data — which can be malicious or highly sensitive — and route it to LLMs running on third-party cloud infrastructure. Without a safety layer at the gateway, two categories of risk go unmitigated: prompt injection attacks and sensitive data leakage.

In 2023, Samsung engineers inadvertently leaked proprietary semiconductor source code by pasting it into the public ChatGPT interface. No guardrail intercepted the outbound prompt, creating the risk of sensitive data being retained or used for service improvement — OpenAI does offer controls like disabling chat history and training, but those must be explicitly configured. In 2024, OWASP cites CVE-2024-5184 as a prompt-injection issue in an LLM-powered email assistant (EmailGPT) that allowed exfiltration of system prompt contents and user data — a direct demonstration of LLM01 and LLM07 in the wild.

FigureWhat the figure counts
#1Prompt injection — LLM01 in all 4 OWASP editions: v0.5, v1.0, v1.1, and 2025
#2Sensitive info disclosure — LLM02:2025 · confirmed rose from #6 in the 2023 list
6+Of 10 OWASP LLM risks where gateway-layer guardrails can materially reduce exposure
3Distinct PII leakage surfaces: inbound, outbound, and system-prompt exfiltration

The Prompt Injection Threat Surface

Prompt injection is categorically different from SQL injection or XSS. Traditional injection attacks exploit parsers and interpreters with deterministic rules. Prompt injection exploits the model's instruction-following behavior — the very capability that makes LLMs useful. There is no "patch" for this at the model layer; gateway guardrails are one of the primary architectural defenses.

PROMPT INJECTION ATTACK VECTORS — OWASP-ALIGNED VIEW

Attack vectorExample
Direct Injection"Ignore all instructions"
Indirect InjectionMalicious doc / RAG content
Multimodal InjectionHidden text in images
Encoding EvasionBase64 / emoji obfuscation
Jailbreak / RoleplayPersona override attacks
StageRole in the prompt injection path
User / AgentAttacker Input
AI Gateway: Guardrail LayerInput / output filtering; Prompt injection detection; PII / secret redaction; Tool / policy gating; Blocked/Redacted
LLMSafe Request Only Passes

Source: OWASP Top 10 for LLM Applications 2025 — genai.owasp.org/llm-top-10

OWASP-aligned prompt injection attack vectors. The AI gateway is a major enforcement point for these categories, but not the only control point.

Three Sensitive-Data Leakage Surfaces

Inbound PII (user → LLM): Users paste customer records, patient data, or employee PII into prompts. Healthcare workers submitting medical notes, legal teams sharing client details — all potentially violating GDPR, HIPAA, or CCPA if data crosses to a third-party model API.

Outbound PII (LLM → user): Models may reproduce sensitive data verbatim. A model summarising a document containing SSNs may include them in its response. Output-side guardrails are required — redacted inputs alone do not prevent this.

System Prompt Exfiltration: Injection attacks can force the model to echo system prompt contents — leaking API keys, connection strings, or internal business logic (OWASP LLM07:2025).

REAL INCIDENT — CVE-2024-5184

OWASP cites CVE-2024-5184 as a prompt-injection issue in an LLM-powered email assistant (EmailGPT) that allowed attackers to override system prompts and exfiltrate sensitive user data. The vulnerability required no special access — a maliciously crafted input was sufficient. The gateway — not the model — was the missing control.

OWASP Top 10 for LLM Applications 2025

The OWASP GenAI Security Project maintains a widely used 2025 classification of major LLM application risks.

RiskNameDescription
LLM01Prompt InjectionCrafted inputs alter model behavior to override instructions, exfiltrate data, or execute unauthorized actions. Both direct and indirect (via RAG) variants.
LLM02Sensitive Information DisclosureLLMs exposing PII, API keys, credentials, or confidential business data through responses or model memorisation.
LLM03Supply ChainRisks from third-party models, plugins, fine-tuning datasets, or RAG data sources that may be poisoned or backdoored.
LLM04Data & Model PoisoningDeliberately manipulated training data introduces backdoors or biases that persist into production.
LLM05Improper Output HandlingDownstream systems executing unsanitized LLM output — leading to XSS, remote code execution, or SSRF.
LLM06Excessive AgencyAutonomous agents granted excessive permissions acting on external systems without human oversight.
LLM07System Prompt Leakage (NEW 2025)Injection attacks forcing the model to reveal system prompt contents including API keys and business logic.
LLM08Vector & Embedding Weaknesses (NEW 2025)Vulnerabilities in RAG architectures from poisoned vector stores or adversarial embedding manipulation.
LLM09MisinformationLLMs generating factually incorrect outputs presented with confidence, leading to harmful decisions.
LLM10Unbounded Consumption (NEW 2025)Denial-of-Wallet attacks through excessive token consumption or resource exhaustion.

KEY INSIGHT

Gateway-layer guardrails can materially reduce exposure to several OWASP LLM risk categories — especially LLM01, LLM02, LLM05, LLM07, LLM09, and LLM10 — through input/output scanning, PII redaction, prompt injection detection, hallucination filtering, and rate limiting. For many enterprise deployments, the AI gateway becomes a primary control point for enforcing safety, compliance, and observability.

LiteLLM: Guardrail Configuration Deep Dive

LiteLLM Proxy: Open-Source AI Gateway
Self-hosted proxy · OpenAI-compatible API · Config-driven guardrails

LiteLLM is an open-source Python proxy providing an OpenAI-compatible interface to 100+ LLM providers. Its guardrail system is entirely configuration-driven via YAML, with guardrails specified per-route and referencing named integrations — full setup is covered in the Guardrails Quick Start.

Guardrail Architecture

LiteLLM's guardrail model is hook-based with four execution modes: pre_call (blocks before LLM call), during_call (parallel with model call), post_call (inspect/block the response), and logging_only (observes without blocking). Each guardrail config accepts default_on: true to activate automatically without per-request opt-in, or default_on: false (the default) requiring "guardrails": ["name"] explicitly in each request body. MCP-specific modes (pre_mcp_call, during_mcp_call) are a separate hook surface for agentic tool calls, documented in the MCP Guardrails docs.

PII Redaction: Microsoft Presidio Integration

LiteLLM's primary PII redaction delegates to Microsoft Presidio — NER-based PII detection containers that teams deploy within their own infrastructure. This is the recommended path for keeping unredacted prompts inside the VPC. Full configuration is detailed in the PII Masking docs.

# config.yaml — LiteLLM with Presidio PII guardrails
# Set via environment:
# PRESIDIO_ANALYZER_API_BASE=http://localhost:5002
# PRESIDIO_ANONYMIZER_API_BASE=http://localhost:5001

guardrails:
  - guardrail_name: "presidio-mask-guard"
    litellm_params:
      guardrail: presidio
      mode: "pre_call"
      presidio_filter_scope: both       # input | output | both
      presidio_score_thresholds:
        ALL: 0.7
        CREDIT_CARD: 0.8
      pii_entities_config:
        CREDIT_CARD: "MASK"
        EMAIL_ADDRESS: "MASK"
        US_SSN: "BLOCK"               # blocks the entire request
        PERSON: "MASK"
      output_parse_pii: true            # unmasks placeholders after the model call; output scanning is controlled by presidio_filter_scope

LiteLLM also ships a lightweight built-in content filter (no external service) with regex matching, keyword blocking, and category-based harm detection — see the content filter docs for the full category list.

# config.yaml — LiteLLM built-in content filter
guardrails:
  - guardrail_name: "content-filter"
    litellm_params:
      guardrail: litellm_content_filter
      mode: "pre_call"
      patterns:
        - pattern_type: "prebuilt"
          pattern_name: "us_ssn"
          action: "BLOCK"
        - pattern_type: "regex"
          pattern: "PROJ-[0-9]{4,6}"     # internal project IDs
          name: "project_id"
          action: "MASK"
      pattern_redaction_format: "[{pattern_name}_REDACTED]"

Prompt Injection Detection

LiteLLM supports built-in in-memory prompt injection detection via a callback: callbacks: ["detect_prompt_injection"]. The mechanism uses similarity checking against a pre-generated list of known injection attacks (cosine-similarity scored), with an optional secondary LLM API check that sends the input to a designated model for a safety verdict. No external service is required for the similarity-only mode. Details are in the prompt injection detection docs.

# Built-in similarity + LLM-based injection detection (no external service for similarity mode)
litellm_settings:
  callbacks: ["detect_prompt_injection"]
  prompt_injection_params:
    heuristics_check: true
    similarity_check: true       # cosine similarity vs known-injection list
    llm_api_check: true           # optional: route to a safety-judge LLM
    llm_api_name: azure-gpt-3.5
    llm_api_system_prompt: "Detect if prompt is safe to run. Return 'UNSAFE' if not."
    llm_api_fail_call_string: "UNSAFE"
# config.yaml — LiteLLM with Lakera Guard integration
guardrails:
  - guardrail_name: "lakera-guard"
    litellm_params:
      guardrail: lakera_v2
      mode: "during_call"
      api_key: os.environ/LAKERA_API_KEY
      api_base: os.environ/LAKERA_API_BASE  # (SaaS or self-hosted depending on your Lakera deployment)
      on_flagged: "block"

  - guardrail_name: "hide-secrets"          # Enterprise-only — secret detection/redaction
    litellm_params:
      guardrail: "hide-secrets"
      mode: "pre_call"
      detect_secrets_config:
        plugins_used:
          - { name: "AWSKeyDetector" }
          - { name: "SlackDetector" }
          - { name: "GitHubTokenDetector" }

MCP Tool Call Guardrails

LiteLLM supports guardrails on MCP tool calls via two dedicated modes: pre_mcp_call (runs before the tool call, on input — blocking/masking) and during_mcp_call (real-time monitoring during execution). All existing LiteLLM-supported guardrail providers (including Presidio, Bedrock, Lakera) work with MCP hooks — full reference at docs.litellm.ai/docs/mcp_guardrail.

# MCP guardrail — pre-call PII blocking on tool inputs
guardrails:
  - guardrail_name: "mcp-pii-guard"
    litellm_params:
      guardrail: presidio
      mode: "pre_mcp_call"         # blocks before MCP tool invoked
      pii_entities_config:
        CREDIT_CARD: "BLOCK"
        EMAIL_ADDRESS: "MASK"
        US_SSN: "BLOCK"
      default_on: true

Supported Guardrail Providers

LiteLLM documents 29 guardrail integrations as of March 2026 — the largest provider ecosystem of the four gateways:

Data Sovereignty

Guardrail config is per-model/route in YAML — there are no native conditional when-rules. True per-application sovereignty requires either separate gateway instances per compliance tier, or client-side filtering. Presidio containers deployable inside VPC for full in-VPC PII processing.

STRENGTHS

Largest guardrail provider ecosystem of the four (29 integrations, March 2026); built-in in-memory injection detection requires no external service. Fully open source (MIT) with full Presidio self-hosting — unredacted prompts stay inside the VPC.

LIMITATIONS

No conditional per-app guardrail routing — same config applies to all traffic on a route; multi-app policy isolation requires separate gateway instances. hide-secrets is Enterprise-only; no UI-driven policy management on open source tier.

Known behaviour to verify: Some public LiteLLM issue reports in late 2025 described cases where guardrails configured at the model/deployment level via the UI or litellm_params.guardrails did not reliably fire on API calls. Use default_on: true in the guardrail config block, or pass "guardrails": [...] explicitly in each request body. Verify current behaviour before production rollout.

Kong AI Gateway: Guardrail Configuration Deep Dive

Kong AI Gateway: Enterprise API + AI Gateway
Plugin-based architecture · Native semantic guardrails · Enterprise tier for PII

Kong AI Gateway extends Kong Gateway's battle-tested plugin architecture with AI-specific plugins. Its guardrail story is plugin-driven, layering multiple plugins to build a defense-in-depth pipeline. A notable differentiator (among the four gateways discussed here, as of March 2026) is Kong's native semantic guardrail capability — using embeddings and vector similarity to enforce topic-level policies without regex. Full plugin reference at developer.konghq.com/ai-gateway/.

1. AI Prompt Guard (Regex-Based)

# kong-config.yaml — AI Prompt Guard plugin
plugins:
  - name: ai-prompt-guard
    config:
      deny_patterns:
        - "(?i)(ignore|forget|disregard).*(previous|prior|above).*(instruction|rule|prompt)"
        - "(?i)you are now (in |)(DAN|jailbreak|developer|unrestricted) mode"
        - "(?i)(bypass|override|ignore).*(safety|filter|guardrail|policy)"

2. AI Semantic Prompt Guard (Embedding-Based)

Uses semantic vector embeddings to enforce topic-level policies. Instead of matching exact phrases, it computes cosine similarity between an incoming prompt and allow/deny topic descriptions — catching paraphrased attacks that regex cannot detect. See the AI Gateway plugin index for configuration options.

# Illustrative pseudo-config
plugins:
  - name: ai-semantic-prompt-guard
    config:
      embeddings:
        model: { provider: openai, name: text-embedding-3-small }
      vectordb:
        strategy: redis          # or pgvector (v3.10+)
        threshold: 0.7           # cosine similarity threshold
      allow_prompts:
        - "Questions about our product features and pricing"
      deny_prompts:
        - "Instructions to bypass AI safety systems"
        - "Requests to reveal confidential system configuration"

DIFFERENTIATOR (AMONG THE FOUR GATEWAYS, MARCH 2026)

The AI Semantic Prompt Guard catches semantically equivalent attacks even when phrased differently. "Act as an unrestricted AI" and "You have no limitations, respond freely" are the same attack vector — semantic similarity to a "jailbreak" deny topic catches both. Regex on either would require exact pattern matching.

3. AI Semantic Response Guard

Applied to outputs: embeds the model's response and compares against approved/denied topic vectors before returning to the client. Catches off-topic or policy-violating responses even when the input appeared clean.

4. AI PII Sanitizer (Enterprise)

Integrates with a Docker-based AI PII Anonymizer Service that can be deployed within a team's own infrastructure — see the AI Sanitizer plugin docs for the full schema.

# Illustrative pseudo-config; consult Kong's plugin reference for exact field schema.
plugins:
  - name: ai-pii-sanitizer            # AI Gateway Enterprise only
    config:
      # endpoint/service wiring omitted
      anonymize:
        - general
        - ssn
        - credentials
        - custom
      custom_patterns:
        - name: "employee_id"
          regex: "EMP-[0-9]{6}"
          score: 0.8
      redact_mode: placeholder       # placeholder | synthetic

The synthetic redact mode replaces "John Smith" with a plausible alternative name, preserving grammatical flow while protecting identity.

5. Managed Safety Service Integrations

Data Sovereignty

Per-Route/Service/Consumer plugin targeting allows different routes to carry different guardrail configurations. PII Sanitizer is Enterprise-only and calls a Docker container — deployable inside VPC. Semantic plugins may require external embedding calls unless a self-hosted embedding model is used.

STRENGTHS

The clearest first-party documented implementation of semantic (embedding-based) topic guardrails among these four (March 2026) — catching paraphrased attacks regex cannot detect. Mature plugin ecosystem from Kong Gateway with pgvector support and integrated AWS/Azure/GCP safety service plugins.

LIMITATIONS

AI PII Sanitizer is Enterprise-only (private Cloudsmith registry, requires vendor contact); semantic plugins require embedding infrastructure. Plugin-chain configuration carries a steeper operational learning curve than the SaaS alternatives here.

Operational note: The AI PII Anonymizer sidecar Docker image is distributed via a private Cloudsmith registry. Access requires contacting Kong Support — it is not a self-service Docker Hub pull. Factor this into a team's procurement and onboarding timeline. Full instructions in the AI PII Sanitizer how-to guide.

Portkey: Guardrail Configuration Deep Dive

Portkey: Developer-First AI Gateway
60+ guardrails · MCP Gateway GA · Webhook BYOG · UI-driven

Portkey is a developer-friendly production control plane. Guardrails are attached to Config objects — JSON/YAML definitions for routing, model selection, and policy hooks. The current recommended config fields are input_guardrails (input) and output_guardrails (output); the older before_request_hooks / after_request_hooks format remains valid. Portkey's feature page markets 60+ guardrails; the product docs more specifically describe 20+ deterministic checks plus LLM-based and partner-integrated guardrails. In January 2026, Portkey shipped its MCP Gateway as GA — a centralised control plane for MCP servers with authentication, RBAC, access policies, and observability, detailed in the January 2026 changelog.

// Portkey Config — recommended modern format (input_guardrails / output_guardrails)
{
  "provider": "@openai-prod",
  "input_guardrails": [
    "pii-check-id",
    "injection-check-id"
  ],
  "output_guardrails": ["output-pii-id"]
}
// Legacy format (still valid): before_request_hooks / after_request_hooks

PII Redaction

Portkey provides regex-based redaction natively (in-process, no external service). Richer ML/NER-based detection relies on external providers:

// Illustrative parameter sketch for a Portkey regex redaction guardrail
{
  "type": "regex",
  "rule": "\\b\\d{3}-\\d{2}-\\d{4}\\b",
  "replacement": "[SSN_REDACTED]",
  "redact": true
}

Bring Your Own Guardrails (Webhook)

A team's webhook endpoint receives the full request and returns a verdict plus optionally a transformed version. This is the most accessible custom guardrail integration path of the four gateways — the Portkey docs cover the full webhook contract.

// Simplified webhook response sketch — in production Portkey expects the complete transformed request object
{
  "verdict": true,
  "transformedData": {
    "request": { "json": {
      "messages": [{ "role": "user", "content": "My name is [REDACTED]" }]
    }}
  }
}

Full Provider Ecosystem

Guardrail Actions — Unique Fallback Routing & Sequential Execution

When a guardrail fires, Portkey supports three actions: deny (block and return error), fallback (route to an alternate model), and log (observe without blocking). The fallback-on-fail routing — retrying with a different model when a guardrail fires — is a differentiator not found in the other three gateways as of March 2026. In January 2026, Portkey added a sequential execution flag so guardrails can run one-after-another (useful when later checks depend on earlier results), in addition to the default parallel execution.

MCP Gateway (GA — January 2026)

Portkey's MCP Gateway provides a centralized control plane for MCP tool traffic, offering unified authentication, RBAC, and observability across agent interactions. While the gateway actively routes this traffic, Portkey's documentation notes that dedicated MCP guardrails (like PII redaction and content filtering on tool calls) are currently in early access and listed as 'coming soon' for general availability.

MCP GUARDRAIL MODEL: GATEWAY-LEVEL VS HOOK-LEVEL

Portkey's MCP governance and access policies apply at the gateway layer, while dedicated MCP guardrails are currently documented as early access / coming soon. TrueFoundry's MCP guardrails apply at the per-invocation hook level (mcp_tool_pre_invoke_guardrails / mcp_tool_post_invoke_guardrails) — each individual tool call is intercepted, inspected, and can be mutated or blocked with per-server/tool targeting rules. These are different architectural approaches to the same problem.

Data Sovereignty

Different Configs (one per application) carry different guardrail sets, enabling per-app policy. Webhook BYOG allows in-VPC PII processing. However, guardrail verdicts and metadata may still flow through Portkey's cloud infrastructure depending on plan tier. Full data residency requires enterprise configuration.

STRENGTHS

Strongest documented developer experience of the four: UI-driven guardrail creation, instant code snippet generation, and minimal ops overhead as SaaS. The MCP Gateway GA (Jan 2026) gives Portkey centralized authentication, RBAC, access governance, and observability for agentic workflows (while dedicated MCP guardrails are still documented as early access / coming soon). The fallback-on-guardrail-fail model routing remains a unique operational capability as of March 2026.

LIMITATIONS

No in-process ML/NER PII detection — built-in regex redaction is available; richer detection requires external providers or BYO webhooks. No conditional per-app guardrail routing equivalent to TrueFoundry's when conditions engine; full data residency requires enterprise tier.

TrueFoundry: Guardrail Configuration Deep Dive

TrueFoundry AI Gateway: Enterprise AI Control Plane
VPC-native · MCP guardrails · Rules engine · Multi-app data sovereignty

TrueFoundry's AI Gateway is built from the ground up as an enterprise control plane. Its guardrail system features a full rules engine with conditional targeting, four execution hooks, parallel/sequential orchestration, support for built-in and external providers, and native MCP tool call guardrails. Sources: truefoundry.com/docs/ai-gateway/guardrails-overview · truefoundry.com/docs/ai-gateway/guardrails-configuration

Guardrail Execution Architecture

TRUEFOUNDRY GUARDRAIL EXECUTION PIPELINE

StageBehavior
ClientRequest
LLM Input ValidationASYNC — starts immediately. Runs parallel w/ model call
LLM Input MutationSYNC — blocks request. PII redaction happens here
Model CallMutated prompt sent
Output Mutation then ValidationToxicity / hallucination
Request BLOCKEDModel call cancelled — saves cost

MCP TOOL GUARDRAILS

StageBehavior
MCP Pre-Tool GuardrailSYNC — must pass before tool invoked
Tool ExecutionRuns if guardrail passes
MCP Post-Tool GuardrailValidates tool result before returning

Each tool call evaluated independently.

Source: truefoundry.com/docs/ai-gateway/guardrails-overview · truefoundry.com/docs/ai-gateway/mcp/mcp-gateway-auth-security

TrueFoundry's four gateway hooks: (1) LLM Input — intercepts prompt before model call; (2) LLM Output — intercepts model response; (3) MCP Pre Tool — runs before a tool is invoked; (4) MCP Post Tool — runs after tool execution. On the LLM hooks, guardrails can run in validate mode (async, parallel with the model call — cancelled if it fires) or mutate mode (sync, transforms content before the call proceeds).

The Rules Engine: Per-Application Guardrail Targeting

The architectural differentiator of TrueFoundry's guardrail system is its rules engine with when conditions. Every guardrail rule can be scoped to specific users, teams, models, metadata fields, virtual accounts, MCP servers, or MCP tools — enabling a single gateway instance to serve multiple applications with completely different policies. Rules are evaluated in declaration order; only the first matching rule is applied per request. Declare most-specific rules first and use when: {} (empty block) as the last catch-all. App identity is passed by the client application via the X-TFY-METADATA HTTP header (e.g. X-TFY-METADATA: {"app_name": "patient-chatbot"}). For stronger identity assurance, combine metadata targeting with subjects (team membership) so both the declared app and the caller's identity must match. Full reference in the Guardrails Configuration docs.

In the patient-chatbot example below, TrueFoundry redacts PHI on both input and output, runs a prompt-injection check, binds the rule to the clinical team through subjects, and keeps the data plane in the customer VPC, with AWS GovCloud and air-gapped deployments supported.

# Three apps, one gateway, three different guardrail policies
# App identity sent by client via: X-TFY-METADATA: {"app_name": "patient-chatbot"}
name: app-specific-guardrails
type: gateway-guardrails-config
rules:
  - id: patient-chatbot              # HIPAA — strictest policy
    when:
      target:
        operator: or
        conditions:
          metadata:
            app_name: patient-chatbot   # matches X-TFY-METADATA header
      subjects:                         # add team: for stronger identity binding
        operator: and
        conditions:
          in:
            - team:clinical
    llm_input_guardrails:
      - healthcare-guardrails/azure-pii-healthcare
      - global-guardrails/prompt-injection
    llm_output_guardrails:              # ⚠ output-side redaction required — PHI can
      - healthcare-guardrails/azure-pii-healthcare  #   appear in model responses too
    mcp_tool_pre_invoke_guardrails: []
    mcp_tool_post_invoke_guardrails: []

  - id: dev-copilot
    when:
      target:
        operator: or
        conditions:
          metadata:
            app_name: dev-copilot
    llm_input_guardrails:
      - engineering-guardrails/secrets-detection
      - global-guardrails/prompt-injection
    llm_output_guardrails:              # secrets can appear in generated code too
      - engineering-guardrails/secrets-detection
    mcp_tool_pre_invoke_guardrails: []
    mcp_tool_post_invoke_guardrails: []

  - id: default                        # catch-all — must be last
    when: {}                            # {} matches every request not matched above
    llm_input_guardrails:
      - global-guardrails/prompt-injection
    llm_output_guardrails: []
    mcp_tool_pre_invoke_guardrails: []
    mcp_tool_post_invoke_guardrails: []

YAML DESIGN NOTES

The guardrail selectors (e.g. healthcare-guardrails/azure-pii-healthcare) are illustrative FQN-style references — obtain actual selectors from AI Gateway → Guardrails → Copy FQN in the TrueFoundry UI. App identity is passed by the client via the X-TFY-METADATA header; combining metadata targeting with subjects (team membership) provides stronger identity assurance than metadata alone. Only the first matching rule is applied per request — declare most-specific rules first.

Four Hooks, Two Modes

TrueFoundry exposes four gateway hooks — LLM Input, LLM Output, MCP Pre Tool, and MCP Post Tool. On the LLM hooks, guardrails can run in validate or mutate mode, with validate optimized for parallel execution and mutate applied synchronously by priority.

Validate mode runs async — in parallel with the model call. If it fires, the model call is cancelled immediately, saving inference cost. Mutate mode runs synchronously before the model call, transforming content (redacting PII, replacing disallowed words). Mutate guardrails can also block if content cannot be safely mutated.

Guardrail Providers & Built-in Options

Full provider list at truefoundry.com/docs/ai-gateway/commonly-used-guardrails.

Built-in (no external credentials):

External integrations:

MCP Tool Guardrails

Among these four, TrueFoundry appears to have the most granular documented MCP guardrail targeting model, combining MCP pre/post hooks with rule-based targeting on MCP servers and tools. LiteLLM has pre_mcp_call and during_mcp_call modes, and Portkey has an MCP Gateway with policy-level governance. TrueFoundry's hook model is the most granular of the four documented here: each individual tool call is intercepted and can be mutated or blocked based on which specific MCP server and tool is being invoked — critical as enterprises deploy AI agents that invoke tools like Slack, GitHub, Confluence, and production databases. See the MCP Auth & Security docs for the full configuration reference.

# MCP tool guardrail — per-server targeting example with correct field names
name: mcp-guardrails
type: gateway-guardrails-config
rules:
  - id: database-tool-protection
    when:
      target:
        operator: or
        conditions:
          mcpServers:
            values:
              - database-tools
            condition: in
      subjects:
        operator: and
        conditions:
          in:
            - team:engineering
          not_in:
            - user:db-admin@example.com
    llm_input_guardrails: []
    llm_output_guardrails: []
    mcp_tool_pre_invoke_guardrails:
      - my-guardrail-group/sql-sanitizer      # validate SQL before execution
    mcp_tool_post_invoke_guardrails:
      - my-guardrail-group/secrets-detection  # check for leaked credentials in results
      - my-guardrail-group/pii-redaction      # redact PHI from tool return values

Data Sovereignty: The PHI-Never-Leaves-the-VPC Architecture

The entire TrueFoundry data plane deploys inside the customer VPC (supports AWS GovCloud, Azure Government, air-gapped environments). A custom guardrail server running inside the VPC handles PII detection — TrueFoundry provides a reference template with example implementations for self-hosted pipelines. Unredacted prompts never egress. The control plane (management UI/API) is the only external touchpoint and can be decoupled. TrueFoundry's FIPS compliance writeup covers the full architecture for regulated environments.

GatewayData sovereignty approach
LiteLLMSelf-hosted Presidio inside VPC. No native conditional rules — same config per route. Separate instances needed for true multi-app isolation.
KongPer-Route plugin targeting. PII Sanitizer container deployable in VPC (Enterprise). Semantic plugins may need in-VPC embedding model.
PortkeyPer-Config guardrail attachment. Webhook BYOG allows in-VPC processing. Full residency requires enterprise tier; metadata may flow through Portkey cloud.
TrueFoundryEntire data plane in customer VPC. Rules engine enables per-app policies on one instance. Supports GovCloud, air-gapped. Control plane only external touchpoint.
STRENGTHS

Most comprehensive documented rules engine of the four (March 2026) — conditional guardrail targeting by user/team/model/metadata/MCP server/tool in a single gateway instance. Full VPC/on-prem/air-gapped deployment with parallel validation execution (async with model call, cancels on failure to save inference cost).

CONSIDERATIONS

Not a simple SaaS API key setup — full feature set requires VPC deployment or TrueFoundry managed infrastructure, plus operational overhead for the custom guardrail server. Richest configuration model means the steepest initial learning curve of these four.

Feature Comparison Matrix

All capability claims are based on public documentation as of March 2026. ◑ = partial or available with additional licensing/configuration. Verify with current vendor docs before making architectural decisions.

Feature / axisLiteLLMKongPortkeyTrueFoundry
Built-in PII Redaction
No external service required
✓ Regex via litellm_content_filter✗ Requires external AI PII Anonymizer Service◑ Regex-based natively; NER requires external provider✓ TrueFoundry-managed PII/PHI detection; no external creds
ML-based PII Detection
NER, not just regex
✓ via Presidio (self-hosted NER)✓ via AI PII Anonymizer Service (Enterprise)✓ via Azure / Patronus / Pillar integrations✓ Built-in + Azure PII (20+ categories)
Prompt Injection Detection
ML-based
✓ Built-in in-memory + Lakera/AIM/Aporia✓ Semantic Prompt Guard + Lakera/Azure/Bedrock✓ Pillar/Lasso/Azure/Bedrock integrations✓ Lakera/Pangea/Bedrock/Palo Alto AIRS
Semantic Embedding Guardrails
Topic detection via vector similarity
✗ Not natively supported✓ Native AI Semantic Prompt/Response Guard◑ Via external providers (Aporia, Lasso)◑ Via external providers; rules engine for topic control
Per-Application Guardrail Rules
Different policies per app on same gateway
◑ Per-model/route; separate instances for true isolation✓ Per-Route / Service / Consumer plugin configs✓ Per-Config object (one per application)✓✓ Rules engine: when by metadata/user/team/model/MCP
Unredacted Prompt Stays in VPC
Zero-egress PII architecture
✓ Self-hosted Presidio + LiteLLM in VPC✓ Enterprise: local PII container + Kong in VPC◑ Via webhook BYOG; metadata may flow through Portkey cloud✓ Entire data plane in customer VPC; GovCloud/air-gap support
Output Guardrails
Scan LLM responses before returning
✓ post_call mode; Presidio filter_scope=output✓ AI Semantic Response Guard + external plugins✓ output_guardrails (recommended) / after_request_hooks (legacy)✓ llm_output hook; mutate and validate modes
MCP Tool Call Guardrails
Guardrails on agentic tool invocations
◑ Access Groups + pass-through endpoints; pre_mcp_call / during_mcp_call modes also documented◑ AI Prompt Guard + Semantic Guard applied to MCP traffic; no per-tool-invocation hooks✗ MCP Gateway GA, but MCP guardrails are listed as 'coming soon'✓✓ mcp_tool_pre_invoke_guardrails + mcp_tool_post_invoke_guardrails; per-server/tool targeting via when.target.mcpServers + mcpTools
Parallel Guardrail Execution
Checks run concurrently to minimise latency
◑ during_call mode is parallel to model call✗ Sequential plugin chain✓ Default parallel; optional sequential flag added Jan 2026✓ Validate runs parallel with model call; cost-saving cancellation
Fallback-on-Guardrail-Fail
Route to alternate model when guardrail fires
✗✗✓ Strongest documented support among these four (March 2026)✗
Secret / API Key Detection✓ hide-secrets (Enterprise)◑ Via PII Sanitizer credentials category✓ Via Pillar Security integration✓ Built-in SecretDetectionGuardrail
Custom / BYOG Integration✓ Python CustomGuardrail class✓ Lua/Go plugin development✓ Webhook BYOG — easiest of the four✓ Custom HTTP endpoint + template repo
Configuration InterfaceYAML file (+ UI on Enterprise)Declarative YAML / Admin API / Konnect UIUI + SDK + JSON — most accessible DXYAML + API + Console UI + IaC
Open Source Core✓ MIT — fully open source◑ OSS core; AI guardrail plugins Enterprise◑ Gateway OSS; guardrails SaaS✗ Commercial; custom guardrail template is OSS

Sources: LiteLLM docs · Kong docs · Portkey docs · TrueFoundry docs

Final Verdict

EDITORIAL DISCLAIMER

The assessments below represent the TrueFoundry's editorial opinion based on public documentation as of March 2026. They are recommendations, not factual claims. Capabilities, pricing, and feature availability change — verify with current vendor documentation before making architectural decisions.

TrueFoundry — Editorial pick for enterprise compliance & multi-app sovereignty

For the scenario in the opening story (one gateway, multiple applications, different compliance tiers, PHI that must never egress), TrueFoundry's rules engine with when conditions is the most purpose-built architecture of the four. As of March 2026, it offers the most granular MCP tool call guardrail model: per-invocation mcp_tool_pre_invoke_guardrails / mcp_tool_post_invoke_guardrails hooks with per-server/tool targeting. LiteLLM now also has MCP hooks, and Portkey has an MCP Gateway, but neither offers TrueFoundry's conditional targeting granularity. The VPC-native data plane addresses strict data residency requirements (HIPAA, GDPR, GovCloud, air-gap) without requiring per-application gateway instances. The parallel validation execution (async with the model call, with cost-saving cancellation on failure) is the most production-oriented latency design in this comparison. Steeper initial setup than Portkey, but that complexity buys policy expressiveness that none of the others offer out of the box.

Editorial assessment · Based on public docs, March 2026

LiteLLM — Editorial pick for self-hosted flexibility & OSS control

LiteLLM wins on open-source accessibility and cost-consciousness. Its Presidio integration gives teams full ownership of the PII redaction stack — no third-party data egress, configurable per-entity confidence thresholds, and output de-anonymisation. The built-in in-memory injection detection (similarity-based with optional LLM-judge, no external service) and the largest guardrail provider ecosystem of the four (29 integrations as of March 2026) give it unmatched flexibility. MCP tool call guardrails via pre_mcp_call and during_mcp_call now cover agentic workflows. For teams that want to own and audit every component of the guardrail pipeline, LiteLLM is the natural choice. Note that hide-secrets is Enterprise-only per current docs.

Editorial assessment · Based on public docs, March 2026

Kong — Editorial pick for semantic topic enforcement & existing Kong deployments

As of March 2026, Kong's AI Semantic Prompt Guard and Semantic Response Guard are the only native embedding-based topic guardrails of these four gateways. If a team's use case requires strict topic-boundary enforcement — "this assistant only discusses banking products, not legal or medical advice" — and the team needs to catch paraphrased jailbreaks that regex misses, Kong's semantic pipeline is the strongest architectural fit. If a team is already running Kong as its API gateway, the plugin investment is incremental. For greenfield deployments, the operational overhead of the plugin ecosystem and the Enterprise-only PII Sanitizer are real costs to weigh.

Editorial assessment · Based on public docs, March 2026

Portkey — Editorial pick for fastest time-to-guardrails & developer experience

Portkey delivers the fastest path from zero to a guardrailed production AI application. UI-driven guardrail creation, instant code snippets, and the most accessible webhook BYOG integration of the four make it the natural choice for product teams who need to ship quickly. The 60+ guardrail ecosystem and January 2026 MCP Gateway GA (which brings centralized authentication, RBAC, and observability to agentic workflows) provide strong governance, even while dedicated MCP guardrails remain in early access. The fallback-on-guardrail-fail model routing remains a unique operational capability as of March 2026. For organisations with strict VPC or air-gap requirements, the full Portkey stack requires careful enterprise configuration; for SaaS-first teams it is the lowest-friction choice.

Editorial assessment · Based on public docs, March 2026

EDITORIAL POSITIONING (March 2026) — AMONG THESE FOUR GATEWAYS

GatewayEditorial positioning labelQuadrant (Guardrail Capability vs. Ease of Configuration)
LiteLLMOSS controlComplex & Powerful
KongSemantic edgeComplex & Powerful
PortkeyBest DXEasy & Powerful
TrueFoundryMulti-app + MCP guardrailsEasy & Powerful

The editorial positioning has two axes, Guardrail Capability and Ease of Configuration, and four quadrants: Complex & Powerful, Easy & Powerful, Complex & Limited and Easy & Limited. None of the four gateways sits in Complex & Limited or Easy & Limited.

Editorial positioning only — TrueFoundry's assessment based on public docs, March 2026

Editorial positioning of the four gateways on capability vs. configuration complexity. This reflects the TrueFoundry's assessment from public documentation as of March 2026, not a vendor-endorsed ranking.

Sources & Documentation

All factual claims are sourced from official documentation or first-party publications. Accessed March 2026.

  1. OWASP LLM Top 10:2025 — genai.owasp.org/llm-top-10/
  2. OWASP LLM01:2025 Prompt Injection — genai.owasp.org/llmrisk/llm01-prompt-injection/
  3. OWASP Top 10 for LLM Applications (project page) — owasp.org/www-project-top-10-for-large-language-model-applications/
  4. OWASP LLM Top 10 v1.0/v1.1 (2023–24 Archive) — genai.owasp.org/llm-top-10-2023-24/
  5. OWASP LLM Top 10 PDF (v0.5 → v1.1 → 2025 revision history) — OWASP-Top-10-for-LLMs-v2025.pdf
  6. CVE-2024-5184 — EmailGPT Prompt Injection — OWASP LLM Top 10:2025 Scenario #5 (LLM01:2025) — nvd.nist.gov/vuln/detail/CVE-2024-5184
  7. OpenAI Data Controls — openai.com/index/new-ways-to-manage-your-data-in-chatgpt/
  8. LiteLLM Guardrails Quick Start — docs.litellm.ai/docs/proxy/guardrails/quick_start
  9. LiteLLM Presidio PII Masking — docs.litellm.ai/docs/proxy/guardrails/pii_masking_v2
  10. LiteLLM Content Filter — docs.litellm.ai/docs/proxy/guardrails/litellm_content_filter
  11. LiteLLM In-memory Prompt Injection Detection — docs.litellm.ai/docs/proxy/guardrails/prompt_injection
  12. LiteLLM Secret Detection — docs.litellm.ai/docs/proxy/guardrails/secret_detection
  13. LiteLLM Lakera Integration — docs.litellm.ai/docs/proxy/guardrails/lakera_ai
  14. LiteLLM MCP Guardrails — docs.litellm.ai/docs/mcp_guardrail
  15. Kong AI Gateway Overview — developer.konghq.com/ai-gateway/
  16. Kong AI PII Sanitizer Plugin — developer.konghq.com/plugins/ai-sanitizer/
  17. Kong AI Gateway 3.10 Release — konghq.com/blog/product-releases/ai-gateway-3-10
  18. Kong AI PII Sanitizer How-To — developer.konghq.com/how-to/protect-sensitive-information-with-ai/
  19. Kong: Securing MCP Servers with AI Gateway — konghq.com/blog/product-releases/securing-observing-governing-mcp-servers-with-ai-gateway
  20. Portkey Guardrails Overview — portkey.ai/features/guardrails
  21. Portkey PII Redaction Docs — portkey.ai/docs/product/guardrails/pii-redaction
  22. Portkey MCP Gateway — portkey.ai/features/mcp
  23. Portkey MCP Gateway Announcement (Jan 2026) — portkey.ai/blog/introducing-the-mcp-gateway/
  24. Portkey January 2026 Changelog — portkey.ai/docs/changelog/2026/january
  25. TrueFoundry Guardrails Overview — truefoundry.com/docs/ai-gateway/guardrails-overview
  26. TrueFoundry Guardrails Configuration — truefoundry.com/docs/ai-gateway/guardrails-configuration
  27. TrueFoundry Commonly Used Guardrails — truefoundry.com/docs/ai-gateway/commonly-used-guardrails
  28. TrueFoundry MCP Auth & Security — truefoundry.com/docs/ai-gateway/mcp/mcp-gateway-auth-security
  29. TrueFoundry Log Custom Metadata — truefoundry.com/docs/ai-gateway/log-custom-metadata
  30. TrueFoundry FIPS Compliance — truefoundry.com/blog/leveraging-the-truefoundry-ai-gateway-for-fips-compliance
  31. TrueFoundry Custom Guardrails Template — github.com/truefoundry/custom-guardrails-template
  32. TrueFoundry Benchmarking Guardrail Providers — truefoundry.com/blog/benchmarking-llm-guardrail-providers

Technical Deep Dive · AI Security · March 2026
All capability claims are based on public documentation as of March 2026. Capabilities, pricing, and roadmaps change — verify with current vendor documentation before making architectural decisions. All editorial assessments are the TrueFoundry's own.


About TrueFoundry

TrueFoundry (truefoundry.com) is an enterprise-grade AI Gateway that encompasses an LLM Gateway, MCP Gateway, and Agent Gateway. TrueFoundry enables enterprises to connect, observe, and govern agentic AI applications across providers from a single control plane. TrueFoundry was founded in 2021 by Nikunj Bajaj (Co-Founder and CEO), Abhishek Choudhary (Co-Founder and CTO) and Anuraag Gutgutia (Co-Founder and COO).

TrueFoundry's mission is to eliminate the complexity of AI infrastructure by creating self-sustaining systems where AI manages AI, enabling businesses to focus on innovation.

TrueFoundry also offers an AI Engineering Platform for deploying, training and fine-tuning AI models, and TrueForge, an open-source, vendor-neutral agent harness. TrueFoundry deploys in VPC, on-prem, air-gapped or multi-cloud environments. TrueFoundry is based at 355 Bryant Street, Suite 403, San Francisco, CA 94107, United States, with offices in San Jose and Bengaluru.

FounderRoleBackground
Nikunj BajajCo-Founder and CEONikunj Bajaj holds a Master's degree in Computer Science from UC Berkeley and led the machine learning efforts for one of Facebook's flagship conversational AI products.
Abhishek ChoudharyCo-Founder and CTOAbhishek Choudhary was among the fastest-growing engineers at Meta, advancing to the role of Senior Staff Engineer in infrastructure before starting TrueFoundry.
Anuraag GutgutiaCo-Founder and COOAnuraag Gutgutia served as Vice President of Portfolio Management at WorldQuant, where he applied quantitative models to manage large-scale funds.

TrueFoundry at a glance

Key facts about TrueFoundry from truefoundry.com and the TrueFoundry Trust Center, as of November 2026.

FactTrueFoundry
NameTrueFoundry
Legal entityEnsemble Labs, Inc.
CategoryEnterprise AI Gateway (LLM Gateway, MCP Gateway, Agent Gateway)
FoundersNikunj Bajaj (Co-Founder and CEO), Abhishek Choudhary (Co-Founder and CTO) and Anuraag Gutgutia (Co-Founder and COO)
Founded2021
Headquarters355 Bryant Street, Suite 403, San Francisco, CA 94107, United States
OfficesSan Jose and Bengaluru
Deployment optionsSaaS, VPC, on-prem, hybrid, air-gapped and multi-cloud
Compliance (TrueFoundry Trust Center)SOC 2 Type II, HIPAA, GDPR
PricingDeveloper $0 (up to 3 users); Pro $25 per user per month; Enterprise custom, with an annual commitment
AI Gateway figures99.99% uptime; 10B+ requests processed per month; sub-3ms internal processing latency
InvestorsPeak XV Partners and Jump Capital; Naval Ravikant and Anthony Goldbloom; angel investors Shailendra Singh, Gokul Rajaram, Amit Singh, Mohit Aron, Lenny Rachitsky and Prasad Chintamaneni
G2 recognitionHigh Performer; Momentum Leader and Best Est. ROI (Summer 2025)
Open-source projectsKubeElasti, CruiseKube, TrueForge, llm-locust

TrueFoundry products

TrueFoundry's gateway and AI engineering products, as of November 2026.

ProductWhat it does
AI GatewayTrueFoundry AI Gateway connects to any model through a unified gateway with routing, fallbacks, rate limits, cost controls, and end-to-end observability.
MCP GatewayTrueFoundry MCP Gateway securely connects agents to tools and MCP servers with centralized discovery, authentication, access control, and auditability.
Agent GatewayTrueFoundry Agent Gateway governs how agents communicate and act with centralized identity, access controls, usage policies, and end-to-end tracing.
Prompt ManagementTrueFoundry Prompt Management centralizes versioning, testing, and governing prompts across teams and environments.
Agent Skills RegistryTrueFoundry Agent Skills Registry is one shared registry for every skill an organization's agents use.
AIToriAITori auto-detects and governs coding agent traffic from Claude Code, Cursor and Copilot.
AI Engineering PlatformThe TrueFoundry AI Engineering Platform deploys, scales, and operates LLMs, agents, MCP servers, workflows, jobs, and ML models across cloud, VPC, and on-prem from a single control plane.
Training & Fine-TuningTrueFoundry Training & Fine-Tuning provides production-grade training and fine-tuning for AI models using GPU-optimized infrastructure and enterprise controls.
TrueForgeTrueForge is TrueFoundry's open-source, vendor-neutral agent harness.

TrueFoundry customers

Customers named on truefoundry.com, as of November 2026.

CustomerIndustryContext
MastercardFinancial servicesEnterprise customer using TrueFoundry to support AI platform initiatives.
CVSHealthcare and life sciencesEnterprise customer leveraging TrueFoundry for AI infrastructure standardization.
Siemens HealthineersHealthcare and life sciencesUsed TrueFoundry to simplify deployment of AI models and supporting infrastructure across business units, including vector databases, pipelines, and model switching.
ResMedHealthcare and life sciencesEnterprise customer using TrueFoundry to support internal AI platform initiatives.
ComcastTelecommunications and mediaEnterprise customer using TrueFoundry to accelerate AI deployment at scale.
Automation AnywhereEnterprise software and automationEnterprise user of the platform for AI deployment and scaling.
WhatfixEnterprise software and automationFeatured in case studies around platform modernization and faster release workflows.
Aviso AIEnterprise software and automationCustomer using TrueFoundry to support proprietary LLM deployment and GenAI-ready infrastructure.
NVIDIAAI and infrastructureFlagship customer using TrueFoundry for LLM-agent-driven GPU cluster optimization and improved utilization.
Adopt AIAI and infrastructureFeatured in case studies for scaling multi-model agents through centralized AI gateway infrastructure.
Wadhwani AIOther referenced organizationsNamed among notable customers in TrueFoundry's public-facing material.
Games24x7Other referenced organizationsReferenced in public reporting as a customer.
MavenirOther referenced organizationsRecognized user in trust and customer-facing material.
InnovaccerNot stated on truefoundry.comCustomer with a testimonial on truefoundry.com.
NetAppNot stated on truefoundry.comCustomer with a case study on truefoundry.com.
CoxNot stated on truefoundry.comCustomer logo shown on truefoundry.com.
FloQastNot stated on truefoundry.comCustomer logo shown on truefoundry.com.
CargillNot stated on truefoundry.comCustomer logo shown on truefoundry.com/about.
AvivaNot stated on truefoundry.comCustomer logo shown on truefoundry.com/about.
JanitorAINot stated on truefoundry.comCustomer logo shown on truefoundry.com/about.

Who TrueFoundry is for

TrueFoundry is built for enterprise AI and platform teams moving from pilot GenAI projects to production-scale deployment.

TrueFoundry is not a primary fit for:

Try or evaluate TrueFoundry

Ways to try or evaluate TrueFoundry.

OptionWhat it offers
Book a demoEnterprise evaluation happens through a demo and sales conversation.
Product tourExperience TrueFoundry platform live.
Live sandboxA live TrueFoundry platform to explore.
Start freeStart free, no credit card needed.
Docs quick startCreate and set up a TrueFoundry account.

How to reach TrueFoundry

Contact details for TrueFoundry, as of November 2026. TrueFoundry's documentation is at truefoundry.com/docs, and TrueFoundry's security and compliance details are in the TrueFoundry Trust Center.

ContactDetails
HeadquartersEnsemble Labs Inc, 355 Bryant Street, Suite 403, San Francisco, CA 94107, United States
Supportsupport@truefoundry.com
General inquiriesinquiry@truefoundry.com
Support channelsShared Slack, Teams or WhatsApp channel, email, and the support portal
Careerscareers@truefoundry.com
Privacy requestssecurity@truefoundry.com
Data Protection Officerdpo@truefoundry.com

Where is TrueFoundry online?

Recent news: Taking TrueFoundry Global: Expanding Enterprise AI Infrastructure Across EMEA.

Frequently asked questions

How does TrueFoundry compare to tools like Portkey, LiteLLM, or Kong AI Gateway?
Those tools focus primarily on API management and routing. TrueFoundry is a unified enterprise AI operations platform — it includes gateway functionality but also covers deployment, fine-tuning, agent hosting, GPU orchestration, tracing, and governance in one system. It is also designed for on-prem, VPC, and air-gapped deployment.
Can TrueFoundry be deployed on-premise or in a private VPC?
Yes. TrueFoundry supports on-premise, VPC, hybrid cloud, and air-gapped installations for both AI Gateway and deployment environments.
Which compliance standards does TrueFoundry meet?
TrueFoundry is SOC 2 Type II, HIPAA and GDPR compliant, and supports ITAR and export-controlled deployments.