All posts
|Saasly

How to Price an AI-Powered SaaS (4 Models, Real Examples, and the Gross Margin Trap)

A founder I know shipped an AI feature last month. Beautiful product, real value, customers loved it. Three weeks in, he checked his Stripe and OpenAI bills side by side. He was making $2,400 in MRR and burning $1,800 in API costs. His gross margin was 25%. His SaaS, which had been printing money at 85% margin, was now barely profitable.

His mistake was simple: he priced the AI feature like the rest of his product. Flat $29 per month. Unlimited usage. Just like every other SaaS.

This works fine when your marginal cost per user is essentially zero. It does not work when every customer query costs you 4 cents and your power users send 1,000 queries a month.

If you are adding AI to your SaaS, or building an AI-first product, your old pricing playbook is wrong. Here is what actually works.

Why traditional SaaS pricing breaks for AI

Traditional SaaS has a beautiful cost structure: you build the product once and serve it to one customer or one million customers at almost the same cost. Servers are cheap. Storage is cheap. The marginal cost of a new user is approximately zero.

AI products do not work this way. Every customer interaction has a real, variable cost. An LLM call costs money. An image generation costs money. A long context window costs more than a short one. A power user costs you 10x what a casual user costs.

This breaks two things at once.

First, flat-rate pricing collapses your gross margin. The customers who use your product the most—exactly the customers you want to retain—are also the most expensive to serve. In the worst case, your best customers cost you money.

Second, your unit economics become unpredictable. With traditional SaaS, you know your cost per customer is roughly fixed. With AI SaaS, your cost per customer is a distribution. Some users barely cost anything. Some cost more than they pay. You cannot calculate LTV or CAC accurately without modeling this distribution.

This is what Phil Libin would call a misaligned business model: your highest-value users (heavy AI usage) are also your most expensive ones. Without intervention, growing your engaged user base shrinks your margin.

The 4 pricing models for AI SaaS

There are four primary ways to price AI products. Each has trade-offs.

Model 1: Flat-rate with hard limits

You charge a fixed monthly price. Users get a fixed quota of AI usage. When they hit the cap, they have to wait until next month or upgrade.

Examples: ChatGPT Plus ($20/month, rate-limited). Notion AI ($10/user/month). Most "AI add-ons" to existing SaaS products.

When it works: Your usage distribution is reasonably tight. Most users will not hit the limit. You can absorb the occasional power user without it killing margins.

When it breaks: Long-tail users who consume 50x the average. Users complain about hitting limits and churn.

Model 2: Pure usage-based

You charge per token, per API call, or per generation. No subscription. Users pay only for what they use.

Examples: OpenAI API. Anthropic API. Most developer-focused AI infrastructure.

When it works: Your customers are technical, can predict their usage, and the value scales with consumption.

When it breaks: Non-technical buyers. Pricing anxiety ("how much will this cost me?"). Bill shock complaints. Hard to forecast revenue. Most consumer and SMB customers hate this model.

Model 3: Tiered with usage caps

You offer multiple tiers. Each tier has a different price and a different usage cap. Users pick the tier that matches their needs.

Examples: Cursor ($20 Pro, $40 Business with higher limits). Jasper (different word counts per tier). ChatGPT Plus vs Team vs Enterprise.

When it works: Most cases. You give users predictability, give yourself margin protection, and let heavy users self-select into higher tiers.

When it breaks: If your tiers are too far apart, users get stuck between them. If your caps are too restrictive, users feel cheated.

Model 4: Hybrid (base + overage)

You charge a base subscription that includes a generous quota. When users exceed the quota, they pay per unit for additional usage.

Examples: Vercel (base plan + bandwidth overage). Twilio. Most usage-aware SaaS.

When it works: Power users are willing to pay for extra usage rather than hit a wall. Predictable base revenue plus upside from heavy users.

When it breaks: Setup is more complex. Users need transparency about their usage to avoid bill shock.

How to calculate your AI cost of goods sold

Before picking a pricing model, you need to know what each user actually costs you.

The formula is simple but most founders skip it:

AI COGS per user = (Average AI calls per user) x (Average cost per call)

Example: You use OpenAI's GPT-4o-mini at roughly $0.15 per 1M input tokens and $0.60 per 1M output tokens. A typical user makes 200 AI requests per month with 500 input tokens and 200 output tokens each.

Input cost:  200 calls x 500 tokens / 1M x $0.15 = $0.015
Output cost: 200 calls x 200 tokens / 1M x $0.60 = $0.024
Total per user: ~$0.04 per month

That is a tiny cost. You could charge $5/month and still have 99% gross margin.

But power users are different. A power user might make 5,000 requests with longer context:

Input cost:  5,000 calls x 2,000 tokens / 1M x $0.15 = $1.50
Output cost: 5,000 calls x 800 tokens / 1M x $0.60 = $2.40
Total per power user: ~$3.90 per month

If you charge $9/month flat-rate, your average user gives you 99% margin but your power user gives you 57% margin. Average that across your user base and your gross margin depends entirely on the ratio of power users to casual users.

This is why tracking activation and engagement matters more for AI SaaS. The metric you really care about is the distribution of usage, not just the average.

The gross margin trap

Here is the trap most AI SaaS founders fall into.

You launch with flat-rate pricing. Most of your customers are light users, so your margin looks great—maybe 80%+. You ship more features, attract more engaged users, and your power user ratio increases. Six months later, your margin is 55% and you have no idea why.

