Documentation
Models and quotes
View .mdOpenAPI

List models

GEThttps://weights.fyi/run/v1/modelsscope: read
text
GET https://weights.fyi/run/v1/models
Authorization: Bearer <token>                    scope: read
Available since
2026-10-08, when the service went live on weights.fyi/run. Model metadata and the ?format=openai list shape are implemented; running a fine-tuned model remains unavailable.
Answer time
synchronous: the list is read at once.

Lists the models your workspace can use, and for each whether you can run it, train it, or neither yet: the names a program may send as model. The list is filtered to your workspace: a model served to another workspace, or one that is only planned, is not in it (Models and capabilities). Language models are included with their availability now, their context window, prices and location. laya-page-role, the Laya page classifier, to run; when fine-tuning is switched on, laya-page-role-base to train (Fine-tuning is switched on for this service.); then your fine-tuned models, to your account only. No model is both runnable and trainable today.

A fine-tuned model's id is ft_ and the 24 characters of the job that made it; it shows its validation macro-F1 and can_run: false. Naming it in a call answers 400 model_not_available with the models you can run, until running it is built and its entry says can_run: true (Bring your own model). ?format=openai wraps the list as {"object": "list", "data": [...]} (a response shape, not a change to model capabilities), and every entry adds object, owned_by (weights.fyi or you), kind (classifier or llm), input_modalities, output_modalities, labels, streaming, operations (classify, batch, finetune, or chat_completions as allowed), supported_parameters and artifact_download (GET /v1/jobs/{job_id}/model.safetensors); GET /v1/capabilities describes the service the same way.

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer and a token that holds the read scope.

Return value

200 OK with a list: the runnable models, the trainable base, then your own.

A model you can run or train:

FieldMeaning
idThe exact name to send as model.
nameThe model's name in words.
descriptionOne sentence on what the model does.
inputWhat it reads: page text for the classifier, labelled page text for the base you train.
can_runtrue when the listed inference operations accept it; chat models list chat_completions.
can_traintrue when it can be the base of a training job.

A language model, or a workspace specialist:

FieldMeaning
id, aliasesThe exact name to send as model, and the other names the same model answers to (null when they cannot be read now).
kindllm for a chat model; classifier or extractor for a workspace specialist.
status, can_run, operationsavailable, true and chat_completions (for a specialist classify too) once the model can take a call and has a price; otherwise not_yet_available, false and an empty list. Being listed is not being runnable.
context_tokens, max_output_tokensThe context window in tokens. A call's prompt and its answer share it, so both fields carry the same number: there is no separate output cap.
input_modalities, output_modalities, streamingWhat a call may carry (text, image), what comes back, and whether stream: true is taken.
priceThe prices per 1M tokens a call admitted now keeps: usd_per_1m_prompt_tokens, usd_per_1m_cached_tokens, usd_per_1m_cache_write_tokens, usd_per_1m_output_tokens and basis. When no price can be set, basis alone says why.
pricingThe same prices as unit (tokens), input_usd_per_1m, output_usd_per_1m and cached_input_usd_per_1m; null without a token price.
measuredFor a tariff we measured: on (the date), output_tokens_per_second and first_token_seconds, each by number of streams. null for a declared tariff, such as a model you enrolled yourself (Prices and billing).
typical_ready_seconds, ready_timeout_secondsHow long a start usually takes now, and the longest one start may take before the service gives it up (null when unknown). Both 0 where nothing of ours has to start.
max_in_flightThe calls the model's ready capacity takes at once now, shared by every caller of the model. A call beyond it answers 429 overloaded, reason: concurrency_limit.
region, jurisdiction, jurisdictionsWhere the model runs: its region, its country code, and the groups (EU, EEA) that country belongs to; null or empty when unknown. A call's jurisdictions constraint is matched against these.
poolsThe pools that serve the model to you, each with an id and the same three location fields.

A model you fine-tuned:

FieldMeaning
idft_ followed by the training job's 24 characters.
name"Your fine-tuned Laya page classifier" with its id.
ownerAlways you: the list shows only your own.
trained_fromThe base it was trained from, laya-page-role-base.
job_idThe training job that made it.
metricIts score: macro_f1, the validation macro-F1 of the epoch it was taken from, and epoch, which epoch that was.
can_runfalse today: running a fine-tuned model is coming.
can_trainfalse today: training further from a fine-tuned model is not possible yet.
noteOne sentence saying that running it is coming.

Errors

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

An account with one fine-tuned model, the live training drill's epoch-4 model of 2026-10-08 (macro-F1 0.743):

sh
curl -s https://weights.fyi/run/v1/models -H "Authorization: Bearer $WEIGHTS_API_KEY"
json
[
  {
    "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
  },
  {
    "id": "laya-page-role-base",
    "name": "Laya page classifier, untrained",
    "description": "The encoder with a fresh page-role head. Train it on your labelled pages.",
    "input": "labelled page text",
    "can_run": false,
    "can_train": true
  },
  {
    "id": "ft_6e975b0fbd833d058defbbae",
    "name": "Your fine-tuned Laya page classifier (ft_6e975b0fbd833d058defbbae)",
    "owner": "you",
    "trained_from": "laya-page-role-base",
    "job_id": "job_6e975b0fbd833d058defbbae",
    "metric": {"macro_f1": 0.743, "epoch": 4},
    "can_run": false,
    "can_train": false,
    "note": "Deployment of a trained model is coming."
  }
]

History

  • 2026-10-08: live with laya-page-role; can_run, can_train, the trainable base and your fine-tuned models with fine-tuning.
  • 2026-10-10 implementation review: the descriptive fields and ?format=openai.
  • 2026-11-16: the language-model fields documented: context, prices, measured, admission and location.

See also

Bring your own model, GET /v1/quote.