tokscale_breakdown
Shows per-platform token usage by model, grouping models below a threshold into 'other' to keep the view readable. Helps identify which models actually consume tokens on 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 }] }.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tokscale_breakdown"
}
}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 } |