Skip to content

LLM Suite vast ai

speedyrulz edited this page Nov 24, 2026 · 4 revisions

vast.ai

Run a model on a GPU you rent from vast.ai and control everything from the app (0.29.0+). Open the page with Ctrl+9.

Only the model server (llama-server) runs on the rental. Chats, the REA tools, the programs you take apart, recordings, grading and the scoreboard stay on this PC. The connection is an ssh tunnel that reconnects by itself; the server on the rental is not reachable from the internet.

Not yet tried on a real rental. The page has been tested with simulated vast.ai answers and with the instance scripts in a local shell only. Keep the vast.ai website open the first time, check there that a stopped instance is stopped, and open an issue if something goes wrong.

What you need

  • A vast.ai account with credit, and an API key. Type it under Account, or let the app use VAST_API_KEY or the key of the vastai command-line tool. A key typed in the app is stored encrypted for your Windows account.
  • An ssh key in .ssh in your user folder that is on your vast.ai account. The Account card shows whether it is, and can add it. Windows' OpenSSH Client must be installed (Settings → System → Optional features).
  • A Hugging Face token, only for gated or private repositories. It is used on this PC only: the instance gets a short-lived download address instead of the token. If Hugging Face gives none, download the file to this PC and add it from here.

Rent, start, stop, destroy

  1. Rent an instance searches on-demand offers by video memory, price, reliability, download speed and GPU name. Click a column heading to sort by it; DLPerf/$/hr (0.30.0+) is vast.ai's speed score per dollar and hour. vast.ai returns at most 64 offers, a different selection each time, so a new sort column searches again. The window keeps the last used settings (0.30.0+); auto-stop itself is on again for every new rental.
  2. Choose an offer. The confirmation shows the price per hour, the disk and traffic costs and your balance. Nothing is rented before you confirm; if the price rose in the meantime, the app refuses instead of paying more.
  3. The instance appears as a card with its state, cost so far, GPUs, connection and the models on it.

Only clicks in the app's window spend money. Loading a model, a batch run, an API request and a phone never rent or start anything; the model picker sends you to this page instead. If vast.ai's answer to a rent request is lost, the request is not repeated: the app looks for the instance by its label first.

Stopping keeps the disk, which vast.ai still bills. Destroying deletes the instance and its files and asks first. Attach an instance uses one you rented elsewhere: the app never destroys it, and leaves it alone while something else uses its GPU.

Several instances can run at once.

Auto-stop

Limit Default for instances rented here
Stop when idle 30 minutes without use
Hard cap 12 hours after it started, used or not. Extend cap adds hours

Before either stop, a 60-second countdown with Keep running appears. The top bar shows what the rentals cost per hour and the next countdown. A small watchdog on the instance enforces the same limits when the app is closed or the PC is off; the card says whether it is armed. An attached instance has no limits unless you switch them on.

The app does not stop an idle instance while a GPU on it is busy with something else. Quitting the app asks what to do with running instances.

Models on an instance

Under Remote models, add a model:

  • From this PC — its files are uploaded over ssh, with resume and checksums, including its vision projector and draft model.
  • From Hugging Face — the file is downloaded on the instance, from 0.31.0 over 16 connections for files of 64 MB and more, with the speed shown while it runs. A download that was cut off goes on where it stopped, and its checksum is checked. Give the repository, revision and file name; split files are found from any part. A bucket works too.

Set up on the instance's card installs the llama.cpp Linux CUDA build with the same build number as the one on this PC, checked against the checksums GitHub publishes, and then the model's files. If a file on this PC changes later, the app asks for Set up again; only what changed is sent.

A model that is set up appears in the model picker with a vast.ai badge and loads like any other. It then works in Chat, Reverse Engineering, Writing, Adventure and the API server. The API server and phones use it only while it is already loaded. The writing benchmark and the load-settings benchmark use models on this PC only.

Tool calls of a remote model

The machine belongs to someone else, who could read what is sent to the model and make it answer anything, tool calls included. So with a remote model, Always allow and "don't ask" cover only static analysis and opening a program, and only for the files of that Reverse Engineering session (the target, a practice task's folder, a clone's output folder). Every other tool call asks first, Allow this tool in this chat lasts until the app closes, and a batch run refuses such calls. In a chat, the model must have opened the program itself first, and reading REA's stored evidence always asks. A practice run on an instance needs REA to be a local program in mcp.json, not an HTTP server. A link that is already inside the analysed folder is followed. Models on this PC are not affected.

Practice tasks in parallel

Batch runs can use one or more rentals and several tasks at once on each. Every task needs its own REA process on this PC, about 1.3 GB of RAM each, so this PC's memory is usually the limit.

If something goes wrong

  • "The llama.cpp build on … does not support the model type" (before 0.31.1: unknown model architecture in the log) — the model is newer than the build on the rental, which is by default the same build as this PC's llama-server. Open Advanced on the vast.ai page, set llama.cpp build for instances to a newer tag from the llama.cpp releases and save. Within about a minute Install the engine appears on the rental's card; press it, then load again. The model files stay. This does not change the build on this PC: a copy of the model in your own library still needs llama.cpp on this PC updated.
  • "That offer is not available any more" for nearly every offer — a bug in 0.29.0. Update to 0.30.0.
  • The card says the watchdog is not armed — the instance cannot stop itself when the app is closed. Stop it from the app or the website when you are done.
  • A rent is shown as being checked — vast.ai did not answer. The app keeps looking for the instance for about ten minutes. Check the website before renting again.
  • The connection is lost — loaded models reconnect by themselves. If that fails for two minutes the model is unloaded; load it again, and a server that kept running is used again.
  • An instance still shows after Destroy — it stays in the list until vast.ai no longer reports it. Check the website if it does not go away.

RulZ AI Tools Suite

The apps

RulZ AI Trainer

README (full reference) Releases

RulZ AI Trainer Optimizer

Using the app

Help

README (full reference)

Rulz Training Captioner

Getting started

Using the app

Models and GPUs

Reference

README (full reference)

RulZ LLM Suite

Using the app

Reference

Contributing

README (full reference)

RulZ Coding Agent

Using the app

Reference

Contributing

README (full reference)

RulZ Image Organizer

Using RulZ

More

README (full reference)

RulZ Image Tournament

Using the app

Developers

README (full reference)

RulZ Image Crawler

Getting started

Using the app

Help

README (full reference)

RulZ Image Preparer

Getting started

Using the app

Reference

README (full reference)

RulZ Image Grid

Using the app

Help

README (full reference)

RulZ Huggingface Manager

Using the app

Help

README (full reference)

RulZ ComfyUI Launcher

Using the app

Help

README (full reference)

RulZ Model Merger

README (full reference)

RulZ Simple Video Clip Extractor

Getting started

User guide

Help

README (full reference)

Clone this wiki locally