Every Anthropic, OpenAI, and Gemini call your app makes — broken down by feature, customer, and model. One SDK, one dashboard, actual answers about where your spend goes.
Install Leak in this codebase. Docs you must follow: https://useleak.cloud/install My LEAK_KEY: <paste yours from useleak.cloud/settings#keys> Find every Anthropic, OpenAI, and Gemini API call, swap the import to useleak, and on each call: - add feature="..." (auto-propose names, let me confirm) - add user="..." pulled from scope (req.user.id, ctx.user.id, job.data.userId — whatever fits) Then write LEAK_KEY to .env and send a Haiku test event to verify.
Your Anthropic dashboard says $487 this month. Doing what? Driving what feature? You can't tell.
Lead scoring is 70% of your bill — or 5%. You'd build totally different things if you knew.
One enterprise account is silently burning $400/mo of tokens. You're not charging them for it.
Wrap your Anthropic / OpenAI / Gemini client, pass feature='icp-scoring' on each call. Every chart filters by it.
Pass user='customer_id' and see exactly which client is burning tokens. Charge them, or fix the cost.
Built-in AI chat over your metadata. "Why did spend triple yesterday?" Answered in seconds.
Two tiers. That's it.