Powered by
🟡 Update request for Usage class to track various...
# questions
e
Eric_Enjui_Chang
01/07/2026, 6:43 PM
Would there be updates to the Usage class so that it also tracks cached_tokens and reasoning_tokens since most providers charge them differently?
a
aaronv (BAML)
01/07/2026, 6:43 PM
we do track cachedtokens now, but not reasoning tokens yet
aaronv (BAML)
01/07/2026, 6:44 PM
https://github.com/BoundaryML/baml/blob/0b4d81a3861efe49fc41d58c7464c6ae7388ce8c/integ-tests/python/tests/test_collector.py#L477
Previous
Next