Documentation
LLM endpoints
View .mdOpenAPI

Read a proxy model

GEThttps://weights.fyi/run/v1/proxy/models/{model}scope: read
text
GET https://weights.fyi/run/v1/proxy/models/<model>
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 model is read from your workspace's catalogue at once.

OpenAI's single-model retrieval for the drop-in base address https://weights.fyi/run/v1/proxy: one entry of your workspace's catalogue by its exact id, the same object GET /v1/proxy/models lists under data. An OpenAI client calls it to check that a model exists before it sends chat.

The id is matched exactly and whole: no shorthand, no alias and no other workspace's model is resolved here, and an id that holds a slash is taken as written. An id your workspace's catalogue does not hold answers 404 model_not_found in OpenAI's error shape; list the models and pick an id from the list instead of guessing.

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer and a token with read.
modelpathyesThe model's exact id, as data[].id of GET /v1/proxy/models lists it.
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 the model.

FieldMeaning
idThe exact name to send as model.
object, owned_bymodel, and weights.fyi or you for a model you fine-tuned.
kindllm for a chat model, classifier for a page classifier.
operations, can_run, can_trainWhat its calls accept now, such as chat_completions; empty when none.
statusA chat model: available or not_yet_available.
context_tokens, typical_ready_seconds, max_in_flightThe context a call may use, how long a start takes now, and how many calls it answers at once.
the restEvery other field of the entry, as GET /v1/proxy/models describes it.

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.
404model_not_foundYour workspace's catalogue holds no model of that exact id; the answer names it under model.List the models and use an id from the list.

Examples

sh
curl -s https://weights.fyi/run/v1/proxy/models/MODEL -H "Authorization: Bearer $WEIGHTS_API_KEY"
json
{"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