CalculationAdvancedQuality, Cost & Token Economics / Cost modeling and unit economics / #9

How do you model cost when a small share of users generate most of the usage?

LEAD · cost modeling and unit economics

Askly's average cost per user looked calm for the better part of a year. A small slice of power users was already driving the real bill, and the metric built to catch that sat one click away, unused.

The direct answer
Track p95 cost per active user, not average cost per user, and check it every week. Average sat near $4.10 a month for nine straight months while gross margin on Askly's flat-fee plan slid from 74 to 52 percent underneath it. p95 cost per user had already climbed from $9.80 to $34.60 over ten weeks, because a small slice of power users, not the typical user, was driving the real bill. Set two thresholds on it: past the first, cap the model's self-correction retries and hand the user a cheaper path; past the second, move that account off flat pricing.
Do this, in order
  1. Watch p95 cost per active user weekly, never average cost per user alone.Why: average sat at $4.10 a month for nine straight months while the real cost, concentrated in a handful of users, kept climbing underneath it.
  2. Set two real thresholds on that number and act at each one, not just chart it.Why: a metric nobody acts on past $20, then past a second line, is a dashboard decoration, not a metric.
  3. Cap the model's self-correction retries on complex questions, and hand the user a cheaper guided path once it hits the cap.Why: unlimited retries on multi-table questions, each one resending the full forty-table schema, is what actually built the cost tail.
  4. Move any account whose own AI cost runs well past its flat plan price, for more than one month, onto usage-based pricing.Why: Windermist Foods paid $1,200 a month flat and cost $2,380 in AI compute that same month; no engineering fix changes a price that's wrong for one account.
  5. Reject a flat per-user query cap as the fix.Why: it punishes the users asking the hardest, most valuable questions instead of targeting the retries that actually drive the cost.
  6. Recheck the metric itself the moment the user base changes shape, not on a fixed schedule.Why: average cost per user was a fair stand-in for the whole distribution only while usage was genuinely even, and it quietly stopped being fair the day power users showed up.

How to answer this, stage by stage

Nobody's grading whether you know the words precision or recall here. They're grading whether you'll trust a number because it's calm, or ask what shape it's supposed to be describing.

1
Scope it to one concrete product before answering in the abstract
Say it like this
"Let's ground this in one product. Askly is a tool from Northgait Analytics. A business user types a question in plain English, Askly writes the SQL, runs it, and answers in a sentence. Ilya Vahter owns cost and margin on it, and Alina Salvesen is the finance partner who reviews the numbers every quarter."
Why this works
An abstract "how do you model cost" question turns into a shrug fast. One product turns it into a real number problem.
2
Say your structure out loud before touching a single number
Say it like this
"I'm going to name the business outcome that actually matters, find the metric that would move before that outcome does, say how that metric gets gamed, and then say what I'd actually do at real thresholds, not just watch a chart."
Why this works
Tells the interviewer you have a method, not a vibe, before you've said a single figure.
3
Reframe the question before naming a metric
Say it like this
"The real question isn't 'what's the average cost per user.' It's 'which number would have told us the truth before the bill did.' Those sound like the same question. They aren't."
Why this works
Separates a candidate who can name a metric from one who understands why the obvious metric fails here.
4
Give the one decision
Say it like this
"I'd track p95 cost per active user, checked weekly, instead of the average. Average is exactly the number a handful of expensive users can hide inside, on purpose or by accident."
Why this works
This is the answer to the question. Everything else is why it's the right one.
5
Prove it with the failure, compressed to a few sentences
Say it like this
"Average cost per user sat at $4.10 a month, dead calm, for nine months. Underneath it, p95 climbed from $9.80 to $34.60 over ten weeks, because the top 5 percent of users kept triggering retries on complex questions the model got wrong the first time. Nobody looked until gross margin had already fallen from 74 to 52 percent."
Why this works
A real number with a real timeframe does more work than any adjective could.
6
Say what you'd actually do at real thresholds
Say it like this
"Past $20 in weekly p95, I'd cap retries for the top usage decile and offer a cheaper guided path. Past a second line, an account whose own cost runs well over its flat plan price for more than a month, I'd move that one account onto usage-based pricing."
Why this works
A metric nobody acts on is decoration. Two real actions turn it into a decision.
7
Say what you'd leave alone
Say it like this
"I wouldn't touch anything for the typical user asking two or three simple questions a week. That's most of the base, and average cost per user is a perfectly honest number for them. This is only about the tail."
Why this works
Shows judgment instead of blanket worry. A change like this doesn't have to touch everyone to matter.
8
Close on the decision, not the arithmetic
Say it like this
"So: watch the shape of the distribution, not the average of it, act at real thresholds, and fix the retry loop before you ever touch the price."
Why this works
Ending on the rule, not the last number crunched, is what makes this sound like judgment instead of a dashboard read aloud.

