Everything that turns an AI-built first version into a subscription business: billing, accounts and teams, onboarding, retention, support, pricing when every customer costs you tokens, and the numbers to hold yourself to.
Building the software is no longer the slow part of starting a SaaS. In 2025, 20% of Stripe Atlas startups charged their first customer within 30 days of forming, up from 8% in 2020 - Stripe. That speed is exactly what AI coding tools promise. Yet turning a first charge into a real business is still rare: of 6,525 software companies tracked from their first revenue, only 3.3% reached $1 million in annual recurring revenue within a year, and only a quarter got there within five years - ChartMogul.
The gap between those two numbers is what this guide is about. When you search "how to build a SaaS with AI", most answers show you how to prompt an app into existence. That part is covered on this site already: our guide to building an MVP with AI explains what to build first and what to leave out, and our guide to multi-tenant SaaS architecture covers the engineering of keeping customers' data apart. This guide starts where those end. It is about the subscription business you build on top of a first version: the systems that charge people every month without mistakes, let a team share an account, get a new user to value before they leave, keep them paying, and answer them when something breaks.
Those systems are where AI-built products tend to fail, and in the AI era they carry a new problem that classic SaaS never had: every customer now costs you money each time they use the product. A heavy user on a flat plan can be unprofitable, and several of the best-funded AI companies learned that in public. We will go through what makes software a SaaS business, which of those parts AI tools build well and which they get wrong (with real incidents), how to price when costs scale with use, the benchmarks a young SaaS should hold itself to, what the stack costs per month, and whether the "SaaS is dead" argument should change your plans at all.
This guide reflects tools, prices and benchmarks as of November 2026. Vendor prices and plan limits change often, so check the current page before you commit.
Contents
- What makes software a SaaS business
- What AI tools build well, and what they get wrong
- Tenant leaks, auth bypasses and wiped databases: the incidents
- Recurring billing: the parts that break
- Accounts, teams and the enterprise gate
- Onboarding: from sign-up to first value
- Retention and churn: the benchmarks to hold yourself to
- Support: the system that keeps customers
- Pricing a SaaS when AI costs scale with use
- The stack, the routes to build it, and the monthly cost
- Is SaaS dead? The argument weighed from first principles
- A build sequence for an AI-built SaaS business
- What to hold yourself to
1. What makes software a SaaS business
Start with what a customer actually buys. A one-off app sells a thing. A SaaS sells continuing access to something that keeps working: the software, the data inside it, the updates, and the assurance that someone is responsible when it breaks. Because the customer pays again every month, the business has to re-earn the payment every month. That single fact is the source of every system in this guide.
Write the economics down and the systems fall out of them. Monthly revenue is the number of paying customers times the average price. Customers arrive through acquisition and leave through churn, so the number you keep is a balance between the two. The lifetime revenue of one customer is roughly the monthly price divided by the monthly churn rate. At $29 a month and 5% of customers leaving each month, the average customer stays 20 months and pays you about $580. Cut churn to 2% and the same customer stays 50 months and pays about $1,450, with no change to the product's price or the cost of acquiring them. This is why experienced SaaS operators obsess over retention more than over features: retention multiplies everything else.
From those economics, five systems separate a SaaS business from software that happens to take a card payment:
- Recurring billing collects the money every period, handles upgrades, downgrades, failed cards, refunds and taxes, and keeps access in sync with payment.
- Accounts and teams let a customer be a company rather than a person: several users, roles, invitations, one bill.
- Onboarding gets a new sign-up to the moment the product proves its value, before their attention runs out.
- Retention is the set of mechanisms and measurements that keep customers paying: usage that becomes habit, data that accumulates, the right plan for each customer, and an early warning when someone drifts.
- Support answers questions and fixes problems, and it is also your best sensor for why people leave.
AI-native products add a sixth: metering and cost control. Classic SaaS has a near-zero cost for each extra unit of use, so a flat monthly price was safe. A product that calls a language model on every action has a real cost per action, so usage has to be measured, limited or charged for, or the heaviest customers quietly eat your margin. Section 9 is about this.
How do you know whether these systems are working? Benchmarks come later, but one floor is worth stating now: a large survey of private B2B SaaS companies concludes that "to have a shot at performance parity with your peers, GRR must be at least 90%" - SaaS Capital. Gross revenue retention (GRR) is the share of last year's recurring revenue you still collect from the same customers, ignoring upgrades. Below 90%, the business is a leaky bucket that acquisition has to keep refilling.
The practical consequence for anyone building with AI is a change in where the work is. Generating screens and features is now cheap. The systems above are mostly invisible: nobody demos a correct proration or a webhook handler that ignores duplicate events. They only show up when they fail, and they fail on real money and real customer data. That is the part this guide spends its time on.
2. What AI tools build well, and what they get wrong
AI coding tools are now very good at the visible parts of a SaaS. Ask a current coding agent for a pricing page, a settings screen, a dashboard with charts, an onboarding checklist, transactional email templates or a CRUD interface over a database table, and you will usually get working, decent-looking code in minutes. They are also good at wiring documented APIs on the happy path: a hosted Stripe Checkout that takes a payment, an auth library's sign-in flow, a call to an email provider.
The failures cluster in a specific place, and the reason is structural rather than a matter of the models not being smart enough yet. A coding agent optimises for code that runs and does what the prompt asked. You check its work by clicking through the app. But the properties that matter most in a SaaS are about what must not happen: one customer must not read another's invoices, a user must not unlock a paid plan by editing a request, a webhook delivered twice must not grant two months of access. None of those are visible when you click through your own account. A demo cannot show the absence of a hole, so neither the model nor the founder sees it.
The independent studies agree on the size of the problem. Veracode tested generated code across many models and found "45% of code samples failed security tests and introduced OWASP Top 10 security vulnerabilities into the code", adding that security performance "remained flat, regardless of model size or training sophistication" - Veracode. Carnegie Mellon researchers built a benchmark of real-world tasks and found that the best agent setup produced working solutions 57% of the time but secure ones only 11.8% of the time - arXiv. An analysis of 470 pull requests found AI-generated ones contained about 1.7 times more issues overall, with security issues up to 2.74 times higher - CodeRabbit.
The most useful study for a SaaS founder is the one that built the same apps with five coding agents and then attacked them. Tenzai found 69 vulnerabilities across 15 apps, and noted that "every application included a login page with zero rate limiting or account lockout mechanisms" - Tenzai. Its billing-relevant finding is the kind of bug no demo shows: four of the five agents accepted negative quantities in an order, and three let a product be created with a negative price. A negative price is a refund generator.
Scans of live apps show the same pattern at scale. Escape analysed over 5,600 public apps built with vibe-coding tools and found more than 2,000 vulnerabilities, 400+ exposed secrets and 175 instances of exposed personal data - Escape. The vulnerabilities are now tracked formally too: Georgia Tech's Vibe Security Radar had confirmed 74 CVEs linked to AI-generated code through March 2026, with the monthly count rising from 6 in January to 35 in March - Cloud Security Alliance.
Map those findings onto the SaaS systems and a clear picture emerges of where to trust the tools and where to check them:
| SaaS system | What AI tools build well | Where they go wrong | Example from the record |
|---|---|---|---|
| Accounts and teams | Sign-up and sign-in screens, invitation emails, settings pages | Authorization checks done in the browser, missing ownership checks, no row-level security | Lovable apps reading other users' rows (section 3) |
| Recurring billing | Hosted checkout, a pricing page, a "manage subscription" button | Access granted from client state, webhooks unverified or processed twice, negative amounts | A paywall bypassed by writing payment_status: paid |
| Data and tenancy | Tables, forms, dashboards | Database keys shipped to the browser, tables left readable by anyone | Moltbook's open database (section 3) |
| Operations | Deploy scripts, migrations | Destructive commands on production, no backups or restore tests | An agent deleting a production database during a code freeze |
| Cost control | Calling a model API | No per-customer limits, keys exposed in front-end code | Exposed keys that start billing for a model API |
The pattern in that table is the main lesson of this section. AI tools are reliable at the part of the work whose correctness you can see, and unreliable at the part whose correctness you can only test by trying to break it. So the founder's job changes from writing code to specifying and verifying invariants: who may read what, when access starts and stops, what happens when an event arrives twice. You can ask the AI to write those checks and the tests for them, and it will. It just will not do it unprompted, because nothing in a happy-path prompt asks for it. Our pre-launch security checklist for AI-built apps turns this into concrete steps.
3. Tenant leaks, auth bypasses and wiped databases: the incidents
Abstract statistics are easy to wave away. The incidents below are not, and each one maps to a SaaS system that a founder building with AI is responsible for. They are worth reading closely, especially if you are vibe coding a SaaS without reading the generated code, because they repeat: the same root causes show up across different tools and different years.
Tenant data leaks: the missing row-level security
The best-documented incident in AI-built SaaS is the Lovable exposure catalogued as CVE-2025-48757. Apps generated by the tool talked to a Supabase database straight from the browser, which is a legitimate design only if the database's row-level security (RLS) policies restrict every query to the rows the user owns. In many apps they did not. The researchers "identified 303 endpoints across 170 projects (approximately 10.3% of the 1645 analyzed) with inadequate RLS settings" - Matt Palmer. Lovable responded with a security scanner, which the researchers criticised because it "merely checks for the existence of any RLS policy, not its correctness or alignment with application logic."
That last point generalises. A policy existing is not the same as a policy being right, and only a test from a second account proves the difference. The same researchers showed what a wrong policy means for a business: on one of the affected apps they wrote a row with "payment_status": "paid" straight into the database, "thereby bypassing the Stripe integration." The screenshot below is their proof. Nothing about it is sophisticated. It is a single web request that anyone who opens the browser's developer tools could write.
The row in that payload is the whole failure: the app trusted a database field that the customer could write. In a correctly built SaaS, only your server writes payment status, and only after verifying an event from the payment provider (section 4 explains how).
The pattern did not stop in 2025. In February 2026, a security researcher found an education app hosted on Lovable where an AI-generated access check was inverted: it blocked logged-in users and let anonymous ones through, exposing 18,697 user records - The Register. The same month, Wiz found that Moltbook, a site where AI agents post and message each other, had a Supabase key in its client-side JavaScript and no RLS on its tables. "The exposure included 1.5 million API authentication tokens, 35,000 email addresses, and private messages between agents" - Wiz. Later in 2026, an investigation by the security firm Red Access found roughly 380,000 publicly accessible assets created with AI coding tools such as Lovable, Replit, Netlify and Base44, about 5,000 of which exposed potentially sensitive information - eWeek.
Even the builders themselves are not immune. In April 2026, a broken object-level authorization flaw in Lovable's own API "allowed anyone with a free account to access another user's profile", and older projects stayed exposed for weeks - The Next Web. For a founder this matters in two ways: your code and credentials live on the platform you build with, and you should assume any platform can have its own tenancy bug.
Authentication bypasses
Tenancy is about which rows a user can see. Authentication is about whether the platform knows who the user is at all. In July 2025, Wiz found that apps built on Base44 had hidden registration and verification endpoints that let anyone with a non-secret app ID create a verified account in a private app. "This effectively bypassed all given authentication controls that Base44 provided, including Single Sign-On (SSO)" - Wiz. Base44's owner, Wix, fixed it within 24 hours.
The Base44 flaw was in the platform, but Wiz's broader research found the same mistake inside the apps people build. Wiz summarised the habit it kept seeing in vibe-coded apps: "They treat the user's browser as a trusted environment for authentication, which it is not" - Wiz.
When the agent itself is the risk
A newer class of incident comes from giving an agent access to production. In a demonstration by General Analysis, a coding agent connected to a Supabase project with a service-role key (which bypasses RLS entirely) read a customer support ticket that contained hidden instructions, then copied a table of integration tokens into a reply the attacker could see. The researchers' summary: "No permissions were violated. The agent just followed instructions it should never have trusted" - General Analysis. Supabase added read-only and project-scoped modes afterwards and said the changes "reduced risk but did not eliminate it" - Supabase.
Then there are agents that destroy data. In July 2025, Replit's agent deleted the production database of a SaaStr project during an explicit code freeze, wiping out data for more than 1,200 executives and over 1,190 companies - Fortune. Replit then separated development and production databases automatically - Replit. In February 2026, the founder of DataTalks.Club described how a coding agent ran terraform destroy against production after an old state file was swapped in, deleting the infrastructure and its automated snapshots. The data came back only because "AWS support found a snapshot and restored everything" - AI Shipping Blog.
Keys that run up bills
The last category is the most direct threat to a young SaaS's bank account. Truffle Security found that Google API keys left in front-end code for services like Maps start working for Gemini once Gemini is enabled on the same cloud project, with no notice to the owner. It found 2,863 live keys and warned that a single exposed key "could generate thousands of dollars in charges per day on a single victim account" - Truffle Security. Moltbook's database also held "plaintext OpenAI API keys" alongside everything else.
What the incidents teach
Read together, these cases point to a short list of defences that matter far more than any choice of tool:
- Test tenancy from a second account. Create two customers, then try to read, edit and delete customer A's data while signed in as customer B, through the API and not just the interface. If you use Supabase or another database with RLS, write a policy test for every table.
- Never trust the browser. Every authorization decision, every price, every payment status and every plan check happens on the server. The browser only displays what the server allows.
- Keep secrets server-side and scoped. Service-role keys, model API keys and payment secrets never ship in front-end bundles. Put a spending cap on every model API account.
- Separate production from everything else, keep agents' credentials read-only where possible, and test that you can restore a backup before you need to.
Our articles on why AI apps corrupt data and on multi-tenant SaaS architecture go deeper into the mechanics. The point for this guide is simpler: when you build a SaaS with AI, these four defences are the founder's job, because the tools will not add them unless you ask.
4. Recurring billing: the parts that break
Taking one payment is easy, and our MVP guide covers the basics: use a hosted checkout, keep secret keys on the server, and unlock access only after the server has verified a signed event from the payment provider. Recurring billing is a different problem. It is a long-running state machine that has to stay in sync with your product for years, through card expiries, upgrades, refunds and tax changes, for every customer at once. Most of the money a young SaaS loses to billing is lost in the edge cases of that machine, not in the first charge.
The subscription is a state machine
Stripe, the default processor for most small SaaS companies, models every subscription as a set of states, and your product has to react to each one. A subscription can be trialing, active, incomplete, incomplete_expired, past_due, canceled, unpaid or paused; a first payment that fails leaves it incomplete, and the customer "must make a successful payment within 23 hours" before it expires - Stripe Docs. When renewals fail and retries run out, your own settings decide whether the subscription becomes past_due, unpaid or canceled, and Stripe's guidance for the unpaid state is blunt: revoke access to your product. The diagram below shows the main paths a founder has to handle.
The reason AI-generated billing code goes wrong is visible in that diagram. A prompt like "add Stripe subscriptions" produces code for the arrow from checkout to active and usually nothing else. The customer whose card is declined in month four keeps using the product forever, or the customer whose card is fixed on retry stays locked out because nothing listens for the recovery.
Webhooks: retries, duplicates and order
Every state change reaches your server as a webhook, and webhooks have three properties that break naive code. First, they are retried: Stripe "attempts to deliver events to your destination for up to three days with an exponential back off in live mode" - Stripe Docs. Second, they can arrive more than once, and the same documentation tells you to guard "against duplicated event receipts by logging the event IDs you've processed." Third, they can arrive out of order, because "Stripe doesn't guarantee the delivery of events in the order that they're generated." On top of that, an unverified endpoint is an open door: without signature verification, the docs warn, "an attacker could send fake webhook events to your endpoint to trigger actions like fulfilling orders, granting account access".
Each property maps to one line of discipline you can ask your AI coder to implement and then test. Verify every event's signature against the raw request body. Record each event ID and skip any you have seen. Never trust the order of events: when an event arrives, fetch the subscription's current state from the provider and set your record to that, rather than applying the event as a delta. Return a success status quickly and do slow work afterwards, because a slow handler gets retried and creates the duplicates you are trying to avoid. The same principle applies to any request that moves money: an idempotency key lets you "safely retry it with the same idempotency key, and the customer is charged only once" - Stripe.
Failed payments are churn you can recover
A surprising share of SaaS churn is not customers deciding to leave. In Recurly's network data, involuntary churn (failed payments) accounts for 1.06 points of a 3.22% total churn rate for SaaS subscriptions, about a third of all churn - Recurly. It falls steeply with price: involuntary churn is 1.30% for subscriptions at $10 to $25 a month and 0.18% above $250, partly because expensive plans tend to be paid by company cards and invoices that someone watches.
The tools for recovering it are mostly built in. Stripe enables Smart Retries by default on new accounts and configures them "for up to 8 retries within 2 weeks" - Stripe Docs. It claims that "businesses using Stripe recover 55% of failed payments on average" - Stripe. What the provider cannot do for you is the product side: show a banner to a past_due customer, send a clear email with a link to update the card, and restore access the moment the retry succeeds. Those three pieces are cheap to build with AI once you know to ask for them, and they convert a silent loss into a recovered customer.
Upgrades, downgrades, refunds and the customer portal
Plan changes are where billing gets arithmetically subtle. Stripe's default behaviour is proration: "If a customer upgrades from a 10 USD monthly plan to a 20 USD option halfway through the billing period, the customer is billed an additional 5 USD" - Stripe Docs. A downgrade creates a credit rather than a refund, because negative prorations are not automatically refunded. Decide your policy (immediate change with proration, or change at the next renewal) before you build, and write it into the pricing page so support never has to improvise.
For most self-serve products, the simplest correct answer is to let the provider host the screens. Stripe's customer portal lets customers update payment methods, change, pause or cancel subscriptions, and download invoices, with no code - Stripe Docs. It also supports offering a coupon when someone cancels, which is the cheapest retention experiment you can run. Building your own billing UI is rarely worth it before you have hundreds of customers.
Processor or merchant of record
The other billing decision is who carries the legal and tax burden of each sale. With a processor like Stripe, you are the seller: you collect and remit sales tax and VAT wherever you are registered, and you answer chargebacks. With a merchant of record (MoR), the provider is the legal seller and handles tax for you, for a higher fee. For a solo founder selling globally from day one, that trade is often worth it. Here is what the main options charge today.
| Provider | Model | Fee on a US card sale | Notes |
|---|---|---|---|
| Stripe | Processor | 2.9% + 30¢, plus 0.7% Stripe Billing, plus 0.5% Stripe Tax where registered | International cards +1.5% |
| Stripe Managed Payments | Merchant of record | Card fee plus 3.5% | Checkout and Payment Links only |
| Paddle | Merchant of record | 5% + 50¢ | No monthly fee |
| Polar | Merchant of record | 5% + 50¢ free tier, down to 3.4% + 30¢ at $400 a month | New pricing since May 2026 |
| Lemon Squeezy | Merchant of record | 5% + 50¢ | Closed to new sign-ups, shutting down |
Stripe's figures come from its own pricing page: the card fee, the "0.7% of Billing volume", Stripe Tax at 0.5% per transaction where you are registered, and the Managed Payments fee of "3.5% per successful Managed Payments transaction in addition to Payments fees" - Stripe.
Managed Payments, Stripe's own merchant-of-record option, became generally available on April 22, 2026, in 39 countries - Stripe changelog. It works only with Stripe Checkout and Payment Links, not with Connect - Stripe Docs.
Among the independent merchants of record, Paddle charges "5% + 50¢" with no monthly fee - Paddle. Polar's tiers run from a free plan at 5% + 50¢ to a $400-a-month plan at 3.4% + 30¢ - Polar.
The last row of that table is a lesson in itself. Lemon Squeezy, a merchant of record that many small software sellers used, announced in November 2026 that it is no longer accepting new sign-ups and will stop processing payments on March 31, 2027 - Lemon Squeezy. Every SaaS on it now has to migrate its subscriptions. Billing providers are infrastructure you depend on for years, so weigh a provider's staying power alongside its fee, and keep your own record of every customer's plan and status so a migration is a data export rather than a rebuild. Our ranking of payment platforms compares sixteen processors and merchants of record in depth, and our guide to metered billing for AI products covers billing engines for usage-based plans.
5. Accounts, teams and the enterprise gate
The first version of most products has users. A B2B SaaS needs organisations: a company account that several people belong to, with roles, invitations, one subscription and one bill. Retrofitting organisations onto a product built around individual users is one of the most painful migrations in SaaS, because every table, every permission check and every billing record assumed a single owner. If there is any chance your customers are teams, model the organisation from the first day, even if every organisation starts with one member.
The structural reason is that the organisation is the unit of almost everything that matters to a business. It is who pays, so billing attaches to it. It is the boundary of data, so tenancy rules are written against it. It is what grows, so seat counts and usage are measured on it. And it is what an enterprise buyer evaluates, through single sign-on, user provisioning and audit logs. When you prompt an AI coder to build a SaaS, say this explicitly: every row of customer data belongs to an organisation, every query is scoped to the current user's organisation, and roles are checked on the server.
Authentication vendors now price organisations as a product line, and the pricing shapes your choice. Clerk's free plan covers 50,000 monthly retained users per app, its Pro plan is $25 a month ($20 billed annually), and it includes 100 monthly retained organisations before charging $1 a month for each additional one up to 1,000 - Clerk. Its enhanced B2B add-on is $100 a month, and enterprise SSO connections beyond the first are $75 a month each. That is cheap at the start and noticeable at scale: a product with 1,000 active customer organisations would pay about $25 + 900 × $1 = $925 a month for organisations alone.
User counts add their own line as you grow. Clerk's own explainer puts a product with 100,000 retained users at "about $1,025/mo on Pro" - Clerk.
The alternative is to own the code. Better Auth is an open-source library under the MIT license that advertises "multi-tenancy built in", with teams, roles, invitations and access control in an organisation plugin - Better Auth. Vercel acquired it in July 2026 - Vercel. You pay nothing per user, but you own the security of the implementation. Auth0's free plan includes up to 25,000 monthly active users and 5 organisations - Auth0. WorkOS gives away its user management for the first million monthly active users and charges $125 per SSO connection - WorkOS.
That last price explains a familiar SaaS pricing pattern: single sign-on sits on the top plan. An enterprise customer who needs SSO costs you a real fee per connection and real support time, and it also signals a buyer with a bigger budget. That is the reason to gate SSO, SCIM provisioning and audit logs behind an enterprise tier. You do not need to build any of it until a customer asks and is willing to pay, but you should choose an auth provider that can add it without a rewrite. Our comparison of Clerk and Better Auth works through the costs at each stage, and the multi-tenant guide covers isolation models and the enterprise checklist.
6. Onboarding: from sign-up to first value
Onboarding is the system that decides whether a sign-up ever becomes a customer. Its job is narrow: get the new user to the moment the product proves its value (the first report generated, the first invoice sent, the first lead found) as fast as possible, and ask for payment at the point where that value is clear. Everything else in onboarding is decoration.
The first design decision is how a user enters, and the data on it is better than most founders realise. ChartMogul surveyed 200 B2B products in January 2026 and found "the median free-to-paid conversion rate across all products is 8%" - ChartMogul. The entry model changes that number dramatically. Free trials that require a credit card up front convert 30% of trial users to paid. Per 1,000 website visitors, a freemium product gets 90 free sign-ups and 5 paying customers, a card-required trial gets 35 sign-ups and 10.5 paying customers, and a trial with no card gets 3.6 paying customers. Free trials are the most common choice: 57% of products use one as the main entry point, more than twice the share using freemium.
Consumer subscription apps show the same trade-off with a twist. RevenueCat's analysis of more than 115,000 apps found that apps asking for money up front convert five times better than freemium (10.7% against 2.1%), but "the advantage disappears over the long run: after one year, retention for both models is nearly identical" - RevenueCat. It also found that trials of 17 days or longer convert 70% better than short ones. The lesson is not that one model wins. It is that asking for a card filters for intent: you get fewer, more committed sign-ups. Which you want depends on whether your bottleneck is attention (more sign-ups help) or conversion (fewer, better sign-ups help).
AI changes what good onboarding can look like, because the costly parts of personalised onboarding are now cheap to build. A product can generate sample data that matches the user's industry so the dashboard is never empty, pre-fill a first project from the user's website, or let the user describe what they want in a sentence instead of configuring twenty settings. The principle underneath is old: reduce the work between sign-up and first value. What is new is that an AI coder can build a tailored first-run experience in an afternoon.
Two measurements keep onboarding honest. The first is activation: the share of new sign-ups who reach the value moment within a fixed window, such as seven days. Our MVP guide gives benchmark activation rates and how to define the event. The second is time to value: how long that takes for the median user. Instrument both from the first week, because every later retention problem starts as an onboarding problem that nobody measured.
7. Retention and churn: the benchmarks to hold yourself to
Benchmarks are only useful if you know what they measure, and SaaS benchmarks disagree with each other more than most articles admit. The disagreement is informative, so this section gives each figure with its source's method and then draws out what a young, AI-built SaaS should actually aim for.
Two definitions first. Gross revenue retention (GRR) is the share of recurring revenue from a group of customers that you still collect a year later, counting losses from cancellations and downgrades but ignoring upgrades; it cannot exceed 100%. Net revenue retention (NRR) adds upgrades and expansion back in, so it can exceed 100% when existing customers grow faster than others leave. GRR tells you whether the product keeps customers. NRR tells you whether the customers you keep become more valuable. Our guide to analysing Stripe data with Claude shows how to compute both from your own billing records.
What surveys of established SaaS companies say
A large annual survey of private B2B SaaS companies, run by SaaS Capital across more than 1,000 companies with at least $1 million in annual revenue, reports that "the 2025 median net retention is 101% and the median gross retention is 91%" - SaaS Capital. Retention rises with contract size: companies whose average contract is above $250,000 a year keep 95% of revenue gross, against about 91% below that line. Two cuts from the same survey matter for a small founder. Bootstrapped companies report better numbers than funded ones, at 104% NRR and 92% GRR, probably because they cannot buy growth and have to keep customers. And month-to-month contracts, the default for a self-serve SaaS, sit slightly below the median at 100% NRR and 89% GRR.
The chart makes the small-contract problem visible: the cheapest band, where most self-serve SaaS products live, is the only one with median NRR below 100%. Small customers expand less and leave more easily.
Other surveys suggest retention across the industry is getting worse, not better. Benchmarkit's 2026 report, covering full-year 2025 data from 342 companies, found that "median GRR fell to 84% in 2025, down from 90% just three years prior" - Aleph. The report's own chart, plotted below, shows the median slipping each year and the 25th percentile falling from 81% to 76%. KeyBanc and Sapphire's 2025 survey of private SaaS companies recorded gross retention falling to 86% in 2023 and expected it to approach 90% again - PR Newswire.
What billing data says about small and AI-native products
Surveys of companies above $1 million in revenue describe businesses that have already survived. ChartMogul's numbers come from the billing data of thousands of smaller subscription businesses (those above $250,000 in annual revenue), and they are much harsher. In its December 2025 report, "the median NRR was 82%" for B2B SaaS, with the upper quartile at 97%, while B2C products had a median NRR of only 49% - ChartMogul. The same report singled out AI-native products: "AI-native companies had even worse GRR than B2C (40%) and comparable NRR (48%)."
ChartMogul calls this the "AI tourist" problem, and the chart shows why: AI-native products sit far below B2B SaaS on both measures, closer to consumer apps than to business software. Two details in the same report matter for a founder deciding what to build. First, AI retention was improving through 2025, with median GRR rising from 27% in January to 40% in September - ChartMogul. Second, price is the strongest predictor of whether an AI product keeps its customers, as the next chart shows.
An AI product priced under $50 a month keeps less than a quarter of its revenue gross; one priced above $250 keeps 70%. Price is partly a cause and partly a signal: a $300-a-month product is bought by a business for a workflow it depends on, while a $20 product is often bought by an individual to try something. ChartMogul's data also shows median NRR 10 to 20 percentage points higher for annual plans than for monthly ones - ChartMogul, which is a direct, cheap lever: offer an annual plan with a discount from the first day.
Consumer subscription data points the same way. RevenueCat found that AI-powered apps "generate 41% more revenue per payer, but they churn 30% faster" - RevenueCat. After 12 months, 21.1% of annual AI subscriptions are still active against 30.7% for non-AI apps, and for monthly plans the figures are 6.1% against 9.5%.
RevenueCat's later study of AI apps alone found a wide spread inside the category: high-retention AI apps keep 13.9% of paid subscriptions a year later at the median, low-retention ones 1.4% - RevenueCat.
Why would AI products churn faster? Reason it through. Many AI products sell a capability (writing, image generation, summarising) rather than a system the customer's work lives in. A capability can be replaced by the next model release or by a general assistant the customer already pays for, and nothing is lost by switching because no data or workflow accumulated. Products that become the place where work happens, holding the customer's records, history and processes, build switching costs every day they are used. The design implication for a founder building a SaaS with AI is concrete: make the product accumulate something the customer would lose by leaving.
Growth: what normal looks like
Retention is the foundation; growth is what investors and founders watch. SaaS Capital's 2026 growth survey reports an overall median growth rate of 22% for 2025, down from 25% in 2024, and notes that small companies are held to a higher bar: "a $2 million SaaS company needs to be growing at nearly 50% year-over-year to be in the top 25% of its peers", and "a growth rate of 30% for a less than $1 million SaaS business is below the median" - SaaS Capital. Growth also fades with time: in ChartMogul's dataset of more than 700 companies, a company that grew 65% in 2024, the median, grew only 28% in 2025 - ChartMogul.
How long does reaching $1 million in annual recurring revenue take? ChartMogul's study of 6,525 companies gives a direct answer, measured from first revenue.
The same report adds two encouraging findings. Over a longer horizon, "almost half of software startups do eventually make it to $1 million ARR after they've started monetizing", and AI-native startups "are 3x more likely to reach $1 million ARR in 6 months" - ChartMogul. It is careful to add that fewer than 1% of AI-native startups reach $10 million within a year of first revenue, so the fast-growth stories are real but rare. Investors' data shows the same split. Bessemer describes AI "Shooting Stars" that reach about $3 million in annual revenue in their first year of revenue with roughly 60% gross margins, and rarer "Supernovas" growing far faster on only 25% gross margins - Bessemer.
The benchmarks a young SaaS should actually use
Putting the sources together gives a practical set of targets for a founder with a first version and its first paying customers. Treat these as a reading of the evidence above, not as a single source's verdict.
- Gross revenue retention of 90% a year or better for a B2B product sold to businesses, the floor named in the SaaS Capital retention survey. Translate it to monthly terms: losing 1% of revenue a month compounds to about 89% a year, so a self-serve B2B product should aim for monthly revenue churn around 1% or below.
- Net revenue retention above 100% once you have expansion paths (more seats, more usage, a higher tier). Usage-based products have an advantage here: Benchmarkit measured median NRR of 108% for usage-based pricing against 98% for seat-based - Aleph.
- Free-to-paid conversion of 3% to 5% for freemium, 4% to 6% for a free trial, the ranges ChartMogul calls good, with 8% to 12% and 10% to 15% respectively counted as great - ChartMogul.
- Year-over-year growth above 30% while you are under $1 million in revenue, since below that you are under the median for your size in the SaaS Capital growth survey.
- An honest comparison for AI products: if you are AI-native and priced under $50 a month, expect retention far below classic SaaS and design against it with annual plans, accumulated data and higher-value tiers.
The single most useful habit is cohort analysis: group customers by the month they started, and track what share of each cohort's revenue remains after 1, 3, 6 and 12 months. A flattening curve means you have found customers who stay. A curve that keeps falling means acquisition is filling a bucket with a hole in it, and no amount of marketing fixes that.
8. Support: the system that keeps customers
Support looks like a cost centre and behaves like a retention system. Every ticket is a customer telling you, unprompted, where the product failed them. In the first year of a SaaS, the founder answering support personally is not a distraction from building; it is the most direct product research available. The question AI raises is how much of that work to hand to an agent, and how to price it when you buy it.
The support tools a small SaaS would consider now price their AI on outcomes rather than seats, which is itself evidence of where software pricing is going (section 9). Intercom charges $0.99 per outcome for its Fin AI agent, on top of seats that start at $29 a month, or $19 billed annually - Intercom. What counts as an outcome matters: for a resolution, Fin's own pricing page uses the definition "No further help is requested after Fin's last answer", and charges for at most one outcome per conversation - Fin. Help Scout charges $25 per user a month on annual billing and $0.75 per AI resolution - Help Scout. Crisp's Mini plan is $45 a month per workspace with four seats - Crisp. Plain's Foundation plan is $45 per user a month - Plain.
Notice the definition problem in "no further help requested". A customer who gives up and cancels also requests no further help. An AI support agent that confidently answers the wrong question can score well on resolutions while quietly raising churn. So if you deploy one, watch two numbers together: the share of conversations it closes, and the churn rate of customers who talked only to the agent compared with those who reached a human. If the second is worse, the agent is resolving tickets and losing customers.
A sensible progression for a founder building with AI looks like this. At the start, answer everything yourself, from a shared inbox, and keep a running list of the reasons people write. Turn the repeat questions into documentation and into product fixes, because the best ticket is the one the product made unnecessary. Once volume makes personal answers impossible, put an AI agent in front, grounded in that documentation, with a clear path to a human for billing, data and anything angry. Build the agent yourself if your product already uses a model API; our guide to building a support agent for your site covers the architecture and costs. Either way, route every conversation that mentions cancelling, refunds or a competitor to a person, because those are the conversations where retention is won or lost.
9. Pricing a SaaS when AI costs scale with use
Classic SaaS pricing rests on one economic fact: once the software exists, serving one more customer, or one more action by an existing customer, costs almost nothing. That is why a flat monthly price per seat worked for twenty years and why software gross margins sit around 80%; Benchmarkit's 2026 data still reports that "software gross margin held at 80%" - Aleph. A product that calls a language model breaks that fact. Every action now has a real, variable cost, paid to a model provider, and that cost scales with how much each customer uses the product.
The arithmetic of one heavy customer
Make it concrete with a published unit cost. Anthropic's pricing documentation works through a one-hour agent coding session on Claude Opus 5.5, priced at $4 per million input tokens and $20 per million output tokens, using 50,000 input and 15,000 output tokens: the session costs $0.58, or $0.428 when most of the input is served from the prompt cache - Anthropic. Now suppose your product runs work of that size each time a customer uses its main feature. A customer who does so once per working day, 22 times a month, costs you about $12.76 a month in model fees, or about $9.42 with caching. On a $29 plan that is 44% or 32% of revenue before hosting, payments and support. A customer who does it five times a day costs more than the plan brings in.
The distribution of usage makes this worse than the average suggests. Usage in AI products tends to be concentrated. The author of Growth Unhinged, a newsletter on software pricing, writes: "In my experience, 70-80% of token consumption comes from just 10% of users" - Growth Unhinged. That is one practitioner's observation rather than a survey, but every public pricing crisis below has the same shape: a flat price, a minority of heavy users, and costs that the price never covered.
The companies that learned this in public
The most widely covered case is Cursor. In mid-2025 it moved from counting requests to giving Pro subscribers "$20 of frontier model usage per month at API pricing", explaining that "the hardest requests cost an order of magnitude more than simple ones" - Cursor. The change was badly communicated; Cursor apologised, saying "we take full responsibility", and refunded unexpected charges from the previous three weeks. A pricing catalogue later counted that Cursor "has gone through four major pricing structure changes in under two years" - Metronome.
Anthropic introduced weekly usage limits on its Claude subscription plans in August 2025, estimating they would "apply to less than 5% of subscribers", and naming users who ran its coding tool "continuously in the background, 24/7" and others who were "sharing accounts and reselling access" - TechCrunch. Replit replaced a flat $0.25 charge per agent checkpoint with effort-based pricing measured "in terms of time and computation" - Replit.
Replit later admitted the rollout "did not meet our standards" and gave affected members $10 in credits - Replit. Even OpenAI's chief executive said early in 2025 that the company was losing money on its $200-a-month ChatGPT Pro plan because "people use it much more than we expected" - Fortune.
The clearest statement of the problem came from GitHub in 2026, when it moved every Copilot plan to usage-based billing from June 1. Its explanation reads like a summary of this section: "Today, a quick chat question and a multi-hour autonomous coding session can cost the user the same amount", and "GitHub has absorbed much of the escalating inference cost behind that usage, but the current premium request model is no longer sustainable" - GitHub. Credits are now spent according to the published API rates for each model.
Atlassian's chief executive, Mike Cannon-Brookes, took up the same question from the seller's side in an interview after the 2026 software sell-off. The segment starting at 31:25, titled "AI Credits as Casino Chips", is worth watching before you design a credit system of your own.
His three types of SaaS company (from 6:44) also preview the debate in section 11: not every software business faces the same risk from AI.
Where pricing models are moving
Survey data shows the whole industry shifting away from pure seat-based pricing. In Growth Unhinged's 2025 survey of more than 240 software companies, flat-fee subscriptions fell from 29% to 22% of primary pricing models, seat-based pricing fell from 21% to 15%, and hybrid pricing rose from 27% to 41% - Growth Unhinged.
The 2026 edition, from a different sample of more than 230 companies, put hybrid pricing at 37%, found AI credits in use at 29% of companies, and reported that "three-in-four software companies changed either pricing or packaging within the last year" - Growth Unhinged. The two surveys do not line up exactly, so read them as a direction rather than a precise share.
Credits in particular are spreading fast: an index that tracks the pricing of 500 SaaS companies found credit models "up 126% YoY" - Growth Unhinged.
Margins explain the shift. Bessemer reports that AI companies "see 50-60% gross margins vs. 80-90% for SaaS", and that AI-native companies are moving to usage-, output- and outcome-based models, with hybrid models winning "when you're uncertain" - Bessemer. Companies' own targets have adjusted: "the median target AI margin is about 50%", and only 12% of companies aim for software-like margins of 80% or more - Growth Unhinged. There is a counterpoint worth keeping: High Alpha's 2026 benchmarks found that "AI-core companies spend twice as much of revenue on inference, yet hold the same gross margins as their peers" - High Alpha. The likely reconciliation is that companies which price carefully keep their margins and the ones that copied flat SaaS pricing do not.
Outcome pricing is the far end of this spectrum. Intercom charges per resolved conversation (section 8). Salesforce's Agentforce, first sold at $2 per conversation, added Flex Credits, where "one Agentforce action consumes 20 Flex Credits ($0.10 USD)" - Salesforce. Even the model labs live on consumption: Anthropic's IPO filing showed consumption-based revenue of $13.1 billion, 80% of the total, for the six months to June 30, 2026 - CNBC. And the infrastructure for billing this way is consolidating into the payment companies: Stripe completed its acquisition of the usage-billing platform Metronome in January 2026 - Stripe. Upstarts, citing eight sources, reported the price at about $1 billion - Upstarts.
Will falling model prices save flat pricing?
The optimistic answer is that model costs fall so fast that the problem solves itself. There is evidence for it. Epoch AI found that the price of reaching a fixed level of capability fell between 9x and 900x per year depending on the task, though it cautioned that the fastest declines are recent and may not persist - Epoch AI. Anthropic says its newest Opus model "costs less per token than Opus 5 and uses fewer tokens per task, which nets out to a 40% drop in costs" - Anthropic.
The counter-evidence is that usage per task keeps rising. On OpenRouter, average prompt tokens per request rose roughly fourfold, from about 1,500 to over 6,000, and reasoning models grew from a negligible share of tokens to more than half - OpenRouter. Epoch measured reasoning models' responses growing about five times per year - Epoch AI. Cheaper tokens get spent on longer, more autonomous work, which is exactly what customers want from an AI product. The safe assumption is that your cost per customer will not shrink on its own, because your customers will keep asking the product to do more.
A pricing method for an AI-built SaaS
From those forces, a method follows that a founder can apply before writing the pricing page.
- Pick the unit of value, the thing the customer would happily pay more for when they get more of it: reports produced, leads enriched, tickets resolved, projects managed. Price around that, not around tokens, which customers cannot reason about.
- Measure the cost of that unit at your heavy users, not your average. Log model cost per customer per day from the first day. The 90th-percentile customer is the one who decides whether a plan is profitable.
- Set a margin floor and price above it. If the heaviest likely customer on a plan would cost you $15 a month in model fees and you want at least a 50% gross margin on them, that plan cannot cost less than $30.
- Use a hybrid structure. A base subscription that includes a generous allowance of the value unit, with overage or credit packs above it and a hard cap the customer controls. This keeps the predictable monthly bill that buyers like while protecting you from the 10% of users who would otherwise eat the margin.
- Offer annual plans at a discount from the start, for the retention reasons in section 7.
- Consider making the customer pay the model bill directly where your market tolerates it. Bring-your-own-key setups are common in developer tools: Cursor's documentation says that with a customer's own key, "your provider still bills the model cost, and Cursor charges nothing for it" - Cursor. Newer schemes let a customer's existing AI subscription pay: with Claude's linked billing, "Anthropic hosts the approval flow and the billing, so there's no metering or invoicing to build" - Anthropic.
- Cut your own cost per unit with prompt caching, routing simple work to smaller models and lowering reasoning effort where it does not change the result.
Our guides go deeper on each step: pricing an AI product to beat token costs, setting up metered billing, letting customers pay your AI bill through Claude or through Sign in with ChatGPT, and cutting costs with prompt caching and model routing.
10. The stack, the routes to build it, and the monthly cost
There are three broad routes to building a SaaS with AI in late 2026, and they differ less in what they can produce than in who owns the code, who runs the infrastructure and how much of the business layer from sections 4 to 8 comes included.
The first route is an AI app builder, often marketed as an AI SaaS builder: you describe the product in a browser and the tool generates, hosts and often connects a database. Lovable's Pro plan is $25 a month for 100 credits - Lovable. Bolt's Pro plan is $25 a month starting at 10 million tokens - Bolt. Replit Core is $20 a month, or $18 billed annually, including $20 toward more powerful models - Replit. Base44's Starter plan is $16 a month billed annually - Base44. v0's paid plan includes $30 of monthly credits per user - v0. This route is the fastest to a working first version and the one where the incidents of section 3 concentrated, because the tools make tenancy and auth decisions on your behalf and you rarely see them.
The second route is a coding agent on your own stack: an agent such as Claude Code, OpenAI's Codex or Cursor writes code in a repository you own, which you deploy to hosting you choose. Claude Pro includes Claude Code at $20 a month billed monthly, and Max starts at $100 a month - Claude. ChatGPT Plus, which includes Codex, is $20 a month - OpenAI. Cursor's plans now start at $8 a month for a tier limited to Grok models, with a $30 Premium tier for third-party models at API list price - Cursor. This route gives you full control and full responsibility: every system in this guide is yours to specify and verify.
The third route is a platform that builds and runs the business around the product. Founden, the platform this site belongs to, is one example: one AI builds the product you describe and runs the website, payments and subscriptions, email, database, sign-in, analytics and back office around it, with payments going to your own bank. Its Mac desktop app runs builds on the Claude, ChatGPT or Google AI plan you already pay for, and the source code stays on your disk. There is a Free plan, and building starts on Pro at $29 a month - Founden. The trade-off is the usual one for an integrated platform: less assembly and fewer decisions, in exchange for working within its choices, and the desktop app is Mac-only for now.
| Route | Examples | Entry price (paid) | Who owns the business layer |
|---|---|---|---|
| AI app builder | Lovable, Bolt, Replit, Base44, v0 | $16 to $25 a month | The tool makes most choices; you verify them |
| Coding agent + own stack | Claude Code, Codex, Cursor | $8 to $20 a month, plus hosting | You specify and verify everything |
| Platform that runs the business | Founden | $29 a month | The platform runs billing, email, hosting; you direct it |
None of these routes is right for everyone. A technical founder who wants to own every decision will be happiest with a coding agent. A founder testing an idea quickly may start in an app builder and move later; our guide on when to graduate from a vibe-coding tool covers the signs, and our comparison of Lovable, v0 and Bolt measures their cost per app. For a broader view, see our ranking of the top 20 AI app builders.
The running stack
Whichever route builds it, a SaaS runs on the same kinds of services, and their entry prices are low. Vercel's Pro plan is $20 a month including a $20 usage credit - Vercel. Supabase's Pro plan starts at $25 a month and includes 100,000 monthly active users, while its free projects are "paused after 1 week of inactivity", which rules the free tier out for a live product - Supabase. Render's smallest paid service is $7 a month - Render. Cloudflare's paid Workers plan has a $5 monthly minimum - Cloudflare. For email, Resend's free tier allows 3,000 emails a month but only 100 a day, and its Pro plan is $20 a month for 50,000 - Resend. PostHog's free tier covers 1 million analytics events a month - PostHog. Sentry's free plan covers 5,000 errors, with its Team plan at $29 a month - Sentry.
Supabase, the database behind several of the AI-built apps in section 3, says it now has 13 million users and over 50 million databases under management - Y Combinator. Its chief executive's conversation with Y Combinator is a useful listen on where this stack is heading: from 4:34 it contrasts "builders" with traditional developers, and from 8:42 it turns to personalised apps.
What it costs per month
Here are two illustrative monthly budgets built only from the prices above, for a SaaS charging $29 a month, with every customer paying by US domestic card through Stripe with Stripe Billing and Stripe Tax. The first is a product with 100 customers ($2,900 a month in revenue): Claude Pro to keep building ($20), Vercel Pro ($20) and Supabase Pro ($25), with email, analytics, errors and support on free tiers, for $65 in fixed tools. Payments cost 100 × (2.9% × $29 + $0.30) = $114.10 in card fees, $20.30 for Stripe Billing and $14.50 for Stripe Tax, so $148.90. The total is $213.90 a month, about 7.4% of revenue.
The second is the same product with 1,000 customers ($29,000 a month): Claude Max ($100), Vercel Pro ($20), Supabase Pro ($25), Resend Pro ($20), Sentry Team ($29) and Crisp Mini for support ($45), for $239 in tools. Payments cost $1,141 in card fees, $203 for Billing and $145 for Tax, so $1,489. The total is $1,728 a month, about 6.0% of revenue.
The chart carries the most useful insight in the budget: tools stay small and nearly flat while payment fees scale with revenue, so in both stacks the fees are most of the bill. Choosing a merchant of record changes this line, not the tools: at Paddle's 5% + 50¢, the 1,000-customer product would pay 1,000 × $1.95 = $1,950 a month, in exchange for having its sales tax and VAT handled globally. Two more lines can change the picture. If each customer is an organisation on Clerk, the 1,000-customer product adds about $925 a month (section 5), while an open-source auth library adds nothing. And the budget excludes AI inference entirely, which for an AI-native product can be larger than everything else combined, as section 9 showed. Our article on what it costs to build an app with AI separates build costs from running costs in more detail, and our rankings of where to deploy, databases and email sending tools cover the alternatives for each line.
11. Is SaaS dead? The argument weighed from first principles
Anyone starting a subscription software business in 2026 has heard that the model is finished. The argument deserves a serious answer, because if it were right, the rest of this guide would be advice for building a business in a category about to disappear.
The case that SaaS is dying
The intellectual version of the argument came from Microsoft's chief executive, Satya Nadella, at the end of 2024. In his telling, business applications are largely data stores with business logic on top, and "once the AI tier becomes the place where all the logic is then people will start replacing the back ends" - CX Today. In that view, an agent that can read and write the data directly makes the application layer, and its per-seat subscription, redundant.
Markets acted on the idea in early 2026. Reuters reported that "one trigger for Tuesday's selloff was Anthropic's launch of plug-ins for its Claude Cowork agent", and that the S&P 500 software and services index slid nearly 13% over five sessions, leaving it 26% below its October peak; Thomson Reuters fell a record 16% on fears for its legal business - BNN Bloomberg. JPMorgan called it the "largest non-recessionary 12-month drawdown in more than 30 years", with software's weight in the S&P 500 falling to 8.4% from 12% - CNBC. Nine months on, the iShares software ETF (IGV) was still down 5.5% over the past year - Stock Analysis.
There is operating evidence too. In a survey of its own customers and builders, Retool found that "35% of teams have already replaced at least one SaaS tool with a custom build", and 78% expect to build more internal tools in 2026 - Retool. That is a vendor surveying its own users, who are more likely to build than most, but the direction is plain. Seat counts are under pressure as companies use AI to shrink teams: Salesforce's chief executive said he had reduced support staff "from 9,000 heads to about 5,000, because I need less heads" - CNBC. SaaStr put the consequence simply: "If 10 AI agents can do the work of 100 sales reps, you don't need 100 Salesforce seats anymore" - SaaStr. Bain's technology report answered its own question, "Will AI and agents disrupt SaaS?", with "Yes" - Bain. And Klarna's chief executive titled a 2026 interview "SaaS is Dead: Why Systems of Record Will Die in an Agentic World" - 20VC.
The case that it is adapting
The evidence on the other side is just as concrete. Klarna's own story is the cautionary example: after reports that it had replaced Salesforce and Workday with AI, its chief executive clarified, "So no, we did not replace SaaS with an LLM, and storing CRM data in an LLM would have its limitations" - TechCrunch. What it had done was move data out of SaaS tools into its own systems, which is building software, not abolishing it.
Spending and revenue are still growing. Forrester, while titling its analysis "SaaS As We Know It Is Dead", argued that "death of SaaS" narratives are overstated and projected global SaaS spending rising from $318 billion in 2025 to $512 billion in 2028 - Forrester. The large incumbents kept growing through the sell-off. ServiceNow reported subscription revenue of $3,988 million in its third quarter of 2026, up 21% - ServiceNow. Salesforce reported quarterly revenue of $11.3 billion, up 11%, with its AI agent product above $1.5 billion in annual recurring revenue - Salesforce. HubSpot's revenue grew 17% in the same quarter - HubSpot. Workday's subscription revenue grew 12.8% - Workday. Nvidia's chief executive said markets "got it wrong" on the AI threat to software companies - CNBC.
What actually changes, from first principles
Both sides are describing something real, so the useful question is structural: what does a SaaS customer actually pay for, and which of those things does AI make cheap?
A customer paying for business software every month is buying several things at once. They buy code that works, but also a maintained system that keeps working as browsers, regulations and integrations change. They buy a system of record: the place their data lives, with its history, permissions and audit trail. They buy a shared workflow that many people and other systems are built around. And they buy accountability: a vendor that answers when it breaks, signs a data processing agreement and passes a security review.
AI collapses the cost of the first item. It reduces, but does not remove, the cost of the second, because maintenance is continuous work and an AI coder still needs someone to direct and verify it. It barely touches the last three. Data, workflow and accountability accumulate with time and trust, not with generation speed. Bain makes the same point in its own terms, "Systems of record sit at the base of the stack" - Bain. An a16z partner put it more sharply: "The model is fungible underneath; the system of work is not" - a16z.
That analysis predicts which software is in danger, and it matches the evidence. Products whose value is mostly the first item, thin horizontal tools that put a nicer interface on a generic workflow, are exposed: their customers can now build the same thing, or ask a general agent to do it. Forrester names this group: "Horizontal point-solution SaaS vendors will be challenged" - Forrester. So is the per-seat pricing model, because AI decouples the work done from the number of people doing it. What is not dying is the subscription itself. Customers will keep paying monthly for systems they depend on; they will pay for them by usage or outcome more often than by seat.
What this means for a founder starting now
Turn the analysis around and it describes an opportunity. If building software is cheap, markets that were too small to support a software company become viable. Stripe saw "many more new companies" join it in 2025 than ever before, with a 41% increase in company formations through Atlas, and iOS app releases in December 2025 up 60% year over year - Stripe. HubSpot's co-founder Dharmesh Shah makes this case at length in a November 2026 conversation with a16z: from 0:47 on why this is the best time to be a builder, and from 49:43 on the rise of the one-person company, arguing that cheaper software creation can unlock markets that could never support a software company before.
His argument and the structural one point the same way. The SaaS worth building in the AI era is narrow enough that a general tool does not serve it well, deep enough that it becomes the customer's system of record or system of work, and priced on the value it delivers rather than the seats it fills. Your real competitor is often not another startup but your customer's own AI coder, so the product has to be worth more than what they could generate in an afternoon: the accumulated data, the maintained integrations, the compliance and the accountability. Our analysis of what software is left to build maps the frontiers, and our guide to building your own CRM instead of buying SaaS shows the build-versus-buy decision from the customer's side, which is exactly the decision your buyers are now making about you.
12. A build sequence for an AI-built SaaS business
The sections above describe the systems. If you are working out how to start a SaaS business with AI, this is the order to tackle them in once the first version has real users. The order matters more than the speed, because several of these decisions are cheap early and very expensive to retrofit.
Stage 1: Write down the business before the code. Decide whether your customer is a person or an organisation, what the unit of value is, how you will price it (section 9), and whether new users enter through a trial, freemium or a card-required trial (section 6). Then write one page of invariants in plain language: who may see which data, when access starts and stops, what happens when a payment fails. This page is the specification your AI coder works from and the checklist you verify against. AI tools follow explicit instructions well; they do not invent the instructions you forgot.
Stage 2: Build tenancy and accounts on a foundation you can test. Model organisations from the start, choose an auth provider that supports them (section 5), and enforce the boundary in two places: in the database, with row-level security or an equivalent, and in every server endpoint. Then prove it. A prompt along these lines works with any current coding agent:
Write automated tests that create two organisations, sign in as a member of organisation B, and attempt to list, read, update and delete every type of record belonging to organisation A, both through the API and directly against the database with the public key. Every attempt must fail. Run the tests on every change.
Stage 3: Wire billing as a state machine, not a checkout. Use the provider's hosted checkout and customer portal. Ask for a webhook handler that verifies signatures, records event IDs and skips duplicates, and on each event fetches the subscription's current state rather than trusting the event's order (section 4). Map every subscription state to an access level in one place in the code, add a banner and an email for customers whose payment failed, and make sure only the server can change a customer's plan or payment status. Then test the unhappy paths deliberately: a declined renewal, a recovered payment, an upgrade halfway through the month, a cancellation at period end.
Stage 4: Instrument onboarding around one value moment. Define the event that means a new user got value, log it, and measure the share of sign-ups who reach it within a week. Use AI to shorten the path: sample data, a first project pre-filled from what the user tells you, defaults that work. Ask for payment where value is clear, not before.
Stage 5: Meter cost per customer from the first day. If the product calls a model, log the cost of every call against the customer and the feature. Set a spending limit on every model provider account, put per-customer caps in the product, and review the heaviest 10% of customers every month against their plan's price. This is the data that tells you when your pricing is wrong, before the bill does.
Stage 6: Measure retention properly. Track monthly recurring revenue, gross and net revenue retention, and monthly cohorts (section 7). Capture a reason at every cancellation, even with a one-question form. Offer an annual plan. Compare your numbers with the benchmarks in section 7, starting with the 90% gross retention floor for B2B.
Stage 7: Run support yourself, then add an agent. Answer every message personally at first, keep a list of recurring reasons, and turn them into fixes and documentation. Add an AI agent only once the documentation exists, and route anything about billing, data, cancellation or a competitor to a person (section 8).
Stage 8: Close the operational gaps before they find you. Scan the front-end bundle and the repository for secrets, give agents read-only access to production where possible, keep development and production data separate, and restore a backup to a scratch environment to prove it works. The incidents in section 3 were not caused by exotic attacks. They were caused by skipping this stage.
None of these stages requires writing code by hand. All of them require knowing what to ask for and checking that you got it, which is the real skill of building a SaaS with AI.
13. What to hold yourself to
Building the software of a SaaS has become fast and cheap, and that is genuinely new: a founder can now go from idea to a charging product in weeks, and many do. What did not get cheaper is the business around the software. Billing still has to be right every month for every customer. Customer data still has to stay with its owner. New users still have to reach value before they lose interest, and paying customers still have to find a reason to stay. AI-native products added one more obligation, because every customer now carries a cost that grows with use.
So hold your SaaS to a short list. Gross revenue retention of at least 90% a year for a B2B product, or a clear plan for why yours is different. Net revenue retention above 100% once you have an expansion path. Free-to-paid conversion in the ranges in section 7. A known gross margin on your heaviest customers, not your average ones. And three invariants that no demo will ever show you are broken: no customer can see another's data, no customer can change their own plan or payment status, and no event delivered twice does anything twice.
The tools will build almost anything you can describe. The work that remains for the founder is describing the right things, verifying the parts nobody sees, and pricing so that the product's best customers are also its most profitable ones.
What this article rests on
Every model figure linked above is read from its record, re-read from OpenRouter's model feed every 6 hours, so the figures on this page are current even where the prose around them is older. Prices are OpenRouter's listed price per million tokens: for a lab's closed models that is the lab's own list price, and for an open-weight model it is the price of the host OpenRouter routes to by default, which can differ from the lab's own API and from other hosts.
- Claude Opus 5.5 (Anthropic): $4 in and $20 out per million tokens, cached input $0.20, a 1M token window, listed 22 September 2026.
In this topic: Building with AI
- Gumroad Alternatives: Lower Fees, Tax and How to Move
- Carrd Alternatives 2026: Costs, Limits and How to Move
- WordPress Alternatives 2026: Costs, Security and Moving
- Kajabi Alternatives: Real Yearly Costs and How to Move
- Shopify Alternatives 2026: Real Costs and How to Move
- Squarespace Alternatives 2026: Fees, Costs and Moving
- Wix Alternatives 2026: Cheaper Options and How to Move
- Bubble Alternatives 2026: Costs, Ownership and Migration
How do you build software with AI? Every guide on it
Data behind this topic: AI app builders and coding agents: free and first paid plans.