Forward-deployed / Learning zone
Technical product sensea standalone module
Lesson 08

The economics of infrastructure

TL;DR

Every feature has a cost of goods sold hiding in the infrastructure: compute, storage, network egress, third-party APIs, and — for AI features — tokens. Most software costs are invisible at demo scale and decisive at real scale, because they grow along different curves. Some are fixed (a base cluster). Some scale per user. Some scale per action. A few scale worse than linearly — cross-region data, fan-out notifications, long-context model calls. The PM's job isn't to read the cloud bill. It's to know each feature's unit economics: what one incremental user or action costs, which line dominates, and which product decisions — retention windows, real-time vs. batch, quality tiers — are secretly cost decisions.

🎯 For the AI PM

Why it matters — AI moved infrastructure cost from rounding error to headline. A model call can cost a million times more than a database read, and cost now scales with usage of your best feature. Margins are a product decision for the first time in most PMs' careers.

What it changes in your decisions — Price and package with the cost curve in view. Set budgets per feature and tenant. Treat "make it cheaper without making it worse" as a roadmap line with real engineering behind it.

Ask yourself — "What does one more daily-active user cost me on this feature — and does our pricing recover it at p95 usage, not just at the average?"

Risk if ignored — The success disaster: adoption exceeds the plan, every new user deepens the loss, and the emergency isn't technical. It's a repricing you do in public.

Where the money goes

Where the money goes

Four cost families · one unit-economics question

Most software costs are invisible at demo scale and decisive at real scale.

A feature in production
Compute — servers, autoscaling
Storage — DBs, backups
Network — egress, CDN
Third parties — APIs, tokens
Unit economics — cost per user · per action · per tenant
Pricing, packaging, and budget decisions

The four families behave differently:

The curves matter more than the totals

Two features with the same bill today can be different businesses tomorrow. Classify each cost by its curve:

Two structural notes from the AI era. Model prices per token have fallen steeply and repeatedly, so re-run yesterday's "too expensive" verdicts on a schedule. And caching changes an AI feature's economics more than any other single lever — prompt caching can cut input cost by an order of magnitude when the prompt is engineered for reuse.

The napkin every feature deserves

Before a feature enters the roadmap, four lines:

  1. Cost per action — the expensive path, priced at p95 (heavy users define your bill, not the median).
  2. Actions per user per month — from analogous features, honestly.
  3. Revenue per user per month — what the plan actually recovers.
  4. The dominant line — which cost family is 80% of the total, because that's the only one worth optimizing.

If the napkin says margin is negative at target adoption, that's not a veto. It's a design constraint: add a usage tier, batch the work, cache the common case, route easy cases to the cheap path, or price the feature as the premium it actually is. The one unacceptable outcome is discovering the napkin's answer on the invoice.

Failure modes

Practitioner checklist