Hero image for "Your LLM Bill Has No Idea Which Customer Caused It"

Your LLM Bill Has No Idea Which Customer Caused It


A finance person asks you a simple question: "What does it cost us to serve the Acme account?" You open the OpenAI dashboard. It shows one number for the month. It does not know Acme exists. It does not know your product has a summarize button and a chat button and a background enrichment job. It knows a project ID made some calls and here is the total. Everything downstream of that — who caused it, which feature drove it, whether it's sustainable — is work you have to build yourself.

This is the gap between "we track AI costs" and "we can actually bill for AI costs," and most teams I talk to are stuck somewhere in the middle: they have a Grafana panel with a line that goes up, and no way to answer the Acme question without exporting logs and grepping. As AI/TLDR puts it, the aggregate invoice "can't say" where the money went — it takes per-call tags to turn $4,200 into "$2,800 chat, $900 summaries, $500 search."

The provider bill was never going to do this for you

Model providers bill by API key, project, or workspace — not by the business logic that triggered the call (Rho). If five features share one endpoint, the invoice has no opinion about which one is expensive. Finout frames this as the core structural problem with GenAI spend versus traditional cloud spend: EC2 instances and S3 buckets carry native tags you can allocate against, but a shared LLM endpoint serving multiple teams through one key carries none of that context natively. The business meaning has to be attached at request time, or it's gone forever — you can't reconstruct "this call was for the enterprise tier's document summarizer" from a token count after the fact.

That's the part people get wrong first: they treat cost attribution as a reporting problem, something you solve with a dashboard after the fact. It's actually an instrumentation problem, solved or lost at the moment the request is made. AI/TLDR describes attribution as a three-job pipeline — tag, measure, aggregate — and the tagging job has exactly one chance to happen: at the call itself. If you didn't tag the request with customer, feature, and environment when it happened, you're reconstructing intent from timestamps and hoping, and that's not attribution, that's archaeology.

There's also a harder version of this problem lurking underneath, one most teams haven't hit yet: even a tagged call isn't proof you were charged correctly for it. Recent work on verifiable token billing points out that broker-mediated and multi-step agent workflows can let "a bill count one genuine receipt twice and omit another," because metering evidence spans service domains that don't share a common audit trail (arXiv). You don't need cryptographic receipts to start — but it's worth knowing that tagging solves "whose cost is this" and not necessarily "was this charge even real."

Showback before chargeback, or you'll spend a quarter in meetings about bad numbers

Once you accept that tagging has to happen at request time, the next decision is what you do with the tagged data, and here both Rho and Finout land on the same sequence: showback first, chargeback later. Showback means a team sees their number. Nobody's budget moves. It's low-stakes, which is exactly why it's the right starting point — it surfaces tagging gaps (that 10% of calls with no customer label, the shared batch job nobody tagged at all) before anyone's P&L depends on the data being right.

Chargeback is where the number actually changes behavior, because it lands on a budget someone owns. But chargeback on incomplete tagging just starts arguments. If finance charges a team for calls that were mislabeled, you spend the next quarter defending the allocation methodology instead of fixing the usage. I've watched this exact failure mode play out with ordinary cloud cost allocation — AI just compresses the timeline because the swings are bigger. A single prompt change that doubles output tokens can spike a bill overnight in a way a misconfigured EC2 instance never will — and per-dimension tracking is what lets you catch a customer's hourly cost jumping 20x before the invoice does, instead of after (AI/TLDR).

The practical floor, per Rho, is getting tagging coverage above roughly 90% of spend before you flip the switch to chargeback. Below that, you're allocating based on a sample and calling it a bill.

Shared costs are where every scheme quietly breaks

The clean case is a dedicated API key per customer — direct allocation, done. The hard case is everything else: a shared retrieval index, an eval suite running against every model call, embeddings generated once and reused across features. Finance teams typically pool that kind of cost and split it by an agreed rule, usually share-of-direct-spend — but that rule has to be agreed before anyone disputes a number, not invented in the meeting where someone's bill looks wrong (Finout).

The mechanical piece underneath all of this — the part that actually makes per-feature, per-customer tagging queryable instead of a pile of inconsistent string fields — is the same instrumentation discipline that makes any distributed trace useful. Honeycomb's semantic conventions guide exists because three services logging the same concept under three different attribute names means no single query covers all of them. GenAI-specific conventions are still being finalized, which is exactly why pinning instrumentation versions matters here — your customer and feature tags need to survive a library upgrade, not silently rename themselves.

What to check before next month's invoice

Pull last month's LLM bill and ask what fraction of calls you can map to a specific customer and feature without guessing. If it's under 90%, you don't have cost attribution — you have a total (Rho). The fix isn't a bigger dashboard. It's deciding, before the next sprint, which tag goes on every outbound model call and refusing to ship a call without it.