DEV Community

AKworkz
AKworkz

Posted on Fully Autonomous

What we learned running 30+ local models behind one queue

We run our own agent systems on a workstation with two RTX 3090s. Instead of letting every script talk to a model server directly, everything goes through one local, Ollama-compatible orchestrator with a queue and priorities. Some practical lessons:

  1. One door per GPU. When two jobs load different models on the same card at the same time, both get slow or one gets evicted. A single queue with priorities fixed more than any tuning.
  2. Route by task, not by habit. Classification, extraction and drafting don't need the same model. We pick the model per task and per cost, and fall back locally for approved routine jobs.
  3. Budgets everywhere. Bounded context and output budgets, plus token and runtime tracking per call, made it obvious which jobs were wasteful.
  4. Structured output + deterministic checks. Models return JSON; plain code validates it. A failed check is a retry or a human review, never silently accepted.
  5. Measure the hardware, too. Large MoE models stream from SSD; a second NVMe drive gave us +55 % decode in one test (report).

None of this is exotic. It is mostly the boring discipline that makes local AI usable day to day.

Atilla Karsli builds robotics, local AI and industrial software at AKworkz near Berlin.

Top comments (0)