ccusage / debug
debug
Fileoverview
Debug utilities for cost calculation validation
This module provides debugging tools for detecting mismatches between pre-calculated costs and calculated costs based on token usage and model pricing.
Functions
Function | Description |
---|---|
detectMismatches | Analyzes usage data to detect pricing mismatches between stored and calculated costs Compares pre-calculated costUSD values with costs calculated from token usage |
printMismatchReport | Prints a detailed report of pricing mismatches to the console |