One Guardrail.
Every Model Behind LiteLLM.

The AI security guardrail, powered by LiteLLM's Guardrails framework

Metomic registers as a guardrail inside the LiteLLM AI Gateway, classifying every prompt and response against your own sensitive-data policies, whichever of LiteLLM's 100+ model providers answers the call. One integration, one policy, every model your teams route through LiteLLM.Metomic registers as a guardrail inside LiteLLM, classifying every prompt and response against your own sensitive-data policies, across every model your teams route through it.

Works with any LiteLLM-routed modelNo per-model integration work

Registers in minutes · SOC 2 Type II · AICPA

metomic × litellm ai gatewayVERIFYING
Requests, from any app
AInternal appgoverned
◆Agent workflowgoverned
CCustomer chatbotgoverned
LiteLLM AI Gateway · Metomic guardrail
CLASSIFY · DECIDE · LOG
hook pre_call · guardrail: metomic-guard
sees "…customer card 4929 6600 1122 9021 cvv 341…"
label payment-credentials · high confidence
verdict DENY · blocked before it reached the model
registered guardrailpre_call · during_call · post_callno per-model setup
Any model, same policy
OOpenAIgoverned
AAnthropicgoverned
GGemini, and 100+ moregoverned

Metomic classifies what LiteLLM's guardrail hook sends it against your sensitive data labels, and returns allow, mask, or block, whichever model the request was headed to.

Trusted by security teams at
ZappiJuniZooplaEcoVadisWrapbookOysterCodat
SOC 2 Type II · AICPA★★★★★  4.8 on G2
Inside the integration

One guardrail. Five things Metomic handles for you.

LiteLLM calls your guardrail at whichever hook point you configure. Metomic answers every time, so your security team spends time on policy, not plumbing.

01 · Connect

Register Metomic as a LiteLLM guardrail

Metomic speaks LiteLLM's Generic Guardrail API, so your platform team registers it from the Admin UI, no custom Python class to write or host. Teams who want it defined alongside their own config can instead add Metomic as a named guardrail_name entry under guardrails:.

  • No infrastructure to provision, host, or patch
  • Works with LiteLLM's Generic Guardrail API out of the box
  • Assign it to specific keys, teams, or every request, LiteLLM's own scoping applies
config.yaml · guardrailsCONNECTED
guardrail_name "metomic-guard"
litellm_params
  guardrail metomic
  mode "pre_call"
  api_key os.environ/METOMIC_API_KEY
one entry · every model behind this gateway
02 · Classify

Classify every call against data you defineEarly access

Metomic's content-aware detection reads what LiteLLM's guardrail hook sends it, message text, tool calls, and structured messages, and checks it against your organization's own sensitive data labels: plain language descriptions your security and compliance teams write themselves, not a keyword list somebody maintains by hand.

Correctly classifying sensitive data and tracking when it moves is what Metomic has been mastering for years, not a capability built overnight for one integration.
  • Personalized labels describe what "sensitive" means for your business, in your words
  • Detection covers message text, tool calls, and structured messages at any hook point
  • One label set governs every provider routed through the same LiteLLM deployment
label · payment-credentials
label payment-credentials
covers "any value passed to or returned from a tool
       call that grants access to customer funds or
       identity: card numbers, CVVs, IBANs, bearer
       tokens, API keys, database credentials"
match "…card ending 9021, cvv 341…" found
defined by your team · classified by Metomic
03 · Decide

Mask, block, or allow, at the hook point that fits

On pre_call, Metomic can rewrite the content LiteLLM is about to send, masking sensitive values before the model ever sees them. On during_call, Metomic reliably blocks a bad request in real time. On post_call, Metomic audits the completed response, including streamed output once every chunk has arrived.

  • Masking on pre_call, reliable blocking on during_call, response auditing on post_call
  • Callable per request through LiteLLM's own guardrails parameter
  • One verdict shape, whichever hook point and whichever model answered the call
verdicts · live trafficDECIDING
ALLOW pre_call · support-agent · openai gpt · 0.9s
DENY during_call · card data in request · anthropic claude · 1.1s
ALLOW post_call · response audited · gemini · 1.4s
every verdict logged · nothing left waiting
04 · Scale

Add a model, not an integration

Because Metomic runs as a guardrail inside LiteLLM rather than against any one model's own API, adding a new provider behind the same LiteLLM deployment, swapping one model for another, or routing a new agent through it, needs no new integration work. The guardrail, your labels, and your policy carry over automatically.

  • One policy governs every provider behind the same LiteLLM deployment
  • Teams can select Metomic per request, per key, or per team
  • No vendor-specific plumbing to rebuild as your model mix changes
request · guardrails parameter
POST /v1/chat/completions
model "gpt-6.1-sol"
guardrails ["metomic-guard"]
same guardrail · whichever model the key calls
05 · Prove

Feed every verdict into the record you already keep

Every allow, mask, and block streams to Metomic's audit trail alongside the rest of your agent and MCP activity, so LiteLLM guardrail decisions sit next to everything else your AI governs, not in a separate silo.

  • One record for LiteLLM guardrail verdicts and MCP Gateway activity together
  • Exportable for auditors, regulators, and your board
  • Only findings and metadata retained, source content is inspected in flight
audit · event streamSTREAMING
{ hook: "pre_call", model: "openai/gpt", verdict: "allow" }
{ hook: "during_call", model: "anthropic/claude", verdict: "deny" }
{ hook: "post_call", model: "gemini", verdict: "allow" }
streaming to SIEM · same trail as your MCP Gateway
Why one integration is enough

