> ## Documentation Index
> Fetch the complete documentation index at: https://weights.fyi/run/llms.txt

# GET /v1/models

```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](/run/docs/models.md)). 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](/run/docs/your-model.md)). `?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](/run/docs/reference/jobs-model.md)); [GET /v1/capabilities](/run/docs/reference/capabilities.md) describes the service the same way.

## Request

| Name | Where | Required | Meaning |
|---|---|---|---|
| `Authorization` | header | yes | `Bearer` 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:

| Field | Meaning |
|---|---|
| `id` | The exact name to send as `model`. |
| `name` | The model's name in words. |
| `description` | One sentence on what the model does. |
| `input` | What it reads: `page text` for the classifier, `labelled page text` for the base you train. |
| `can_run` | `true` when the listed inference operations accept it; chat models list `chat_completions`. |
| `can_train` | `true` when it can be the base of a training job. |

A language model, or a workspace specialist:

| Field | Meaning |
|---|---|
| `id`, `aliases` | The exact name to send as `model`, and the other names the same model answers to (`null` when they cannot be read now). |
| `kind` | `llm` for a chat model; `classifier` or `extractor` for a workspace specialist. |
| `status`, `can_run`, `operations` | `available`, `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_tokens` | The 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`, `streaming` | What a call may carry (`text`, `image`), what comes back, and whether `stream: true` is taken. |
| `price` | The 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. |
| `pricing` | The same prices as `unit` (`tokens`), `input_usd_per_1m`, `output_usd_per_1m` and `cached_input_usd_per_1m`; `null` without a token price. |
| `measured` | For 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](/run/docs/prices.md)). |
| `typical_ready_seconds`, `ready_timeout_seconds` | How 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_flight` | The 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`, `jurisdictions` | Where 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. |
| `pools` | The pools that serve the model to you, each with an `id` and the same three location fields. |

A model you fine-tuned:

| Field | Meaning |
|---|---|
| `id` | `ft_` followed by the training job's 24 characters. |
| `name` | "Your fine-tuned Laya page classifier" with its id. |
| `owner` | Always `you`: the list shows only your own. |
| `trained_from` | The base it was trained from, `laya-page-role-base`. |
| `job_id` | The training job that made it. |
| `metric` | Its score: `macro_f1`, the validation macro-F1 of the epoch it was taken from, and `epoch`, which epoch that was. |
| `can_run` | `false` today: running a fine-tuned model is coming. |
| `can_train` | `false` today: training further from a fine-tuned model is not possible yet. |
| `note` | One sentence saying that running it is coming. |

## 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`. |

## 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](/run/docs/your-model.md), [GET /v1/quote](/run/docs/reference/quote.md).
