Compare models
compare_modelsCompare 2-5 models on price and (optionally) on the monthly cost of one workload.
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": {
"models": "<models>"
},
"name": "compare_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | Yes | ||
| preset | No | Optional workload preset that fills in token defaults: chatbot, rag, coding_agent, research_agent. Explicit numbers override it. | |
| input_tokens | No | Input tokens per call/step | |
| calls_per_day | No | Calls (or agent tasks) per day | |
| output_tokens | No | Output tokens per call/step | |
| cached_percent | No | Share of input billed at the cached price, 0-100 (default 50 if steps_per_task>1, else 0) | |
| steps_per_task | No | Model calls per task for multi-step agents (default 1) | |
| reasoning_ratio | No | Hidden reasoning tokens per output token, billed at the output price, on reasoning-capable models only (default: the preset's value, 0.9 for agent presets and custom workloads, 0 for chatbot; 0 excludes reasoning) |