Skip to main content
Find the pricing template that meets your needs, whether you run an API company, a fintech scale-up, an established SaaS provider or an early-stage data platform. Each template shows how to implement that model in Lago.

Explore Lago Billing Examples on GitHub

Interactive demos showcasing different billing models using Lago’s JavaScript SDK.

Per-token pricing (AI)

Mistral.ai

Build a transparent per-token pricing like Mistral, the famous AI company, with multiple dimensions and prepaid credits.

OpenAI

Replicate OpenAI’s per-token pricing, the famous AI company behind GPT models, with multiple dimensions based on models and action types.

Hybrid pricing

Segment

Build a hybrid pricing and billing system like Segment, the CDP leader, based on subscription plans, with a usage-based component that makes your revenue grow with your users.

Per-transaction pricing

Stripe

Implement a per-transaction pricing model like Stripe, the leading payments infrastructure company, including fees based on the total amount and number of transactions.

Pay-as-you-go pricing

Algolia

Discover how Algolia, the search and discovery platform, increases conversion with commitment-free pricing options that adapt to customers’ needs.

Google BigQuery

Implement a pay-as-you-go pricing model and offer free upfront credits to new users like Google BigQuery, the data analytics platform.

Per-seat pricing

Notion

Set up a per-user pricing like Notion, the collaboration software for innovative teams, including plans based on the number of users and prepaid credits.