Get a model's prices
get_model_priceReturns every current price for one model — input, output, cached reads, batch and priority tiers, context brackets — with the confidence level and which sources agree. By default these are the maker's own prices; pass channel to get what a reseller charges for the same model instead. 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 |
|---|---|---|---|
| model | Yes | Model id as `provider/slug`, e.g. `anthropic/claude-sonnet-4-5`. | |
| channel | No | Sales channel to price. Omit for the maker's own price. `direct` is the maker, the rest resell the same model at their own rate; a channel that does not sell this model returns the model with no prices. |