Getlago

Jul 21

/

9 min read

Lago vs Orb: Usage-Based Billing for AI and SaaS

Anh-Tho Chuong

Anh-Tho Chuong

Share on

LinkedInX

Both Lago and Orb can meter AI usage, manage prepaid credits, and bill customers with negotiated terms. The comparison becomes more useful when your team introduces a new model or price and has to explain the resulting charge.

Both platforms offer prepaid credits. Lago's ingestion pipeline typically updates the ongoing wallet balance in under a second after a usage event lands; Orb describes real-time balance updates but does not publish a comparable sub-second figure. That balance includes unbilled usage, tax, and draft invoices, so customers can see what remains before the invoice. Orb offers a packaged workflow for testing prices against historical usage. Lago Cloud is a managed service with an open-source billing engine that keeps raw event detail linked to billing context at high volume and works with multiple payment processors.

Bring the same proposed offer to both demos: a self-serve plan, a negotiated rate, AI usage, and prepaid credits. Trace an event into the balance and invoice, then ask what your team can change when the model, price, or payment provider changes.

Lago vs Orb at a glance

Buyer testHow Lago and Orb differ
Capture AI usageLago: Its Agent SDK documents direct capture for five model providers plus Cloudflare AI Gateway, Databricks AI Gateway, Snowflake Cortex, and Ramp Router. It normalizes supported usage into billing events.
Orb: Its published integrations do not list AI provider or gateway connectors. Orb ingests events via API, Segment, and S3/GCS, so your implementation supplies and maps model and token data before billing.
Event ingestionLago: Send events by API batch, Kafka/Redpanda, Kinesis, or S3. Its documented Kafka/ClickHouse configuration reports 1–3 million sustained events per second and under two seconds p99 from event to billable usage while retaining raw events.
Orb: Its API supports thousands of events per second; Orb recommends S3/GCS bucket sync above roughly 10,000 sustained events per second. For the several-million-event rates it cites, Orb uses hosted rollups, which aggregate events before storing them in Orb.
Keep raw detailLago: Its high-volume path stores each raw event and an enriched record linking it to the plan and charge. Fields captured today remain available when you change pricing.
Orb: Its standard path also stores raw events. At very high volume, hosted rollups keep configured dimensions and aggregates in Orb instead of the original events. A future price cannot use a field omitted from the rollup unless you kept the raw events elsewhere.
Keep credit balances currentLago: Its ingestion pipeline typically updates the ongoing wallet balance in under a second after an event lands. That balance includes unbilled usage, tax, and draft invoices.
Orb: Its prepaid-credit documentation says the balance updates as events are ingested, with minimal latency, but gives no comparable sub-second figure. Its real-time alert path is documented as seconds to minutes for eligible metrics. Ask both teams to show the event-to-balance and event-to-alert times under your load.
Choose what credits pay forLago: One wallet can cover eligible AI usage and an upfront platform fee, or be restricted to selected fee types or metrics; credits apply on subscription and progressive-billing invoices.
Orb: Scoped credit blocks and top-ups are available, but credits cannot pay a fixed fee billed upfront. If one prepaid commitment must cover both that fee and AI usage, test both invoices.
Progressive billingLago: Invoice usage as spend grows, rather than leaving a large balance unbilled until period end. Set unlimited named lifetime thresholds, such as $100, $1,000, and $10,000, then a repeating increment. Smaller early milestones create billing checkpoints for a new customer; wider later intervals mean fewer invoices as spend grows. Override the sequence per subscription without rebuilding the plan.
Orb: Threshold invoicing uses one subscription-wide amount that repeats. To reproduce a staged sequence, your team must update the threshold through Orb's API as each milestone changes; the documented setup cannot define that sequence up front.
Test a new priceLago: Use granular event data through its API in your own financial model, data system, or LLM workflow. Add your specific adoption, cost, customer mix, and contract assumptions to assess revenue and margin; every assumption is visible and revisable.
Orb: Simulations requires usage events, a billable metric, and a plan with subscriptions in Orb. You select a historical window and pricing scenarios. Its published workflow does not show a way to include off-platform inputs such as future adoption or provider costs, so a precise-looking revenue projection or churn guidance may answer a narrower question than your business decision.
Control deployment and codeLago: Choose managed US or EU Cloud or self-hosting. Engineers can inspect the billing engine, build through APIs and webhooks, and propose upstream contributions.
Orb: Its published subprocessor list places cloud infrastructure and data-warehouse processing in the US; no EU or self-hosted deployment is documented. Its core code is private.
Choose payment processorsLago: Billing stays separate from your processor. Official integrations cover Adyen, GoCardless, and Stripe; MoneyHash is a community integration, and APIs and webhooks support a custom connection.
Orb: Adyen owns Orb. Orb says customers can still choose their processor, but its payment docs list Adyen and Stripe. With Lago, your billing vendor is independent of the processors it connects to.
Update SalesforceLago: Once configured, its package sends subscription, invoice, and credit-note updates to Salesforce by webhook in real time, so sales and success see billing changes as they happen.
Orb: Its billing-to-CRM objects sync only daily. A changed subscription, issued invoice, or credit movement can be missing from Salesforce until the next sync, leaving teams to work from stale billing records.
Close in NetSuiteBoth: Lago and Orb create native invoices, credit records, and payments in NetSuite. Neither wins this row on a generic feature claim. Test your item, tax, subsidiary, credit, and payment-direction mappings.

