Local AI

Guides for local hosting and optimisation

Orchestrator

LLMs

Image generation models

Hardware

  • CPU: AMD Ryzen 9 5900X, 12 cores / 24 threads, Zen 3
  • Motherboard: ASUS ROG STRIX X570-E GAMING WIFI II (AM4, ATX)
  • GPU: 2× NVIDIA GeForce RTX 3090, 24 GB VRAM each (each model needs one card)
  • Total VRAM: 48 GB (2 × 24 GB)
  • System RAM: 128 GB DDR4 (~121.5 GiB usable)
  • Storage: 2 TB KIOXIA EXCERIA NVMe SSD
  • OS: Ubuntu 26.04.1 LTS, headless
  • CUDA: toolkit at /usr/local/cuda-13.1
  • PCIe topology: both GPUs on the CPU root complex. X8/x8 split when both slots populated (normal for this board); Gen1 at idle → PCIe 4.0 x8 under load. Nvidia-smi topo -m shows PHB between GPUs. No NVLink
  • Cooling/chassis: open mining rig (GPU spacing + rig fans, no case). GPU 0 peaks ~73–74 °C under dual load. Routine sw_thermal/sw_power_cap throttle to ~76 °C is normal
  • Kernel mitigations in place: pcie_aspm=off, LimitMEMLOCK=infinity, orchestrator MemoryMax=110G
  • Inference backends: llama-server (llama.cpp) for every model except the flagship, which runs on Strata

Overview

Every language model installed locally, in one table. The image generation models are carded just after the LLM cards, and their table sits further down the page. The hardware: AMD Ryzen 9 5900X, 2× RTX 3090 (24 GB), 128 GB RAM, a FastAPI orchestrator keeping two llama-server slots hot and swapping models from a registry on demand (how it works). Every row links to its full write-up: setup, config, benchmarks, memory and CPU footprint, and a step-by-step to reproduce it on comparable hardware.

The registry as installed: 11 models, every one sized to fit a single RTX 3090. Requests route to whichever slot already hosts the model, and idle slots swap under load. The one extra: the flagship boots as two instances, one per GPU, sharing one RAM-resident expert pool, two live frontier conversations at once (how and why).

All tuned figures below were measured locally. The Stock gen column is what a stock community-style build gets for the same model on one card: this setup’s own first-run figure for every model listed (per-model notes in each article). The Gen tok/s column is this setup’s tuned figures: KV quantisation, batch tuning, MTP drafts and quant recipes.

LLMs at a glance

ModelArchitectureWeightsContextGPUPrompt tok/sGen tok/sStock genVRAMRole here
qwen3.8-flash-next125B total / ~6B active MoEIQ3_S model set262,144One RTX 3090 per instance; the boot default runs two instances side by side~840 short-prompt · ~1,990 @7.4K132.5~26 (first runs here)~23.6 GB / GPU (×2)Daily driver; two instances, one per GPU
qwen3.6-35b-a3b-mtp35B total / ~3B active MoEUnsloth UD-Q4_K_XL200,000Single RTX 30901,794 (orch) · 268 @8K192.9131 (first run here)~21 GB @ 200KFastest generation; chat-heavy work
qwen3.6-35b-a3b-mtp-vision35B total / ~3B active MoE + vision encoderUnsloth UD-Q4_K_XL ~22 GB + mmproj-F16 ~899 MB200,000Single RTX 3090 (vision encoder lives on CPU)1,830 (orch) · 285 @8K188.9131 (first run here)~23.4 GB @ 200KVision-language when swapped in
qwen3-coder-30b-a3b30B total / 3B active MoEQ4_K_M200,000Single RTX 309013,150181.8173 (first run here)~21 GB @ 200KThe coding sub-agent
ornith-35b35B total MoEQ4_K_M200,000Single RTX 30901,875171.4142 (first run here)~21 GB @ 200KStable 1.0-line fallback (vs 1.5 quality)
ornith-1.5-35b-a3b35B total / 3B active MoEQ4_K_M200,000Single RTX 3090 (fits with ~1.9 GB to spare)1,918168.5148 (first run here)22.2 GB @ 200KAgentic default (1.5 line); slot-1 regular
glm-4.7-flashMoE, ~3B activeUnsloth UD-Q4_K_XL200,000Single RTX 30909,760146.8131 (first run here)~21 GB @ 200KBest SWE score locally
gemma4-26b-a4b26B total / 4B active MoEQ4_K_M200,000Single RTX 30901,610138.8—~18 GB @ 200KLight mid-size general model
ornith-1.5-9b9B denseQ4_K_M200,000Single RTX 3090 — half the card; two fit side by side2,205118.0112 (first run here)~10 GB @ 200KAuxiliary / cheap tasks
nemotron-3.5-bolt-74b-a9b-24gb74B total / 9B active; Mamba-2 + attention + MoE hybridOfficial NVIDIA IQ2_XXS 24 GB recipe + 1.7 GB mmproj200,000Single RTX 3090 — exactly full (~600 MB free)1,634–1,825 @8K · 3,247 @176K86.019 (first runs here)23,990 MB @ 200K (~600 MB free)Long-context + vision specialist
qwen3.8-27b27B dense + vision encoderUnsloth UD-Q4_K_XL ~17.1 GB + mmproj-Q8_0 ~601 MB200,000Single RTX 3090240 @8K (tuned) · 757 (orch sweep)70.954 (first run here)~23.4 GB @ 200KLong-context reasoning + vision

