Tokens and Metering
How tokens are tracked
Every API call is metered at the token level and attributed to a specific Unit, Lot, and trade. The system always draws from the Lot closest to expiration first (FIFO). This metering chain connects your real-time usage back to the market transaction that funded it, giving both developers and suppliers an auditable record of what was delivered, by whom, and at what cost.
For every call, the platform counts input and output tokens using metering components that are specific to categories of models.
It subtracts the tokens from the oldest Lot (i.e. the lot that is closest to expiration) in your Consumption Account.
It records the mapping between the call, the Lot and the Unit to consume from, the trade that funded it, and the Supplier that served it.
You can read more about our metering system here.
Last updated
Was this helpful?