Getlago

One embedded billing engine for every platform model

Lago is built for platforms that enable others to build, sell, and scale across AI, finance, e-commerce, cloud, and ERP ecosystems.

AI PLATFORMS

AI PLATFORMS

Let users monetize with usage, credits or hybrid pricing

AI apps have variable costs that don't fit flat subscriptions. When builders can't monetize to match their costs, they churn.

Supports subscriptions, usage-based, credits, hybrid pricing and everything else.

No-code interface for builders, APIs for engineers, MCP for LLMs

Security and compliance for your users and your platform

Self-host and customize Lago.

PayPal brought next-generation billing to AI companies with Lago.
PayPal brought next-generation billing to AI companies with Lago.

PayPal brought next-generation billing to AI companies with Lago.

Bring billing capabilities in days, not years

Everything you need to embed and customize billing features into your platform, without rebuilding it.

Built for embedded partners.

Built for embedded partners. Launch faster with a billing engine designed for OEM use cases. Get platform-grade APIs, tenant isolation, and the flexibility to build exactly what your customers need.

Make your monetization features and user experience unique.

Make your monetization features and user experience unique. Embed our platform, customize it to your specific needs, modify and extend Lago's code if needed, and launch a tailored product faster than ever.

Keep full control.

Keep full control. Lago is open-source, offered on-prem, Soc 2 type 2. There's no black box, you get direct access to the action, while we stay behind the scenes to support when needed.

Full support for Embedded partners.

Full support for Embedded partners. Get dedicated partner support, custom integrations, and the flexibility to build exactly what your customers need on top of Lago's infrastructure.

Frequently asked questions

Does Lago update prepaid credit balances in real time?

Yes. Lago’s ongoing wallet balance typically refreshes in under a second after a new event is included in usage. It reflects remaining prepaid credits after current usage, including taxes.

Use this live balance in customer dashboards and configure balance alerts and automatic top-ups.

See the event-to-wallet flow and wallet documentation.

Can Lago handle negotiated enterprise contracts?

Yes. Customize subscription fees, usage rates, minimum commitments and billing thresholds for each customer’s subscription while keeping a shared plan structure.

Lago applies those negotiated terms when calculating charges and generating invoices.

Explore customer-specific pricing.

Do I need to self-host Lago or manage billing infrastructure?

No. Lago Cloud is a fully managed billing platform. Lago handles hosting, scaling, upgrades and monitoring. Your team connects customer and usage data, configures pricing and connects your payment and finance tools.

Self-hosting is also available if you prefer to operate Lago in your own environment.

Explore managed Lago Cloud.

Can I offer billing inside my own platform with Lago?

Yes. Lago Embedded provides the metering, pricing and invoicing engine behind a billing experience you build into your platform. Your customers manage their offers and bill their end users through your product.

Explore embedded

What does launching embedded billing with Lago involve?

Define your customer onboarding, pricing models, billing interface and finance connections, then integrate Lago’s APIs and validate the resulting invoices. The Lago team can help scope implementation and agree a launch plan.

Explore embedded

Can I customize the billing experience and keep my own branding?

Yes. Build your interface and workflows around Lago’s APIs so billing fits your product. Your team controls the customer experience and can develop the platform-specific features that distinguish your offer.

Explore embedded

Who is Lago Embedded for?

Lago Embedded is for platforms that want to offer billing to their own customers, including AI application platforms, commerce, cloud, financial infrastructure and ERP products.

Explore embedded

Why use Lago as the billing engine inside my platform?

Use Lago’s metering, pricing and invoicing capabilities as the foundation while your team builds the platform experience. The open-source engine and documented APIs give your developers visibility into the billing logic they integrate.

Explore embedded

How does Lago Embedded fit alongside a platform’s payment infrastructure?

Lago manages your customers’ pricing, usage, plans and invoices. Your payment infrastructure handles collecting and moving funds. For a Stripe Connect platform, design the account and payment flow with the Lago team as part of the integration.

Explore embedded

What security evidence can Lago provide for our vendor review?

Lago Cloud has completed a SOC 2 Type II audit. Request the report and review Lago’s trust center with your security team to assess the hosted service, access controls and supporting documentation against your requirements.

Explore soc

Can I stop usage when a customer runs out of prepaid credits?

Yes. Configure Lago’s ongoing balance alerts to trigger a restriction in your application when credits reach your chosen threshold. Your application enforces access using those alerts and its own request checks.

You can also set earlier thresholds to warn customers and prompt them to top up before their credits run out.

Explore credit balance alerts.

Can Lago automatically generate invoices for subscriptions and usage-based pricing?

Yes. Lago automatically generates invoices from your subscription terms and usage charges and provides downloadable PDFs. You can also use the invoicing provider of your choice, using Lago’s invoice data and webhooks.

Explore invoicing

Lago self-hosted

Deploy Lago seamlessly on your own infrastructure to keep full control.

Create a Lago plan from plan.json using the CLI:

lago plans create --input @plan.json --output json

Example Lago JSON response for a yearly Basic plan with usage-based API charges:

{
  "plan": {
    "name": "Basic",
    "code": "basic",
    "interval": "yearly",
    "amount_cents": 90000,
    "amount_currency": "USD",
    "charges": [
      {
        "billable_metric_code": "api_calls",
        "charge_model": "standard"
      }
    ]
  }
}

Enterprise-grade security and privacy

SOC 2 Type II

SOC 2 Type II

Your data is protected with enterprise-grade rigor.

Self-host

Flexible Deployment

Deploy Lago on-prem, in a VPC or elsewhere.

Role Based Access Control

RBAC

Role-based access control to set user roles and permissions.

The fine print

Lago solves complex billing.