Take the out of AI privacy

Grepture is an open-source AI gateway between your app and OpenAI, Anthropic or Gemini. It swaps names, emails, keys and account numbers for tokens before each request leaves, and puts them back in the response. Your users get real answers. The model never sees real data.

1,000 requests a month free. No credit card.

Six samples of what an app sends to a model: a support chat, a tool result, a RAG chunk, an env file read by a coding agent, a support ticket and a call transcript. As you scroll, Grepture replaces the 21 names, emails, IDs, account numbers and secrets in them.

Requests observed / wk
10M
Tokens tracked / wk
2.3B
PII fields redacted / wk
418K
Uptime (30d)
99.99%
Works withOpenAIAnthropicGoogle AIAzure OpenAICohereMistralAWS BedrockHuggingFaceGroqReplicate

Add it with one line of code.

Wrap the OpenAI or Anthropic client you already use, or swap in grepture.fetch(). From that line on, every call is redacted, traced and costed.

Read the quickstart
// Every call through this client is now redacted and traced
const grepture = new Grepture({
apiKey: "gpt_abc123",
proxyUrl: "https://proxy.grepture.com",
});

const client = new OpenAI(
grepture.clientOptions({
apiKey: "sk-openai-key",
baseURL: "https://api.openai.com/v1",
})
);

What the model never sees.

Pattern detectors and locally hosted entity models scan every prompt before it leaves. No text is sent to a third-party AI to do it.

your app sends

Draft a reply to Maria Keller (maria.keller@hanse-klinik.de). Her claim DE89 3704 0044 0532 0130 00 was approved.

grepture swaps 3 values for tokens
api.anthropic.com receivesoutside your stack

Draft a reply to [PERSON_1] ([EMAIL_1]). Her claim [IBAN_1] was approved.

grepture puts 3 values back
responsetokens from the model

Dear [PERSON_1], your claim [IBAN_1] has been approved. We will email [EMAIL_1] once the transfer is complete.

0 of 3 sensitive values reached the model
  • Zero retention

    Switch on zero-data mode and request bodies are never written to disk. Rules still run in memory. Only status, latency and rule hits are logged.

    Zero-retention processing
  • Hosted in the EU

    Infrastructure in Frankfurt and Nuremberg. Every subprocessor is EU-based, so there are no US data transfers.

    Subprocessors
  • Open source

    The gateway is on GitHub. Read every rule that touches your traffic, or self-host it.

    View on GitHub ↗

What gets redacted, and how.

Identity
Names, addresses, dates of birth, SSNs
Contact
Emails, phone numbers
Financial
Card numbers, bank accounts, routing numbers
Secrets
API keys, tokens, passwords, connection strings
Network
IP and MAC addresses, URLs with credentials
Your own
Custom patterns, entity lists, block rules
  1. Detect

    Patterns, checksums and a local model flag each sensitive span.

  2. Replace

    Values become stable tokens like [EMAIL_1]. The model keeps the context, not the data.

  3. Restore

    Tokens in the response are swapped back before your app reads it.

Agents call the tools you allow. Nothing else.

List the tools an agent may use. The gateway removes every other tool definition before the model sees it, and blocks any disallowed call that comes back anyway. One allowlist per agent, across OpenAI and Anthropic.

X-Grepture-Label: agent:support-botrequest
  • search_kb()allowed
  • create_ticket()allowed
  • get_order_status()allowed
  • refund_order()stripped
  • delete_account()stripped
response: tool_use delete_accountblocked 403

Then see everything that went through.

Every call that passes the gateway is already traced. The rest of the platform comes with it.

TracingSearch every prompt and response. Waterfall views for multi-step agents.EvalsLLM-as-judge scoring on live traffic, with six built-in templates.Cost trackingToken spend per request, model and team. Hard budget caps.Prompt managementVersion and deploy prompts via API, without a redeploy.RoutingOne key for every provider, with automatic fallback.

Drop into what you already run.

How Grepture compares.

Best PII redaction APIsEight options for LLM apps, side by side.Grepture vs PresidioManaged gateway or a detection library you run yourself.Grepture vs LLM GuardInline redaction with restore, or scanners in your code.Grepture vs PortkeyPrivacy-first gateway or routing-first gateway.Grepture vs LangfuseOn the request path, or observing from the side.

Send your first clean request in five minutes.

Free for 1,000 requests a month. No credit card, no sales call.