LiteLLM is the choke point. Metomic governs it once.

LiteLLM already stands between your applications and every model provider they call. Registering Metomic there puts one data security policy in front of all of it.

Any Model, One Policy

OpenAI, Anthropic, Gemini, or any of the 100-plus providers LiteLLM supports, Metomic classifies against the same sensitive data labels, wherever the request ends up.

No Per-Model Integration Work

Metomic registers once, as a guardrail inside LiteLLM's own framework. Adding a model behind the same gateway does not mean adding a new integration.

Mask, Block, or Audit, By Hook Point

Choose pre_call to mask before the model sees anything, during_call to block in real time, or post_call to audit the completed response, down to the request.

See Metomic classify your own LiteLLM traffic

Book a demo and watch Metomic govern real requests through your own LiteLLM deployment, live.

Why it matters

LiteLLM's guardrails framework gives every prompt and response that passes through it a place to be checked, at pre_call, during_call, or post_call, before or after the model is involved. For a team running one gateway in front of dozens of applications and a growing list of model providers, that is the one place a data security policy can actually sit without being rebuilt per model.

A guardrail registered in LiteLLM is only as good as what is classifying on the other end of it. A blanket keyword filter either blocks too much, training people to route around it, or misses the sensitive data that matters because it was never looking for it in the right shape.

Metomic is built to be that classifier, so your security team writes policy instead of maintaining a plugin.

Classification that holds up

A keyword filter denies too much and trains people to route around it. Content-aware detection is what keeps a guardrail usable day to day.

One policy, not one per model

Every new model behind LiteLLM is another surface for sensitive data to leave through, unless the guardrail in front of it is governed the same way as the rest.

The right hook for the job

Masking needs to happen before the model sees anything; blocking needs to be reliable in real time; auditing needs the whole response, not a partial stream.

One record, not a separate silo

Verdicts that stay inside the gateway are invisible to the rest of your security stack. Metomic streams every one into the audit trail you already use.

Deployment

Live before your next security review

Metomic already speaks LiteLLM's guardrails framework. Most teams are watching verdicts the same day they register it.

Step 01 · Connect

Register Metomic as a LiteLLM guardrail

Add Metomic from the Admin UI, or as a named entry under guardrails: in config.yaml, with your Metomic API credentials. Nothing to stand up on your side.

Step 02 · Configure

Define what "sensitive" means to you

Write your own sensitive data labels in plain language, and choose the hook point each use case needs: pre_call to mask, during_call to block, post_call to audit.

Step 03 · Enforce

Call it, then widen enforcement

Name Metomic's guardrail in the requests that need it, or require it for a whole key or team. Every decision is logged from the first request.

Source content is inspected in flight. Only verdicts and findings are retained, for your audit trail. See LiteLLM's own documentation on Guardrails →

FAQ

Questions platform teams ask about the LiteLLM integration

What is LiteLLM, and what are its Guardrails?

LiteLLM is an open-source AI gateway that gives engineering teams one standardized interface for calling over 100 LLM providers. Its guardrails framework lets you attach safety and content-filtering checks to any call that passes through it, registered once in config.yaml and callable from any request.

How does Metomic plug into LiteLLM?

Metomic registers as a guardrail inside LiteLLM's own guardrails framework, either through LiteLLM's Generic Guardrail API from the Admin UI, or as a named entry under guardrails: in config.yaml. Either way, LiteLLM calls Metomic at the hook point you choose, and Metomic classifies the content and returns a verdict.

What do pre_call, during_call, and post_call mean for Metomic's checks?

They are the three hook points LiteLLM's guardrails framework exposes. pre_call runs before the request reaches the model, and is where Metomic can mask sensitive content in place. during_call runs in parallel with the model call and is where Metomic reliably blocks a bad request. post_call runs once a response is ready, and on streamed responses runs against the fully assembled output, so Metomic can audit what came back.

Can Metomic redact instead of just blocking?

Yes, on the pre_call hook. Metomic can rewrite the text, tool calls, or structured messages LiteLLM passes it before the request ever reaches the model. On the during_call hook, blocking is reliable but an edit is not guaranteed to land before the request leaves, so masking belongs on pre_call.

Does this work with every model provider LiteLLM supports?

Yes. Because Metomic runs as a guardrail inside LiteLLM itself rather than against one model's own API, it governs every provider routed through that LiteLLM deployment, OpenAI, Anthropic, Gemini, or any of the other 100-plus LiteLLM supports, from the one policy, without separate integration work per model.

Can we define our own sensitive data labels?

Yes, in early access. Security and compliance teams describe sensitive data in plain language, for example any value that would identify a customer or grant access to their account, and Metomic classifies requests and responses against those labels before returning a verdict.

What does Metomic see, and what does it keep?

Metomic receives exactly what LiteLLM's guardrail hook passes it for the call it is attached to: message text, tool calls, and structured messages for that request or response. It classifies in flight and retains only the verdict and findings for your audit trail.

How is a Metomic verdict triggered on a specific request?

Any caller can name Metomic's guardrail directly in the guardrails field of a request, alongside the model they are calling, so teams can apply it selectively or require it on every call through a given key or team.

Put one policy in front of every model behind LiteLLM

Book a demo and watch Metomic classify real traffic through your own LiteLLM deployment, live, before you write a single label.