AIMindStation
The cluster on its aluminium frame: two single-board computers, two graphics cards, a fan and a power supply, lit in blue and red

Private AI. Built from used hardware. Running entirely offline.

An 8-billion-parameter language model running across two low-cost ARM computers and two used AMD graphics cards.

€300cluster parts, PC not included
~190 Wat peak, boards + cards
~11 tok/swriting an answer
0 bytessent to the cloud

Figures as of November 2026

How small and cheap can a private AI machine be and still do real work? This project is my answer so far: two ARM boards and two used graphics cards, split one language model between them, connected by a USB cable. It works through differential equations, writes code and summarises documents, and it never needs the internet to do it.

01Why private matters

Some text should never reach someone else's server: a patient's notes, a client's contract, a circuit board that hasn't been announced yet. Sending it to a cloud AI means trusting another company with it, and often a contract or a regulation rules that out. The usual alternative is buying and running your own server.

Here the model, the chat server and the conversation all stay on hardware you own. No AI service is involved, and the cluster answers with the internet unplugged.

Local is not the same as secure, though. The PC with the chat page and your local network become part of the private zone, and they need the same care as any other machine that holds sensitive data.

02The goal

Useful AI that people and small organisations can own, understand and control, without depending on the cloud. In practice: find the smallest AI cluster that is:

03The bigger idea

AI infrastructure should be accessible beyond large technology companies.

AIMindStation explores a different approach: affordable, modular AI systems built from widely available hardware that individuals and small organisations can own, operate and understand.

The current cluster is a proof of concept, demonstrating that an 8-billion-parameter model can run across inexpensive ARM boards and used graphics cards, entirely offline.

The long-term goal is to develop a practical platform with accessible hardware, easy software deployment and flexible configurations for different models and workloads.

The aim is not to compete with large AI data centres, but to make independent AI infrastructure accessible to everyone.

04What runs today

Boards cost about €50 each, used cards about €50 each, the PCIe adapters about €20 each new: about €300 for everything, with power supply, frame, fan and cables. The chat page and its small chat server run on any PC on the local network, which isn't in that price; the page is opened on that same PC. The cluster writes about 11 tokens per second in a short conversation and about 7 near the end of a long one, reads a prompt at 16 to 19 tokens per second, and holds conversations of up to 4096 tokens.

Where the 91 ms of one token go, in a short conversation:

Stepms
ROCK 3A: token lookup, 20 layers on the RX 5500, sending the result27
USB 3, there and back1
Cubie A7Z: 16 layers on the RX 55048
Cubie A7Z: output head on the RX 55012
Cubie A7Z: small steps, picking the token3
Total91

Hardware

Node 1Node 2
BoardRadxa ROCK 3ARadxa Cubie A7Z
ProcessorRockchip RK3568: 4× Cortex-A55 at 2.0 GHzAllwinner A733: 2× Cortex-A76 at 2.0 GHz + 6× Cortex-A55 at 1.8 GHz
RAM2 GB1 GB
Storage16 GB eMMC module64 GB microSD card
Graphics cardAMD RX 5500 (RDNA 1), 22 compute units, 4 GB GDDR6, 224 GB/s (this card’s specification)AMD RX 550 (GCN 4), 8 compute units, 4 GB GDDR5, 96 GB/s (this card’s specification; AMD’s reference RX 550 has 112 GB/s)
GPU clocks1860 MHz core; memory 14 Gbps per pin (875 MHz)1206 MHz core; memory 6 Gbps per pin (1500 MHz)
PCIe to the cardGen2 x2 (a Gen3 slot, run at Gen2 for a stable link)Gen3 x1
Part of the modellayers 1–20 of 36layers 21–36 + output head
NetworkEthernetWi-Fi, only to start and stop the cluster; not used per token
Between the boardsUSB 3 cable: about 450 MB/s, about 1 ms per round trip
Chat serverany PC on the local network (not in the €300); the page is opened on that same PC

Software

ROCK 3ACubie A7Z
Operating systemArmbian 26.2.1 (Debian 13 “trixie”)Debian 11 “bullseye” (Radxa image)
Linux kernel6.18.34, with my PCIe and GPU changes5.15.147 (vendor kernel), with my PCIe and GPU changes
GPU driveramdgpu (in the kernel)amdgpu (in the kernel)
GPU interfaceVulkan: Mesa 25.0.7 RADVVulkan: Mesa 25.0.7 RADV, my build with a DMA-engine mode
ModelQwen3-8B, in Qwen's own published 8-bit (FP8) version: the layer weights are 8-bit, the token lookup table and output head 16-bit, as in the release; the math runs in 32-bit floating point; thinking mode off
Inference programmy own, the same on both boards: C++ with Vulkan compute shaders
The cluster answering a question

