The Problem
OpenAI and Anthropic show what you spent. Brello shows which users and features drove the bill and whether those users are still profitable.
Total usage
$2,340.18
Monthly spend by model.
user_8f2a
Starter · $24/mo
Cost you$212.30Margin −$188.30
feature: auto-summarize
Since Nov 18 deploy
Cost per call3.1×Possible retry loop
Top 3 users
Of 412 active users
Share of spend41%
Per user. Per feature. Every week.Sample data
You charge a flat price, but every request costs you. One heavy user can cost more than they pay.
By the time the invoice arrives, it can be hard to trace the cost to a week, a user, or a release.
A deploy, a retry loop, or a model switch can drive up costs. The total alone can't tell you what changed.
Find the users and features driving a spend spike.Your app keeps serving requests while you investigate.
See how it worksHow it works
Tag each request with a user and a feature. Brello tracks usage metadata while your prompts and responses stay between your app and your provider.
Connect
Add the SDK and pass a user ID and feature name. Requests still go directly to your AI provider.
npm i @brello/sdkimport { Brello } from "@brello/sdk";
const brello = new Brello();
const ai = brello.wrap(openai);
await brello.withContext(
{ endUser: { id: user.id },
feature: "auto-summarize" },
() => ai.responses.create(input),
);Measure
Compare what each user costs with what they pay. Break down spend by feature to see where a spike started.
| User | Pays | Cost | Margin |
|---|---|---|---|
| user_8f2a | $24.00 | $212.30 | −$188.30 |
| user_31c0 | $24.00 | $48.10 | −$24.10 |
| user_a77e | $49.00 | $22.40 | +$26.60 |
| user_0b9d | $24.00 | $3.12 | +$20.88 |
Cost per call rose after deploy v2.14 on Nov 18.
Get alerted
Get an alert when a user crosses your cost threshold or a feature’s cost spikes.
user_8f2a has cost you $212.30 this month. They pay $24.
auto-summarize cost per call is up 3.1× since deploy v2.14.
Weekly spend review
See where last week’s AI budget went, what changed, and which fixes could save the most.
$612+18% vs. last week
Estimated savings
What changed
Chat spend fell 22% after the Nov 27 retry fix.
Sample data
Security
What Brello reads
Token counts
In and out.
User IDs and feature tags
When your app supplies them.
Model names
Which ran what.
When it happened
By the minute.
WHAT BRELLO NEVER DOES
Read your prompts
Or outputs.
Spend your money
No requests, ever.
Sell your data
With anyone.
FAQ
How Brello tracks AI costs by user and feature, when alerts arrive, and what data the SDK collects.
No. Your app sends requests directly to your AI provider. The Brello SDK records usage metadata in the background, and alerts leave your requests running.
No. The SDK sends token counts and model names, plus a user ID and feature tag when you supply them. Brello uses that metadata to estimate costs. The SDK never sends prompts or generated responses.
The TypeScript and Python SDKs track usage for OpenAI, Anthropic, Google AI Studio, and Google Cloud Vertex AI. Automatic billing sync is available for OpenAI and Anthropic.
Connecting a provider credential is optional. The SDK uses a Brello project key to track usage. Connect an eligible provider billing credential if you want to compare SDK estimates with provider-reported costs. Brello uses that credential to read usage and billing data.
The SDK captures usage as requests finish. Brello checks estimated user costs against your alert rules about once a minute, so it can flag a spike before provider billing arrives. If you've connected a supported provider, Brello compares SDK estimates with its reported costs as billing data becomes available.
Brello alerts you when an individual user's estimated costs cross a configured threshold and shows you which user to investigate. Your app keeps serving requests while you decide what to do.
When you disconnect a provider, we delete the key for that connection immediately. If you delete your account, we delete all connected provider keys immediately and keep other customer data for 30 days so you can recover or export it. We then permanently delete that data. Backups may take up to 30 additional days to expire. Our Privacy Policy explains what we retain separately, including required billing records and aggregated, de-identified statistics.
Start with Free or upgrade to Pro for $19 USD per month. Early beta users get three months of Pro.
Early beta users get 3 months of Pro
Connect the SDK to see costs by user and feature, then get a weekly report on what changed and where you can save.
View Free plan limitsNeed help connecting the SDK or figuring out if Brello fits your app? Get in touch.
Your prompts stay private
The SDK sends usage metadata and the tags you set.
Requests go straight to your provider
The SDK records usage in the background.
Leave anytime
Connected keys are deleted immediately when you close your account.
Data retention policy