get_pricing_history
Query historical pricing snapshots recorded over time. Use this to look up past prices for a model or provider, or to see how prices have changed over a given number of days.
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_pricing_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days (default: 30, max: 365) | |
| limit | No | Maximum number of snapshot rows to return (default: 50, max: 500) | |
| provider | No | Filter by provider (e.g. 'openai'). Omit for all providers. | |
| model_name | No | Filter by model name (e.g. 'gpt-4o'). Omit for all models. |