A differential equation, solved live through the chat page (one of the correct runs):

y'' − 3y' + 2y = e3x, y(0) = 1, y'(0) = 0 · 1385 tokens at 9.9 tok/s

To be fair: this problem is hard for an 8B model. Out of 50 runs of this exact prompt, 25 gave the right formula, like the one in the video. The other 25 made the same arithmetic slip, and the model's own final check (✓) missed it, so the final formula always needs checking. A reference copy of the model on a PC confirmed that the slip is Qwen3-8B's own: it allowed every token the cluster picked in four checked runs, about 4,200 tokens, with the same odds to within half a percent.

05How data flows through the cluster

How a message travels through the cluster: chat window, chat server, ROCK 3A and its RX 5500, USB 3, Cubie A7Z and its RX 550, and back ANY PC ON THE LOCAL NETWORK 1  Chat window browser; answer word by word 2  Chat server chat format; text ↔ tokens sends tokens + answer limit (room left of 4096 tokens) ROCK 3A + RX 5500 3  CPU: embedding token → vector of 4096 numbers row read from the eMMC prompt: up to 3 tokens   in the pipeline at once stops at end token or limit about 3 ms per token 4  RX 5500, 4 GB layers 1–20 weights decoded on the fly KV cache for layers 1–20 PCIe: 16 KB in, 16 KB out about 24 ms per token CUBIE A7Z + RX 550 5  RX 550, 4 GB layers 21–36 + output head (fewer layers: holds the head) weights decoded on the fly KV cache for layers 21–36 keeps best 20 of 151,936 PCIe: 16 KB in, 0.2 KB out 48 + 12 = 60 ms per token 6  CPU: next token one of the best 20 prompt tokens: pick unused 64-byte reply: token, score, sequence no., checksum about 3 ms per token Ethernet once per message USB 3, one frame per token: 4096 numbers (16 KB) + 64-byte header USB 3 · next token, 64 bytes Ethernet · each new token data going forward, every token the new token going back one token, steps one after the other: 3 + 24 + USB 1 + 60 + 3 = 91 ms → about 11 tokens per second How a message travels through the cluster: chat window, chat server, ROCK 3A and its RX 5500, USB 3, Cubie A7Z and its RX 550, and back ANY PC ON THE LOCAL NETWORK 1  Chat window browser page; the answer appears word by word 2  Chat server adds the model's chat format; text ↔ token numbers sends the tokens + answer limit (room left of 4096) ROCK 3A + RX 5500 · 2 GB RAM 3  CPU: embedding token number → a vector of 4096 numbers one row of the lookup table, read from the eMMC prompt: up to 3 tokens in the pipeline at once stops at the end-of-answer token or the answer limit about 3 ms per token: lookup, send, wait for the link 4  RX 5500, 4 GB: layers 1–20 weights in card memory, decoded on the fly KV cache (conversation memory) for layers 1–20 PCIe: 16 KB in, 16 KB out per token (link almost idle) about 24 ms per token CUBIE A7Z + RX 550 · 1 GB RAM 5  RX 550, 4 GB: layers 21–36 + output head fewer layers: the card also holds the output head weights in card memory, decoded on the fly KV cache (conversation memory) for layers 21–36 keeps the best 20 of 151,936 possible tokens PCIe: 16 KB in, under 0.2 KB out per token (link almost idle) 48 ms layers + 12 ms output head = 60 ms per token 6  CPU: picks the next token one of the best 20, by probability for prompt tokens the pick is not used 64-byte reply: token, score, sequence no., checksum about 3 ms per token: pick, small GPU steps, reply Ethernet · once per message USB 3 · one frame per token, after layer 20: 4096 numbers (16 KB) + 64-byte header USB 3 · next token, 64 bytes Ethernet · each new token data going forward, every token the new token going back one token, steps one after the other: 3 + 24 + USB 1 + 60 + 3 = about 91 ms → about 11 tokens per second
One message through the cluster. Steps 3 to 6 repeat for every token: first for each prompt token, then for each token of the answer.

