prompt_cost_details is the per-category USD breakdown of prompt_cost.
public class PromptCostDetailsprompt_cost_details is the per-category USD breakdown of prompt_cost. Categories mirror
prompt_token_details. Returned only when the PROMPT_COST_DETAILS field is requested.
raw maps each category name to its estimated USD cost.
Returns the raw JSON value of [raw].
Returns a mutable builder for constructing an instance of [PromptCostDetails]..
raw maps each category name to its estimated USD cost.
raw maps each category name to its estimated USD cost.
Returns an immutable instance of [PromptCostDetails].
Validates that the types of all values in this object match their expected types recursively.
Returns a mutable builder for constructing an instance of [PromptCostDetails]..
Returns an immutable instance of [PromptCostDetails].
Validates that the types of all values in this object match their expected types recursively.
raw maps each category name to its estimated USD cost.
Returns the raw JSON value of [raw].
Returns a mutable builder for constructing an instance of [PromptCostDetails]..
raw maps each category name to its estimated USD cost.
raw maps each category name to its estimated USD cost.
Returns an immutable instance of [PromptCostDetails].
Validates that the types of all values in this object match their expected types recursively.
Returns a mutable builder for constructing an instance of [PromptCostDetails]..
Returns an immutable instance of [PromptCostDetails].
Validates that the types of all values in this object match their expected types recursively.