tokscale_breakdown
Breaks down token usage per model across all platforms, grouping minor models into 'other' for a clear view. Filter by threshold to see exactly which models dominate each platform.
Instructions
Show a per-model breakdown of your token usage across all platforms detected by tokscale. Models under the threshold (default 1%) are lumped into 'other' to keep the display clean. Useful for seeing which models you actually use per platform (e.g. claude-opus-4-8 76%, claude-sonnet-4-6 11%, other 0.3%). Returns { platform: [{ model, input, output, cacheRead, cacheCreate, pct }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | Models below this fraction of their platform's total tokens are lumped into 'other'. Default 0.01 (1%). Set 0 to see every model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platforms | No | Map of platform name → array of { model, input, output, cacheRead, cacheCreate, pct } |