-
Hi @marcominerva, Can you explain what you mean by the following fields? For example; Answer.TokenUsage = Total Consumed Token is "serviceTokensIn": 6519 + "serviceTokensOut": 454 = 6973 or not ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
That's correct, though you should also consider
The other two values:
are local measurements done by KM tokenizers, which can be useful in case the remote model doesn't expose any metrics, such as Ollama. |
Beta Was this translation helpful? Give feedback.
-
Thanks 👍 |
Beta Was this translation helpful? Give feedback.
That's correct, though you should also consider
serviceReasoningTokens
. In other words, tokens whose name start with "service" are the values being billed by the remote service (Azure, OpenAI, Anthropic, etc):The other two values:
are local measurements done by KM tokenizers, which can be useful in case the remote model doesn't expose any metrics, such as Ollama.