Know what you spend.
Control what you burn.
See what every AI feature spends across 13 providers, forecast the bill, and stop runaway agent loops before they reach your invoice.
Fail-Silent SDK
4 Laws of SDK Safety — never blocks your app
Provider-Agnostic
OpenAI, Anthropic, Gemini, Mistral + 9 more
Forensic Ledger
Immutable, append-only audit trail
Kill Switch
Throttles or blocks runaway loops and budget breaches
Providers Auto-Detected
Guardrail Layers
To Your First Event
Prompts Stored
60-Second Setup
One package. One init call. Your first event in the Forensic Ledger within about 10 seconds.
Step 1
Install
npm i @atlasburn/sdkStep 2
Initialize
initAtlasBurnAuto()Step 3
Verify
Forensic Ledger ✓import { initAtlasBurnAuto } from "@atlasburn/sdk";
// Auto-detect — monkey-patches globalThis.fetch
// Captures OpenAI, Anthropic, Gemini and 10 more providers
initAtlasBurnAuto({
apiKey: process.env.ATLASBURN_KEY,
});
// That's it. Every AI call is now in your Forensic Ledger.Supported Providers
Auto-detect intercepts globalThis.fetch — no wrappers needed.
Telemetry Lab
See how AtlasBurn captures, costs, and catalogs every AI API call in real time.
fetch Intercept
Monkey-patched globalThis.fetch
HMAC Verification
Key verified via SHA-256 hash
Normalization
Provider fields → unified schema
Forensic Ledger
Immutable Firestore record
Economic Forensics, Not Dashboards
Costs from provider-reported token counts. HMAC-verified keys. Firestore-backed isolation.
Cost Engine
Provider cost vs. estimated cost. PROVIDER_REGISTRY for exact matches, FALLBACK_ECONOMICS for safety.
Security & Isolation
HMAC-SHA-256 key verification. Never stores raw keys, PII, prompts, or completions. Firestore-level isolation.
Guardrails & Kill Switch
Five detection layers throttle or block runaway loops and budget breaches. Monte Carlo burn forecasting.
Deep Dives
Architecture, pricing logic, and advanced concepts.
Telemetry Architecture
How the SDK captures, normalizes, and flushes events without blocking your app.
Cost Engine
Pricing formula, PROVIDER_REGISTRY vs FALLBACK_ECONOMICS, and how each cost is produced.
Advanced Concepts
Monte Carlo forecasting, the kill switch, retry cascade detection, and planned features.
Ready to see what you're burning?
Your first event in the Forensic Ledger within seconds. Guardrails from day one.
Get Started