Get a model
GET https://weights.fyi/run/v1/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.
- Answer time
- synchronous: your model list is read at once and one entry of it is returned.
Returns one entry of GET /v1/models by its id, the way OpenAI's model retrieval answers. Use it to check that a model exists for your workspace, and whether you can run or train it, before you send work. Only the models your own list shows are found: the service's models, the language models in your catalog, and the models you fine-tuned.
The id is everything after /v1/models/ in the path, so an id that holds a / needs no escaping. An id that is not in your list answers 404 model_not_found in OpenAI's error shape, {"error": {"message", "type", "code", "model", "request_id"}}, which OpenAI clients read as an unknown model; a refused token keeps the plain shape of every other call. Clients whose base address is https://weights.fyi/run/v1/proxy get the same lookup at GET /v1/proxy/models/{model}.
Request
| Name | Where | Required | Meaning |
|---|---|---|---|
Authorization | header | yes | Bearer and a token that holds the read scope. |
model | path | yes | The model's id, exactly as GET /v1/models lists it; it may hold /. |
X-Request-Id | header | no | A 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 model's entry, and the header X-Request-Id.
| Field | Meaning |
|---|---|
id, name, description, input | The exact name to send as model, its name in words, what it does and what it reads. |
can_run, can_train | Whether the inference calls accept it, and whether it can be the base of a training job. |
object, owned_by, kind | model; weights.fyi or you; classifier or llm. |
input_modalities, output_modalities | What it takes in and what it gives back. |
labels, streaming | A classifier's labels, and whether its answers stream. |
operations, supported_parameters | The calls that accept it now (classify, batch, finetune, chat_completions) and its options. |
artifact_download | true for your own fine-tuned models, whose weights GET /v1/jobs/{job_id}/model.safetensors serves. |
region, jurisdiction, jurisdictions | Where the model runs, when known: the place, its two-letter country code, and every code that place matches in X-Weights-Jurisdictions. |
A language model's or a fine-tuned model's entry holds the further fields the list gives it.
Errors
| Status | Code | When it happens | What to do |
|---|---|---|---|
401 | unauthorized, invalid_token, token_revoked, token_expired | No token, or one that does not work (any more). | Use a valid token. |
403 | scope_required, account_suspended | The token lacks read, or the account is suspended. | Use a token with read. |
404 | model_not_found | No model of that id is in your list. The body is OpenAI's error object; error.code holds the code. | List your models and send an id from the list. |
Examples
With laya-page-role in place of MODEL:
curl -s https://weights.fyi/run/v1/models/MODEL -H "Authorization: Bearer $WEIGHTS_API_KEY"{
"id": "laya-page-role",
"name": "Laya page classifier",
"description": "Tells what role a web page plays from its text: detail, listing, landing, not_vacancy or unresolved, with the model's probabilities.",
"input": "page text",
"can_run": true,
"can_train": false,
"object": "model",
"owned_by": "weights.fyi",
"kind": "classifier",
"input_modalities": ["text"],
"output_modalities": ["classification"],
"labels": ["detail", "listing", "landing", "not_vacancy", "unresolved"],
"streaming": false,
"operations": ["classify", "batch"],
"supported_parameters": ["options.rejectIfBusy"],
"artifact_download": false,
"region": "eu-north1",
"jurisdiction": "FI",
"jurisdictions": ["FI", "EU", "EEA"]
}History
- 2026-10-16: built.
- 2026-11-16: this page added.
See also
- GET /v1/models, the whole list.
- GET /v1/proxy/models/{model}, the same lookup under the drop-in base address.
- Models, the topic.