Phase 8: Launch, Metrics & Scaling AI Products · 40 min · Python
Unit Economics & ROI of AI Features
An AI feature that costs $0.12 per query and generates $0.08 of value per query is not a feature — it's a leak that scales linearly with adoption.
Hiring signal: A candidate who can build a unit economics model that separates per-query cost from per-query value, project margin at scale, and choose a pricing structure that doesn't break when usage grows past the launch cohort demonstrates the business fluency that AI PM interviews specifically probe for in the case study round.
What you will learn
- Build a cost model for an AI feature at scale using real production usage data, not launch-cohort estimates
- Calculate margin impact of AI features on overall product economics
- Evaluate pricing structures: per-seat vs usage-based vs hybrid, and identify when each breaks down
- Calculate ROI for an AI feature beyond 'it feels valuable'
The Problem
A team launches an AI-powered document analysis feature. During the pilot, 50 users make an average of 20 queries per month. The API cost per query is $0.04 (short inputs, concise outputs). The team projects: "At 10,000 users, that's $8,000/month in API costs — totally manageable." Six months later, the feature has 10,000 users, but the actual API bill is $47,000/month. What happened? Three things the launch-cohort model missed: (1) average input length tripled as users moved from short memos to full contracts, (2) average output length doubled as users learned to ask for more detailed analysis, and (3) power users emerged who make 500+ queries per month, dragging the average from 20 to 55 queries per user. The per-query cost went from $0.04 to $0.11, and the per-user cost went from $0.80/month to $6.05/month. The feature is now significantly more expensive than projected, and the team is over budget.
This is the unit economics trap: launch-cohort data is not representative of scale. Early adopters use features differently than mainstream users. API costs are variable (they scale with usage), not fixed (like server costs). And the most expensive users — power users who make 500+ queries — are often the ones who find the feature most valuable, meaning adoption success directly drives cost growth. A PM who doesn't model unit economics at scale is flying blind.
Cost Modeling at Scale
The fix is building a cost model that uses real production parameters, not launch-cohort estimates:
Per-query cost breakdown:
- Input token cost: (average input tokens) × (price per 1K input tokens)
- Output token cost: (average output tokens) × (price per 1K output tokens)
- Infrastructure cost: (API gateway, caching, monitoring) ÷ (queries per month)
- Total per-query cost: input + output + infrastructure
Project at three usage levels:
- Launch cohort (current): small user base, short inputs, low frequency
- 10x scale: mainstream users, longer inputs, higher frequency, power users emerge
- 100x scale: full user base, full input complexity, peak usage patterns
The 10x and 100x projections reveal whether unit economics hold or break. If per-query cost triples at 10x (because input length triples) and per-user cost increases 7x (because query frequency increases), the feature that looked affordable at launch may be unsustainable at scale.
API costs are variable, not fixed
Traditional software features have fixed infrastructure costs (servers) that don't scale linearly with users. AI features have variable API costs that scale directly with usage — every additional query costs money. This means adoption success (more users, more queries) directly increases costs. A feature that "scales beautifully" in traditional software may scale terribly with AI if per-query economics are negative.
Unlock the full lesson
You've read the first 2 sections. The rest of this lesson covers Margin Impact and Pricing Structures, Calculating ROI, Build It, What to Practice — plus a hands-on lab, quiz, and project artifact.
Create a free account to unlock Phase 0 and Phase 1 of every course — no credit card.
Browse all courses · View pricing · DeVenture Academy