Lago has been able to follow the pace of our releases and has allowed us to focus on what we do best.

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.
Engineering gets granular usage data.
Finance gets a clear path from consumption to revenue.
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.





See how ambitious teams build and scale their billing with Lago.
Lago has been able to follow the pace of our releases and has allowed us to focus on what we do best.

Your data is protected with enterprise-grade rigor.
Deploy Lago on-prem, in a VPC or elsewhere.
Role-based access control to set user roles and permissions.
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"
}
]
}
}Connect your AI tools, automate billing operations, and turn your Lago data into answers for your finance team.
Manage billing and explore your revenue in plain language. Ask Lago’s AI assistants to help with invoices, subscriptions, and financial reports.


Forecast usage-based revenue with AI. Track recognized and deferred revenue across each service period.

Automate cash collection with personalized reminders and payment retries. Help overdue invoices get paid, with less manual follow-up.

Connect AI providers and gateways, payment providers, accounting systems, CRMs and the rest of your revenue stack.
Discover integrationsLago is a billing platform for subscriptions, usage-based, prepaid, and hybrid pricing. Lago Cloud is the hosted Premium option; teams can also self-host. Lago connects product usage and commercial terms to customer invoices.
Lago customers include CoreWeave, Mistral AI and PayPal.
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.
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.
Lago Premium is available on Cloud or self-hosted with pricing quoted for your needs. The open-source edition is free to self-host under an AGPLv3 license; include infrastructure and operating work when comparing total cost.
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.
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.