Compare prices
get_pricesPublished prices side by side, cheapest first: model tokens per million, or per unit (1k-requests, 1k-pages, …) for a capability. Use it when a user asks what something costs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | A unit such as 1k-requests or 1k-pages; empty for model tokens | |
| limit | No | How many rows to return, cheapest first (default 40); the result says how many there are | |
| category | No | Only listings in this category, e.g. search; works like capability | |
| capability | No | Only listings with this capability, e.g. web.search; without unit, the cheapest in every unit it's priced in | |
| maxBlended | No | Models only: at most this many dollars blended per million tokens |