/v1/models/pricing returns a single authoritative pricing object for a model;
it does not list prices from every provider. When a model can route across
multiple providers, PipeLLM only returns a price if they resolve to one
authoritative price. Otherwise, you can select a provider with provider.
Endpoint
Query Parameters
Notes
- This route only supports
GET. modelis required.- If there is only one visible provider, the route returns that provider’s price.
- If all visible providers produce the same effective price, the route returns one authoritative price.
- If visible providers produce different effective prices, the route returns
409 Conflict; useproviderto select a provider.
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 select a provider with
provider