New guide

Refine your pricing strategy with a complete guide to pricing economics for AI agents.

Get the guide
×

8 best Lago alternatives for usage-based billing (2026)

Eight Lago alternatives, open source and managed, compared on credits, margin tracking, and payment processor, with the real cost of self-hosting and a migration plan.

8 best Lago alternatives for usage-based billing (2026)

Teams usually pick Lago for three reasons: the code is open source, they can self-host it, and it isn't tied to one payment processor. That independence matters more now that Stripe owns Metronome and Adyen owns Orb. So why look at Lago alternatives at all?

Mostly because running billing yourself costs more than the free license suggests. Someone has to deploy, upgrade, scale, and stay on call for the system that sends your invoices. Some features, such as custom roles, SSO, and audit logs, sit on Lago's higher paid plans. And Lago doesn't show what each customer costs you to serve.

This guide covers eight alternatives, split into open-source and managed options, with a breakdown of what self-hosting really costs and a migration checklist.

  • Flexprice: open-source usage billing with credits and wallets
  • Kill Bill: mature open-source billing and payments you run yourself
  • OpenMeter (Kong): open-source metering, now inside Kong Konnect
  • Clocknext: managed billing for AI products, with margin per customer
  • Orb: managed usage billing with SQL metrics and pricing simulations
  • Metronome: high-volume metering and enterprise contracts inside Stripe
  • Chargebee: subscriptions plus usage, with dunning and revenue recognition
  • Maxio: finance-led SaaS teams that need revenue recognition and SaaS metrics

What is Lago billing? How Lago open-source billing works

Lago is an open-source metering and billing platform for subscriptions, usage-based pricing, prepaid credits, and negotiated contracts. It ingests usage events, prices them against plans and charges, manages wallets, and generates invoices. Teams can self-host the AGPLv3 edition or use Lago Cloud.

Lago billing works by turning raw usage into invoices: you send events, define billable metrics and charges on each plan, and Lago calculates what each customer owes, while your payment provider collects the money. What it does well:

  • Open code. The open-source edition is free to run in your own cloud or on premises, licensed under AGPLv3.
  • Payment processor choice. Lago handles charges and invoices while your chosen payment provider handles payments, with native integrations for Stripe, Adyen, and GoCardless.
  • AI usage. You can set separate rates for input, output, and cached tokens, and Lago's AI Agent SDK collects usage from LLMs and AI gateways without custom middleware. It lists integrations with OpenAI, Anthropic, AWS Bedrock, Google Gemini, and Mistral.
  • Proven customers. Its website names CoreWeave, Mistral AI, and PayPal among its customers.

Lago also offers an API, SDKs, a CLI, and an MCP server for developers, plus an AI dunning agent for payment reminders and retries.

Why teams look for Lago alternatives

Lago is a strong product, and many teams run it happily for years. Those looking at Lago alternatives usually give one of five reasons.

Self-hosting isn't free

The license costs nothing, but your team deploys, upgrades, scales, and monitors the system that sends every invoice. When an invoice run fails at month-end, someone on your team gets paged. The next section breaks that cost down.

Some features sit on higher plans

On Lago Cloud, custom roles, Okta SSO, and audit logs come with the Scale plan, and custom billing workflows and integrations with Enterprise. Check the pricing page for the features you need before comparing totals.

Cloud signup is still assisted

Lago's entry cloud plan currently needs the Lago team's help to get access, with self-serve signup and a free sandbox marked as coming soon. Teams that want to try a managed product on their own today may look elsewhere.

Pricing changes take planning

Changing prices usually means creating new plans or charges and moving customers onto them. Teams that test pricing often may want pricing changes that product managers can make directly, without a migration each time.

No cost or margin view

Lago shows what you bill, not what each request costs you at the model provider. AI companies that need margin per customer have to build that separately and join it to billing data.

Lago pricing: what does Lago cost?

Lago's pricing page lists four options:

  • Self-hosted: free forever under AGPLv3; you run it in your own VPC or on premises.
  • Launch (cloud): the first $100,000 in processed billings and first 5 million events are free, one time. After that, 0.7% of billings and $20 per million events.
  • Scale (cloud): from $12,000 a year, with billing fees starting at 0.6% and falling with volume.
  • Enterprise: custom terms, with cloud, VPC, or on-premises deployment.

