Models and GPUs
The agent runs on your machine; the model runs somewhere with a GPU. You choose where: the shared pool, pods in your own RunPod account, or a server of yours.
The shared pool
Signed in, with nothing else set up, requests go through Matter Engine's gateway to shared GPUs on your plan. Each
account has limits there (requests at once, requests and tokens a minute). Over one, the gateway says when to try
again, and matter waits that long and says so in one line. matter usage shows your requests and tokens by
day and model.
Gemma 4
Matter's default models are Google's Gemma 4 (open weights, Apache 2.0):
| Workload | What it loads | VRAM |
|---|---|---|
agent+clef (the default) | Gemma 4 12B as the agent, beside Clef 27B | ~22 + 51 GiB: one 96 GB card |
agent | Gemma 4 26B-A4B alone (a mixture of experts, 4B active) | ~48 GiB: an 80-96 GB card |
Served by vLLM, Gemma 4 uses Google's recommended sampling from its own configuration (temperature 1.0, top_p 0.95,
top_k 64). Other open models (Qwen among them) remain a choice with --model.
Gemma is a trademark of Google LLC. Matter Engine is not affiliated with or endorsed by Google.
Pods in your RunPod account
With your RunPod API key (setup asks for it), matter starts GPU pods in your account, on your RunPod bill.
matter gpus --workload agent # the cards that fit: VRAM, $/hr, stock in your data center
matter up --workload agent # the cheapest card that fits and is in stock
matter ls # every pod on your account (matter's and the others)
matter stop <id> # stop the GPU, keep the pod and its disk; matter start brings it back
matter down <id> # terminate it
In a chat, /gpu opens a live picker: the cards that fit, cheapest first, with stock re-read every ~10
seconds; Enter starts one in the background. Every pod matter starts gets a watchdog on the pod that stops it when idle
or past its max-hours, even while your computer sleeps. Pods matter didn't start are never touched (matter
adopt puts one under its limits).
Spend limits
[budget] in runpod.toml caps what your pods cost, in dollars:
[budget]
per_session = 10 # one pod's run, from its start to its stop
daily = 20 # all of matter's pods, a UTC day
monthly = 200 # a UTC month
confirm_above = 3.0 # starting a card over this $/hr asks first
At the start, a pod's max-hours is cut to what the budget leaves at its rate. When matter looks (matter
ls, matter reap), it warns at 80% of a limit and stops the pods it covers at 100% (on a terminal it
asks first whether to add more). matter budget shows each limit; matter budget extend daily 5
adds $5 to today's.
Your own model server
Any OpenAI-compatible server works without pods or the gateway: Ollama, llama.cpp's server, vLLM, LM Studio, or a provider.
matter models add local --url http://127.0.0.1:11434/v1 # Ollama: the model it serves, or --model <id>
matter models add router --url https://openrouter.ai/api/v1 --model <id> --key # the key is asked, kept in the keyring
matter chat --model local
matter models ls
Matter reads what the server says it can do (tool calls, images, its context window) and asks about what it
doesn't. The agent needs tool calls; a model without them works only as a plain chat (--plain). https
only, except to this machine.
A GPU machine of your own
A GPU server you already rent, used like a model server of yours. Matter sets up vLLM there over SSH, or tunnels to a server you run:
matter dedicated add gpu1 --ssh me@gpu1.example.com --model google/gemma-4-26B-A4B-it # looks, shows the plan, asks
matter dedicated add gpu1 --ssh me@host --existing 8000 # your own server on port 8000 there: tunnel only
matter chat --model gpu1 # the tunnel opens by itself
matter dedicated rm gpu1 # removes only what matter installed
It looks first and changes nothing until you type yes to the exact plan, marking each step that uses
sudo. vLLM listens only on 127.0.0.1 there, reached through an SSH tunnel; its request logging is off. Matter never
stops, bills or cancels the machine.