> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fastino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use https://docs.fastino.ai/llms.txt to discover and navigate pages. Use https://docs.fastino.ai/llms-full.txt when you need the complete documentation corpus. Use https://docs.fastino.ai/openapi.json as the source of truth for customer-facing routes. For GLiDE decision inference, call POST https://api.fastino.ai/v1/systemone with model fastino/GLiDE. Start managed training (config job) with POST /v1/training/jobs using base_model. For interactive training, native JSON clients use the public operations under /v1/training/jobs and /v1/training/usage. Existing Tinker clients use tinker==0.32.0 with TINKER_BASE_URL=https://api.fastino.ai/v1/training/compat/tinker and TINKER_CREDENTIAL_CMD. Compatibility child routes are private and absent from OpenAPI. Auto Train is private access and has no public route; direct interested users to sales@fastino.ai. Do not infer undocumented routes. Read API keys from FASTINO_API_KEY and never embed credentials in code, logs, or reports.

# Training API overview

> Choose managed training, interactive training, or Auto Train, a private autonomous training agent.

Every Fastino training workload is a job. Choose managed training (`config`
job), interactive training (`interactive` job), or Auto Train, then use
`/v1/training/jobs` to inspect the job.

> [card] [Encoder Quickstart](https://docs.fastino.ai/training/encoder-quickstart.md)
>
> Fine-tune a GLiNER encoder from an uploaded dataset with managed training.

> [card] [Decoder Quickstart](https://docs.fastino.ai/training/decoder-quickstart.md)
>
> Train Nemotron or Qwen with interactive training, where your application controls each step.

> [card] [Auto Train](https://docs.fastino.ai/training/auto.md)
>
> Delegate the training lifecycle to Fastino's autonomous training agent.

## Choose a job type

Every job has a `type`:

| Type | Who controls the loop? | How it starts |
| - | - | - |
| `config` | Fastino | Send a dataset and configuration to `POST /v1/training/jobs`. GLiNER encoders only. |
| `interactive` | Your application | Call `POST /v1/training/jobs/create-model` or create a Tinker training client. Decoders train this way, and so does GLiDE (native JSON only, see [Train GLiDE](#train-glide)). |

Both types share the same job identity. Canonical reads use
`GET /v1/training/jobs`, `GET /v1/training/jobs/{job_id}`, and
`GET /v1/training/jobs/{job_id}/checkpoints`.

Native JSON clients use the public interactive operations under
`/v1/training/jobs`. Existing Tinker clients keep `tinker==0.32.0` and set only
`TINKER_BASE_URL=https://api.fastino.ai/v1/training/compat/tinker` and
`TINKER_CREDENTIAL_CMD`.

## Train GLiDE

GLiDE (`fastino/GLiDE`) trains as an `interactive` job through the native JSON
operations; Tinker clients can't train it. It trains on decision rows instead
of token datums:

1. [Create the job](https://docs.fastino.ai/api-reference/training-jobs/interactive/create-model.md) with
   `{"base_model": "fastino/GLiDE"}` and no `lora_config`.
2. Send [`forward-backward`](https://docs.fastino.ai/api-reference/training-jobs/interactive/forward-backward)
   calls with `decisions`: up to `512` rows, each a System One `state` and
   `question` with a `gold` option and/or a `soft_target`. The loss is
   `glide_decision`.
3. Apply each step with [`optim-step`](https://docs.fastino.ai/api-reference/training-jobs/interactive/optim-step).
4. Score held-out rows with [`forward`](https://docs.fastino.ai/api-reference/training-jobs/interactive/forward):
   the same rows, no target needed. Each result is the row's option
   probabilities, as [`POST /v1/systemone`](https://docs.fastino.ai/api-reference/inference/systemone)
   serves them.
5. [Save the training state](https://docs.fastino.ai/api-reference/training-jobs/interactive/save-weights.md),
   or a `soup`: the weighted mean of saved states and `base`.
6. Save the job's weights [for serving](https://docs.fastino.ai/api-reference/training-jobs/interactive/save-weights-for-sampler.md)
   and [deploy](https://docs.fastino.ai/api-reference/training-jobs/interactive/deploy-checkpoint.md) them. To serve a soup, first
   load it with [`load-weights`](https://docs.fastino.ai/api-reference/training-jobs/interactive/load-weights) and
   `"optimizer": false`: saving a soup doesn't change the job's weights.
   Call the trained model with `POST /v1/systemone` and `"model": "<model_id>"`.

`GET /v1/base-models` reports GLiDE with `supports_training: false`, so
`?supports_training=true` doesn't list it; create the job with its ID as in
step 1.

Rows are text only, and each row can be at most `16,384` tokens. A
GLiDE job doesn't sample: [`sample`](https://docs.fastino.ai/api-reference/training-jobs/interactive/sample)
returns `400`. See [Pricing](https://docs.fastino.ai/pricing.md) for the training-token rate.

## Config-job lifecycle

The following persisted statuses describe `config` jobs. An `interactive` job
follows the operations submitted through its routes; do not infer its lifecycle
from this table.

| Persisted status | Description |
| - | - |
| `requested` | The job was accepted and is awaiting dispatch or provisioning. |
| `running` | Training is actively running. |
| `complete` | Training completed successfully. Artifact preparation may continue. |
| `normalizing` | Fastino is preparing the trained artifact. |
| `artifact_ready` | The trained artifact is ready. |
| `deployed` | The artifact has been deployed. |
| `paused` | The `config` job is paused. |
| `errored` | Training, dispatch, or artifact preparation failed. |
| `stopped` | The job was stopped while preserving existing checkpoints. |
| `terminated` | The job was terminated. Checkpoints are preserved unless `delete_checkpoints` is `true`. |

`normalized_status` provides the stable polling value, including `failed` for a
terminal failure. `status` remains the persisted value, such as `errored`.

## Interactive-job lifecycle

An interactive job runs the calls you send it, in the order it receives
them. Each call returns a `future_id`; read its result at
`GET /v1/training/jobs/{job_id}/futures/{future_id}`.

* You don't number requests or send heartbeats.
* Each team can have at most 16 live interactive jobs. A new job past that
  limit waits: its `create` future reports `paused_capacity` until a slot opens.
  Each job can queue at most 512 operations, and each team can have at most
  2,048 sampling requests in flight. The API returns `429` when one of those two
  limits is reached.
* A native REST job with no calls for 30 minutes is released. A Tinker SDK
  session is released after 5 minutes without its SDK heartbeat; keep the
  `ServiceClient` active or finish the session. Checkpoints are kept.
* `POST /v1/training/jobs/{job_id}/stop` returns immediately and stops accepting
  new calls. Already queued operations may finish before resources are released.
  Usage may continue until that release. Sampler checkpoints can still be
  sampled and downloaded after a stop.

## Interactive-job billing

Interactive jobs bill forward and forward/backward training tokens; sampling
input, cache-read, and output tokens; and checkpoint storage. Checkpoint storage
is metered daily at \$0.05 per GB-month. See [Pricing](https://docs.fastino.ai/pricing.md) for each
model's prefill, cache-read, sample-output, and training-token rates.

Creating a model, applying an optimizer step, and saving or loading checkpoints
do not add interactive-training usage charges. Account and project spending
controls still apply when starting or extending compute. Use
[`GET /v1/training/usage`](https://docs.fastino.ai/api-reference/training-jobs/interactive/storage-usage)
to read team-scoped interactive checkpoint storage and its monthly price. It
does not report compute or total billing. The job billing endpoint is for
config jobs.

## Next steps

> [card] [Encoder Quickstart](https://docs.fastino.ai/training/encoder-quickstart.md)
>
> Fine-tune a GLiNER encoder with managed training.

> [card] [Decoder Quickstart](https://docs.fastino.ai/training/decoder-quickstart.md)
>
> Train Nemotron or Qwen with interactive training.

> [card] [Interactive training loop](https://docs.fastino.ai/training/training-loop.md)
>
> Build datums, update the model, and sample from checkpoints.

> [card] [Fine-tune GLiNER](https://docs.fastino.ai/guides/fine-tune-gliner.md)
>
> Prepare entity data and train a GLiNER model.

Moving an existing Tinker SDK workload? See
[Migrate from Tinker](https://docs.fastino.ai/training/migrate-from-tinker.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.