Getlago

Jun 26

/

7 min read

Chargebee Alternative? Why Engineering-Led Teams Choose Lago for Usage-Based Billing

Anh-Tho Chuong

Anh-Tho Chuong

Share on

LinkedInX

Most teams don't start evaluating Chargebee alternatives because they hate Chargebee. They start because their billing model outgrew what Chargebee was designed for.

Chargebee was built for subscription-first SaaS. It's mature, well-documented, and genuinely good at what it does. But when pricing gets complex, credits that burn down in real time, tokens that need per-model metering, custom enterprise rate cards, or a hard requirement to self-host, teams start looking for something different.

Lago is the most common alternative they find. This comparison explains why, and where Chargebee is still the better choice.

What each platform actually is

Lago is open-source billing infrastructure: usage metering, rating, invoicing, prepaid credits/wallets, entitlements, and subscription management. It deploys on your own infrastructure or in Lago's managed cloud. The code is on GitHub under the AGPL license.

Chargebee is a mature SaaS revenue platform: subscriptions, usage billing add-ons, invoicing, RevRec, dunning, and accounting integrations. It's cloud-only, sales-led, and built around a finance-and-operations buyer.

The architectural difference matters more than any feature list. Lago is a control layer, billing logic lives close to your product, your data, and your team. Chargebee is a managed suite, billing logic lives inside Chargebee's infrastructure and workflows.

That's not a value judgment. For some teams, the managed suite is exactly right. For others, it's the source of the problem.

The competitive landscape just changed

Before comparing these two platforms: the two biggest pure-play usage-based billing specialists are no longer independent.

Stripe acquired Metronome in early 2026. Adyen announced the acquisition of Orb on June 11, 2026, with close guided for around July 1, 2026. If you were evaluating Orb or Metronome as a Chargebee alternative, you're now evaluating what it means to have your billing infrastructure on a specific payment processor's roadmap.

Lago remains payment-processor neutral. It integrates with Stripe, Adyen, GoCardless, and others, but doesn't route through any of them by default. If your billing strategy includes the right to change processors, that independence has become a more concrete differentiator than it was 12 months ago.

Deployment: self-hosted vs. cloud-only

This is the clearest binary between the two platforms. Lago supports both managed cloud and full self-hosted deployment. Chargebee is cloud-only with no self-hosted option in public documentation.

For many teams, self-hosting is a preference, not a requirement. For others, it's non-negotiable: healthcare companies under HIPAA, financial services firms with data residency requirements, government contractors with security review mandates, or any organization that needs to certify that billing data never leaves their own infrastructure.

With Lago self-hosted, you control the billing database, the webhook infrastructure, the API integrations, and the codebase itself. The AGPL license means the code is readable and auditable, relevant for financial software where a billing calculation error has real downstream consequences. If you need to migrate off Lago at some point, your data doesn't move; your tooling around it does.

With Chargebee, all billing data lives in Chargebee's infrastructure. That's not inherently a problem, most SaaS platforms work this way, but it's worth understanding before you're three years deep in their system.

Usage-based billing: where the architecture shows

Chargebee is genuinely capable at usage billing, this is not a "Chargebee can't do it" argument. But the architectural origin matters: Chargebee was built subscription-first and usage was layered in. Lago was built usage-first.

In practice, this shows up in three specific places.

Event ingestion paths. Lago supports REST, batch, SDK, Kafka, Redpanda, Kinesis, and S3 ingestion. Chargebee supports a usage API, bulk import, and CSV upload. If your event volume is high or your data pipeline uses streaming architecture, Lago's ingestion options are meaningfully broader. If your usage is simple overages reported periodically, both work fine.

Prepaid credits and wallets. Lago has native wallet infrastructure: credits that expire, roll over, trigger real-time alerts, and connect to entitlements. Chargebee's credit model is more oriented toward included-usage allowances and overages than persistent wallet balances. For AI companies where credit packs are a primary pricing mechanism, buy 1M tokens, track drawdown, auto-renew at zero, this is a real architectural difference, not a checkbox gap.

Custom aggregation logic. Lago supports weighted sum and fully custom aggregation logic. This matters for AI billing where a "token" isn't always the same unit: input tokens, output tokens, and cached tokens carry different infrastructure costs in models like Mistral's pricing tiers. Chargebee covers standard metered aggregation patterns but may require workarounds for model-specific token math.

AI billing: the fastest-growing use case

The fastest-growing segment of Lago's customers are AI and API companies. The pattern is consistent across them: token-based usage with per-model rates, prepaid credit packs, subscription floors for enterprise, and custom rate cards negotiated per contract.

Mistral, the European AI infrastructure company, runs their billing on Lago. Their pricing involves per-token rates with separate input/output pricing, volume tiers, and pre-purchased token packs for enterprise customers. That's a billing pattern Lago was explicitly designed to handle.

Three things make AI billing different from standard SaaS billing:

Real-time credit enforcement. When a customer's token balance reaches zero, their API access should change immediately, not at the next invoice cycle. Lago's wallet and entitlement layer handles this. Chargebee's usage billing is more invoice-time than real-time.

Spend alerts as a product feature. Customers using AI products need to see their usage trajectory before they hit the limit. Lago supports credit consumption alerts. For AI companies, a surprise bill at month-end is a churn risk, not just a finance problem.

Frequent repricing. AI compute costs have dropped significantly over the past 18 months as model efficiency improves. If your billing logic lives inside a managed platform's configuration, repricing means a support conversation. If it's in Lago's open rating engine, it's a configuration change your team controls.

