compare_providers
Compare API costs across Anthropic, OpenAI, and Google models by input and output tokens. Returns a table sorted by cheapest price to show where Claude stands.
Instructions
Compare API cost across 8 models from Anthropic, OpenAI, and Google for given token counts. Returns a table sorted cheapest-first so you can see where Claude sits vs alternatives.
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": {
"input_tokens": "<input_tokens>",
"output_tokens": "<output_tokens>"
},
"name": "compare_providers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_tokens | Yes | Input tokens per call | |
| output_tokens | Yes | Output tokens per call | |
| calls_per_month | No | Monthly call volume (default 1) |