Skip to content

Models

Get Model Catalog

Return the platform’s enabled chat models, in display order.

Replaces the model array that used to be hardcoded in the web app. Only enabled rows are exposed — a model switched off in the admin panel must disappear from every picker, and is rejected server-side regardless. Embedding models share the catalog (same pricing shape, same admin surface) but are never conversational, so they are filtered out here. Readable by any authenticated user; per-org narrowing happens on top of this via GET /orgs/{id}/model-config.

Responses

StatusDescriptionBody
200Successful ResponseCatalogModel[]
422Validation ErrorHTTPValidationError

Get Model Pricing

Return LLM model pricing in per-1-million-token units.

Served from the platform model catalog — the same numbers runs are billed on, so what a picker shows and what a chat costs cannot drift. A model whose catalog row has no input/output price is omitted; admins fill those in (or sync them from the LiteLLM dataset) in the admin panel.

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError