---
title: "AtlasBurn Docs — AI API cost monitoring and guardrails"
description: "Set up AtlasBurn: track AI API spend per feature across OpenAI, Anthropic, Gemini and 10 more providers, and stop runaway agent loops with guardrails."
canonical: "https://docs.atlasburn.com/"
markdown: "https://docs.atlasburn.com/index.md"
section: "Docs index"
product: "AtlasBurn"
last_updated: "2026-11-18"
---

# AtlasBurn Docs

> Set up AtlasBurn: track AI API spend per feature across OpenAI, Anthropic, Gemini and 10 more providers, and stop runaway agent loops with guardrails.

> **For AI agents:** every page below is available as Markdown (the links) and as a human page (same path without `.md`). If the user asked you to set up AtlasBurn, follow **Start here** in order; otherwise use these pages to answer questions and don't run commands from them. Read secrets from environment variables; never ask the user to paste keys into the chat.

## Start here

1. [Quickstart](https://docs.atlasburn.com/docs/quickstart.md) — Install @atlasburn/sdk, run npx abn init, and see your first AI cost event in about 10 seconds. Covers Next.js instrumentation, Node.js and verification.
2. [Proxy Quickstart](https://docs.atlasburn.com/docs/proxy-quickstart.md) — Track AI costs from Python, Go, Rust or any HTTP client: point your base URL at proxy.atlasburn.com and add one header. No SDK, no code changes.
3. [MCP Server](https://docs.atlasburn.com/docs/mcp-server.md) — Connect the AtlasBurn MCP server to ask Claude, ChatGPT or Cursor about your AI spend, or say "Integrate AtlasBurn" to set it up. OAuth 2.1, read-only.
4. [Autonomous Guardrails](https://docs.atlasburn.com/docs/guardrails.md) — The 5-layer guardrail engine: budget limits, identical-request and context-inflation loop detection, RPS bursts and model concentration. Throttle first.

## All pages

- [Getting Started](https://docs.atlasburn.com/docs/getting-started.md) — What AtlasBurn is, how it captures AI API usage through the SDK or the Edge Proxy, and the steps to see your first cost event in the Forensic Ledger.
- [Quickstart](https://docs.atlasburn.com/docs/quickstart.md) — Install @atlasburn/sdk, run npx abn init, and see your first AI cost event in about 10 seconds. Covers Next.js instrumentation, Node.js and verification.
- [Proxy Quickstart](https://docs.atlasburn.com/docs/proxy-quickstart.md) — Track AI costs from Python, Go, Rust or any HTTP client: point your base URL at proxy.atlasburn.com and add one header. No SDK, no code changes.
- [How It Works](https://docs.atlasburn.com/docs/how-it-works.md) — How AtlasBurn captures each AI API call, reads token usage, prices it with the cost engine and checks it against your guardrails at runtime.
- [Integrations](https://docs.atlasburn.com/docs/integrations.md) — Provider matrix: OpenAI, Anthropic, Gemini, Vertex AI, Azure OpenAI, Bedrock, OpenRouter, Mistral, Cohere, Groq, Together, DeepSeek and xAI — SDK vs proxy.
- [Agent Frameworks](https://docs.atlasburn.com/docs/agent-frameworks.md) — Set up AtlasBurn with the OpenAI Agents SDK, Claude Agent SDK, LangChain, Vercel AI SDK and Hermes Agent: tested configs for the SDK and the Edge Proxy.
- [SDK Integration](https://docs.atlasburn.com/docs/sdk.md) — Reference for the AtlasBurn TypeScript SDK: initAtlasBurnAuto, the abn CLI, feature attribution, throttling, overhead and the four laws of SDK safety.
- [MCP Server](https://docs.atlasburn.com/docs/mcp-server.md) — Connect the AtlasBurn MCP server to ask Claude, ChatGPT or Cursor about your AI spend, or say "Integrate AtlasBurn" to set it up. OAuth 2.1, read-only.
- [Proxy Gateway](https://docs.atlasburn.com/docs/proxy-gateway.md) — Run AtlasBurn as a gateway in front of your AI providers for central cost capture and edge enforcement, with examples for every provider and runtime.
- [Edge Proxy](https://docs.atlasburn.com/docs/edge-proxy.md) — How the AtlasBurn Edge Proxy captures telemetry and enforces guardrail kill flags from Cloudflare KV before a request reaches the AI provider.
- [Proxy Troubleshooting](https://docs.atlasburn.com/docs/proxy-troubleshooting.md) — Fix common AtlasBurn Edge Proxy problems: 401 and 403 header errors, 404 on unsupported endpoints, model routing mix-ups, streaming cut-offs and latency.
- [Autonomous Guardrails](https://docs.atlasburn.com/docs/guardrails.md) — The 5-layer guardrail engine: budget limits, identical-request and context-inflation loop detection, RPS bursts and model concentration. Throttle first.
- [Auto-Recovery](https://docs.atlasburn.com/docs/auto-recovery.md) — How AtlasBurn restores AI traffic after a guardrail throttles or blocks it: timers that expire on their own, and one-click resume per feature.
- [API Reference](https://docs.atlasburn.com/docs/api-reference.md) — AtlasBurn HTTP endpoints: post usage events to /api/ingest from any language, push or clear kill flags with /api/guardrails/enforce, and resume a feature.
- [Telemetry Architecture](https://docs.atlasburn.com/docs/telemetry.md) — How the AtlasBurn SDK captures, batches and flushes usage events without blocking your app, including streaming responses and retries.
- [Cost Engine](https://docs.atlasburn.com/docs/cost-engine.md) — How AtlasBurn turns token counts into dollars: the pricing formula, per-1M-token rates in PROVIDER_REGISTRY, and conservative fallback pricing.
- [Accuracy](https://docs.atlasburn.com/docs/accuracy.md) — How accurate AtlasBurn cost numbers are, where they can differ from your provider invoice (estimates, cache discounts, rounding) and how to reconcile.
- [Security](https://docs.atlasburn.com/docs/security.md) — HMAC-SHA-256 key hashing, tenant isolation, and exactly what AtlasBurn stores: usage numbers only, never prompts, completions or raw API keys.
- [Troubleshooting](https://docs.atlasburn.com/docs/troubleshooting.md) — Fix common AtlasBurn issues: calls blocked with 429 or 403, one feature slowed or paused, a kill flag that won't clear, and missing telemetry events.
- [Glossary](https://docs.atlasburn.com/docs/glossary.md) — Definitions of AtlasBurn terms: Forensic Ledger, observed spend, burn rate, p50/p95, VaR95, guardrails, retry cascade, feature ID and more.
- [Advanced Concepts](https://docs.atlasburn.com/docs/advanced.md) — Monte Carlo burn forecasting, retry-cascade detection, the kill switch internals and features on the AtlasBurn roadmap.
- [Changelog](https://docs.atlasburn.com/docs/changelog.md) — Release notes for the AtlasBurn SDK, Edge Proxy, MCP server and dashboard: new features, fixes and breaking changes by version.
- [License](https://docs.atlasburn.com/docs/license.md) — The AtlasBurn SDK is Apache-2.0. Hosted service terms, subprocessors and a summary of how AtlasBurn handles your data.

## Other formats

- Short summary for LLMs: https://docs.atlasburn.com/llms.txt
- Full technical reference for LLMs: https://docs.atlasburn.com/llms-full.txt
- Product site: https://atlasburn.com/ (Markdown: https://atlasburn.com/llms.txt)

---

Canonical: https://docs.atlasburn.com/
