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

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 select a provider with provider
That behavior is intentional. The API does not fabricate a representative price when the routing layer can legitimately choose different-priced mappings.