oto_admin_model_spend
[platform admin] Reconciles one UTC day (default: yesterday), in TOKENS, of what ANTHROPIC counted on this instance's platform anthropic keys — its own usage report — against what the units budget settled for model calls on the platform rung (anthropic.messages:<model>). Per unit (input, output, cache write, cache read): per platform key its Anthropic tokens, the totals, gap_tokens (positive = tokens no settlement carries), by_model (the same per model, snapshot date dropped), other_keys (tokens on any other key of the Anthropic organization: unmetered by construction; null id = Console) and unmatched_platform_rows. No tariff, no money. Platform keys are matched to Anthropic's by partial_key_hint. Cannot attribute a gap to an org; tenant keys are out of scope. Read-only.
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": "oto_admin_model_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | The UTC day to reconcile (YYYY-MM-DD). Omitted = yesterday — Anthropic's report is final a few minutes after the day ends. | |
| _org | No |