IntelligenceUsage
@totemsdk/intelligence / IntelligenceUsage
Interface: IntelligenceUsage
Usage metering for a single inference operation.
The unit of consumption is provider-specific. @totemsdk/qvac reports
tokens and milliseconds; other providers may report their own units.
Policy layers convert this into budget spend.
Properties
domain
readonlydomain:IntelligenceDomainOrString
durationMs?
readonlyoptionaldurationMs?:number
metadata?
readonlyoptionalmetadata?:Record<string,string|number>
model?
readonlyoptionalmodel?:string
op
readonlyop:string
tokensIn?
readonlyoptionaltokensIn?:number
tokensOut?
readonlyoptionaltokensOut?:number