Skip to content

Commit 199ee29

Browse files
authored
feat(pricing): add runtime pricing overrides (#1204)
Add ccusage.json pricingOverrides for per-model pricing and context-limit patches.\n\nAlso fixes Pi/OpenClaw cost-mode handling so overrides apply consistently, preserves display costs where appropriate, carries overrides into statusline today totals, and updates schema/docs coverage.
1 parent cf2d7cd commit 199ee29

34 files changed

Lines changed: 4851 additions & 145 deletions

File tree

apps/ccusage/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ bunx ccusage monthly --compact # Compact monthly report
139139
- 💰 **Cost Tracking**: Shows costs in USD for each day/month/session
140140
- 🔄 **Cache Token Support**: Tracks and displays cache creation and cache read tokens separately
141141
- 🌐 **Offline Mode**: Use pre-cached pricing data without network connectivity with `--offline`
142+
- 🧩 **Custom Pricing Overrides**: Override token pricing per raw model name in `ccusage.json` without rebuilding
142143
- 🏗️ **Claude Instance Support**: Group Claude Code usage by project with `--instances` and filter by specific projects
143144
- 🌍 **Timezone Support**: Configure timezone for date grouping with `--timezone` option
144145
- ⚙️ **Configuration Files**: Set defaults with JSON configuration files, complete with IDE autocomplete and validation

0 commit comments

Comments
 (0)