CumulativeCost
Server-computed session cost member of [CumulativeTokenUsage].
Fields and variants
Section titled “Fields and variants”partialusd
Source
schema/msp/experimental/msp.schema.json#/types/CumulativeCost
{ "description": "Server-computed session cost member of [`CumulativeTokenUsage`].", "properties": { "partial": { "description": "True when at least one leg lacked price data — clients render\n`(partial)`.", "type": "boolean" }, "usd": { "description": "Estimated USD total, finite and non-negative.", "type": "number" } }, "required": [ "partial", "usd" ], "type": "object"}