Check if a cheaper model will do
check_cheaper_modelUse this when someone runs a prompt on a model now and asks whether a cheaper model would be good enough for it. Tests the model they use beside up to 3 cheaper current models on the same cases, and answers with the cheapest one that passed about as often (at most 5 points of pass rate below), the saving per 1,000 answers and each model's figures, or that no cheaper model held up. Do not use without a prompt to test, or to follow a test already started (that is get_test). Spends credit, never more than max_spend_usd by estimate (default 2 dollars). Waits up to about 25 seconds; if the test isn't done by then it returns the test_id and progress, and get_test follows it from there. Each call starts another paid test, so don't call it again to follow one.
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": {
"prompt": "<prompt>",
"current_model": "<current_model>"
},
"name": "check_cheaper_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The prompt as it is used, pasted whole. The part that changes from one use to the next is found and varied; it can also be marked as {{snake_case}} variables. | |
| examples | No | Optional, up to 50: real examples of what goes into the prompt, as plain text (a customer email, a product). They become the first cases, and realistic ones are drafted to fill the rest. | |
| current_model | Yes | The model the prompt runs on now, as the person says it (gpt, claude sonnet, gemini pro) or an ID from list_models. A family name is matched to its newest model, and the result says which. | |
| max_spend_usd | No | The most this test may spend, in dollars. Default 2, never above the credit left. To fit, cheaper models are left out first, then cases; the model in use always stays. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| more | No | ||
| name | No | ||
| next | No | ||
| pick | No | ||
| unit | No | ||
| error | No | ||
| voice | No | With writing samples: how each version's answers compare with the person's own writing. A style check, not an AI detector. | |
| detail | No | ||
| models | No | ||
| status | Yes | ||
| started | No | What this call started. | |
| summary | Yes | One or two plain sentences to lead with. | |
| test_id | Yes | ||
| verdict | No | ||
| version | No | ||
| failures | No | ||
| progress | No | ||
| spent_usd | No | ||
| comparison | No | Ready to show as a table: columns, then one row per model, best first. | |
| most_passed | No | ||
| cheaper_setup | No |