Ask Cheap First
ask_cheap_firstAnswer a question the Cheap First way: Dolphin answers, SERV Reasoning scores it, and a premium model answers instead only if the score misses the pass mark. Returns the answer, whether it escalated, the check score, the cost and the estimated saving. Free calls use the public demo limits (600 characters, 10 an hour per IP, 300 a day). Send Authorization: Bearer cf_... or an x402 payment of $0.005 USDC on Base for the paid limits (2000 characters). To receive the x402 challenge, send the header X-Cheap-First-Paid: 1. mode: strict escalates more often (pass mark 85), balanced is the default (75), budget escalates less often (60).
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": {
"question": "<question>"
},
"name": "ask_cheap_first"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | strict, balanced (default) or budget. Unknown values are treated as balanced. | |
| question | Yes | The question. 600 characters on the free demo, 2000 when paid. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| tier | No | ||
| model | No | Label of the model that produced the answer. | |
| answer | Yes | The answer to give the user. | |
| costUsd | Yes | What Cheap First spent on this call, in US dollars. | |
| paidUsd | No | What the caller paid, on the paid tier. | |
| savedUsd | Yes | Estimated saving against sending the question to the premium model alone. Can be negative when an escalation cost more than that. | |
| escalated | Yes | True when the check failed and the premium model answered instead. | |
| answeredBy | No | cheap is Dolphin. premium is the frontier model. | |
| checkScore | Yes | The checker's score for the cheap answer, from 0 to 100. | |
| checkReason | No | The checker's one-line reason. | |
| creditsLeft | No | Prepaid answers left on the key, when one was used. | |
| transaction | No | x402 settlement transaction, when there is one. |