Keep the AI usage detail your next price will need

An AI request may carry input, output, and cached tokens, model, region, and tool-call data. Those fields explain today's charge. They may also become tomorrow's price. If you keep only a blended token count, a later price change cannot distinguish a costly reasoning call from a cheaper one.

Lago’s Agent SDK captures supported calls from OpenAI, Anthropic, AWS Bedrock, Google Gemini, and Mistral. Its AI integration catalog also covers Cloudflare AI Gateway, Databricks AI Gateway, Snowflake Cortex, and Ramp Router. The SDK extracts and normalizes supported usage, then sends billing events in the background. Coverage varies by integration and API call, so verify the fields your pricing uses.

Orb’s published integrations include payments, finance, and marketplaces, but list no AI provider or gateway capture connectors. Orb can ingest usage events through its API, Segment, or S3/GCS. Your implementation must supply the model and token fields before Orb can bill on them. If you use several models or gateways, ask both teams to trace a real call into a billable event.

For large event streams, Lago's Kafka/Redpanda and ClickHouse pipeline stores raw events alongside enriched records that connect each event to its plan and charge. Lago reports 1–3 million sustained events per second and under two seconds p99 from event to billable usage in its documented configuration.

Orb's standard ingestion path retains raw events. At the scale of several million events per second cited by Orb, its hosted rollups aggregate events before Orb stores them. That preserves throughput but leaves only the configured dimensions and totals in Orb. Imagine a rollup that keeps model and total tokens but omits region and cached tokens. You cannot recover those omitted fields from that aggregate when you later decide to price them; you need the original events from another source. Test what each platform retains in the configuration you would actually buy.

What about Orb's pricing simulations?

Orb Simulations runs on events, billable metrics, plans, and subscriptions already represented in Orb. You choose a historical period and proposed prices; Orb returns revenue and customer-impact projections plus churn guidance. Its published workflow does not document how to add external inputs such as future adoption or provider costs. A confident-looking answer can miss the assumptions that determine your actual revenue and margin.

Lago gives you the keys: granular event data available through its API for the financial model, data system, or LLM workflow you choose. Combine it with your assumptions about adoption, costs, customer mix, and contracts to assess revenue and margin. You can inspect every assumption and change the model as your business changes.

Make credits and invoices follow the offer

A wallet is a prepaid credit balance. Its scope is the set of charges that balance can pay. Imagine a customer who prepays $1,000 for AI usage and owes a $300 platform fee at the start of the month. You may promise that the $1,000 pays only for a named model, or that it can also pay the platform fee. Those are different offers; the billing system should support both.

Lago lets you restrict one wallet to a named AI usage metric and keep the platform fee payable separately, or let a broader wallet pay eligible subscription charges, including that upfront fee. If a customer has several wallets, set the order in which they are used. Lago's event-driven pipeline typically updates the real-time ongoing balance in under a second after a usage event lands. The balance reflects unbilled usage, tax, and draft invoices, so customers can see what remains before an invoice is issued. Automatic top-ups help keep usage moving; purchased credits become spendable after payment succeeds. Credits are deducted on eligible subscription and progressive-billing invoices. If the balance reaches zero, Lago alerts your application, which enforces any hard usage cutoff.