Other platforms publish entry pricing too. Flexprice cloud starts at $99/month for up to $300,000 in billing volume. Chargebee charges 0.8% of invoicing volume with no base fee. Maxio starts at $599/month. Clocknext is free up to $100,000 in billed revenue a year.

The real cost of self-hosting billing

Open-source billing software saves you the license fee, not the cost of running it. Billing is a system where downtime or a wrong invoice reaches customers directly, so it needs production-grade care.

Running Lago yourself means operating its services and their dependencies. Lago's self-hosting documentation recommends PostgreSQL 15 or later and Redis 7 (or Valkey), with Kubernetes 1.26 or later if you deploy with its Helm charts. Around those you need backups, monitoring, alerting, secrets management, and someone on call for invoice runs.

The table below gives rough ranges. They are estimates, not quotes: plug in your own cloud bills and engineering costs.

ItemTypical effort (estimate)
Infrastructure: compute, databases, cache, storage, backupsA few hundred to a few thousand dollars a month, rising with event volume and redundancy
Initial setup and hardening2 to 6 engineer-weeks, including payment and accounting integrations
Upgrades and maintenance1 to 3 engineer-weeks a year, more if you fall behind on releases
On-call cover for invoice runsA share of an on-call rotation, every month, around billing dates
Incident responseUnpredictable; a failed invoice run can take days of engineering and finance time to fix

To estimate your own total, use:

Annual cost = infrastructure + (engineer-weeks × cost per engineer-week)

For example, $12,000 a year of infrastructure plus 10 engineer-weeks at $4,000 each comes to $52,000 a year, before any incidents. Compare that with a managed plan's fees at your billing volume. Self-hosting still wins when you need full control of code and data, or have strict data-residency rules. For a fuller estimate of building and running billing yourself, read the true cost of building AI billing in-house.

Lago alternatives compared

The table compares eight Lago competitors, with Lago in the first row for reference. Three are open source like Lago; the rest are managed services you don't have to run.

PlatformOpen sourceDeploymentBest forCredits and walletsMargin per customerPayment processorPublished pricing
Lago (reference)Yes, AGPLv3Self-hosted or cloudOpen-source, processor-independent billingYesNoStripe, Adyen, GoCardless, othersYes
FlexpriceYes, AGPLv3 coreSelf-hosted or cloudOpen-source usage billing with creditsYesNoStripeYes
Kill BillYes, Apache 2.0Self-hosted; managed by a partnerGeneral subscription billing and paymentsNot a focusNoStripe, Adyen, PayPal, Braintree, GoCardless, via pluginsOpen source free; commercial tier on request
OpenMeter (Kong)YesSelf-hosted, or managed in Kong KonnectMetering and entitlements for APIs and LLMsYes, prepaid creditsPartial: LLM cost visibilityStripe, via syncOpen source free; managed not published
ClocknextNoCloudAI companies pricing on credits or outcomesYesYesStripe and PaddleYes
OrbNoCloudEngineering-led teams that test pricingYesNoAdyen and Stripe; owned by AdyenYes
MetronomeNoCloudHigh-volume metering and enterprise contractsYesNoStripe (native); owned by StripeYes
ChargebeeNoCloudSaaS adding usage to subscriptionsCheck by planNo40+ gateways, including Stripe and AdyenYes
MaxioNoCloudFinance-led SaaS teamsCheck by planNo20+ gateways, plus Maxio PaymentsYes

Last verified: November 2026, from each vendor's pricing page and documentation.

The 8 best Lago alternatives in 2026

The alternatives are grouped into open-source, managed, and finance-led platforms. Every entry uses the same template, including a line on why a team would switch from Lago. Clocknext publishes this list. We describe each product, our own included, by what it is built to do and where it falls short, based on public documentation and pricing pages.

Open-source alternatives for usage-based billing

These three keep Lago's main advantage, open code you can run yourself. They also keep its main cost: your team operates them.

1. Flexprice

What it does: Flexprice is an open-source usage billing platform with built-in credits, wallets, and entitlements. Its core is licensed under AGPLv3, with enterprise features under a commercial license, and it offers managed cloud plans.

