[How Grepture works]

Grepture sits in the request path as a forward proxy. Your application sends traffic to Grepture, which inspects it against your rule stack and forwards clean requests to the destination. On the return path, redacted tokens are rehydrated so your app receives complete, usable responses. For teams that only need observability and cost tracking, trace mode sends requests directly to the provider — the SDK captures metadata async with zero latency overhead.

01
Your App
detect & redactrehydrate tokens
[PROXY]
Grepture Proxy
..
03
External APIs
[What it does]

One gateway for every AI call.

Grepture is a forward proxy that sits between your application and every external AI provider. Every request passes through — giving you observability, cost tracking, PII protection, prompt management, and automatic provider fallback in a single integration point. Don’t need rules or redaction? Switch to trace mode and get the same dashboard visibility with zero proxy latency.

  • +Observe every prompt and response across all providers
  • +Automatically detect and redact sensitive data before it leaves
  • +Track token usage and costs per request, model, and endpoint
  • +Manage and version prompts via API — no redeploys needed
  • +Debug AI issues with full request/response capture and conversation tracing
  • +Protect browser-based AI usage with the Chrome extension
  • +Trace mode — observability and cost tracking without the proxy hop
  • +Provider keys with automatic same-provider and cross-provider fallback
[Capabilities]

Everything the gateway does for you.

[Open source]

Don’t take our word for it. Read the code.

The Grepture proxy is fully open source. Every detection rule, every redaction action, every byte of data handling is auditable. When your compliance team asks how sensitive data is protected, point them to the source.

  • +Full proxy source code on GitHub
  • +Every detection rule is readable and auditable
  • +No black-box processing — deterministic and transparent
  • +Self-host option for teams that need full infrastructure control
View on GitHub

See your first trace in under 60 seconds

npm install @grepture/sdk — wrap your client — done.

Free for up to 1,000 requests/month · No credit card required

Get Started Free