Let's learn

What does it cost to answer a business question in plain English, when almost nobody asks the expensive kind?

Askly is the tool Northgait Analytics built so a business user can type something like "what were our returns in the Northeast last quarter" and get an answer, no SQL, no waiting on an analyst. Before Askly, a question like that went to a data analyst and came back in about two and a half days, and Northgait's early customers said their analysts spent close to fifteen hours a week just working through requests exactly like it.

With Askly, the same question comes back in under twenty seconds, most of the time. Across the roughly 9,000 people who use Askly every month, average AI cost per user sat near $4.10 for nine straight months. It looked like a cheap, sustainable habit.

Knowledge spark: what's p95? Line every user up from cheapest to most expensive. p95 is the cost of the user standing 95 places out of 100 along that line, the point where only the most expensive 5 percent sit above it. It shows you the expensive users directly, instead of blending them into everyone else.

The turn isn't that Askly got worse at answering questions. It's that averaging away a handful of very expensive users is exactly what an average is built to do, and nobody had a number that refused to be averaged.

The leading edge: weekly p95 cost per active user, this quarter
$40 $20 0 $20 threshold starts to climb $9.80 $34.60 Wk 1 Wk 5 Wk 10
Weekly p95 cost per active user, Askly platform-wide. It crossed the $20 line by week 6 and reached $34.60 by week 10, ten weeks before the quarterly margin review caught the drop.

Here's what was actually driving that line. Askly's model doesn't just write one query and stop. If the first attempt gets a join wrong across the schema, it rewrites the SQL and tries again, up to a few attempts, and every attempt resends the same forty-table schema for the model to work with. A simple question, "what were sales last month," costs about two cents. A question that spans several fiscal years across a dozen tables, and needs two or three tries to get right, can cost well over a dollar.

The number that broke wasn't any one account's bill. It was the gap between what an account paid and what it cost, and that gap had been closing for months.
The lagging outcome: gross margin on Askly's flat-fee Company plan
100% 50% 0 74% Q1 52% Q3, this quarter
Before, Q1After, Q3
Gross margin on the Company plan, computed once a quarter. It only showed the drop once the quarter had already closed, ten weeks after weekly p95 had started climbing.
The choice that mattered Northgait picked average AI cost per user as the metric to watch at the very first product review, before Askly had a single paying customer. That made sense then. Every pilot account looked alike, a handful of simple questions a week, mostly one table, mostly right the first time, so the average really did describe the whole group. It stopped describing the group the week the first power user showed up and nobody swapped the number out.

At its worst, a cost metric that stays calm while the real bill grows is worse than no metric at all, because everyone upstream believes the product is healthy. Northgait kept selling flat-fee plans on the assumption that AI cost would always stay small next to what an account paid, right up until it didn't, on an account nobody was watching for exactly this.

What I'd leave alone: the 8,550 or so ordinary users asking two or three simple questions a week don't need any of this. Average cost per user is a perfectly honest number for them, and building threshold checks or retry caps around their usage would spend engineering time on a group that was never the problem.

The lesson: a calm average isn't proof a product is healthy. It's proof the cost is being spread out thin enough that nobody can see where it actually lives. The fix isn't a smarter average. It's a number shaped like the truth, one that respects that a distribution has a shape, and only a metric built for that shape will warn you before the shape breaks something.

