Compare Model Pricing
tokencost_compare_modelsCompare pricing across multiple LLM models side by side to analyze input/output costs, context windows, and relative cost differences.
Instructions
Compare pricing across multiple LLM models side by side.
Args:
models (string[]): Array of model IDs or names to compare (2-10 models)
Returns: Side-by-side comparison table with input/output costs, context windows, and relative cost differences.
Examples:
["gpt-5", "claude-sonnet-4.6"] → Compare OpenAI vs Anthropic pricing
["gpt-5-mini", "gemini-3-flash", "claude-haiku-4.5"] → Compare budget models
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": "tokencost_compare_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | Yes | Model IDs or names to compare |