How the numbers were measured

All orchestrator numbers in this set come from the same like-for-like method unless noted: identical short prompt, max_tokens=512, temperature=0.7, two runs per model, median reported, models warmed first so load/swap time is excluded, and re-verified with server-reported timings, every model within a few percent, GPU-thermal variation accounted for). Direct runs use llama-cli at 8192 ctx, 256 generated tokens, q4_0 KV, flash-attn on. Both GPUs hit software-thermal/power-cap throttling at 72–76 °C under bench load. This affects all models similarly. Short-prompt prefill numbers are overhead-dominated and comparative only.

Reading the table

  • GPU, how many cards the model needs: every model here fits one 24 GB RTX 3090. Only the flagship boots twice (one instance per card).
  • Stock gen, the decode speed of a stock community-style build on this setup’s first run with that model. Every populated cell is a first-run-here number. Per-model notes in each article. The Gen tok/s column is this setup’s tuned figure, KV quantisation, batch tuning, MTP drafts and quant recipes.
  • MTP, multi-token-prediction speculative decoding (--spec-type draft-mtp) – faster generation, costlier prefill.
  • UD-Q4_K_XL / UD-Q, Unsloth Dynamic quantization: mixed precision, better quality per byte at no decode-speed cost.
  • KV q4_0 / q8_0 / k8v4, KV-cache quantization. This is how 200K context fits in 24 GB.
  • mmproj on CPU, vision projectors kept out of VRAM so long context survives.
  • Strata, a separate inference backend that streams MoE experts from system RAM. The 125B flagship runs on it.

Image generation models at a glance

ModelEngineWeights on diskVRAM on one GPUOutput sizeBest atStatus
qwen-image-2-1ComfyUI 0.41.032.4 GB single filespeak 23,728 MB on the job GPU at 2Kup to 2048 pxlegible lettering, edit pathin daily service
flux3-image-kleinComfyUI 0.41.0 (converted)20.3 GB ComfyUI setpeak 19,228 MB during its own jobs1024 px testedtextless photographic scenesin daily service

Image generators sit alongside the language models, and neither one is served by the orchestrator. They are driven by it: an agent session takes the request, writes the prompt, frees one GPU through the slot admin API, runs the diffusion job on that card, and reads the result back with vision before it reaches a page. The language models keep serving while images render.

Times here are per image at a stated size and step count, not tok/s: diffusion models get a generation-time budget, and each guide carries the measured table with its method. Planned but not installed: FLUX.2 [dev] (up to six reference images, multi-person identity) and PuLID Flux.2 (face-exact identity via ArcFace embeddings). They join this table when their weights land and a first image renders.

The welcome post covers what runs here, what it costs, and why. The orchestrator guide explains how one endpoint serves all eleven.