Compare the cost of two models
compare_two_modelsCompare monthly, yearly, and per-request costs for two LLM API models on the same workload to see which option is cheaper.
Instructions
Compares the monthly, yearly and per-request cost of two LLM API models for the same workload and states how much cheaper one is. Mirrors the head-to-head pages at https://aicostdesk.com/compare/.
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": {
"model_a": "<model_a>",
"model_b": "<model_b>"
},
"name": "compare_two_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_a | Yes | First model id or name. | |
| model_b | Yes | Second model id or name. | |
| input_tokens | No | Input tokens per request. Default 1500. | |
| output_tokens | No | Output tokens per request. Default 500. | |
| cache_hit_rate | No | Share of input tokens served from prompt cache, 0-1 or percent. Default 0. | |
| days_per_month | No | Days per month. Default 30. | |
| requests_per_day | No | Requests per day. Default 1000. |