API
The API reference is generated with TypeDoc straight from the source (packages/core/src) on every build and shows the JSDoc comments as written, so it is published in one language, English.
pricemeterbuildMetering, rate(), price(), hold, Plan, Result, validateRate, MicroUsd
pricemeter/rateslayeredRates, resolveLayered, applyDiscount, scaleTiers, withPolicy
pricemeter/gaugeintegrate, window
pricemeter/adjustmentsminimumCommit, flatCredit, volumeTrueUp
pricemeter/calendarmonthKey, monthWindow, cycleKey, cycleWindow, LIFETIME
pricemeter/testingmemoryAdapters, expectPlan, commitContract
pricemeter/sqlitesqliteAdapter, schema, canonicalJson
pricemeter/cloudflareapplyPlan, doCommit, commitReply, flushOutbox, d1UsageSink
For concepts, start with Catalog, Tariffs and models and observe and hold.