Now here is the same thing as a story

Read the long version below when you want to feel why a calm number went so wrong, not just be told that it did.

Every Monday morning, before anyone else at Northgait Analytics reached their desk, Ilya Vahter pulled up the same three numbers: new signups, churn, and average AI cost per user. He'd built Askly's cost dashboard himself, back when the whole company was twelve people and every number on it still meant something he could picture.

Askly launched to real customers about fourteen months ago. In the first weeks, Ilya did more than watch the dashboard. He picked three or four accounts a week and read through their actual query logs by hand, checking that the pattern matched what the average implied.

It matched, for months. Most accounts looked alike: a handful of straightforward questions a week, mostly one table, mostly answered right the first time. Average cost per user was a fair number because the usage really was fairly even. Ilya's spot checks kept confirming the same thing, week after week, and confirming the same thing feels like proof. It's really just proof of the one week you happened to look.

By month seven, the spot checks had thinned to one account every couple of weeks. By month eleven, Ilya still opened the dashboard every Monday, saw average cost per user sitting near $4.10 like it always did, and moved on to whatever was actually on fire that day. Nothing was on fire. That was the problem.

It came back during Alina Salvesen's quarterly margin review, the one she runs every close, pulling gross margin apart by account instead of trusting the company-wide number. She noticed Windermist Foods first: a Company-plan account, flat $1,200 a month, whose AI compute cost that same month had come to $2,380. Northgait was paying to serve one of its own customers.

The number that broke wasn't Windermist Foods' bill. It was the gap between what they paid and what they cost, and that gap had been closing for months.

Alina pulled the account's actual usage. It wasn't fraud, and it wasn't a bug. Windermist's finance team had three analysts who lived inside Askly, asking things like "compare vendor spend by region across the last three fiscal years, broken out by category," the kind of question that touches a dozen tables across different schema versions. Askly's model wrote a first attempt, got the join wrong, rewrote it, got closer, rewrote it again. Three or four tries wasn't unusual for questions like that, and each try sent the model the same forty-table schema to work with again.

Ilya went looking for how far this went beyond one account. Company-wide, out of about 9,000 monthly active users, the top 5 percent, roughly 450 people, were generating 61 percent of all AI compute cost. Average cost per user had never had a reason to move, because 8,550 ordinary users asking two or three simple questions a week were exactly cheap enough to keep it looking calm.

It was never really about whether $4.10 was a healthy average. There was no single number for a distribution shaped like this one. Averaging a distribution with a long tail doesn't describe it, it erases the tail and reports what's left.

The decision that opened the door went back to that very first product review, before Askly had a single customer. The team picked average AI cost per user as the number to watch, because it was simple, and because in the earliest pilot every account really did look the same. Nobody chose that number carelessly. It was the right number the week it was chosen, for exactly the accounts that existed that week.

Run that quarter again with one change: p95 cost per active user, tracked weekly from week one, not average cost, checked once a month. By week six, the line has already climbed past the $20 line Ilya's team agreed to treat as a real signal, not noise. The complex, multi-table questions from accounts like Windermist get capped at two self-correction retries instead of an open-ended number, and past the cap, Askly offers a cheaper guided path instead of guessing a third time. Windermist's own finance team gets a plain note that their usage has crossed into a tier a different plan is built for. None of it waits for a quarterly margin review to notice.

One design let a calm-looking average speak for a distribution it was never built to describe. The other watches the shape of the thing, not just its center, and it would have rung six weeks earlier.

What I'd tell myself, back at that first product review: the average was never wrong, exactly. It was just answering a question nobody was asking anymore, the moment the first power user showed up, and nobody had given that moment a name.

LEAD, the four letters behind the $34.60

This isn't a story wearing a metric's clothes. It's a metric question, and LEAD is what stops a calm average from standing in for a shape it can't actually describe.

