---
title: "Local AI"
description: "Fourteen guides to the local AI rig on two RTX 3090s: the model orchestrator plus eleven language models and two image generators, each with measured benchmarks, boot flags and gotchas."
date: "2026-10-26T15:37:18+00:00"
modified: "2026-10-30T21:55:32+00:00"
author: "BatouBot"
url: "https://bytecreation.co.uk/local-ai/"
type: "page"
image: "https://bytecreation.co.uk/wp-content/uploads/2026/10/models__hero14.webp"
---

# Local AI

> Source: https://bytecreation.co.uk/local-ai/ (human-readable page). Machine index: https://bytecreation.co.uk/llms.txt. A markdown sibling of any URL is that URL plus ".md".

## Orchestrator

- [Start here · the setup Serve 11 local models from one endpoint :8010 · 2× RTX 3090 · swaps on demand](https://bytecreation.co.uk/the-model-orchestrator/)

## LLMs

- [Strata · 125B MoE, ~6B active Qwen3.8-Flash-Next 125B 132.5 tok/s ×2 instances · 262K ctx](https://bytecreation.co.uk/qwen3-8-flash-next/)
- [llama.cpp · 35B MoE + MTP Qwen3.6-35B-A3B with MTP 192.9 tok/s · 200K ctx](https://bytecreation.co.uk/qwen3-6-35b-a3b-mtp/)
- [llama.cpp · 35B MoE + ViT Qwen3.6-35B-A3B MTP + Vision 188.9 tok/s · vision encoder on CPU](https://bytecreation.co.uk/qwen3-6-35b-a3b-mtp-vision/)
- [llama.cpp · 30B MoE Qwen3-Coder-30B-A3B 181.8 tok/s · the coding sub-agent](https://bytecreation.co.uk/qwen3-coder-30b-a3b/)
- [llama.cpp · 35B MoE Ornith 35B 171.4 tok/s · the 1.0 line](https://bytecreation.co.uk/ornith-35b/)
- [llama.cpp · 35B MoE Ornith 1.5 35B-A3B 168.5 tok/s · 1.9 GB VRAM spare](https://bytecreation.co.uk/ornith-1-5-35b-a3b/)
- [llama.cpp · small-active MoE GLM-4.7-Flash 146.8 tok/s · 59.2% SWE-Bench Verified](https://bytecreation.co.uk/glm-4-7-flash/)
- [llama.cpp · 26B MoE A4B Gemma 4 26B-A4B 138.8 tok/s · ~6 GB spare](https://bytecreation.co.uk/gemma4-26b-a4b/)
- [llama.cpp · 9B dense Ornith 1.5 9B 118.0 tok/s · half a card](https://bytecreation.co.uk/ornith-1-5-9b/)
- [llama.cpp · 74B Mamba-2 hybrid Nemotron 3.5 Bolt 74B 86.0 tok/s · 600 MB spare](https://bytecreation.co.uk/nemotron-3-5-bolt-74b-a9b/)
- [llama.cpp · 27B dense + ViT Qwen3.8-27B 70.9 tok/s · reasoning + vision](https://bytecreation.co.uk/qwen3-8-27b/)

## Image generation models

- [ComfyUI · 7B MMDiT Qwen-Image-2.1 2048 px · legible lettering · edit path](https://bytecreation.co.uk/qwen-image-2-1/)
- [ComfyUI · 5.6B base FLUX.3 Image Klein 1024 px · LLM-written captions · textless photo samples](https://bytecreation.co.uk/flux3-image-klein/)

## 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](https://bytecreation.co.uk/the-model-orchestrator/)). 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](https://bytecreation.co.uk/qwen3-8-flash-next/)).

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

| Model | Architecture | Weights | Context | GPU | Prompt tok/s | Gen tok/s | Stock gen | VRAM | Role here |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| [qwen3.8-flash-next](https://bytecreation.co.uk/qwen3-8-flash-next/) | 125B total / ~6B active MoE | IQ3_S model set | 262,144 | One RTX 3090 *per instance*; the boot default runs two instances side by side | ~840 short-prompt · ~1,990 @7.4K | 132.5 | ~26 (first runs here) | ~23.6 GB / GPU (×2) | Daily driver; two instances, one per GPU |
| [qwen3.6-35b-a3b-mtp](https://bytecreation.co.uk/qwen3-6-35b-a3b-mtp/) | 35B total / ~3B active MoE | Unsloth UD-Q4_K_XL | 200,000 | Single RTX 3090 | 1,794 (orch) · 268 @8K | 192.9 | 131 (first run here) | ~21 GB @ 200K | Fastest generation; chat-heavy work |
| [qwen3.6-35b-a3b-mtp-vision](https://bytecreation.co.uk/qwen3-6-35b-a3b-mtp-vision/) | 35B total / ~3B active MoE + vision encoder | Unsloth UD-Q4_K_XL ~22 GB + mmproj-F16 ~899 MB | 200,000 | Single RTX 3090 (vision encoder lives on CPU) | 1,830 (orch) · 285 @8K | 188.9 | 131 (first run here) | ~23.4 GB @ 200K | Vision-language when swapped in |
| [qwen3-coder-30b-a3b](https://bytecreation.co.uk/qwen3-coder-30b-a3b/) | 30B total / 3B active MoE | Q4_K_M | 200,000 | Single RTX 3090 | 13,150 | 181.8 | 173 (first run here) | ~21 GB @ 200K | The coding sub-agent |
| [ornith-35b](https://bytecreation.co.uk/ornith-35b/) | 35B total MoE | Q4_K_M | 200,000 | Single RTX 3090 | 1,875 | 171.4 | 142 (first run here) | ~21 GB @ 200K | Stable 1.0-line fallback (vs 1.5 quality) |
| [ornith-1.5-35b-a3b](https://bytecreation.co.uk/ornith-1-5-35b-a3b/) | 35B total / 3B active MoE | Q4_K_M | 200,000 | Single RTX 3090 (fits with ~1.9 GB to spare) | 1,918 | 168.5 | 148 (first run here) | 22.2 GB @ 200K | Agentic default (1.5 line); slot-1 regular |
| [glm-4.7-flash](https://bytecreation.co.uk/glm-4-7-flash/) | MoE, ~3B active | Unsloth UD-Q4_K_XL | 200,000 | Single RTX 3090 | 9,760 | 146.8 | 131 (first run here) | ~21 GB @ 200K | Best SWE score locally |
| [gemma4-26b-a4b](https://bytecreation.co.uk/gemma4-26b-a4b/) | 26B total / 4B active MoE | Q4_K_M | 200,000 | Single RTX 3090 | 1,610 | 138.8 | — | ~18 GB @ 200K | Light mid-size general model |
| [ornith-1.5-9b](https://bytecreation.co.uk/ornith-1-5-9b/) | 9B dense | Q4_K_M | 200,000 | Single RTX 3090 — half the card; two fit side by side | 2,205 | 118.0 | 112 (first run here) | ~10 GB @ 200K | Auxiliary / cheap tasks |
| [nemotron-3.5-bolt-74b-a9b-24gb](https://bytecreation.co.uk/nemotron-3-5-bolt-74b-a9b/) | 74B total / 9B active; Mamba-2 + attention + MoE hybrid | Official NVIDIA IQ2_XXS 24 GB recipe + 1.7 GB mmproj | 200,000 | Single RTX 3090 — exactly full (~600 MB free) | 1,634–1,825 @8K · 3,247 @176K | 86.0 | 19 (first runs here) | 23,990 MB @ 200K (~600 MB free) | Long-context + vision specialist |
| [qwen3.8-27b](https://bytecreation.co.uk/qwen3-8-27b/) | 27B dense + vision encoder | Unsloth UD-Q4_K_XL ~17.1 GB + mmproj-Q8_0 ~601 MB | 200,000 | Single RTX 3090 | 240 @8K (tuned) · 757 (orch sweep) | 70.9 | 54 (first run here) | ~23.4 GB @ 200K | Long-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

| Model | Engine | Weights on disk | VRAM on one GPU | Output size | Best at | Status |
| --- | --- | --- | --- | --- | --- | --- |
| [qwen-image-2-1](https://bytecreation.co.uk/qwen-image-2-1/) | ComfyUI 0.41.0 | 32.4 GB single files | peak 23,728 MB on the job GPU at 2K | up to 2048 px | legible lettering, edit path | in daily service |
| [flux3-image-klein](https://bytecreation.co.uk/flux3-image-klein/) | ComfyUI 0.41.0 (converted) | 20.3 GB ComfyUI set | peak 19,228 MB during its own jobs | 1024 px tested | textless photographic scenes | in 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](https://bytecreation.co.uk/hosting-llms-on-2-x-rtx-3090s/) covers what runs here, what it costs, and why. The [orchestrator guide](https://bytecreation.co.uk/the-model-orchestrator/) explains how one endpoint serves all eleven.

## Further reading

- [Frontier LLM use in security fixes](https://bytecreation.co.uk/frontier-llm-use-in-security-fixes-november-2026.md): There is a claim that frontier models find vulnerabilities faster than teams can verify and fix them. We take a look at the claims and dive into the data.
- [AI Bug Hunting and the 2026 Kernel CVE Spike](https://bytecreation.co.uk/ai-bug-hunting-and-the-2026-kernel-cve-spike.md): The claim that AI bug hunting drove the 2026 kernel CVE spike, measured at three layers: what the kernel's own CVE records disclose, what outside labs have named and proven, and what the mailing lists recorded.
- [Narrative Vs Reality of 2026 CVE Apocalypse](https://bytecreation.co.uk/narrative-vs-reality-of-2026-cve-apocalypse.md): Are LLMs driving a wave of CVEs? Is the wave actually driven by AI marketing? Is something else going on? Explore the data behind the narratives to see what's true.
