# AI SaaS Unit Economics: Token COGS & Gross Margins

> How to calculate AI SaaS gross margin, token COGS, VM compute cost, whale user bleed, and CAC payback so flat-rate subscriptions stay profitable in 2026.

By Founder2 Editorial, The Founder2 journal. Published 2026-11-23. Topic: Economics. Canonical: https://tryfounder2.com/blog/ai-saas-unit-economics-token-cogs-margin-guide

## Key takeaways

- Classic B2B SaaS averages 75%-85% gross margin because serving an extra seat costs pennies; unthrottled AI SaaS often drops below 40% once frontier tokens, reasoning loops, and sandbox VMs compound.
- Always compute AI-adjusted gross margin as (Monthly Price minus Token COGS, VM/Infra COGS, and Payment Fees) / Monthly Price, then stress-test the top 10% power users separately.
- Power users routinely consume 4x-8x average tokens; a $19/mo unlimited plan can lose money on your happiest customers while looking profitable on blended averages.
- Replace unlimited promises with explicit dollar or hour pools (like Founder2 Plus's 30 VM hours and $15 coding pool at $29/mo) so work pauses cleanly at the cap instead of burning cash.

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](/tools/unit-econ) and [vibe-code whale bleed calculator](/tools/vibe-econ).

## Why traditional SaaS LTV formulas break on AI products

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](/benchmarks) or test raising price tiers in our [SaaS pricing simulator](/tools/pricing-sim).

## Three margin profiles compared

**How variable inference and compute costs separate classic SaaS from unthrottled vs usage-capped AI SaaS.**

|  | Classic SaaS | Unthrottled AI | Capped AI SaaS |
| --- | --- | --- | --- |
| Typical gross margin | 75% to 85% | 20% to 50% (negative on whales) | 60% to 75% |
| Power user effect | Higher retention, near-zero cost | Top 10% erase margin of other 90% | Upgrades to higher tier at cap |
| LTV/CAC distortion | Predictable payback | Gross-revenue LTV hides cash burn | Margin-adjusted LTV stays accurate |

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

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

## How to model token COGS and power-user whales

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.

## Illustrative gross margin comparison

**Illustrative gross margin percentage on a $29/mo subscription across three cost architectures.**

| model | Gross margin (%) |
| --- | --- |
| Classic B2B SaaS | 82% |
| Usage-Capped AI SaaS | 66% |
| Unthrottled AI Wrapper | 33% |

_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._

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

## Four pricing guardrails that protect AI gross margin

- **Separate open-weight and frontier tiers:** On [Founder2 pricing](/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](/vs/notion-ai) and [Founder2 vs Zapier Agents](/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](/tools/nrr-calc) to verify whether expanding power users upgrade into higher pools fast enough to offset logo churn.

## Frequently asked questions

### 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 2026-11-23.

- [Free AI Unit Economics Sandbox](https://tryfounder2.com/tools/unit-econ)
- [Free Vibe-Code Bankruptcy & Whale Bleed Calculator](https://tryfounder2.com/tools/vibe-econ)
- [Free SaaS Pricing Change Simulator](https://tryfounder2.com/tools/pricing-sim)
- [Free NRR & Quick Ratio Calculator](https://tryfounder2.com/tools/nrr-calc)
- [Public SaaS Benchmarks (43 SEC 10-K Filings)](https://tryfounder2.com/benchmarks)
- [Founder2 pricing ($29 Plus, $99 Pro)](https://tryfounder2.com/pricing)
- [Founder2 vs Notion AI comparison](https://tryfounder2.com/vs/notion-ai)
