Programmable
usage billing.
Without lock-in.

Define metering, entitlements, and pricing in Luau or JSON. HUME turns product usage into invoice lines for the payment provider you already use. Keep pricing logic independent from Stripe, Adyen, or your own payment layer.

  • Zero revenue share
  • Provider-agnostic
  • Static or programmable pricing calculation

infra: Go · Badger DB · luaugo · Event Sourcing

// plan manifest

plan.luau
01 return plan("metered", {
02 price = 5000,
03
04 metrics = list(
05 metric("requests", {
06 included = 1000
07 })
08 ),
09
10 pricing = function(ctx)
11 local over = usage(ctx, "requests") - included(ctx, "requests")
12
13 return lines(
14 line("Base fee", ctx.monthly_price),
15 over > 0 and line("API requests", over, { unit = 3 }) or nil
16 )
17 end
18 })

// from usage to payment

01

Usage event

Record requests, seats, tokens, or any product metric.

02

Pricing calculation

Apply your JSON plan or programmable Luau rules.

03

Invoice lines

Get structured line items and totals for the billing window.

04

Payment provider

Send the result to Stripe, Adyen, or the payment layer in your stack.

Metering that stays
out of your way.

Headless. Framework-agnostic. Payment-provider-agnostic.

01

0% Revenue Share

We never take a cut of your revenue. You pay only for real user activity — your margins stay 100% yours.

02

Decoupled Billing

Pricing rules live in HUME, not your payment gateway. Swap Stripe for Adyen, Paddle, or crypto without touching product code.

03

Dual Ingestion

Domain events over HTTP. High-frequency clicks over StatsD/UDP. Zero delay for your users.

04

Luau Pricing Engine

Rigid SaaS tiers won't cut it. Write proration, volume discounts, and custom triggers directly in your plan manifest.

Pay for
active users.
Nothing else.

Volume-based tiers. No revenue share.
Pay nothing until you hit 100 MTU — no card required.

BASE
€19 / 500 MTU
TIER 1
€0.04 / MTU
TIER 2
€0.03 / MTU
TIER 3
€0.02 / MTU
Invoice preview Aug 2026
12,000 MTU
0 50,000
Total due

€359 /mo

eff. €0.030 / user

Technical
questions.