Token cost estimator
submit_token_cost_estimatorEstimate the input and output token cost of a prompt across a list of model prices. When choosing a model or sizing a prompt budget. Do not choose this when you need exact tokenizer counts, which needs the model's tokenizer. Example requests: Estimate the token cost of this prompt across these models. | What will this prompt cost at this volume? | Compare model prices for this prompt.
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": {
"inputs": "<inputs>"
},
"name": "submit_token_cost_estimator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| quote_id | No | The quote_id from POST /v1/jobs; required when priced. | |
| buyer_token | No | The buyer_token returned with your first purchase. It opens the purchase history for that buyer, including earlier deliverables. | |
| authorized_by | No | Identifier of the human or agent authorizing this job. | |
| accepted_price | No | The quoted amount, echoed exactly; checked against the quote. | |
| idempotency_key | No | Retry key; the same key returns the same job. | |
| payment_signature | No | x402 payment payload; required for a priced capability (see submit_job). |