agent_cost
What a coding / tool-using agent costs a month on each model: tasks a day, model calls per task, context tokens per call, answer and reasoning tokens per call, percent of the context read from the prompt cache - priced at the cheapest real-time seller of each model (default: 13 usual coding models), cheapest first, USD, 30 days, with each model's reasoning class. Rows have card_url and cite.
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": "agent_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | model calls per task, default 30 | |
| tasks | No | tasks a day, default 10 | |
| models | No | model ids to compare; default the usual coding models | |
| output | No | answer tokens per call, default 800 | |
| context | No | input tokens per call (the resent context), default 30000 | |
| cache_pct | No | percent of context from the prompt cache, default 70 | |
| reasoning | No | reasoning tokens per call (billed as output), default 1500 |