Skip to main content

What is burn0?

burn0 is a lightweight cost observability tool for developers. Add one import to your app and instantly see what every API call costs — LLMs, SaaS APIs, and infrastructure.

Quick Start

Get up and running in 2 minutes

50+ Services

OpenAI, Stripe, Twilio, Supabase, and more

CLI Tools

Terminal-first cost tracking

Dashboard

Visual cost breakdown in the browser

How it works

npm i @burn0/burn0
Add one line to your app’s entry file:
import '@burn0/burn0'
That’s it. burn0 automatically:
  1. Intercepts every outbound HTTP/fetch call
  2. Identifies which service it’s calling (OpenAI, Stripe, Twilio, etc.)
  3. Calculates the cost based on the provider’s pricing
  4. Shows costs in real-time in your terminal
  burn0 ▸ $4.32 today (47 calls) ── openai: $3.80 · anthropic: $0.52

Two modes

Everything stays on your machine. Costs shown in terminal and stored in .burn0/costs.jsonl. No network calls to burn0.dev.
# Just install and import — no signup needed
npm i @burn0/burn0

What it tracks

burn0 supports 50+ services across three categories:
CategoryExamplesPricing
LLM ProvidersOpenAI, Anthropic, Google Gemini, Mistral, GroqPer-token (auto-calculated)
Pay-per-use APIsStripe, Twilio, SendGrid, Resend, Google MapsPer-request (auto-calculated)
InfrastructureVercel, Supabase, AWS, Firebase, NeonMonthly plan (you configure)

See all 50+ supported services →