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

# Start here

From nothing to your first result in three steps: a workspace and key, billing, and one call: a chat answer, a page label, or a queued plan.

> **Status.** Live since 2026-10-08; the sign-in journeys and the plan quickstart were checked against this build on 2026-11-16, and the classification timings were measured on 2026-10-09 with the model asleep.

## 1. An account and a key

Verify your email address at [/login](/run/login); [/register](/run/register) is the same form. You prove the address with a one-time 6-digit code we email you, with no password. New accounts are reviewed before they open: your first sign-in records your registration, and an operator approves it before you can sign in, with $25.00 of welcome credit. Until then signing in shows that your application is under review. Three kinds of address open at once, without review: one a workspace invitation names, one at an email domain a workspace has verified and opened to its people ([Teams and workspaces](/run/docs/teams.md)), and one at a domain this service approves automatically. Signing in with your organisation's Microsoft Entra account, where the login page offers it, follows the same rules for the address it verifies. What a verified address opens depends on who you are:

| You are | What happens |
|---|---|
| New, while new accounts are reviewed | Your application joins the design-partner queue. You see "Application received" and get no session: there is nothing to sign in to until an operator approves it, and signing in again meanwhile shows "Application under review". |
| Invited to a workspace | The invitation link opens `/join`. Verifying the invited address there signs you in and accepts the invitation in one pass, even while an application of yours was still waiting. |
| At a company domain your team verified and opened | You are admitted without review, also while registration is otherwise closed ([Teams and workspaces](/run/docs/teams.md#verify-your-domain)). |
| Already a member | You are signed in and land on your panel, [/app](/run/app). |

Applying also asks the mailing service MayWe to add your address to capacity and model updates; MayWe sends its own confirmation, and one click unsubscribes. Confirming that subscription is not approval. The approval notice is handed to MayWe for sending, not confirmed delivered: if no mail arrives, sign in again to see where you stand. Beyond any welcome credit, a workspace has no spending allowance until its owner sets up billing or adds credit. Browser sessions and sign-in attempts have limits of their own ([Errors and limits](/run/docs/errors.md#limits)).

Programs use an API token, not your sign-in code. Make one on your panel under API tokens; it is shown once, so copy it straight away. A token holds one or more scopes, and a call that needs another answers `403 scope_required`:

| Scope | Lets the token |
|---|---|
| `submit` | Send work: pages, batches, datasets and training jobs; cancel a job; make the model ready. |
| `read` | Read jobs, results, logs, the model's state, quotes, usage and exports. |
| `manage` | Make and revoke tokens and manage trace destinations. Only owner-issued keys can open a prepaid payment page. |

A token with `manage` can make narrower ones, here a batch runner that may spend $25 a day ([POST /v1/tokens](/run/docs/reference/tokens-create.md)):

```sh
curl -s https://weights.fyi/run/v1/tokens \
  -H "Authorization: Bearer $WEIGHTS_API_KEY" -H "Content-Type: application/json" \
  -d '{"name": "batch runner", "scopes": ["submit", "read"], "daily_cap_usd": "25"}'
```

The examples keep the token in a shell variable, so it never lands in a command you paste somewhere:

```sh
export WEIGHTS_API_KEY=weights_...   # your token
```

## 2. Billing

Pay-as-you-go enrollment is awaiting payment connection setup; existing prepaid credit remains available. See [Workspace billing](/run/docs/billing.md) for setup, limits and invoices.

Prepaid credit remains available. Add prepaid credit by card under [Billing & usage](/run/app/credit): you pay on Stripe's hosted payment page and come straight back. No card data reaches this service. Payments on this service run in Stripe's test mode for now, so that page takes Stripe's test cards, not a real card. A `manage` token issued by the workspace owner can open a prepaid payment page from a script:

```sh
curl -s https://weights.fyi/run/v1/credit/topups \
  -H "Authorization: Bearer $WEIGHTS_API_KEY" -H "Content-Type: application/json" \
  -d '{"usd": "25.00"}'
```

Open the answer's `checkout_url` and pay; the first live payment, on 2026-10-08, was credited 2 s later. The smallest amount is $0.50, and a retry makes a second page, because this call takes no `Idempotency-Key`. Your balance:

```sh
curl -s https://weights.fyi/run/v1/usage -H "Authorization: Bearer $WEIGHTS_API_KEY"
```

`available_usd_micros` is what you can spend now, in micro-dollars (1,000,000 is $1.00).

## 3. Your first call

Look before you send: the models your workspace can call, each with its operations and whether it can run now.

```sh
curl -s https://weights.fyi/run/v1/models -H "Authorization: Bearer $WEIGHTS_API_KEY"
```

**Chat.** No LLM chat model is available on this service yet. Point any OpenAI client at `https://weights.fyi/run/v1/proxy`, or call it directly with a model ID from the list. The first chat call creates and starts your workspace's endpoint. It does not wait for the model: while it starts the call answers `429 overloaded` with a `Retry-After`, so send it again after that many seconds. [LLM endpoints](/run/docs/llm.md) has the Python and JavaScript versions.

```sh
curl -s https://weights.fyi/run/v1/proxy/chat/completions -H "Authorization: Bearer $WEIGHTS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemma3-4b", "messages": [{"role": "user", "content": "Reply with READY."}]}'
```

**Classify a page.** The price of a job first, its pages at the price per page (a start costs nothing), then a page with your own `id` and a key that makes a retry safe:

```sh
curl -s "https://weights.fyi/run/v1/quote?model=laya-page-role&pages=1000" -H "Authorization: Bearer $WEIGHTS_API_KEY"
curl -s -i https://weights.fyi/run/v1/classify \
  -H "Authorization: Bearer $WEIGHTS_API_KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: first-call-1" \
  -d '{"model": "laya-page-role", "pages": [{"text": "Senior data engineer, Utrecht. Apply today.", "id": "p1"}]}'
```

- **`200`** when the model is ready and the pages finish within 300 s: the results are in the answer.
- **`202`** when the model is not ready, or the pages take longer: the work is queued, the model is started if it was stopped, and `Retry-After` says when to look. In the readiness run the first call answered `202` at once and had its result 160.4 s after it was sent.

Read the job and its results with the `job_id` from the answer:

```sh
curl -s https://weights.fyi/run/v1/jobs/JOB_ID -H "Authorization: Bearer $WEIGHTS_API_KEY"
curl -s "https://weights.fyi/run/v1/jobs/JOB_ID/results?after=0" -H "Authorization: Bearer $WEIGHTS_API_KEY"
```

```json
{"seq": 1, "id": "p1", "input_sha": "0e9d03893cf9b487b46c69b99a496bc5859890f184509f4a97d5cc1f3bb3cb8f", "label": "detail",
 "probabilities": {"detail": 0.91, "listing": 0.03, "landing": 0.02, "not_vacancy": 0.03, "unresolved": 0.01},
 "status": "done", "error": null}
```

`input_sha` is the SHA-256 of the page's text, to match results without ids. The text itself is deleted once its result is written, unless you turn on input logging ([Tracing and exports](/run/docs/tracing.md#logging-inputs-and-outputs)).

**Queue a plan.** Work with stages, dependencies, a window and a budget goes in as one ComputePlan, a JSON file here called `plan.json` (the [Python SDK](/run/docs/sdk.md) writes one in a few lines). Check it, submit it, then read it back:

```sh
curl -s https://weights.fyi/run/v1/compute/plans/dry-run -H "Authorization: Bearer $WEIGHTS_API_KEY" \
  -H "Content-Type: application/json" -d @plan.json
curl -s https://weights.fyi/run/v1/compute/plans -H "Authorization: Bearer $WEIGHTS_API_KEY" \
  -H "Content-Type: application/json" -d @plan.json
curl -s https://weights.fyi/run/v1/compute/plans/PLAN_ID -H "Authorization: Bearer $WEIGHTS_API_KEY"
```

| Step | Call | What it tells you |
|---|---|---|
| 1. Dry run | [POST /v1/compute/plans/dry-run](/run/docs/reference/compute-plans-dry-run.md) | Whether the plan would be accepted: `ok`, with `findings` naming what is wrong. It checks the plan rules, your grant, each model's pinned release, its context window, template options and tools, and with `?verify_source=1` reads your sources. Nothing is queued or charged. `unverified` lists the checks it could not make. |
| 2. Submit | [POST /v1/compute/plans](/run/docs/reference/compute-plans-create.md) | The same file. The plan is admitted and queued; admission is not execution. A plan with `wake_policy` `scavenger_stream` or `piggyback` waits for capacity that is already running; `standard` may ask for capacity to start. |
| 3. Inspect | [GET /v1/compute/plans/{plan_id}](/run/docs/reference/compute-plans-get.md) | The plan's `state`, each stage's state and progress, `readiness` and the cost accrued so far. |

Next: [LLM endpoints](/run/docs/llm.md) for chat, [Classify pages](/run/docs/classify.md) for batches, [Jobs, progress and results](/run/docs/jobs.md) for following them, and [How it works](/run/docs/how-it-works.md) for the whole picture.
