InputCostDetails#
- class langsmith.schemas.InputCostDetails[source]#
Breakdown of input token costs.
Does not need to sum to full input cost. Does not need to have all keys.
- audio: float#
Cost of audio input tokens.
- cache_creation: float#
Cost of input tokens that were cached and there was a cache miss.
Since there was a cache miss, the cache was created from these tokens.
- cache_read: float#
Cost of input tokens that were cached and there was a cache hit.
Since there was a cache hit, the tokens were read from the cache. More precisely, the model state given these tokens was read from the cache.