You did not get less efficient. You got more popular with the wrong segment. The customers who love your product the most are eating your margin.

The fix is structural, not tactical. You cannot raise prices on your loyal users without churn. You have to either:

  1. Add usage caps to existing tiers (and grandfather existing users until you can transition them)
  2. Introduce a higher tier that captures power users at higher prices
  3. Make your AI calls cheaper through prompt optimization, cheaper models, or caching
  4. Add a hybrid overage charge for usage above a threshold

Whatever you do, do not ignore declining gross margin. In SaaS, gross margin trends predict survival 12-18 months out. Once you are below 50%, raising prices is hard and shrinking costs is harder.

This is exactly the kind of pattern the Growth State Machine framework helps you spot. If your high-value users (Flow #12) are growing but your gross margin is shrinking, you have a misaligned model and need to act before your numbers force you to.

A decision framework: which model is right for you?

Most bootstrapped founders should default to Model 3 (tiered with caps). It is the safest, most predictable, and easiest to communicate.

Use Model 1 (flat-rate with hard limits) only if:

  • Your average usage is low enough that even power users are profitable
  • You can absorb the worst-case user without it being a problem
  • Your audience is allergic to thinking about usage

Use Model 2 (pure usage-based) only if:

  • Your customers are developers or technical buyers
  • The value of each unit of usage is clearly measurable
  • You can communicate cost predictably

Use Model 4 (hybrid base + overage) when:

  • You want predictable base revenue
  • You have power users who would rather pay for more than be cut off
  • You have the engineering capacity to track usage transparently

The decision flowchart:

| Your situation | Recommended model | |----------------|------------------| | AI is a small feature in an existing SaaS | Flat-rate, soft limits, no charge for now | | AI is the core product, mixed user types | Tiered with caps | | AI is the core product, technical buyers | Pure usage-based | | AI is the core product, mature customers | Hybrid (base + overage) | | Bootstrapped, want predictability | Tiered with caps |

Worked example: pricing an AI writing tool

Let us walk through this concretely. You are building an AI writing tool. Your costs:

  • LLM cost: ~$0.05 per long-form generation (5,000 input + 1,500 output tokens)
  • Hosting/infrastructure: ~$2 per active user per month
  • Total marginal cost per user: depends on usage

Your usage distribution after 100 users:

  • 60% generate 5-10 documents per month (cost ~$0.40-0.50 each)
  • 30% generate 20-50 documents per month (cost ~$1-2.50 each)
  • 10% generate 100+ documents per month (cost ~$5+ each)

If you charge $19/month flat:

  • Light users: $19 - $2.50 = $16.50 contribution (87% margin)
  • Medium users: $19 - $4.50 = $14.50 contribution (76% margin)
  • Heavy users: $19 - $7+ = $12 or less (63% margin)

Blended margin around 78%. Healthy. But notice: if your heavy users grow from 10% to 25% of your base, your blended margin drops below 70%.

Better approach: tiered model.

| Tier | Price | Document limit | Target user | |------|-------|---------------|-------------| | Starter | $9/mo | 10/month | Casual users | | Pro | $29/mo | 50/month | Regular users | | Power | $79/mo | 200/month | Heavy users |

Now your power users pay 4x what your casual users pay—because they cost you 10x as much. Your blended margin stabilizes at 75-80% regardless of mix.

This is the structural fix. You are not just charging more, you are charging right.

What to do this week

If you have an AI feature already shipped:

  1. Calculate your actual COGS per user (use the formula above)
  2. Look at your usage distribution (most billing tools show this)
  3. Identify your worst 10% of users by margin—if they are unprofitable, you have a pricing problem
  4. Track your gross margin monthly (this should be in your monthly metrics routine)

If you are about to ship an AI feature:

  1. Estimate COGS per user before pricing
  2. Default to tiered pricing with usage caps
  3. Set caps at 2-3x your expected average usage
  4. Plan a "Power" tier from day one (do not wait for power users to break your model)

Use Saasly's free calculator to model your unit economics with different pricing models. Plug in your COGS and see how LTV:CAC and gross margin change with each scenario.

The founders who survive the AI era will not be the ones who ship features fastest. They will be the ones who get unit economics right from day one.


Frequently asked questions

How do I price my AI-powered SaaS?

There are four main pricing models for AI SaaS: flat-rate with limits, pure usage-based, tiered with usage caps, and hybrid (base subscription plus overage). The right choice depends on your usage distribution and gross margin target. For most bootstrapped founders, tiered with usage caps is safest.

Why is pricing AI products different from traditional SaaS?

Traditional SaaS has near-zero marginal cost per user. AI products have real compute costs that scale with usage. A heavy user can cost you 10x more than a light user, breaking flat-rate economics. You need pricing that reflects this variable cost structure.

What is a good gross margin for AI SaaS?

Healthy AI SaaS gross margins are typically 60-75%, lower than traditional SaaS (75-90%). Below 50% margin means LLM costs are eating your unit economics. Below 30% is unsustainable.

Should I use usage-based pricing for my AI feature?

Pure usage-based pricing works if your customers can predict their usage and value scales linearly. For most bootstrapped SaaS, hybrid pricing (base fee plus overage) gives predictable revenue and protects margins. Pure usage-based often confuses customers and creates bill shock.

Stay in the loop

Get practical growth tips and product updates for bootstrapped SaaS founders. Free, no spam.