mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 20:28:23 +00:00
The FINALIZE event for EHBP requests carried only input/output token counts, so cache reads billed at the discounted cached rate stayed invisible to usage analytics even when the enclave reported cached_prompt_tokens. Add cache_read/cache_creation token counts and their msats to the ehbp_usage event. Providers that report no cache split emit a 0 for each field rather than dropping the keys, so consumers see a stable event schema.