Skip to main content
GET
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.

How billing works

PipeLLM bills from your console balance. Insufficient balance returns 402 before the request is processed — see Errors. Rates for every model live in the model library. This route returns the same numbers programmatically. The docs deliberately do not restate rates, so there is nothing here to go stale. Video is billed in USD when you call POST /v2/videos. The quote is taken at create time and does not change if prices are edited later; query and cancel do not charge.

Endpoint

Query Parameters

string
required
Model ID to price.
string
Provider name when the same ID has more than one price.
integer
Platform mapping ID when you need an exact channel.

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.

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.