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 integrationsOpenAI
Capture Chat Completions and Responses API token usage.
View integrationAnthropic
Capture Messages API usage, streaming and prompt caching.
View integrationAWS Bedrock
Capture Converse and InvokeModel usage, including streaming.
View integrationGoogle Gemini
Capture text, reasoning, audio and image token usage.
View integrationMistral
Capture chat completion, streaming and cache-read usage.
View integrationRamp Router
Bill the model that served each routed call.
View integrationSnowflake Cortex
Bill API and SQL AI usage in Snowflake.
View integrationDatabricks AI Gateway
Bill hosted and BYOK AI Gateway usage.
View integration
Lago billing platform FAQ
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.
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.
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.
What is Lago, and which businesses is it built for?
Lago is a billing platform for subscriptions, usage-based pricing, prepaid credits and negotiated contracts. It connects customer usage and commercial terms to invoices and finance workflows. Use managed Lago Cloud or run Lago on your own infrastructure.
Which companies use Lago?
Explore Lago’s published customer stories to see how teams use it for AI usage, subscriptions and enterprise billing. Each story explains the customer’s billing model and the role Lago plays.
How does my application connect to Lago?
Use a Lago SDK or the REST API to send customer, subscription and usage data. Receive webhooks for billing events such as invoice creation and payment updates, then use that information in your product and finance workflows.
How much does Lago Cloud cost?
Lago Cloud offers Launch, Scale and Enterprise plans. Launch has no minimum commitment and includes one-time free allowances; Scale starts with a $12,000 annual commitment; Enterprise uses custom terms. See the pricing page for current rates and feature coverage.
Why choose Lago for usage-based and subscription billing?
Lago brings usage metering, customer-specific pricing, prepaid credits and invoicing into one billing system. Run it on managed Cloud, connect your payment and finance tools, and inspect the open-source engine behind the calculations.
Can I keep my existing payment provider, ERP and financial ledger?
Yes. Lago calculates charges, generates invoices and tracks billing status. Your payment provider processes payments, while your ERP or financial ledger maintains your accounting records.
Connect these systems through Lago’s integrations or a custom API workflow.
Does Lago have native Salesforce and NetSuite integrations?
Yes. Lago offers Salesforce CRM and CPQ packages for configured sales-to-billing workflows, plus a NetSuite SuiteBundle that syncs billing records into your accounting system. Configure the mappings and flows for your organization.