BurnGuard sits quietly between your application and every AI provider — intercepting each API call, counting tokens as they stream through, calculating cost in real time, and blocking requests the instant your budget is exceeded. No 8-hour delays. No $6K/year FinOps tools. One binary.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Verifieddanny/BurnGuard/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Install BurnGuard and protect your first AI application in under five minutes.
How It Works
Understand the proxy architecture, token counting, and budget enforcement flow.
Configuration
Configure providers, budget limits, alerts, and cloud sync via burnguard.yaml.
Cloud Dashboard
Sign up at burnguard.run for spend charts, model breakdowns, and request logs.
Get running in minutes
Install the binary
Download BurnGuard for your platform — macOS, Linux, or Windows. No runtime required.
Run the setup wizard
burnguard init walks you through selecting providers, setting a budget, and optionally connecting your cloud dashboard — no YAML editing required.Start the proxy
The proxy listens on
localhost:8080 and forwards requests to your configured AI providers.Key features
Real-Time Token Counting
Tokens counted as they stream — including SSE streaming responses — not hours later.
Hard Budget Caps
Requests blocked instantly with HTTP 403 when your limit is hit, before they reach the provider.
Multi-Provider Support
Route to Anthropic Claude and OpenAI GPT via path prefix —
/anthropic/... and /openai/....Slack & Discord Alerts
Webhook notifications at 50%, 80%, and 100% of budget — configurable thresholds.
Persistent Memory
SQLite stores usage locally so budget enforcement survives proxy restarts.
Cloud Dashboard
Sync to burnguard.run every 60 seconds for team-visible charts and request logs.
Explore the docs
Integrate Anthropic
Step-by-step guide for routing Claude requests through BurnGuard.
Integrate OpenAI
Route GPT requests through BurnGuard with one base URL change.
CLI Reference
Full reference for
burnguard init and burnguard start.API Reference
REST API used by the dashboard and proxy sync.
Pricing Tables
Built-in per-model cost rates for Anthropic and OpenAI.
Self-Hosting
Run the BurnGuard backend API and dashboard on your own infrastructure.
