Documentation
LLM endpoints
View .mdOpenAPI

List proxy models

GEThttps://weights.fyi/run/v1/proxy/modelsscope: read
text
GET https://weights.fyi/run/v1/proxy/models
Authorization: Bearer <token>                    scope: read
[X-Request-Id: <uuid>]
Available since
2026-10-16: included in this build; see What is live for deployment status. No LLM chat model is available on this service yet.
Answer time
synchronous: the list is read at once.

OpenAI's model list for the drop-in base address https://weights.fyi/run/v1/proxy: the address an OpenAI client takes as its base_url, so its own model listing works unchanged. It holds the same entries as GET /v1/models, always wrapped as {"object": "list", "data": [...]}; the plain call answers a bare list unless you ask it for ?format=openai.

Model ids differ per workspace, so list them before your first chat call and send the exact id. The list is your workspace's whole catalogue, not only chat models: for POST /v1/proxy/chat/completions pick an entry with kind llm whose operations hold chat_completions. A refusal comes in OpenAI's error shape, the code inside an error object.

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer and a token with read.
X-Request-IdheadernoA UUID to follow the call by; answered back in the header of the same name. One is made when you send none.

Return value

200 OK with the header X-Request-Id and OpenAI's list.

FieldMeaning
objectAlways list.
dataThe entries, each a model in OpenAI's shape with this service's fields beside it.
data[].idThe exact name to send as model.
data[].object, data[].owned_bymodel, and weights.fyi or you for a model you fine-tuned.
data[].kindllm for a chat model, classifier for a page classifier.
data[].name, data[].descriptionThe model in words.
data[].input_modalities, data[].output_modalities, data[].streamingWhat a call may send and gets back, and whether stream: true is answered.
data[].operations, data[].can_run, data[].can_trainWhat its calls accept now, such as chat_completions, classify, batch or finetune; empty when none.
data[].statusA chat model: available or not_yet_available.
data[].context_tokens, data[].max_output_tokensThe context a call's prompt and answer share, in tokens; null for a model that takes no tokens.
data[].price, data[].pricingA chat model's prices per 1M tokens in two spellings: price (usd_per_1m_prompt_tokens, usd_per_1m_cached_tokens, usd_per_1m_output_tokens, basis) and pricing (input_usd_per_1m, output_usd_per_1m, cached_input_usd_per_1m). pricing is null for a model without a token price; GET /v1/quote prices it.
data[].typical_ready_seconds, data[].ready_timeout_secondsHow long a start takes now, and the longest one may take; set your client's timeout above the first.
data[].max_in_flightHow many calls the model answers at once now, shared by every caller.
data[].aliasesOther names a request may call the model by.
data[].jurisdiction, data[].jurisdictionsThe country code of the model's known location, and the codes X-Weights-Jurisdictions matches it by.

Errors

Every refusal has OpenAI's shape, {"error": {"message": "...", "type": "...", "code": "...", "request_id": "..."}}.

StatusCodeWhen it happensWhat to do
401unauthorized, invalid_token, token_revoked, token_expiredNo token, or one that does not work (any more).Use a valid token.
403scope_required, account_suspendedThe token lacks read, or the account is suspended.Use a token with read.

Examples

sh
curl -s https://weights.fyi/run/v1/proxy/models -H "Authorization: Bearer $WEIGHTS_API_KEY"
json
{
  "object": "list",
  "data": [
    {"id": "qwen3.8-27b", "object": "model", "owned_by": "weights.fyi", "kind": "llm", "name": "Qwen3.8 27B",
     "description": "A 27-billion-parameter language model behind your own OpenAI-compatible endpoint: chat completions, streaming included.",
     "input": "chat messages", "input_modalities": ["text"], "output_modalities": ["text"], "streaming": true,
     "operations": ["chat_completions"], "status": "available", "can_run": true, "can_train": false,
     "typical_ready_seconds": 490.0}
  ]
}

History

  • 2026-10-16: built.
  • 2026-11-16: this page added.

See also