Calculate AI SaaS gross margin by subtracting per-user token COGS, sandbox compute, and payment processing fees from monthly ARPU before multiplying by lifetime: (Price minus Variable AI COGS and Payment Fees) / Price. Test your live numbers and whale power-user risk in our free AI unit economics calculator and vibe-code whale bleed calculator.

Most founders still calculate LTV as ARPU divided by monthly churn. That shortcut works when serving one extra customer costs $0.40 in Postgres and CDN bandwidth. It fails when one active customer triggers 40 multi-step reasoning loops, web scrapes, and cloud VM hours every week.

If a $29/mo customer burns $22/mo in frontier API tokens and $1.50 in payment fees, your real gross profit is $5.50/mo, not $29/mo. At 6% monthly churn, gross-profit LTV is $91.67 instead of $483.33. Spending $150 on ads to acquire that user destroys cash on every signup.

Compare your target gross margin against 43 public software companies in our SEC 10-K SaaS benchmarks or test raising price tiers in our SaaS pricing simulator.

Before writing a pricing page, inspect how your cost curve behaves when your happiest customers use the product ten times harder than average.

How variable inference and compute costs separate classic SaaS from unthrottled vs usage-capped AI SaaS.
CriterionClassic SaaSCRUD + DBUnthrottled AIFlat unlimitedCapped AI SaaSExplicit pools
Typical gross margin75% to 85%20% to 50% (negative on whales)60% to 75%
Power user effectHigher retention, near-zero costTop 10% erase margin of other 90%Upgrades to higher tier at cap
LTV/CAC distortionPredictable paybackGross-revenue LTV hides cash burnMargin-adjusted LTV stays accurate

Model your own price, churn, CAC, and token spend in /tools/unit-econ and /tools/vibe-econ.

Split your unit-economics spreadsheet into three variable buckets instead of lumping API bills into fixed overhead:

  1. Inference tokens per active user: Multiply average daily prompts by average input plus output tokens (remembering system prompts and tool-call history grow context linearly across turns).
  2. External tool and compute COGS: Add search API calls (Exa, DeepSeek), headless scraping (Firecrawl/Crawl4AI), and sandbox VM hours per workspace.
  3. The 5x whale multiplier: Model the top 10% of users at 5x average usage. If power users produce negative net contribution, flat unlimited pricing turns your best advocates into your worst margin leak.

Routing routine tasks to fast open-weight models while reserving closed frontier reasoning models for higher-priced tiers protects margin without degrading quality.

Illustrative gross margin percentage on a $29/mo subscription across three cost architectures.
modelGross margin (%)
Classic B2B SaaS82%
Usage-Capped AI SaaS66%
Unthrottled AI Wrapper33%

Assumes $1.50 payment fees; unthrottled AI assumes $18/mo frontier token & VM bleed on heavy users; capped AI routes routine turns to open weights and caps pools.

  • Separate open-weight and frontier tiers: On Founder2 pricing, Plus ($29/mo) runs open-weight models with 30 VM hours, a $15 coding pool, and a $6 daily model budget, while Pro ($99/mo) unlocks closed frontier models, up to 10 seats, 150 VM hours, and a $75 coding pool.
  • Pause cleanly at caps instead of charging surprise overages: Hard monthly pools cap your worst-case downside per seat while giving buyers predictable invoices compared to opaque credit systems (see Founder2 vs Notion AI and Founder2 vs Zapier Agents).
  • Cache deterministic work out of the LLM: Compute MRR, churn, NRR, and payback in deterministic TypeScript rather than asking a reasoning model to multiply invoices on every chat turn.
  • Track Net Revenue Retention alongside margin: Use our free NRR and Quick Ratio calculator to verify whether expanding power users upgrade into higher pools fast enough to offset logo churn.

What is a healthy gross margin for an AI SaaS company in 2026?

Aim for 60% to 75% gross margin on blended paying users and keep even 5x power users above breakeven. Falling below 50% gross margin compresses CAC payback and leaves too little cash to fund product engineering or sales.

How do I stop power users from bankrupting a $19/mo AI plan?

Eliminate unlimited wording on inference-heavy actions. Publish clear monthly token, dollar-pool, or VM-hour caps, route lightweight steps to lower-cost models, and prompt heavy users to upgrade to a higher tier when they hit their pool.

Should token costs count in COGS or R&D operating expenses?

Production inference tokens, vector queries, search API calls, and customer sandbox VMs belong strictly in Cost of Goods Sold (COGS) because they scale directly with customer usage. Internal development and eval tokens belong in R&D.

How does Founder2 prevent model hallucinations in unit economics?

Founder2 computes MRR, churn, LTV, CAC payback, and runway in deterministic code from read-only Stripe and Mercury feeds, then passes those verified outputs to the AI co-founder as structured facts rather than asking the LLM to estimate finances.

Sources

Checked 23 November 2026.