LLink. What business outcome actually matters?
Gross margin on Askly's flat-fee Company plan. The whole pricing model assumes the AI cost of answering a question stays small next to what the account pays every month.
Not the model's own accuracy score, and not total compute spend on its own. Margin is what actually breaks if that assumption stops holding.
EEarly signal. What moves weeks before the outcome does?
p95 cost per active user, checked weekly. It climbed from $9.80 to $34.60 over ten weeks, while average cost per user, checked monthly, sat at $4.10 the whole time.
This is the hardest step, and the one most answers skip. A number that looks perfectly healthy right up until the morning everything broke is exactly what average cost per user was here.
AAbuse. How does this metric get gamed?
Throttle or quietly block the top users to force p95 down, without fixing the retry loop that actually drives the cost. Or redefine "active user" to exclude power users from the count entirely, so the number improves without the product changing at all.
A metric that can be hit without doing the real work isn't measuring the real work.
DDecision. What would you actually do at each threshold?
Past $20 in weekly p95: cap self-correction retries at two for the top usage decile, and route their hardest questions to a cheaper guided path. Past a second line, an account whose own AI cost runs well over its flat plan price for more than one month: move that account onto usage-based pricing.
A metric nobody acts on is a dashboard. These two thresholds are what make it a decision instead of a chart.

Three things worth stating directly, since this is where the real judgment sits. The alternative Ilya's team considered first, and dropped, was a flat cap on the number of queries any one user could run per day. It lost because it punishes exactly the users who prove the product works, the ones asking the hardest, most valuable questions, and it doesn't touch the actual cost driver, which is retries on complex queries, not query count. The AI-specific failure worth naming by name is unbounded agentic self-correction: a model that keeps rewriting its own SQL and resending the full schema after a failed attempt, with no ceiling on how many times it tries. The guardrail is a hard cap, two retries, then a cheaper guided path, deterministic filters instead of another free-form guess. That guardrail isn't free: capping retries at two instead of leaving them open drops first-try success on the hardest multi-table questions from about 91 percent to about 84 percent, a real quality-cost trade worth naming, not wishing away. And the bar Askly holds itself to was never zero cost variance across 9,000 users; no flat-priced product can promise that. It's a threshold-specific bar, weekly p95 held under $20 for the typical week, checked every week against the real distribution, not one calm-looking average standing in for a shape it was never built to show.

And if you want to be sure it really works, try it somewhere else

Same four letters, a veterinary telehealth chat instead of a business analytics tool, and this time it's chronic-condition pet owners driving the tail, not finance analysts.

Pawline is an AI triage chat Kellwick Veterinary Network offers pet owners: describe a symptom, and Pawline asks follow-up questions before saying watch it at home, book a video visit, or go to emergency care now. Frida Sohal runs product on it.

The build-up: Kellwick's "Unlimited chat" plan is flat too, one monthly fee per household, however much they use it. Average AI cost per active pet owner sat near $1.35 a month for most of a year. The top 4 percent of users, households managing a chronic condition like a diabetic cat or an epileptic dog, generate 58 percent of total chat cost, long, multi-turn conversations with real follow-up over weeks, not one symptom check and gone.

The decision Frida would take back Building the "Unlimited chat" plan on the same assumption every acute-care telehealth product makes: that most conversations are short, one-off, and roughly the same length. Chronic-care households never fit that shape, and nobody built a plan around them.

p95 weekly conversation cost per active user climbed from $3.10 to $11.40 over ten weeks before Kellwick's quarterly plan-margin review caught gross margin on "Unlimited chat" sliding from 68 to 49 percent, the same gap between a leading weekly number and a lagging quarterly one that Askly had.

Hand sketched drawing of two clock faces side by side on off-white paper. The left clock, drawn in warm grey, is labeled quarterly margin review, its hands close together early in their sweep. The right clock, drawn in amber, is labeled weekly p95 cost per user, its hands well further along their sweep, with a small hand lettered caption underneath reading would ring first.
Two clocks, same underlying problem. The weekly signal would have rung six to ten weeks before the quarterly one ever did.

