Expand description
Honest token accounting after all delivery-time additions.
Structs§
- Post
Delivery Accounting - Honest token accounting that includes all additions and subtractions.
- Savings
Validation - Validation of a savings claim against actual delivery data.
Functions§
- account_
proxy_ request - Bridge: compute honest accounting from proxy request data.
- compute_
honest_ accounting - Computes token accounting after kernel and server additions are included.
- detect_
negative_ savings - Returns whether post-compression additions make delivery exceed the input.
- format_
honest_ summary - Formats a privacy-safe summary containing only token counts and ratios.
- format_
proxy_ accounting - Formats a one-line accounting summary suitable for logging.
- has_
negative_ savings - Returns true if the accounting shows negative net savings (kernel adds more tokens than compression removes).
- validate_
savings - Validates claimed savings against the tokens actually sent to the LLM.