Repository navigation
What is burn0?
One import tracks every API cost in your Node.js stack. LLMs, SaaS, databases, infrastructure — see per-request costs right in your terminal.
npm i @burn0/burn0
import "@burn0/burn0"; // That's it. Costs appear in your terminal.Highlights
- One import, zero config — Add
import "@burn0/burn0"and costs appear instantly -
- 50+ services — OpenAI, Anthropic, Gemini, Stripe, Supabase, SendGrid, Twilio, and more
-
- Sub-millisecond overhead — Async event processing, never blocks your requests
-
- Feature attribution —
track("onboarding", async () => { ... })to see costs per feature
- Feature attribution —
-
- CLI mode —
npx burn0 dev -- node app.jsfor zero-code-change tracking
- CLI mode —
-
- Privacy-first — Local by default, never reads request/response bodies
-
- Dashboard — Optional cloud dashboard at burn0.dev/dashboard
What's New in v0.2.5
- Postinstall init wizard for instant setup
-
- Cached pricing loaded synchronously before ledger seed
-
- Source maps excluded from npm package
-
- Dashboard setup moved into Quick Start section
-
- Improved TTY detection and clean exit handling
Links
- Website
-
- Dashboard
Full Changelog: https://github.com/burn0-dev/burn0/commits/v0.2.5
- Dashboard