Best for: Startups that want open-source billing with credits and wallets ready to use.

Why switch from Lago: Credits, wallets, and entitlements designed in from the start, and a flat monthly price on its entry cloud plan.

Key features:

  • Prepaid and promotional credit grants, with automatic top-ups and expiry
  • Wallets with real-time balances
  • Entitlements and usage limits per plan or per customer
  • Real-time metering with SQL metrics
  • Integrations with Stripe payments, Stripe Tax, and HubSpot

Limitations:

  • Same AGPLv3 and self-hosting trade-offs as Lago
  • Payment integrations center on Stripe
  • Its broader set of 50+ integrations sits on the custom Scale plan

Pricing: The open-source edition is free. Cloud plans are Launch at $99/month for up to $300K in billing volume, and Growth from $500/month plus 0.40% of billing. Scale, with on-premises and air-gapped deployment, is custom.

2. Kill Bill

What it does: Kill Bill is open-source billing and payments infrastructure that you run yourself, licensed under Apache 2.0 and in production for more than 15 years. It handles subscriptions and pricing models, including usage-based billing, and connects to payment gateways and tax engines through plugins.

Best for: Engineering teams that want a mature, general-purpose open-source billing system with a permissive license.

Why switch from Lago: The Apache 2.0 license is more permissive than AGPLv3, and its plugin framework covers a wide range of payment gateways.

Key features:

  • Subscription billing with usage-based pricing models
  • Plugins for Stripe, Adyen, PayPal, Braintree, GoCardless, and Coinbase
  • Tax integrations with Avalara and Vertex
  • An open plugin framework for custom connectors
  • A commercial edition, Aviate, that adds usage metering and premium support

Limitations:

  • More general-purpose and less focused on AI pricing than Lago
  • The free edition comes with community help only, with no support or SLA
  • You run it yourself unless you use a partner-managed option

Pricing: The open-source edition is free. Aviate and the managed option are priced separately; contact the Kill Bill team.

3. OpenMeter (Kong)

What it does: OpenMeter is open-source usage metering. Kong acquired OpenMeter in September 2025 and built it into Kong Konnect as Metering & Billing, which meters API, LLM, and event usage at Kong's gateways, applies entitlements, and generates invoices.

Best for: API and LLM products that mainly need metering and entitlements, especially if they already run Kong.

Why switch from Lago: Metering and limits enforced at the gateway, with no separate event pipeline to run.

Key features:

  • LLM usage metered per token, model, customer, and request
  • Flat-rate plans, token pricing, prepaid credits, and commitments
  • Entitlements with hard and soft quotas
  • Token-based rate limits and budgets at the gateway
  • Invoices synced to Stripe and NetSuite

Limitations:

  • The full billing product lives in Kong Konnect, so most value goes to Kong users
  • Cost visibility isn't joined to revenue as margin per customer
  • Managed pricing isn't published

Pricing: OpenMeter is free to self-host. Kong doesn't publish prices for Konnect Metering & Billing; contact sales.

Managed alternatives for AI and usage-based billing

These three take infrastructure off your hands. The trade-off is that you don't own the code, and two of them now belong to payments companies.

4. Clocknext

What it does: Clocknext is a managed usage-based billing and monetization platform for AI products. It meters usage signals and prices them as credits, units, outcomes, or composites (bundles of entitlements sold as one line item), all on one plan. Prepaid, postpaid, and hybrid charges go on one invoice, and each signal records what it cost at the model provider.

Best for: AI companies that price on credits, outcomes, or a hybrid and need to see which customers are profitable.

Why switch from Lago: No billing infrastructure to run, pricing changes without a deploy, and margin per customer built in.

Key features:

  • Credits, units, outcomes, and composites on a single plan
  • Prepaid, postpaid, and hybrid billing on one invoice
  • Wallets that draw down in real time, with auto top-up, block, or overage at zero
  • Pricing experiments that change pricing live, without a deploy
  • Margin control, which records provider cost on each signal and shows margin per customer, offering, and invoice

Limitations:

  • Not open source, so you can't self-host it or change the code
  • Built for usage, credit, and outcome pricing, so it is less suited to companies whose revenue is mainly seat subscriptions sold through complex enterprise quote-to-cash

