compare_ai_models
Compare two or more AI models side-by-side on pricing, platform fees, context window, and optional sample workload cost to identify the cheapest option for your use case.
Instructions
Compare two or more AI models side-by-side on pricing, platform fees, context window, and optional sample workload cost.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compare_ai_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Optional sample units to compare non-text call cost | |
| currency | No | Target currency code (default: 'USD') | |
| model_ids | No | List of two or more model IDs to compare (e.g., ['gpt-6.2-astra', 'claude-opus-5.5', 'gemini-4-neon']) | |
| model_id_1 | No | First model ID (legacy 2-model parameter) | |
| model_id_2 | No | Second model ID (legacy 2-model parameter) | |
| input_tokens | No | Optional sample input tokens to compare actual call cost | |
| output_tokens | No | Optional sample output tokens to compare actual call cost |