Deterministic Cost Circuit Breakers and Zero-Log DLP for Production LLM Traffic
Built for engineering teams, multi-tenant B2B SaaS, and autonomous AI agents running on OpenAI, Anthropic, and Google Gemini. Enforce hard pre-flight budget caps, halt runaway agent loops, and redact credentials and PII in memory at the Cloudflare Edge—with 0% token markup.
Who Uses Edge AI Guardrail—and Why
Select your operational profile to inspect the exact failure modes we prevent at the network edge.
Prevent Unattended Agent Loops and Credential Exfiltration
Autonomous coding and tool-use agents routinely retry failed tool calls hundreds of times overnight or ingest local .env files containing live AWS, Stripe, or database credentials.
// Recommended Policy: Pro ($79/mo) + Native Streamable HTTP MCP
{
"endpoint": "https://guardrail.fyi/mcp",
"hourlyCapUsd": 50,
"loopThreshold": "5 / 10s",
"redactSecrets": true
}
How We Differ From Existing AI Gateways
Purpose-built as a stateless financial and security firewall—not a prompt-logging data warehouse or token reseller.
| Capability | Edge AI Guardrail | Observability Gateways (Helicone / Portkey) | Model Aggregators (OpenRouter) | Self-Hosted Proxies (LiteLLM) |
|---|---|---|---|---|
| Prompt & Response Privacy | Zero-Log (In-Memory Only) | Prompts logged to cloud databases by default | Routed through shared marketplace | Requires managing your own Postgres/S3 |
| Cost & Loop Cutoff Timing | Pre-Flight Synchronous (<15ms) | Primarily post-hoc dashboards & alerts | Prepaid balance depletion only | Requires Redis cluster tuning |
| Token Pricing Markup | 0% Markup (Pure BYOK Flat Fee) | Log-volume & per-seat enterprise tiers | ~5.5% credit recharge fee | $150–$500+/mo cloud hosting + DevOps |
| Outage Resilience | Cloudflare Edge + Fail-Open SLA | Gateway dependency | Single routing dependency | Container crash drops production traffic |
| Native AI Agent Protocol | HTTP Proxy + Remote MCP Built-In | HTTP API / SDK focus | OpenAI REST API only | Manual configuration required |
Three-Step Integration Without Changing Your SDK
Deploy across your stack in under two minutes while keeping your direct OpenAI, Anthropic, and Google Cloud credentials.
Issue an Isolated Guard Key
Generate a free sandbox key above or subscribe to a production tier. Configure hourly/daily ceilings, PII rules, and webhook alerts from the self-serve console.
Swap Base URL or Connect MCP
Point your SDK to https://guardrail.fyi/v1 with header x-guard-key. Secrets and Luhn-verified card numbers are masked in V8 isolate RAM, and loop/budget rules are checked pre-flight.
Direct Upstream Forwarding & Metering
Clean requests stream directly from OpenAI, Anthropic, or Gemini via TransformStream with 0ms buffering, while token costs update asynchronously out-of-band.
Interactive Edge Policy Verification
Inspect real-time payload sanitization and circuit-breaker behavior against our live edge worker (POST /demo/simulate) without authenticating.
Select a verification scenario above or submit a custom payload on the left.
Drop-In SDK & Remote MCP Configuration
Compatible with official OpenAI, Anthropic, and Google Gemini clients, plus Streamable HTTP MCP for autonomous coding environments.
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
baseURL: "https://guardrail.fyi/v1",
defaultHeaders: { "x-guard-key": "YOUR_GUARD_KEY" },
});
Zero Token Markup. Pure BYOK Economics.
Validate integration free in sandbox, then select the monthly protection ceiling aligned with your production LLM volume.
Developer Sandbox
- Up to $5/month tracked LLM spend
- $2/hour circuit breaker • 20 RPM
- Secret redaction & loop protection
- Instant self-serve key (no card)
Starter
- Up to $500/month LLM spend cap
- $50/hour circuit breaker • 120 RPM
- Slack & Discord real-time alerts
- Self-serve console & key rotation
Pro
MOST POPULAR- Up to $2,500/month LLM spend cap
- $250/hour circuit breaker • 300 RPM
- PII redaction & Near-Loop protection
- Full Remote Streamable HTTP MCP
Scale
- Up to $10,000/month LLM spend cap
- $1,000/hour circuit breaker • 1,000 RPM
- Strict Fail-Closed compliance mode
- High-concurrency agent fleets
Frequently Asked Questions
Direct answers on provider billing delays, zero-log privacy guarantees, Fail-Open resilience, and BYOK pricing.
Why can I not rely solely on OpenAI, Anthropic, or Google Cloud billing limits?
Upstream LLM provider billing pipelines aggregate token usage asynchronously, often with 10-to-60-minute reporting delays. An autonomous agent loop, n8n workflow bug, or abused API key can burn hundreds or thousands of dollars before native billing alerts trigger. Edge AI Guardrail enforces synchronous pre-flight hourly, daily, and monthly spend ceilings plus 10-second loop detection before requests reach the provider.
Does Edge AI Guardrail log or store my prompts, completions, or LLM API keys?
No. Edge AI Guardrail is architected as a stateless zero-log firewall on Cloudflare Workers. Prompts are inspected and redacted strictly in ephemeral V8 isolate RAM, and responses stream through with zero disk retention. Only numeric spend counters, SHA-256 loop hashes, and key policy settings are persisted.
Do I need to install a heavy SDK or rewrite my application code?
No SDK installation is required. Keep your official OpenAI, Anthropic, or Google Gemini SDK (or no-code tool such as n8n, Make, Cursor, or Claude Desktop) and swap only the Base URL to our gateway while passing your x-guard-key header alongside your own provider key.
What happens to my production traffic if the guardrail state store experiences latency?
By default, Edge AI Guardrail operates in Fail-Open mode: if state verification times out or encounters an error, your request is immediately forwarded upstream so your production application never goes down. Regulated workloads can optionally switch to strict Fail-Closed mode (HTTP 503) in the console.
Do you charge a percentage markup on LLM tokens?
Zero markup (0%). Edge AI Guardrail uses a pure Bring-Your-Own-Key (BYOK) flat-rate subscription ($0 Sandbox, $29 Starter, $79 Pro, $199 Scale). You pay OpenAI, Anthropic, and Google directly at their native token prices and keep your own enterprise rate limits and cloud credits.