Skip to main content
Everything the dashboard does is available over HTTPS at https://compute.x402layer.cc/training. Authenticate with an API key in the X-API-Key header (create one under Settings → API keys in Singularity Cloud), or with a wallet signature.

Scopes

Training runs rent GPUs, so they have their own scope. A key that can manage datasets cannot start a GPU unless you also grant training:write. Scoped keys created before October 21, 2026 keep the training access their datasets scope gave them. Keys with no scopes (full access) are unchanged.

1. Read the catalog

The catalog lists base models, GPUs with their hourly training price and stock, and the limits that apply.

2. Upload a dataset

A dataset is JSONL, one chat example per line:
Ask for an upload URL, PUT the file to it, then approve the dataset. Approval checks every line and refuses a file that would not train.
You can also generate a dataset instead of uploading one: see Datasets for agents.

3. Check the price (optional)

4. Start a run

The run is charged from your credits when it starts. Send an Idempotency-Key so a retried request can never start a second run.

5. Follow it and get the model

deploy (needs training:write) returns short-lived download links (urls) for the adapter and the score report once the run finished successfully, plus the GGUF when gguf_available is true. POST /training/runs/$RUN_ID/cancel stops a run (the block is not refunded).

No account at all?

An agent with only a wallet can pay for a run per request over x402. See Training over x402.