get_model_history
Retrieve historical price trends for any AI model over time, enabling cost analysis and trend monitoring. Access past input, output, and blended pricing per million tokens.
Instructions
Get HISTORICAL price data / trends for one model.
This is InferenceIndexer's differentiator: aggregators like OpenRouter expose only current price; this returns the price over time (input, output, blended $/M), enabling trend analysis.
Args: model_id: Canonical model id, e.g. 'openai/gpt-5.6'. days: History window in days (1-365, default 30; plan-dependent). Returns: historical price series for the model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| model_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||