get_price
Look up an LLM's price per million tokens in USD with source and last-confirmed date, and see disputed-rate flags or close matches for unknown models. Use it to verify rates before costing workloads.
Instructions
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". |