estimate_agent_cost
Calculate and compare agent task costs across major AI models. Get pricing tables with per-call, per-run, and daily estimates plus optimization guidance.
Instructions
Estimate the cost of running an agent task across all major models.
Returns a comparison table with costs per call, per run, and per day. Includes optimization tips and pricing guidance. No API key needed.
Args: model: Optional model name to highlight (e.g. "claude-sonnet-4") input_tokens: Estimated input tokens per call output_tokens: Estimated output tokens per call num_calls: Number of API calls per task run task_description: Optional description of what the agent does
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": "estimate_agent_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| input_tokens | No | ||
| output_tokens | No | ||
| num_calls | No | ||
| task_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |