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

Billing & Invoicing
Lago Cloud calculates charges, generates invoices and connects with your payment provider without your team running the billing service.
Wrap your OpenAI, Anthropic or Bedrock client and every model call becomes a usage event in Lago.
Fund agents with prepaid wallets and get alerted as balances run low, before spend gets out of hand.
Let agents sign up, choose a usage-based plan and buy credits to use your API. Explore Storefront. Access is on request.
Connect agents to Lago through the MCP server, the CLI or the API. Each one reads and writes the same billing data.
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"
}
]
}
}Invoices go out with the right taxes and get paid through your provider.
Every payment syncs to your accounting and CRM.
Pricing and packaging.Model subscriptions, usage, seats, credits or hybrid plans, and change prices and packages without rebuilding billing.
Billing is mission-critical. Lago is engineered for the realities of high-volume enterprises.



Billing is mission-critical. Lago is engineered for the realities of high-volume enterprises.
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.

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.
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.
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.
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.
Yes. A Lago plan can combine a fixed subscription fee with usage charges, included allowances and overages. For example, charge a monthly platform fee plus the API calls a customer uses beyond their allowance.
Yes. Lago calculates taxes from the rates you configure and supports basic EU VAT scenarios. Connect Anrok or Avalara for broader tax calculation based on your customer, product and jurisdiction settings, and Lago applies the result to the invoice.
Yes. Configure a dunning campaign with an overdue-balance threshold, retry schedule and number of attempts. Lago requests payment through the connected provider and sends reminders according to the campaign. Apply campaigns by billing entity or customize them for individual customers.
Yes. Void the original invoice and regenerate a corrected subscription or usage invoice with the updated amounts, quantities or fees. Lago keeps the original and links the replacement to it, preserving the record of the correction.
Yes. Use a credit note to return money through a connected payment provider or credit the customer against future invoices. You can also create a credit note when voiding an invoice.
Lago provides native integrations with Stripe, Adyen and GoCardless, plus community connectors such as MoneyHash. Use the API and webhooks to build a workflow with another provider.
Yes. Set a grace period for end-of-period invoices so your team can review them in draft.
Add missing usage or fees, adjust amounts or unit counts, and refresh the draft before finalization.
Yes. Lago consolidates subscriptions billed on the same day when they share the payment method, currency, billing entity, purchase order number and payment terms.
You can also keep selected subscriptions on separate invoices for individual contracts or cost centers.
Yes. Lago generates structured e-invoices for France, including Factur-X and UBL EN 16931, and Germany, including XRechnung and ZUGFeRD.
Submission to tax authorities or networks such as Peppol requires an appropriate provider connection. Contact sales or your account manager to confirm the formats and submission workflow for your countries.
Lago’s core billing capabilities are designed to work across countries. Tax and e-invoicing coverage depends on local requirements and the provider integrations you use.
Contact sales or your account manager to confirm the setup for your markets. Service availability remains subject to applicable legal and export restrictions under Lago’s terms.