AI Circuit Breaker
An LLM proxy that detects repeated agent requests and enforces spending limits in memory.
What does it do?
Set the client's base URL to the proxy endpoint to send requests. The proxy compares prompt fingerprints in memory, checks the configured spending limits, and forwards valid requests to the upstream provider. It returns a termination response when the repetition threshold is reached and HTTP 429 when a budget limit is exceeded. It also supports sending an upstream provider key in a header for each request and says it does not write prompt bodies to disk.
Key features
- Detect repeated prompt fingerprints within a sliding window and stop loops
- Enforce hourly and daily budget limits and return HTTP 429 when exceeded
- Forward OpenAI-compatible requests through a custom base URL
- Support per-request upstream provider keys through headers, processed in memory
- Offer a free tier with a monitored spending limit of up to $15 per month