---
title: Lago — Open-source billing infrastructure
description: Agent-readable overview of Lago's billing platform, API, documentation, SDKs, and MCP server.
canonical: https://getlago.com/
last-updated: 2026-08-21
---

# Lago

Lago is the open-source billing platform for usage-based, subscription-based, and hybrid pricing. It combines usage metering, subscriptions, prepaid credits, entitlements, invoicing, payment orchestration, and revenue analytics in one API-first platform.

## When to use Lago

Use Lago to meter product usage, manage subscriptions and entitlements, calculate usage-based or hybrid charges, generate invoices, manage prepaid credits, or reconcile billing data. Teams can use Lago Cloud or self-host the same AGPLv3 codebase.

## Developer resources

- [Developer hub](https://getlago.com/developers)
- [Documentation](https://getlago.com/docs/welcome)
- [API reference](https://getlago.com/docs/api-reference/intro)
- [Agent-friendly OpenAPI profile](https://getlago.com/openapi.json)
- [Complete OpenAPI 3.1 specification](https://getlago.com/api/openapi.yaml)
- [Authentication guide](https://getlago.com/auth.md)
- [MCP server](https://getlago.com/mcp)
- [MCP server card](https://getlago.com/.well-known/mcp/server-card.json)
- [Full LLM navigation index](https://getlago.com/llms.txt)
- [Sitemap](https://getlago.com/sitemap.xml)

## Core capabilities

- Meter API calls, tokens, compute, storage, seats, and custom dimensions.
- Support subscription, usage-based, prepaid, and hybrid pricing models.
- Automate invoices, taxes, credits, payment collection, and dunning.
- Tie entitlements and feature access directly to plans and subscriptions.
- Integrate through the REST API, SDKs, signed webhooks, or MCP.