Payment processor neutrality

Lago doesn't have a preferred payment processor. It integrates with Stripe, Adyen, GoCardless, and others. Your billing logic stays in Lago regardless of which processor handles collection. You can route different customer segments through different processors, enterprise through Adyen, self-serve through Stripe, without changing your billing configuration.

This matters more than it used to. With Metronome now inside Stripe and Orb being acquired by Adyen, buyers choosing those platforms are implicitly choosing a payment processor's long-term roadmap. That may be an acceptable trade-off, both Stripe and Adyen are serious infrastructure, but it's worth being explicit about.

Chargebee supports 30+ processors and isn't processor-captive the way the specialists are becoming. But it operates as a managed suite, and processor changes require Chargebee configuration changes. With Lago self-hosted, you control that layer directly.

Pricing: what you actually pay

Lago: The open-source version is free to self-host. You pay for your own infrastructure (typically Kubernetes, a database, and servers) and the engineering time to operate it. Lago Cloud is a flat monthly fee that doesn't scale with your revenue. As you grow from $1M ARR to $50M ARR, your Lago bill stays the same.

Chargebee: Pricing is sales-led and not published publicly. The market expectation is a fee structure that scales with revenue or transaction volume, but exact terms depend on your contract. Request a quote from Chargebee directly for an accurate number.

The TCO crossover point where Lago Cloud becomes cheaper than a revenue-percentage platform is typically somewhere in the $3–5M ARR range, depending on your Chargebee contract. Below that, managed platforms often win on total cost. Above it, flat-fee or self-hosted infrastructure usually wins.

One honest caveat on self-hosted: it carries real operational costs, DevOps time, infrastructure provisioning, and ongoing maintenance. Teams without existing Kubernetes infrastructure should factor in 2 to 4 weeks of setup time and ongoing maintenance burden before choosing self-hosted for cost reasons alone. For many teams, Lago Cloud is the right starting point.

Feature comparison

FeatureLagoChargebee
Open-source✅ AGPL❌ Proprietary
Self-hosted deployment✅ Strong❌ None
Cloud managed✅ Yes✅ Yes
Usage-based billing (native)✅ Primary architecture✅ Layered addition
Prepaid credits / wallets✅ Native wallet primitives⚠️ Overage/included-unit model
Custom aggregation logic✅ Weighted sum, custom✅ Standard patterns
Multi-dimensional pricing✅ Strong✅ Strong
Entitlements✅ Native✅ Through Features API
PSP neutrality✅ Any PSP, multi-PSP✅ 30+ PSPs, suite-managed
Multi-entity billing✅ Native⚠️ Limited, requires setup
Revenue recognition (ASC 606/IFRS 15)⚠️ Integrations only✅ Native RevRec module
Dunning / payment recovery✅ Yes✅ Yes (more mature workflows)
SOC 2 Type II✅ Yes✅ Yes
Pricing modelFlat fee or free (OSS)Sales-led custom

When Lago is the right choice

Your billing model is usage-first. AI companies, API platforms, infrastructure tools, anywhere that tokens, API calls, compute seconds, or data processed is the primary revenue driver. Lago's metering architecture was built for this.

You need self-hosted deployment. Healthcare, financial services, government contractors, or any team with data residency requirements or security review mandates that a cloud-only vendor can't satisfy.

You want PSP independence. Multi-processor strategy, planning to change processors as you expand geographically, or simply not wanting your billing logic tied to a specific payment network's acquisition agenda. With the two biggest UBB specialists now inside Stripe and Adyen, Lago is increasingly the only major platform that stays neutral.

Billing logic is strategic. If your pricing changes frequently, new AI models, new credit pack structures, new enterprise tiers, and you want those changes to be fast, testable, and in your team's control rather than in a vendor's support queue.

You're past ~$3–5M ARR and cost predictability matters. Flat-fee billing infrastructure becomes significantly cheaper than revenue-scaled pricing above this range.

When Chargebee is the right choice

You're subscription-first with usage as a secondary layer. Recurring seats or flat fees as the majority of your revenue, with usage as an overage on top. This is exactly what Chargebee was designed for and does extremely well.

Finance owns the billing project. Chargebee has native RevRec (ASC 606/IFRS 15), mature dunning workflows, accounting integrations (NetSuite, QuickBooks, Xero), and an admin interface built for operations teams. If the project is finance-led rather than engineering-led, Chargebee's buyer profile fits better.

You want a single vendor for billing, RevRec, dunning, and payments administration. Chargebee is a broader suite and it's genuinely mature. If you want one platform covering the full revenue operations surface with traditional SLA-backed enterprise support, that's a real advantage.

The honest summary

Chargebee is the right choice for subscription-first SaaS teams that want a mature, finance-owned revenue platform and don't need self-hosting, deep AI credit mechanics, or PSP neutrality.

Lago is the right choice for engineering-led teams building usage-intensive products, AI, APIs, infrastructure, who want billing logic they control, can audit, and can deploy anywhere. Mistral and Blacksmith both run on it.

The two platforms aren't really competing for the same buyer. If you've read this far and you're still asking "which one?", the answer is usually determined by one question: does your billing model need to live inside your engineering stack, or inside a managed SaaS suite?

If it's the former, deploy the open-source version or book a demo to talk through your specific pricing model. If it's the latter, Chargebee is a good product.


Share on

LinkedInX

More from the blog

Lago solves complex billing.