All of the model's computation runs on the two graphics cards. The weights of all 36 layers and the output head are loaded into the cards' memory once, when the cluster starts, and stay there. The layer and output-head weights are never read from the boards' storage or RAM while answering: the A7Z has only 1 GB of RAM and still holds 3.4 GiB of the model's weights. The processors only handle small steps: one row of the token lookup table per token (read from the ROCK's eMMC), 16 KB over USB, and the final pick among 20 candidates.

06What it took

When I started, I didn't know whether this could work at all. Desktop graphics cards on small ARM boards are not a supported combination.

Why the driver needed work

The Linux graphics driver, amdgpu, assumes what a PC guarantees: that the processor and the card see the same memory contents, and that every write the processor sends to the card arrives. Neither board guarantees that, and each breaks it in its own way. So each board needed its own changes.

Where the changes are

Between Linux and the graphics card sit several layers. These needed changes:

LayerWhat it doesROCK 3ACubie A7Z
Device treedescribes the board's PCIe slot to Linuxchanged: slower, stable linkchanged
PCIe controller driverconnects the processor to the cardas ischanged: memory window, DMA engine
amdgpu: memorywhere shared buffers and job queues livechangedchanged
amdgpu: powerfirmware, clocks, voltage, power profilechangedchanged
amdgpu: data pathhow commands and data reach the cardas ischanged: all through the DMA engine
Mesa (Vulkan driver)turns the program's GPU work into commandsas ischanged: DMA mode

The A7Z's data path is the unusual one: its chip has a hardware bug that corrupts writes from the processor to the card after a burst of work. So on the A7Z the processor writes nothing to the card directly; the PCIe controller's own DMA engine carries everything.

What the PCIe links can do, and how much they're used

PCIe link, 64 MB blocksROCK 3ACubie A7Z
LinkGen2 x2 (Gen3 slot)Gen3 x1, through the DMA engine
Raw capacity, each direction1.0 GB/s0.985 GB/s
Measured: to the card0.80 GB/s0.83 GB/s
Measured: from the card0.86 GB/s0.75 GB/s
Used while answering (calculated)~0.36 MB/s~0.18 MB/s

After the changes, both links reach 76–86% of their raw capacity, close to what PCIe can carry after its packet overhead. While answering they are almost idle, under 0.1% of either link: the weights crossed once, at loading, and stay on the cards. Per token a 16 KB vector goes to each card; 16 KB comes back from the RX 5500, and under 200 bytes from the RX 550 (just the token and its 20 candidates). Even loading isn't limited by PCIe: the weights would cross in about 4.5 seconds, but loading takes 33 s on the ROCK and 51 s on the A7Z, almost all of it reading the model files from storage (the ROCK's eMMC at about 110 MB/s, the A7Z's microSD card at about 72 MB/s).

Why Vulkan, not OpenCL

The cluster first ran on OpenCL. With the same model and the same kind of matrix code, moving to Vulkan made the ROCK's half 1.7× faster (66 → 39 ms per token) and the A7Z's half about 2× faster (about 228 → 111 ms), measured at the switch in late October 2026. With OpenCL every job on the card was started separately; with Vulkan a whole token's work is recorded once and sent to the card in one go. Every speed-up after that was made on Vulkan: today the two halves take 27 and 63 ms of a token (table above).

The rest

What decoding the weights costs

The weights stay compressed in the cards' memory. Each one is decoded inside the graphics card, at the moment the matrix math needs it, so decoding costs extra instructions rather than extra memory traffic. A typical compressed layer is about 10% smaller than the plain 8-bit one. Measured on one typical layer:

One layer, GPU timeROCK 3A (RX 5500)A7Z (RX 550)
Compressed, decoded on the fly (what runs)1.15 ms3.05 ms
Plain 8-bit, nothing to decode (timing test only)1.15 ms2.70 ms

And it is not yet at the limit, on entry-level cards from 2017 and 2019. The layers are read at about 70% of the memory speed each card reaches in a plain read test, the output head at 91%; reading at full speed would save about 21 ms of the 91 ms per token. On the ROCK the gap is in how the memory reads are issued; on the A7Z it is mostly the extra instructions.

07What's next

Step 1: proof of concept (done)

An 8B model runs across two cheap GPUs on ARM boards, gives the model's own answers, and its speed and power are measured.

Step 2: make it practical

Step 3: a platform