completion_token_details is the per-category breakdown of completion_tokens.
public Optional<CompletionTokenDetails> completionTokenDetails()completion_token_details is the per-category breakdown of completion_tokens. Category
names are model-specific (for example reasoning, audio). Returned only when the
COMPLETION_TOKEN_DETAILS field is requested.
LangChainInvalidDataException: if the JSON field has an unexpected type (e.g. if the
server responded with an unexpected value).