Skip to content
Plinth

Connect a GPU

Plinth builds models on a GPU you rent. This page picks the GPU and walks through the install. Until one is connected, the studio runs on a built-in demo engine.

Connection

Checked every few seconds against /api/health.
GPU worker
Checking

Checking…

Which GPU to rent

TRELLIS.2 needs an NVIDIA GPU with at least 24 GB. Microsoft verified it on NVIDIA A100 and H100, Linux only. Prices are the cheapest verified single-GPU offers on Vast.ai on 30 Nov 2026; they move every day.
GPUMemoryFrom, per hourOur take
A100 40 GB40 GB$0.43Start here

The same GPU family Microsoft tested (A100 and H100), with 40 GB so the text-to-image stage fits beside the 3D model. The safest first install.

RTX 4090 24 GB24 GB$0.36Cheaper, try second

Meets the 24 GB floor exactly but is not on the tested list. Free the text-to-image model before the 3D stage, or use photo mode only. Compare quality and seconds against the A100 before you commit.

L40S 48 GB48 GB$0.43Most headroom

48 GB runs both models side by side with no offloading. Same Ada generation as the 4090. Few offers, so availability varies.

RTX 5090 32 GB32 GB$0.49Newest, needs care

More memory than a 4090. Blackwell cards likely need a PyTorch build for CUDA 12.8 or newer, while the README's default environment uses PyTorch 2.6.0 with CUDA 12.4, so expect to install PyTorch by hand.

Text mode adds a first stage, FLUX.1 [schnell] (Apache-2.0), that draws one image for TRELLIS.2 to lift into 3D. It has not been run on a GPU yet, so treat the 24 GB cards as untested for text mode until you try it. Photo mode skips it.

Connect it

Six steps. Nothing here rents or installs anything for you.
  1. 1

    Rent a GPU

    On Vast.ai (or any host that gives you a Linux shell with an NVIDIA GPU): one GPU, at least 24 GB of memory (an A100 40 GB is the safe first pick), at least 100 GB of disk, a verified host with high reliability. Pick an image with CUDA 12.4, for example pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel. A stopped instance still bills for its disk, so destroy it when you are done testing. Text mode also wants about 48 GB of system RAM; photo mode does not.

  2. 2

    Copy the worker over and install it

    The worker/ folder of this project is the GPU side. It installs TRELLIS.2 following Microsoft's own steps, then FastAPI and the text-to-image model. The first run downloads tens of gigabytes of weights. Vast shows the SSH port on the instance card: use it with scp -P.

    From your computer, then on the GPU machine
    scp -P <ssh-port> -r worker root@<gpu-ip>:~/plinth-worker
    ssh -p <ssh-port> root@<gpu-ip>
    cd ~/plinth-worker && bash setup.sh
  3. 3

    Start it

    Pick a long random token. The web app sends it with every request, and the worker refuses anything without it.

    On the GPU machine
    export WORKER_TOKEN="$(openssl rand -hex 24)"; echo "$WORKER_TOKEN"
    bash run.sh
  4. 4

    Give it an HTTPS address

    A Cloudflare quick tunnel is the simplest way: it prints a https:// address that forwards to the worker. For local testing an SSH tunnel is enough.

    On the GPU machine
    cloudflared tunnel --url http://localhost:8000
    # or, from your computer: ssh -L 8000:localhost:8000 root@<gpu-ip>
  5. 5

    Tell the web app

    Put the address and the token in .env.local (or the host's environment settings) and restart the app. The banner at the top of every page turns green when it can reach the worker.

    .env.local
    GPU_WORKER_URL=https://<the-tunnel-address>
    GPU_WORKER_TOKEN=<the token from step 3>
  6. 6

    Build a test model

    Open the Studio, add a clear photo of one object and press Build. Compare the seconds and the result against the reference numbers on the engine page, then try a cheaper GPU.

The worker contractTRELLIS.2 on GitHub