Same rank as before: watch the distribution, not the average, and act before the lagging number confirms it. The fix is the same shape too: cap how many follow-up turns a single symptom thread gets before Pawline hands a chronic-repeat household to a lower-cost scripted check-in flow instead of full free-form chat, and build a chronic-care add-on tier instead of leaving the plan flat-only.

Swap the trigger and it still runs.
Speed: an interviewer caps you at ninety seconds. Skip straight to it: track the tail, not the average, pick a distribution-aware metric, set two real thresholds, and act at each one.
Cost: there's no budget this quarter for both a pricing overhaul and the retry cap. The retry cap wins, since it's the cheaper fix actually pointed at what's driving the cost, not just a symptom of it.
The model got better, for real: say Askly's SQL-writing model gets a lot more accurate on the first try. That's not proof the tail shrinks. Power users don't get more accurate, their questions get more ambitious to match, so retries can keep climbing even as first-pass accuracy improves everywhere else.

Where people run it wrong.
They watch a single blended average because it's the number every other dashboard already tracks, and never check whether their own usage has a long tail.
They notice the tail, and "fix" it by throttling or hard-capping their heaviest users, punishing the accounts most likely to be their best evidence the product works.
They wait for the lagging business number, margin, churn, to move before acting, when a distribution-aware usage metric would have told the same story weeks or months earlier.

How to use it live. Say the real question out loud before quoting a metric: "is this asking about the typical user, or the user actually driving the cost?" That buys a beat to think instead of reciting whatever number the dashboard already shows.

Flashcards (tap any card to flip it)

1 · THE FRAMEWORK
What framework is this, and what's its one job?
Tap to flip
ANSWER
LEAD: find the signal that moves first. Built for metric questions, not a story about a single person's habit.
2 · THE PERSON
Who is this answer about?
Tap to flip
ANSWER
Ilya Vahter, who owns cost and margin for Askly at Northgait Analytics. Built the product's original cost dashboard himself.
3 · THE OLD HABIT
What did Ilya stop doing, because the average always looked fine?
Tap to flip
ANSWER
He stopped spot-checking individual accounts' real query logs by hand, and started only reading the weekly average cost per user off the dashboard.
4 · THE HIDDEN GAP
What did the calm $4.10 average hide?
Tap to flip
ANSWER
In the same week Askly's platform-wide p95 hit $34.60, the average across all 9,000 users was still $4.10. Same platform, same week, two very different pictures.
5 · THE OLD DECISION
What decision would Ilya take back?
Tap to flip
ANSWER
Picking average AI cost per user as the north-star cost metric at the very first product review, and never swapping it out once power users appeared and the distribution grew a long tail.
6 · THE NUMBER
Fill in the blank: the top 5 percent of Askly's users generated ___ percent of total AI compute cost.
Tap to flip
ANSWER
61 percent. About 450 people out of roughly 9,000 monthly active users.
7 · THE REPLAY
Same quarter, new design, what changes?
Tap to flip
ANSWER
p95 tracked weekly catches the climb past the $20 line by week six. Retries get capped at two with a cheaper guided path, and Windermist Foods gets flagged for repricing, instead of finance finding it after the quarter closes with margin already at 52 percent.
8 · CROSS-PRODUCT TRANSFER
Section 4 answers this same question again for a different product. Which product, and what's the matching blind spot?
Tap to flip
ANSWER
Pawline, an AI vet triage chat at Kellwick Veterinary Network. Same shape of blind spot: chronic-condition pet owners drive most of the chat cost while the average stays calm.

Check yourself Score: 0 / 0

Fill in the blank
1. Average cost per user held near $___ a month for nine straight months, while p95 cost per active user climbed from $9.80 to $___ over the same stretch.
Show hint
Check the direct answer and the leading-edge chart in Section 1.
Show answer
$4.10, then $34.60. A nearly ninefold climb the average never showed a single hint of, because it was averaging the climb away against thousands of cheap, ordinary users.
Multiple choice
2. Why did average cost per user stay calm at $4.10 a month even as Windermist Foods' own AI cost blew past what they paid?
  • A. Because Askly's model got cheaper to run overall that quarter.
  • B. Because thousands of ordinary users asking a couple of simple questions a week were cheap enough to absorb a small number of very expensive ones.
  • C. Because Windermist Foods was on a different pricing plan than the rest of Askly's customers.
  • D. Because average cost per user excludes retry costs by design.
