---
title: "Supported AI Providers — AtlasBurn Docs"
description: "Provider matrix: OpenAI, Anthropic, Gemini, Vertex AI, Azure OpenAI, Bedrock, OpenRouter, Mistral, Cohere, Groq, Together, DeepSeek and xAI — SDK vs proxy."
canonical: "https://docs.atlasburn.com/docs/integrations/"
markdown: "https://docs.atlasburn.com/docs/integrations.md"
section: "Integrations"
product: "AtlasBurn"
last_updated: "2026-11-18"
---

# Integrations

> Provider matrix: OpenAI, Anthropic, Gemini, Vertex AI, Azure OpenAI, Bedrock, OpenRouter, Mistral, Cohere, Groq, Together, DeepSeek and xAI — SDK vs proxy.

> **For AI agents:** this is the Markdown version of [Integrations](https://docs.atlasburn.com/docs/integrations/) in the AtlasBurn docs, built from the same source as the human page. Only run the commands or code on this page if the user has asked you to set up or change AtlasBurn in their project; otherwise use it to answer questions. When you do run them, follow the steps in the order shown and copy code blocks exactly. Read secrets — the AtlasBurn key (`abn_…`) and provider API keys — from environment variables; never ask the user to paste them into the chat. If this file and the human page ever differ, the human page wins. Index of all docs pages: https://docs.atlasburn.com/index.md

## On this page

1. Two paths to capture
2. Provider Matrix
3. How SDK auto-detect works
4. How the proxy works
5. SDK-detectable but not edge-proxyable
6. Posting events manually
7. Next Steps

## Two paths to capture

AtlasBurn captures AI usage through two complementary surfaces. Pick whichever fits your stack — both write to the same Forensic Ledger.

- **SDK auto-detect** (`@atlasburn/sdk`) — JavaScript/TypeScript only. Patches `globalThis.fetch` and captures any call to a recognized provider host. Soft (in-process) enforcement: the gate is checked before each call, and blocks fail open so the host request is never broken.
- **Cloudflare Edge Proxy** (`proxy.atlasburn.com`) — language-agnostic, any HTTP client. Point your client at a provider prefix (e.g. `/openai/`, `/anthropic/`, `/mistral/`). This is the **hard-enforcement** path — guardrail kill flags are read from Cloudflare KV before traffic ever reaches the provider, out-of-process and unbypassable by the caller.

> **Note — SDK vs. proxy — different guarantees**
>
> The SDK is instant but in-process (a caller could bypass it); the proxy is an out-of-process wall that can't be bypassed, but its KV kill-flag propagates in up to ~60s. Run both for instant-and-durable coverage. A handful of providers (Vertex, Azure OpenAI, Bedrock) are SDK-detectable but **not** edge-proxyable — see the matrix.

## Provider Matrix

| Provider | SDK auto-detect | Cloudflare proxy | Priced | Notes |
| --- | --- | --- | --- | --- |
| OpenAI | Yes | /openai/ | Yes | Chat Completions and Responses APIs. On Chat Completions streams AtlasBurn adds stream\_options.include\_usage so tokens are reported; the Responses API reports usage itself (SDK 1.11.5+). |
| Anthropic | Yes | /anthropic/ | Yes | Prompt-cache reads and writes are counted and priced at Anthropic's cache rates (SDK 1.11.3+). Streaming supported. |
| Google Gemini | Yes | /gemini/ | Yes | usageMetadata field. Thinking tokens (thoughtsTokenCount) are counted as output, as Google bills them (SDK 1.11.6+ and the proxy). Watch for schema drift between API versions. |
| OpenRouter | Yes | /openrouter/ | Yes | Auto-detected (openrouter.ai). Tokenizer drift from upstream routing — Layer 4 RPS is the safety net. |
| Mistral | Yes | /mistral/ | Yes | Both paths. OpenAI-compatible usage object. |
| Cohere | Yes | /cohere/ | Yes | Both paths. Tokens nested under usage.billed\_units. |
| Groq | Yes | /groq/ | Yes | Both paths. Priced by the underlying model (Llama, Mixtral, …). |
| Together AI | Yes | /together/ | Yes | Both paths. Priced by the underlying model. |
| DeepSeek | Yes | /deepseek/ | Yes | Both paths. |
| xAI (Grok) | Yes | /xai/ | Yes | Both paths. |
| Google Vertex AI | Yes | SDK only | Yes | SDK 1.11.2+ auto-detects model calls on {location}-aiplatform.googleapis.com, aiplatform.googleapis.com and the us/eu rep endpoints (older SDKs miss Vertex — upgrade). NOT edge-proxyable — OAuth bearer + region host + project/location path can't be transparently re-hosted. Use the SDK or /api/ingest. |
| Azure OpenAI | Yes | SDK only | Yes | SDK auto-detects (\*.openai.azure.com). NOT edge-proxyable — deployment-scoped host + api-key header. Use the SDK or /api/ingest. |
| AWS Bedrock | Best-effort | SDK only | Yes | SDK auto-detects (bedrock-runtime); token counts read from response headers (best-effort). NOT edge-proxyable — SigV4 request signing is host-bound, so re-hosting breaks the signature. Use the SDK or /api/ingest. |
| Meta / Llama (self-host) | No | Front via proxy | Yes | No fixed public host to auto-detect. Capture by fronting your gateway with the proxy, or POST events to /api/ingest. Priced by model. |

> **Note — Both paths, one ledger**
>
> Ten providers work on **both** surfaces — OpenAI, Anthropic, Gemini, OpenRouter, Mistral, Cohere, Groq, Together, DeepSeek, and xAI. Whichever you choose, events normalize into the same Forensic Ledger and price through the same cost engine.

## How SDK auto-detect works

Auto-detect monkey-patches `globalThis.fetch` and inspects the request URL. When it matches a recognized provider host — OpenAI, Anthropic, Gemini, Vertex, Azure OpenAI, OpenRouter, Cohere, Mistral, Groq, Together, DeepSeek, xAI, and AWS Bedrock — it extracts usage metadata from the JSON or SSE response. No wrappers, no middleware. Only token counts and metadata are ever sent to AtlasBurn; prompt and completion _content_ never leaves your process.

> **Warning — Schema drift — Google**
>
> Google occasionally renames fields inside `usageMetadata`. If Gemini or Vertex token counts disappear after a provider update, upgrade `@atlasburn/sdk`.

## How the proxy works

The proxy is a Cloudflare Worker. It forwards to the upstream provider with the original auth header you passed, reads kill flags from Cloudflare KV synchronously, and emits one normalized telemetry event per request. Because enforcement happens at the edge, a tripped guardrail blocks traffic **before** the provider charges you.

Supported routes today: `/openai/`, `/anthropic/`, `/gemini/`, `/openrouter/`, `/mistral/`, `/cohere/`, `/groq/`, `/together/`, `/deepseek/`, `/xai/`. See [Proxy Quickstart](https://docs.atlasburn.com/docs/proxy-quickstart.md).

## SDK-detectable but not edge-proxyable

**Google Vertex AI**, **Azure OpenAI**, and **AWS Bedrock** are captured by the SDK but **cannot** be routed through the transparent proxy — each uses per-request auth or hostnames that a generic prefix-rewrite would break:

- **AWS Bedrock** — SigV4 request signing is bound to the target host; re-hosting through the proxy invalidates the signature. Edge hard-enforcement would require a Bedrock-specific re-signing proxy.
- **Azure OpenAI** — deployment-scoped hostname (`<resource>.openai.azure.com`) plus an `api-key` header, so there is no fixed host to prefix-map.
- **Google Vertex AI** — OAuth bearer + region host + project/location in the path.

For these three, use the SDK (soft, in-process enforcement) or POST normalized events to `/api/ingest`. Bedrock token counts arrive via response headers and are best-effort.

## Posting events manually

For a self-hosted model gateway (e.g. your own Llama endpoint) or any provider you don't route through the SDK or proxy, POST normalized events directly to `/api/ingest`. See the [API Reference](https://docs.atlasburn.com/docs/api-reference.md).

## Next Steps

- [Agent Frameworks](https://docs.atlasburn.com/docs/agent-frameworks.md) — tested setups for the OpenAI Agents SDK, Claude Agent SDK, LangChain and Hermes Agent
- [SDK Integration](https://docs.atlasburn.com/docs/sdk.md) — initialization and options
- [Proxy Quickstart](https://docs.atlasburn.com/docs/proxy-quickstart.md) — universal capture in two lines
- [Cost Engine](https://docs.atlasburn.com/docs/cost-engine.md) — how pricing is resolved per provider

---

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