ccusage / debug / detectMismatches
Function: detectMismatches()
ts
function detectMismatches(claudePath?): Promise<MismatchStats>;
Analyzes usage data to detect pricing mismatches between stored and calculated costs Compares pre-calculated costUSD values with costs calculated from token usage
Parameters
Parameter | Type | Description |
---|---|---|
claudePath? | string | Optional path to Claude data directory |
Returns
Promise
<MismatchStats
>
Statistics about pricing mismatches found