compare_llm_api_costs
Rank 18 LLM models by the real monthly cost of a given workload (input/output tokens per call × calls per month). Reports the cheapest and most expensive option, the cost spread, and which models can actually hold your prompt in their context window.
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": {
"callsPerMonth": "<callsPerMonth>"
},
"name": "compare_llm_api_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | How many models to return, cheapest first (default 8) | |
| provider | No | Filter to one provider: openai, anthropic, google, deepseek or meta | |
| callsPerMonth | Yes | Number of API calls per month | |
| minContextWindow | No | Only include models whose context window is at least this many tokens | |
| inputTokensPerCall | No | Average input (prompt) tokens per call | |
| outputTokensPerCall | No | Average output (completion) tokens per call |