get_price
List price for one LLM in USD per million tokens, with its source and last-confirmed date. Returns disputed=true when two sources disagree, and close matches when the model is unknown. To cost a workload, use estimate_cost.
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_name": "<model_name>"
},
"name": "get_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Past date YYYY-MM-DD: the rate published then. | |
| model_name | Yes | Model id or name, e.g. gpt-5 or "Claude Opus 5". |