{"schemaVersion":1,"id":"lago","name":"Lago","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/lago/","officialUrl":"https://www.getlago.com/","isCatalog":false,"description":"Usage metering and billing: product events, pricing plans, credits, and invoices through an API for SaaS, with an open core and a managed offering.","tasks":["Bill for API usage","Send events, generate a test invoice, and compare the calculation with a reference total"],"categoryIds":["backend"],"subcategoryIds":["backend.commerce"],"tags":["Lago","Commerce and billing component"],"aliases":[],"platforms":[],"stack":[],"compatibility":null,"pricing":"freemium","freeUsage":"The open source component used locally or self-hosted for the stated workflow, within its license terms.","paidUsage":"Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.","license":"AGPL-3.0","selectionGuide":{"purpose":"Bill for API usage","chooseWhen":["Bill for API usage","Send events, generate a test invoice, and compare the calculation with a reference total"],"considerInstead":[],"requirements":["Link usage events to a metric, plan, and subscription; the AI example sends input/output tokens separately."],"limitations":["Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.","Terms of use: AGPL-3.0","The README’s demonstration token prices illustrate metering rather than confirming model provider pricing."],"faq":[{"question":"What can you use for free in Lago?","answer":"The openly available portion, used locally or self-hosted for the stated use case within its license terms."},{"question":"What additional costs might arise with Lago?","answer":"Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected."},{"question":"What terms of use matter for Lago?","answer":"AGPL-3.0"},{"question":"How do you get started with Lago?","answer":"Set up Lago to test: A test customer, plan, and idempotent usage events. Send events, generate a test invoice, and compare the calculation with a reference total. Integrate the checked version into your project; document its configuration, limitations, and recovery method."},{"question":"Do I need an AI agent to send events to Lago?","answer":"No: the README shows an API alongside the CLI and MCP. Usage events are linked to a customer and configured metric; the AI example separates input/output tokens. Choose the application integration independently from agent use."}],"related":[],"sources":["https://www.getlago.com/","https://raw.githubusercontent.com/getlago/lago/main/README.md","https://raw.githubusercontent.com/getlago/lago/main/LICENSE","https://github.com/getlago/lago"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Bill for API usage","inputs":["A test customer, plan, and idempotent usage events.","A test project and completion criteria for the task: Bill for API usage."],"steps":["Set up Lago to test: A test customer, plan, and idempotent usage events.","Send events, generate a test invoice, and compare the calculation with a reference total.","Integrate the checked version into your project; document its configuration, limitations, and recovery method."],"checks":["Duplicate events do not double the bill; check taxes and connected payments separately.","Check the result against a reference example; separately confirm the terms of any assets and external services used."]},"sources":["https://www.getlago.com/","https://raw.githubusercontent.com/getlago/lago/main/README.md","https://raw.githubusercontent.com/getlago/lago/main/LICENSE","https://github.com/getlago/lago"],"checkedAt":"2026-10-06","reviewScope":"Purpose and published conditions were reviewed against primary sources on 06.10.2026. The software was not installed, and quality and performance in a specific environment were not tested.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Commerce and billing component","kind":"tool","pricingNote":"Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.","notes":null,"labeledSources":[{"url":"https://www.getlago.com/","label":"Official website"},{"url":"https://raw.githubusercontent.com/getlago/lago/main/README.md","label":"Project documentation"},{"url":"https://raw.githubusercontent.com/getlago/lago/main/LICENSE","label":"License for the selected component"},{"url":"https://github.com/getlago/lago","label":"Source code"}],"licenseGuides":[{"id":"agpl-3","title":"AGPL 3.0 — copyleft with a network-service condition","scope":null,"summary":"Use, modification, and commercial use cases are permitted. GPL obligations apply to distribution. If you modify an AGPL-covered program and let users interact with it over a network, you must offer them the corresponding source code for that version. This applies to the covered program, not automatically to all your data or independent applications.","url":"https://opensource.org/license/agpl-3.0"}],"entryIds":[],"composition":null}