Price real token usage at every seller
estimate_billPrice the user's REAL token usage (totals per model, e.g. per month) at every seller of the same model: what it costs at the official list price, at the cheapest verified seller, and the saving. Send totals only, never prompts or keys. Model names must match a model on easiapiai.com (a date suffix like -20250805 is ignored); unknown names come back with suggestions. To get the totals in Claude Code, sum message.usage of the assistant lines in ~/.claude/projects/**/*.jsonl per message.model (see easiapiai.com/bill).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"usage": "<usage>"
},
"name": "estimate_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | Yes | ||
| current_seller | No | Optional: who the user pays today, e.g. 'Anthropic'. |