Pricing: Free up to $100K in billed revenue a year. Paid plans are Pro at $300/month (up to $250K), Business at $500/month (up to $500K), and Premium at $900/month (up to $1M), with custom pricing above that. See Clocknext pricing.

5. Orb

What it does: Orb is a managed usage-based billing platform that stores every raw event, defines billable metrics in SQL, and simulates pricing changes on historical usage before launch. Adyen completed its acquisition of Orb on July 1, 2026, and runs it as a subsidiary.

Best for: Engineering-led teams that change pricing often and want to see the revenue impact first.

Why switch from Lago: Pricing simulations on real data, invoice corrections from stored events, and no infrastructure to run.

Key features:

  • Raw event storage, with custom SQL metrics
  • Pricing simulations on historical usage
  • Backdated corrections and reissued invoices
  • Credits, trials, and a pricebook
  • Adyen and Stripe payment integrations

Limitations:

  • Owned by Adyen, which loses some of the processor independence teams choose Lago for
  • NetSuite and Salesforce integrations, commitments, and revenue reports sit on the custom Enterprise plan
  • No provider cost or margin tracking

Pricing: Business costs $6 per credit, about 0.60% of billing volume plus event fees, with 100 free credits for new sign-ups. Enterprise is custom. See our guide to Orb alternatives.

6. Metronome

What it does: Metronome is a managed usage-based billing platform that meters events, rates them against pricing and contracts, and generates invoices. Stripe completed its acquisition of Metronome in January 2026, and its metering engine powers AI companies including OpenAI, Anthropic, and NVIDIA.

Best for: High-volume API and AI companies with enterprise contracts that already process payments on Stripe.

Why switch from Lago: Proven at very high event volumes, with strong support for commits, minimum spend, and ramp schedules, and native Stripe integration.

Key features:

  • Billable metrics defined in SQL over raw events
  • Prepaid credits with real-time drawdown
  • Commits, minimums, and ramp schedules for enterprise contracts
  • Dimensional pricing by attributes such as model or region
  • Embeddable billing dashboards on its Starter plan

Limitations:

  • Owned by Stripe, the opposite of the processor independence Lago offers
  • Stripe's docs note limited support for some Stripe products, such as Connect, Checkout, Adaptive Pricing, and Workflows
  • No provider cost or margin tracking

Pricing: Starter costs 0.8% of billing volume plus $0.04 per 1,000 events ingested. Custom plans are priced through sales. See our guide to Metronome alternatives.

Subscription and finance-led platforms

These two suit teams where finance owns billing, and where subscriptions, revenue recognition, and collections matter as much as metering.

7. Chargebee

What it does: Chargebee is subscription billing that has added usage. It combines recurring, one-time, and usage charges on one invoice, with entitlements, real-time usage limits, dunning, and chargeback automation. Revenue recognition is available as a product or add-on.

Best for: SaaS companies adding usage-based charges on top of existing subscription plans.

Why switch from Lago: A managed service with subscription lifecycle tooling, revenue recognition, and more than 40 payment gateways, without running anything yourself.

Key features:

  • Tiered, volume, stair-step, and block pricing, plus hybrid billing
  • Included usage per plan, with overage and usage analytics
  • Usage-based entitlements, real-time limits, and alerts
  • Basic and smart dunning, plus chargeback automation
  • 40+ gateways, including Stripe, Adyen, Braintree, PayPal, GoCardless, and Mollie

Limitations:

  • Not open source
  • Built subscription-first, so very high event volumes need the Enterprise plan or add-ons
  • No provider cost or margin tracking

Pricing: Flow costs 0.8% of invoicing volume with no base fee and includes 100M usage events a month. Enterprise is $99 a month plus 0.65%, which is cheaper above about $66,000 a month in invoicing.

8. Maxio

What it does: Maxio combines subscription and usage-based billing with ASC 606 and IFRS 15 revenue recognition and SaaS metrics, so finance teams can bill, recognize revenue, and report MRR and churn in one system.

Best for: Finance-led SaaS teams that care as much about revenue recognition and reporting as about invoicing.

