compare_llm_models
Compare two LLM models side-by-side to weigh token costs, prompt caching savings, and context limits before choosing a model.
Instructions
Compare two LLM models side-by-side on token cost, prompt caching savings, and context limits.
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": {
"modelA": "<modelA>",
"modelB": "<modelB>"
},
"name": "compare_llm_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelA | Yes | First model ID (e.g. claude-4-5-sonnet) | |
| modelB | Yes | Second model ID (e.g. gpt-5) | |
| inputTokens | No | ||
| outputTokens | No | ||
| cacheHitRatio | No |