Estimate cost
estimate_costEstimate the US dollar cost of running a Smarty Pants model for a given number of input and output tokens and requests. Uses the published per-token prices. No sign-in needed.
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": {
"model": "<model>",
"input_tokens": "<input_tokens>",
"output_tokens": "<output_tokens>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id from list_models, for example smartypants/qwen3.5-9b | |
| requests | No | Number of requests (default 1) | |
| input_tokens | Yes | Prompt tokens per request | |
| output_tokens | Yes | Completion tokens per request |