It might be possible that the discrepancy in token metrics between LiveKit and OpenAI is due to differences in how each system calculates or reports these metrics. LiveKit's metrics module provides detailed insights into various stages of a session, including token usage, but there could be differences in how these metrics are aggregated or logged compared to OpenAI's system. According to the
LiveKit metrics documentation, metrics are captured and logged during active sessions, and discrepancies might arise if there are differences in the timing or method of data collection.
Would you like more detailed information on how to potentially address or investigate this issue further?
Sources:
-
LiveKit metrics documentation 👍 0 button 👎 0 button 💡
Hint: Mention @runllm in the thread for followups.