Key points
- Start with your value metric: the thing that grows for a customer as they get more out of your product.
- Every model has a technical cost: counting seats, metering usage without duplicates, enforcing plan limits.
- Version your prices from day one: you will change them, and your first customers shouldn’t pay for it.
When a founder walks us through a new SaaS project, pricing usually comes up late, after the screens have been designed. That’s a shame, because a pricing model is more than a line on the pricing page. It decides what the application has to count, what it has to limit, how invoices are calculated and what happens when a customer switches plans. Charging per user and charging per processed document are, under the hood, two different applications. This guide covers the common models, the method we use with clients to pick one, what each option requires technically, and the mistakes we’ve seen turn expensive. It won’t tell you what prices to put on the page: those depend on your market, your costs and your competitors, and nobody can set them for you without knowing all three.
The common pricing models, and what they say about your product
Nearly every SaaS offer is built from four pieces. Knowing them helps you read competitors’ pricing pages differently, and see what they decided to charge for.
- Tiered flat-rate plans: three or four plans (Starter, Pro, Business) with a fixed price and different limits or features. Easy to understand and predictable for the customer, but someone who needs one feature from the next tier up has to pay for the whole tier.
- Per-user (per-seat) pricing: the bill follows team size. Very clear for collaboration tools, where value grows with the number of people using them. The downside: it nudges some customers into sharing a single login.
- Usage-based billing: customers pay for what they consume (documents processed, text messages sent, API calls, video minutes). Fair, and a good fit when your own costs scale with usage, but the invoice changes from month to month, which many finance teams dislike.
- Hybrid: a base subscription that includes a volume, then overage billed on usage. Often the most comfortable compromise for both sides, at the cost of more complex billing to build.
On top of these come the ways in: a time-limited free trial, a permanent free plan (freemium) or a guided demo. We come back to those below, because that choice affects sales as much as the price itself.
No model is “the best”. Scheduling software for field teams, an e-signature tool and a notification platform don’t create value the same way, and that’s exactly what pricing has to reflect.
Start from your value metric: how to choose
One question unblocks almost every pricing discussion: when a customer gets more value from your product, what grows on their side? The number of people using it? The number of files, orders or properties they manage? The volume processed? That quantity is your value metric, and it’s the best candidate for what your price should scale with.
We then put it through four questions, in a workshop with the client:
- Does the customer understand it without explanation? “Per user” or “per property managed” lands instantly. “Per compute unit” needs a conversion table, and anything that needs explaining slows the sale.
- Can they predict their bill? Someone in finance needs to know what next quarter will cost. If the metric swings a lot, a plan with an included volume is more reassuring than a pure meter.
- Does it track your costs? If every processed document costs you a call to a paid external service, an unlimited flat plan becomes risky the moment a big customer signs up. You then need a usage component or caps.
- Can you measure it reliably? Counting active users is easy. Counting “hours saved” is impossible. A metric you can’t measure without dispute shouldn’t drive an invoice.
On a property management project we worked on, the starting idea was per-user pricing. But the agencies using it often had two or three staff managing several hundred units, so per-user pricing would have charged a small agency and a large one almost the same. The number of units under management, on the other hand, tracked the value delivered exactly. The final offer was tiered by number of units, with a generous number of users included.
One last tip: look at how competitors charge, not to copy their prices but to learn what your prospects are used to. Breaking from your sector’s dominant model is possible, but you’ll be explaining it in every sales call.
What each model means for your code
This is the part teams tend to discover too late. Every model adds building blocks to the application, and not all of them are trivial.
Tiered plans mainly need clean handling of per-plan limits and features. The classic trap is scattering checks on the plan name throughout the code. It’s better to describe limits as data and have the code simply ask “is this account allowed to do this?”. Think about versions too: when the Pro plan changes, existing Pro customers must keep their terms. A schema that plans for it:
-- One plan ("Pro") can have several price versions over time
CREATE TABLE plans (
id INT PRIMARY KEY AUTO_INCREMENT,
code VARCHAR(40) NOT NULL, -- 'starter', 'pro', 'business'
version SMALLINT NOT NULL, -- 1, 2, 3...
stripe_price_id VARCHAR(60) NOT NULL, -- the matching Stripe price
limits JSON NOT NULL, -- {"seats": 5, "exports_per_month": 200}
is_public BOOLEAN NOT NULL DEFAULT TRUE, -- FALSE = no longer offered to new customers
UNIQUE (code, version)
);
-- Each subscription points to a specific version, not to "Pro" in general
CREATE TABLE subscriptions (
id INT PRIMARY KEY AUTO_INCREMENT,
account_id INT NOT NULL,
plan_id INT NOT NULL REFERENCES plans(id),
stripe_subscription_id VARCHAR(60) NOT NULL,
status VARCHAR(20) NOT NULL
);
Per-seat pricing means counting billable users (do guests count? deactivated accounts? pending invitations?) and keeping that number in sync with your payment provider. With Stripe, that means updating the subscription item’s quantity whenever someone is added or removed:
<?php
// When a member is added to or removed from the team
$seats = countActiveMembers($db, $accountId);
$stripe->subscriptionItems->update($subscription['stripe_item_id'], [
'quantity' => $seats,
'proration_behavior' => 'create_prorations', // or 'none' if you true up at period end
]);
Decide on the proration rule as well: bill the difference immediately, pro rata, or true up at the end of the period. Both are defensible, but the rule needs to be in your terms and match the code.
Usage-based billing is the most demanding. Every unit consumed must be recorded exactly once, even if a job is re-run or a request is retried after a network error. We record each event locally with a unique key, then a scheduled job sends it to the payment provider:
CREATE TABLE usage_events (
id BIGINT PRIMARY KEY AUTO_INCREMENT,
account_id INT NOT NULL,
metric VARCHAR(40) NOT NULL, -- 'documents_processed'
quantity INT NOT NULL,
idempotency_key VARCHAR(80) NOT NULL, -- e.g. 'doc:48213': one document = one event
created_at DATETIME NOT NULL,
UNIQUE (idempotency_key)
);
<?php
function recordUsage(PDO $db, int $accountId, string $metric, int $qty, string $key): void
{
// INSERT IGNORE: if the same key arrives twice (retry, double click,
// re-run job), the second insert is ignored instead of being billed.
$stmt = $db->prepare(
'INSERT IGNORE INTO usage_events (account_id, metric, quantity, idempotency_key, created_at)
VALUES (?, ?, ?, ?, UTC_TIMESTAMP())'
);
$stmt->execute([$accountId, $metric, $qty, $key]);
}
// Send to Stripe (Billing Meters) from a scheduled job, not during the user's request
$stripe->billing->meterEvents->create([
'event_name' => 'documents_processed',
'identifier' => $event['idempotency_key'], // Stripe ignores duplicates too
'payload' => [
'stripe_customer_id' => $account['stripe_customer_id'],
'value' => (string) $event['quantity'],
],
]);
That local log pays off a second time: when a customer disputes an invoice, you can show them the detail, line by line. Without it, all you have is the total your payment provider calculated, which isn’t enough for a calm conversation.
Hybrid combines both: a fixed subscription, a meter and the rule that calculates overage. Stripe handles this with tiered pricing on a meter, but you also need to show customers their current usage inside the app, or the overage arrives as a nasty surprise on the invoice.
Free trial, freemium or demo: getting customers through the door
Price doesn’t matter if nobody tries the product. There are three ways in, and the right one depends mostly on how complex your tool is.
- A time-limited free trial works when a customer can see the value on their own within a few days. Asking for a card at sign-up filters out the merely curious and raises the share of trials that convert, but lowers the number of sign-ups. There’s no universal answer: test it and measure on your own numbers.
- A permanent free plan (freemium) makes sense when each free user costs very little and spreads the word, for example because they share documents with outside people. If every free account costs you server time or support, it can become a money pit.
- A guided demo suits business software that needs configuration or a data import. A self-serve trial there mostly produces empty accounts abandoned after an hour.
Technically, trials are handled well by the trial period on Stripe subscriptions (trial_period_days or trial_end). Plan what happens at the end: automatic switch to paid, drop to a limited free plan, or read-only mode. The worst case, which we found when taking over an existing application, is a trial that ends with nothing changing in the app: customers kept using it for free for months because nobody checked the subscription status.
Send a reminder a few days before the trial ends, with a direct link to the payment page. Stripe emits customer.subscription.trial_will_end three days before the end, which is enough to trigger that message.
Changing prices without upsetting existing customers
You will change your prices. Every software company we work with has done it at least once in its first couple of years, because the market, costs or product moved on. The question isn’t whether, but how to do it without damaging trust.
The most common approach is to keep existing customers on their old prices, for a set period or indefinitely, and apply the new ones to new customers. That’s exactly what the version column in the schema above allows: the old plan version is set to is_public = FALSE, disappears from the pricing page, but subscriptions attached to it keep working. In Stripe you never edit an existing price (you can’t change its amount anyway): you create a new price and archive the old one.
If you do need to move existing customers to a new price, a few rules prevent most of the friction:
- give plenty of written notice, with the exact date and the new amount;
- explain, concretely, what has improved in the product since they signed up;
- apply the change at renewal, never mid-period;
- leave a simple way out: a cheaper plan, or an export of their data.
Technically, the migration runs subscription by subscription: replace the price on the subscription item and set proration_behavior to none so the change takes effect at the next renewal. Rehearse it first on a test account that mirrors a real customer, add-ons and discounts included, because those are what cause the surprises.
The mistakes we see most often
A handful of mistakes come up project after project. They’re rarely serious at launch, but they get expensive to fix once hundreds of customers are subscribed.
- Prices and limits hard-coded. Changing a limit turns into a deployment. Limits belong in the plan data.
- Too many plans. Beyond three or four tiers, prospects compare instead of choosing. A “contact us” plan handles the special cases better.
- Unlimited use of a resource that costs you money. Storage, email or text messages, AI calls: one very active customer can wipe out the margin from dozens of others. A sensible cap, even a high one, keeps things balanced.
- A metric customers can’t see. If customers can’t see their consumption in the app, every variable invoice becomes a support ticket.
- Forgetting tax. Showing prices excluding tax to businesses and including tax to consumers, handling VAT or sales tax by customer location: settle it before launch with your accountant, and configure it in your billing tool.
- No record of plan changes. When a customer asks why their invoice changed, you need an answer: who changed the plan, when, from what to what. A simple log of subscription events is enough.
One last, more strategic point: don’t treat your launch prices as final. Launch with a simple model, watch which limits customers hit, who upgrades and why, then adjust. That’s exactly why the architecture has to let you change pricing without a rewrite.
FAQ
Should we show prices on our website?
For a self-serve product, yes: a prospect who can’t find a price often moves on to a competitor who shows one. For an offer that involves significant onboarding, you can show a starting price and keep the rest for quotes. “Contact us” alone mostly suits very large accounts.
Monthly or annual billing?
Offer both. Annual improves your cash flow and reduces churn; monthly lowers the barrier to entry. An annual discount is common; how large it should be is a commercial decision, not a technical one.
Can we start without Stripe and invoice by hand?
For the very first customers, yes, and it’s a good way to validate the offer. But model your plans and limits in the database from the start: plugging in a payment provider later will be far easier.
How much work is usage-based billing?
It depends on the metric, the number of event sources and what customers need to see in the app. Expect noticeably more work than flat plans: duplicate-free recording, syncing with the provider, a usage dashboard, testing. Price it as a separate line in the quote.
Getting ready to launch a SaaS product, or rethinking pricing on an existing one? We design and build custom SaaS applications, from modelling your plans to integrating billing, and we can help you choose a model your application can actually enforce.



