Get a model's price
get_model_priceRates for one model of any kind. Token rates are USD per million tokens: input (in), output (out), cache read (cr), cache write (cw, cw1h) and audio (ain, aout), with batch, priority and long-context tiers. Models billed per image, second, character, query or page have a unit rate (unit), and may have size, quality or resolution variants (v:...).
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>"
},
"name": "get_model_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id as you'd pass it to the API: gpt-4o-mini, Qwen/Qwen3.5-9B, fal-ai/flux/dev | |
| provider | No | Provider key, such as openai, together, bedrock, fal or deepgram |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||