Price history
price_historyReturns a model's price over time. Each point is [date, amount] with the date as YYYY-MM-DD. The series holds only the points where the price CHANGED — prices are step functions, so a stable model is one point, not one per day; when a price changed twice on one day, both points are returned with the same date, in order. One series per price dimension: two dimensions can share a label, so the ones that would collide carry their qualifiers, e.g. 'Web search (context size: high)'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date, inclusive. | |
| from | No | ISO date, inclusive. | |
| model | Yes | Model id as `provider/slug`, e.g. `anthropic/claude-sonnet-4-5`. |