Class DeepSeekCompletionResponse.CompletionTokensDetails
java.lang.Object
de.entwicklertraining.deepseek4j.chat.completion.DeepSeekCompletionResponse.CompletionTokensDetails
- Enclosing class:
DeepSeekCompletionResponse
Represents detailed token counts within the completion usage. Currently only includes reasoning_tokens. [cite: 27]
-
Method Summary
Modifier and TypeMethodDescriptionintGets the number of tokens used for reasoning steps (specific to deepseek-reasoner).
-
Method Details
-
getReasoningTokens
public int getReasoningTokens()Gets the number of tokens used for reasoning steps (specific to deepseek-reasoner).- Returns:
- The count of reasoning tokens, or 0 if not present. [cite: 27]
-