Lago has been able to follow the pace of our releases and has allowed us to focus on what we do best.
Billing for AI products, from usage to invoice
On Lago Cloud, meter tokens and other usage, combine subscriptions and credits, and invoice customers without operating the billing service. Lago customers include CoreWeave, Mistral AI and PayPal.
Meter every AI token.
Bill with confidence.
Engineering gets granular usage data.
Finance gets a clear path from consumption to revenue.
AI usage over time
Every token type, accounted for.
Illustrative stacked bar chart of 18 days of AI usage, totaling 1,185,000 tokens. Input, output, and cached tokens are measured separately. Daily usage grows from 24,000 to 135,000 tokens.
Every token, captured.Meter input, output, and cached tokens separately. Attribute usage to each customer, so every event has a place on the bill.
One platform for every revenue workflow.From the first quote to the final invoice.
Quotes Turn your catalog into a customer-ready offer.
Prepaid credits Collect upfront. Apply credits to eligible invoices.
Entitlements & quotas Define what each plan unlocks.
Complex pricing & packaging Price the way your business works.
Invoicing Turn usage into itemized invoices.
Powering fast-growing AI scaleups.And global enterprises.
See how ambitious teams build and scale their billing with Lago.
SOC 2 Type II
Your data is protected with enterprise-grade rigor.
Flexible Deployment
Deploy Lago on-prem, in a VPC or elsewhere.
RBAC
Role-based access control to set user roles and permissions.
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 jsonExample 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"
}
]
}
}Bring the best of AI to billing.Make every billing workflow count.
Connect your AI tools, automate billing operations, and turn your Lago data into answers for your finance team.
Billing and Finance AI Assistants.
Manage billing and explore your revenue in plain language. Ask Lago’s AI assistants to help with invoices, subscriptions, and financial reports.
AI Forecast and Revenue Recognition.
Forecast usage-based revenue with AI. Track recognized and deferred revenue across each service period.
AI Dunning Agent.
Automate cash collection with personalized reminders and payment retries. Help overdue invoices get paid, with less manual follow-up.
Lago connects to your existing stack
Connect AI providers and gateways, payment providers, accounting systems, CRMs and the rest of your revenue stack.
Discover integrationsLago billing platform FAQ
What is Lago?
Lago is a billing platform for subscriptions, usage-based, prepaid, and hybrid pricing. Lago Cloud is the managed option; teams can also self-host. Lago connects product usage and commercial terms to customer invoices.
Which companies are Lago customers?
Lago customers include CoreWeave, Mistral AI and PayPal.
How do applications integrate with Lago?
Applications connect to Lago through a REST API, official SDKs (JavaScript, Python, Ruby, Go), and signed webhooks. The public OpenAPI spec and developer docs walk through each integration path.
Can teams run Lago on their own infrastructure?
Yes. Teams can choose managed Lago Cloud or operate Lago on their own infrastructure. The open-source edition is AGPLv3-licensed; Premium is available on Cloud or self-hosted.
How much does Lago cost?
Lago Free is free to self-host under an AGPLv3 license. Managed Lago Cloud offers Launch with no minimum commitment and separate one-time billing and event allowances, plus sales-guided Scale and Enterprise plans. Include infrastructure and operating work when comparing self-hosting with Cloud.
How is Lago different from Stripe Billing, Chargebee, or Zuora?
Lago combines subscriptions, usage, prepaid credits, and hybrid pricing in one billing system, with connected invoicing and payment providers. Lago Cloud is managed by Lago; self-hosting and access to the open-source code are options for teams that need them. Compare the full workflow and deployment terms for your use case.
Does Lago replace my payment processor?
No. Lago calculates charges, generates invoices, and applies tax while your chosen processor handles payment. Lago offers supported payment integrations and a webhook and API path for custom connections. Check the capabilities of your specific integration.