Skip to main content
Use this route when you need pricing, not just catalog visibility. /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.
  • model is 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

Response Format

Response Fields

Ambiguous Pricing

PipeLLM returns 409 Conflict when:
  • the same model matches multiple visible mappings
  • those mappings have different prices
  • and you did not narrow the request with provider or platform_id
That behavior is intentional. The API does not fabricate a representative price when the routing layer can legitimately choose different-priced mappings.