Why switch from Lago: Revenue recognition, SaaS metrics, collections, and dunning in one managed product, with unlimited users.

Key features:

  • Fixed, usage-based, and milestone billing
  • Scheduled, recognized, and deferred revenue tracking under ASC 606 and IFRS 15
  • MRR and ARR movement, churn, retention, and cohort reports
  • Collections, dunning, and A/R aging
  • 20+ payment gateways, plus Maxio Payments

Limitations:

  • Not open source
  • Event-based billing is an add-on module, so high-volume metering costs extra
  • Contracts default to annual, with monthly payment at a premium

Pricing: Grow is $599/month for businesses with up to $100,000 in monthly billings. Scale, above $100,000 a month, is custom.

Lago vs Stripe Billing

Lago is open source and independent of any payment processor. You can self-host it, change the code, and send payments through Stripe, Adyen, GoCardless, or others. Stripe Billing is a hosted product tied to Stripe payments, with two usage paths: basic usage-based billing for simple pay-as-you-go and overage pricing, included in Stripe Billing from 0.7% of billing volume, and Metronome for real-time credits, commits, and complex contracts.

Choose Lago if code ownership, self-hosting, or processor independence matters most.

Choose Stripe if you already run payments on Stripe and want the fewest separate vendors to manage.

How to choose a Lago alternative

Start with one question: do you want to keep running billing yourself? If yes, pick from the open-source options. If not, pick the managed platform that fits how you price.

Your situationBest fit
Must stay open source and self-hostedFlexprice, Kill Bill, OpenMeter
Want managed billing with AI pricing and margin per customerClocknext
Want SQL metrics and pricing simulationsOrb
Need Stripe-native enterprise contracts at high volumeMetronome
Finance-led, with revenue recognition and SaaS metricsMaxio, Chargebee

Once you have a shortlist of two or three Lago alternatives, ask each vendor these five questions:

  1. Who runs and upgrades it? For open source, that is your team. For managed platforms, ask about uptime commitments and how upgrades reach you.
  2. Which payment processors work? Check today's list, and what happens if you change processors later.
  3. Can product teams change prices without engineering? If every change needs a deploy or a plan migration, you will test far fewer prices.
  4. Can we see provider cost per customer? Without it, you see revenue but not which customers are profitable.
  5. What migration help is included? Ask who rebuilds your plans and metrics, whether they support the parallel run, and how wallet balances move across.

Migration checklist: moving off Lago

A billing migration is safest when the new system proves itself on real invoices before Lago is switched off. Most teams finish in several weeks.

Step 1: Export your data from Lago

Export customers, plans, charges, wallets, and coupons, either through Lago's API or directly from its database if you self-host. Include wallet balances, any expiry rules, and invoice history, and check the export against a few customers by hand.

Step 2: Map billable metrics and filters

Rebuild each billable metric, including its filters and aggregation, in the new platform. Test each one against a full month of real events and compare the totals with Lago's.

Step 3: Send usage events to both systems

Dual-write every usage event to Lago and the new platform using the same event schema, so both see exactly the same usage.

Step 4: Run both in parallel and compare invoices

Keep Lago as the system of record and run the new platform alongside it for one or two billing cycles. Compare every invoice line by line, and fix each difference before moving on.

Step 5: Move customers in batches at cycle boundaries

Start with customers on simple plans, then move contract customers. Carry wallet balances over exactly, with their expiry rules, and check each balance after the move.

Step 6: Switch invoicing and payments, then decommission

Once the batches are clean, make the new platform the system of record for invoicing and payment collection at a cycle boundary. Then shut down the self-hosted services, but keep a read-only copy of the database for audits.

If you are weighing whether to build billing in-house instead, read the real cost of building AI billing in-house.

Best practices for switching billing platforms

These five practices keep a move off Lago invisible to your customers.

  1. Keep event schemas stable. Don't rename events or fields during the move. Both systems should read exactly the same data, or invoice differences become impossible to trace.
  2. Reconcile every invoice during the parallel run. Spot checks miss the edge cases, such as a mid-cycle upgrade or an expiring wallet credit, that cause disputes later.
  3. Preserve wallet balances and expiry rules exactly. Customers notice when prepaid credit disappears early or changes amount.
  4. Keep the old database read-only after cutover. Auditors and finance will ask about past invoices, so keep Lago's data available until your retention period ends.
  5. Use the move to add what was missing. A migration is the cheapest time to add margin tracking and customer-facing usage views, because you are rebuilding plans anyway.