Orb also has real-time balances, credit blocks restricted to selected items, allocations, and top-ups. Orb publishes no comparable sub-second balance update figure; its documented real-time alert path takes seconds to minutes for eligible metrics. Its current documentation says credits can pay usage and fixed fees billed at period end, but not fixed fees billed upfront. In the example, if the $1,000 is a general commitment, Orb still collects the upfront $300 platform fee separately. Lago can let the same balance pay that eligible subscription fee and AI usage. Ask both teams to show the first invoice and the usage invoice so the difference is visible.

Progressive billing: set the invoice milestones in advance

Progressive billing invoices usage as spend grows, so a large balance does not sit unbilled until the end of the period. Lago's progressive billing lets you set unlimited named thresholds against lifetime usage, followed by a recurring increment. For example, set triggers at $100, $1,000, and $10,000, then another trigger for each additional $10,000. A negotiated subscription can have its own thresholds without creating a new plan.

That sequence lets you bill a new customer in smaller steps, then send fewer invoices as usage grows. Orb's threshold invoicing also bills before period end, but its published setup repeats one subscription-wide amount. A staged policy needs API updates. Neither system promises an invoice for the exact threshold amount during a fast usage spike; have both teams show when the invoice issues and what it contains.

Keep a managed service without giving up control

Lago Cloud runs the billing infrastructure for you. Its US and EU hosting options let you choose the core datacenter, and Lago is GDPR compliant, with a documented DPA and EU Standard Contractual Clauses. Privacy teams can review the chosen region and the data flow through optional integrations. If you later need more deployment control, Lago also supports self-hosting in your own cloud or on-premises. Orb's published subprocessor list places its cloud infrastructure and data warehouse processing in the US; Orb does not document an EU region or self-hosted deployment.

Engineers can inspect Lago's open-source billing engine even when they use managed Cloud, extend workflows through APIs and webhooks, and contribute upstream for review. That gives your team a way to understand how usage becomes an invoice and to build around it. Orb's core application code is private, so its APIs are the extension point.

Lago is designed to work across payment processors. It lists Adyen, GoCardless, Stripe, and MoneyHash; a team can connect another provider through webhooks and APIs. That lets you add a local processor or change acquirers without making one payment ecosystem the basis of your pricing model. Adyen owns Orb. Orb says customers may keep their preferred processor, but its payment documentation lists Adyen and Stripe. Lago gives you processor choice without making your billing platform part of a payment company.

Sales and finance also need timely billing data. With Lago's Salesforce package configured, subscription, invoice, and credit-note updates reach Salesforce through webhooks in real time. Orb's billing-to-CRM objects sync only daily. A subscription change, invoice, or credit movement may not appear in Salesforce until the next sync, leaving sales and success with stale billing context during a customer conversation. Both have substantial NetSuite integrations (Lago, Orb); test your item mappings, tax, credits, and payment direction instead of awarding either vendor a generic ERP point.

Make both vendors prove the next offer

Use one representative AI customer and the same data in both demos:

  1. Send a burst of model calls with input, output, and cached tokens. Trace one event through the charge and show which raw fields remain available.
  2. Configure a self-serve rate and a negotiated customer with two offers: credits restricted to AI usage, then credits that can also pay the upfront platform fee. Show the ongoing balance, a failed paid top-up, and both resulting invoices.
  3. Cross two spend milestones, then reconcile the invoice, credit application, and Salesforce record. Reprice one model using both historical usage and a stated adoption assumption.

Request the expected event capacity, retention, integration access, and total cost for your deployment in writing. Book a Lago Cloud demo with your current plan, sample usage, and one proposed price change so the team can show this end to end.

Anh-Tho Chuong

Anh-Tho Chuong

Anh-Tho Chuong is the co-founder and CEO of Lago, the open-source billing platform. She writes about pricing, business models as code, and using product as a monetization lever.


Share on

LinkedInX

Lago solves complex billing.