Show hint
Look at the 9,000 monthly active users and the top 5 percent figure in the story.
Show answer
B. 8,550 ordinary users asking simple questions kept the average looking calm, while the top 5 percent, about 450 people, generated 61 percent of total cost. Averaging blended the two groups into one number that described neither well.
True or false
3. True or false: quietly throttling the top 5 percent of users to bring p95 back down would have fixed the real problem.
  • True
  • False
Show hint
Look at the A step, Abuse, in the LEAD recap.
Show answer
False. That forces the number down without fixing the retry loop that's actually driving the cost, and it punishes the accounts most likely to be the best evidence the product works. It's the exact gaming move the A step names.
Short answer, name the rejected alternative
4. What alternative did Ilya's team consider for controlling cost, and why did it lose?
Show hint
Look at the paragraph right after the four LEAD steps in the framework recap.
Show answer
Model answer: A flat cap on how many queries any one user could run per day. It lost because it punishes exactly the users asking the hardest, most valuable questions, and it doesn't touch the actual cost driver, which is retries on complex queries, not the raw number of queries.
Short answer, apply it yourself
5. Pick an AI product you use that has some users who clearly use it far more than most. Name one place its average usage or cost number might be hiding a small group driving the real load, and how you'd check.
Show hint
Think of a product where a small group of people use it constantly and most people use it rarely.
Show answer
Model answer: A grocery delivery app's "average support-chat cost per user" might look tiny, since most shoppers never message support. But a small group who order daily and message support about nearly every delivery could be running up a real cost the average hides. I'd sort support-chat cost per user from highest to lowest and check what the top 5 percent alone cost, instead of trusting the company-wide average.
Multiple choice
6. If Northgait had checked p95 cost per active user only once a month, the same cadence as the average, instead of weekly, what would most likely have happened?
  • A. Nothing would change; p95 and average always move together.
  • B. p95 would have caught the climb roughly a month later than the weekly check did, since a monthly check only samples the trend once every four weeks.
  • C. p95 would have become impossible to compute at a monthly cadence.
  • D. Average cost per user would have started climbing too, at the same time.
Show hint
Think about what checking weekly actually buys you over checking monthly, given the ten-week climb in the chart.
Show answer
B. The whole value of the leading signal comes from how often you look at it, not just which metric you picked. A monthly check on the same metric would have still beaten the quarterly margin report, but weeks slower than the weekly check that actually caught it by week six.
Before you close the answer
Why this works
Tests whether you'll trust a number because it's stable, or ask whether stable is even the right thing to expect from it. Most candidates describe "measuring cost per user" and stop there, without asking what shape the real usage actually has.
Follow-up traps
"Isn't $34.60 just one bad week, not a real trend?" Response: it climbed for ten straight weeks in one direction, and Ilya's follow-up check a month later found the same accounts still driving it, that's a trend, not a blip.

"Why not just raise prices across the board instead of building all this?" Response: because 8,550 of Askly's 9,000 users are cheap and happy on the plan they're on. Raising price for everyone to cover 450 people's retries punishes the majority for a problem only the tail actually has.
If pressed
The retry cap isn't a flat two for every account. Company-plan accounts, which pay more and skew toward heavier legitimate use, get a slightly higher cap, three retries, before the guided path kicks in, so the ceiling matches what the account actually pays for.
From U2xAI Academy

From answering questions to owning outcomes.

A live workshop where you ship a working AI agent, defend a launch decision, and walk away with a portfolio recruiters can't wave off, not just more questions to study.

  • A live AI agent you actually shipped
  • A launch decision you can defend under pressure
  • An interview-ready portfolio, not more flashcards
Know more