Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
prompt_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.