Skip to content
_TOKEN ACCOUNTING/

Tokens are a currency. Give them a ledger.

Post every billable event atomically (customer balance, revenue, and cost of serving together) and know your margin per model, per customer, per dimension, in real time.

token event
atomic posting
margin
channel settle
_THE PROBLEM/

Your billing platform meters revenue. It cannot see cost.

Consumption AI breaks the traditional billing stack.

The effective price of a token spreads ~50x across model, cache state, batch, mode, region, and channel, and the cost of serving moves just as fast. Billing platforms meter what you charge; the question that decides pricing ("what did we make on this customer, this hour, on this model?") has no system of record.

01

Effective token pricing spans model, cache state, batch, mode, region, and channel, and margin per customer is a quarterly estimate, not a number.

02

Billing tools track what you charge, never what it cost to serve: the dual balance does not exist anywhere.

03

Cloud marketplace remittances arrive as aggregated wholesale sums that someone reconciles back to per-token usage by hand.

04

Prepaid commits with real-time drawdown and monthly true-ups are bent into subscription billers that cannot express them.

_PROOF/ Formance runs event-level consumption ledgers in production: hundreds of thousands of monthly events, zero reconciliation errors across 18 months.

_FLOW OF FUNDS/

Every billable event, fully posted

One event updates balance, revenue, and cost, atomically.

A token event draws down the customer's prepaid balance, recognizes revenue on its exact dimensions, and accrues the cost of serving: one atomic transaction, billions of times, so margin is a query instead of a month-end model.

margin by dimension
token eventbillable call
atomic postingbalance · revenue · cost
marginper model · per customer
channel settledirect · marketplace
_CAPABILITIES/

The primitives consumption AI needs

Built on the open-source Formance ledger.

Event-level posting, dual-balance margin, native commit drawdown, and channel reconciliation, composed for businesses that bill by the token.

_EVENT-LEVEL POSTING/

Every billable event posts atomically across customer, model, and channel accounts: thousands per second sustained, exactly-once, replay-safe.

atomic at token scale

_DUAL-BALANCE MARGIN/

Revenue and cost of serving accounted side by side on the same dimensions: margin per customer, model, or region is a real-time query, not a data project.

cost beside revenue

_COMMITS & DRAWDOWN/

Prepaid commits as wallet balances with real-time drawdown and monthly true-up to the floor: native, not bent into a subscription object.

native drawdown

Read the Numscript docs
_CHANNEL RECONCILIATION/

Aggregated marketplace remittances matched back to per-event usage per channel, so wholesale revenue is as auditable as direct.

wholesale to per-event

_BY THE NUMBERS/

Consumption-scale accounting

pricing dimensions9+model · cache · batch · channel
balances per event2revenue + cost of serving
margin visibilityreal-timeper customer · per model
revenue historyaudit-gradeASC 606 basis · SOX-ready
_NUMSCRIPT/

One event, three postings, zero drift

Drawdown, revenue, and cost: one atomic transaction.

A single Numscript transaction draws down the prepaid commit, recognizes revenue on the event's exact dimensions, and accrues the cost of serving: the three balances can never disagree.

token-event.num
// Post one billable API call
vars {
  account $customer
  monetary $credits   // committed tokens burned
  monetary $revenue   // recognized on dimensions
  monetary $cost      // cost of serving
}

// 1. Draw down the prepaid commit
send $credits (
  source = @commits:$customer
  destination = @usage:consumed
)

// 2. Recognize revenue on its dimensions
send $revenue (
  source = @revenue:deferred:$customer
  destination = @revenue:opus:cache-read:api
)

// 3. Accrue the cost of serving
send $cost (
  source = @cogs:accrued
  destination = @cogs:opus:us-east
)
_VOICES/

Trusted by builders

LiberisLiberis
Formance enabled us to ship new lending products faster by providing a customizable foundation that let us reliably express the complexities of our flow of funds.

Embedded finance · reconciliation across 14 countries

See customer story
DoctolibDoctolib
Formance is the foundation of our Financial OS, the open-source approach lets us retain control over this key component.

Healthcare · Financial OS

PayflipPayflip
Formance helped us kick off our move into fintech, with robust infrastructure and intuitive developer tooling.

Benefits · fintech infrastructure

_TRUST/

Built for regulated money.

Enterprise controls, the certifications auditors ask for, and an immutable record, out of the box.

See our trust center
THE COMPLIANCE STACK
IAM, RBAC & SSO
Non-repudiation
Audit logs
Observability & monitoring
Real-time events
Admin console
_AUDIT-LOG/ NON-REPUDIATION

09:41:07Z AUDIT gateway POST /api/ledger/v2/main/transactions 200 sub:ops@acme.io

09:41:09Z LOG id:4093 NEW_TRANSACTION ledger:main

09:41:12Z LOG id:4094 SET_METADATA ledger:main

09:41:15Z LOG id:4095 REVERTED_TRANSACTION ledger:main

09:41:18Z AUDIT gateway GET /api/ledger/v2/main/logs 200 sub:audit@acme.io

CERTIFICATIONS
AICPA SOC IICERTIFIED
ISO 27001CERTIFIED
DORACOMPLIANT
REGULATORY FRAMEWORKS
EMIFCAMTLNYDFS Trust CharterOCC CharterMiCAGENIUS
_ATTESTED/
FAQ

Token accounting, answered

01 / IS THIS A BILLING SYSTEM?

No: it is the substrate underneath one. Keep your payment provider and biller for invoicing and collection; the ledger holds the event-level state of record they all read from.

02 / CAN IT HANDLE BILLIONS OF EVENTS?

The ledger sustains thousands of transactions per second per ledger and scales horizontally. Aggregation across dimensions derives from the log, not from a warehouse recomputation.

03 / HOW DO MARKETPLACE CHANNELS RECONCILE?

Wholesale remittances arrive aggregated; the ledger already holds per-event usage per channel, so matching them is a reconciliation policy, not a quarterly data project.

04 / DOES IT SURVIVE AN AUDIT?

Yes: an append-only, immutable event history with per-dimension revenue states gives finance an ASC 606 basis and auditors direct evidence, at consumption scale.

_GET STARTED/

Know your margin while the tokens are still flowing

See how Formance fits your consumption stack: book a demo or start building.