Breakdown of input token counts.
public class InputTokenDetailsBreakdown of input token counts. Does not need to sum to full input token count. Does not need to have all keys. Example:
{
"audio": 10,
"cache_creation": 200,
"cache_read": 100,
}
May also hold extra provider-specific keys.
the server responded with an unexpected value)..
the server responded with an unexpected value)..
the server responded with an unexpected value)..
Returns the raw JSON value of [audio].
Returns the raw JSON value of [cacheCreation].
Returns the raw JSON value of [cacheRead].
Returns a mutable builder for constructing an instance of [InputTokenDetails]..
the server responded with an unexpected value)..
the server responded with an unexpected value)..
the server responded with an unexpected value)..
the server responded with an unexpected value)..
the server responded with an unexpected value)..
the server responded with an unexpected value)..
Returns an immutable instance of [InputTokenDetails].
the server responded with an unexpected value)..
the server responded with an unexpected value)..
Returns the raw JSON value of [audio].
Returns the raw JSON value of [reasoning].
Returns a mutable builder for constructing an instance of [InputTokenDetails]..
the server responded with an unexpected value)..
the server responded with an unexpected value)..
the server responded with an unexpected value)..
the server responded with an unexpected value)..
Returns an immutable instance of [InputTokenDetails].