Optional
inputNumber of input units (e.g. tokens)
Optional
inputUSD input cost
Optional
outputNumber of output units (e.g. tokens)
Optional
outputUSD output cost
Optional
totalDefaults to input+output if not set
Optional
totalUSD total cost, defaults to input+output
Optional
unitUnit of usage in Langfuse
Usage (Deprecated. Use usageDetails and costDetails instead.) Standard interface for usage and cost