/v1/models/pricing returns authoritative pricing for a specific model. When a
model can route across multiple mappings, PipeLLM only returns a price if the
matching mappings resolve to one authoritative price. Otherwise, you must
disambiguate with provider or platform_id.
Endpoint
Query Parameters
Notes
- This route only supports
GET. modelis required.- If multiple matching mappings produce different prices and you do not narrow the request, the route returns
409 Conflict. - If the matching mappings all produce the same price, the route returns that authoritative price without requiring a selector.
Example Requests
- cURL
- cURL (disambiguated)
Response Format
Response Fields
Ambiguous Pricing
PipeLLM returns409 Conflict when:
- the same
modelmatches multiple visible mappings - those mappings have different prices
- and you did not narrow the request with
providerorplatform_id