Compare models side by side
compare_modelsSend one prompt to 2-4 Zerouter models in parallel and receive each response with token usage, latency, and estimated cost. Requires ZEROUTER_API_KEY.
Instructions
Send the same prompt to 2-4 Zerouter models in parallel and return each answer with token usage, latency and estimated cost. Requires ZEROUTER_API_KEY.
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>",
"prompt": "<prompt>"
},
"name": "compare_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | Yes | 2 to 4 model IDs | |
| prompt | Yes | ||
| system | No | ||
| max_tokens | No |