FAQ

What are the best Lago alternatives?

The best Lago alternatives depend on why you are leaving. If you want to stay open source, look at Flexprice, Kill Bill, or OpenMeter. If you want a managed platform with AI pricing models and margin per customer, Clocknext is a strong fit. Orb suits teams that want SQL metrics and pricing simulations, Metronome suits Stripe-native enterprise contracts, and Chargebee or Maxio suit finance-led SaaS teams. Test two or three against your real plans and usage data before committing.

Is Lago free if you self-host it?

The open-source edition of Lago is free under the AGPLv3 license, so there is no license fee for self-hosting. You still pay to run it: servers, PostgreSQL and Redis, backups, monitoring, upgrades, and engineers on call when invoice runs fail. Some features, such as custom roles, Okta SSO, and audit logs, come with Lago's paid cloud plans. For many teams, the engineering time to operate billing reliably costs more than a managed platform, so compare total cost rather than license price alone.

How much does Lago cost?

Lago's self-hosted edition is free. Its Launch cloud plan makes the first $100,000 in processed billings and first 5 million events free, one time, then charges 0.7% of billings and $20 per million events. Scale starts at $12,000 a year with billing fees from 0.6%, and Enterprise is custom. When comparing Lago alternatives, include infrastructure and engineering time for the self-hosted option, and compare cloud fees at your expected billing volume.

What is the best open-source alternative to Lago?

Flexprice is the closest open-source alternative to Lago for usage-based and credit-based billing, with credits, wallets, and entitlements built in. Kill Bill is a mature open-source billing system under the Apache 2.0 license, but it is more general-purpose and less focused on usage pricing. OpenMeter, now part of Kong, is a strong option if you mainly need metering and entitlements rather than full invoicing. Each still leaves your team responsible for running, upgrading, and maintaining the infrastructure.

What is the difference between Lago and Stripe Billing?

Lago is an open-source billing platform you can self-host or use as a managed service, and it works with several payment processors. Stripe Billing is a hosted product tied to Stripe payments, with basic usage-based billing for simple models and Metronome for complex usage, credits, and enterprise contracts. Choose Lago if processor independence and code ownership matter most. Choose Stripe if you already run payments on Stripe and want the fewest separate vendors to manage.

Is open-source billing software worth it?

Open-source billing software is worth it when you need full control over code and data, have strict hosting or data-residency requirements, or have engineers who can run billing infrastructure reliably. It is less worth it when billing isn't core to your product and your team is small, because uptime, upgrades, and invoice accuracy become your responsibility. Many teams start open source and later move to a managed platform once usage, pricing complexity, and finance requirements grow.

How do you migrate off Lago?

Export customers, plans, charges, wallets, and coupons from Lago, then rebuild your billable metrics in the new platform and test them against a month of real events. Send usage events to both systems and compare invoices for one or two billing cycles. Move customers in batches at cycle boundaries and carry wallet balances over exactly. Once invoices match, switch invoicing and payments, then decommission the self-hosted stack while keeping its database available, read-only, for audits.

Choosing a Lago alternative for your product

If code ownership matters most, stay open source: Flexprice is the closest fit for credits and wallets, Kill Bill for general subscription billing, and OpenMeter for metering at the gateway. If running billing is costing more than it saves, move to a managed platform: Orb for pricing simulations, Metronome for Stripe-native enterprise contracts, and Chargebee or Maxio for finance-led teams.

If you sell an AI product priced on credits, outcomes, or a hybrid, Clocknext gives you managed billing with margin per customer, and product teams can change pricing without a deploy. Bring your own plans and usage data to a demo, or start free up to $100K in billed revenue.

Book a demo · Start for free

Comparisons, Lago, Usage-based billing

Manish Balaji

Manish Balaji

Head of Marketing at Clocknext

A fan of compelling stories, memorable product experiences, and Liverpool FC, not necessarily in that order.