Research date 2026-11-18

The runtime layer

Which server to run on macOS, how to expose it to a LAN, what clustering two minis actually gains, and why M4 minis stay on macOS for inference.

Servers on macOS

All figures verified through the GitHub API on 2026-11-18 unless marked [17].

Runtime Version, date License Strengths Weaknesses Use it for
llama.cpp llama-server v1.0.0, 2026-11-13 MIT Passed all three SiliconBench gates (completion, fidelity, model coverage). Low, flat memory. Most reliable tool-call completion in that test. OpenAI-compatible API, now including /v1/audio/speech. v1.0.0 added server hardening against SSRF, CORS and DNS rebinding, which matters for LAN exposure [35][12]. Slower decode than MLX stacks on the same model (40.0 against 49.3 tok/s on the M4 Pro) [12]. Default four server slots; latency grows under concurrency. The default for agent work. Also runs identically on Linux.
oMLX v0.8.0, 2026-11-18 Apache-2.0 MLX speed, continuous batching, a hot memory plus cold SSD KV cache that survives context changes, model pinning and auto-swap, menu bar app, OpenAI-compatible API on port 8000, optional MCP. Passed all three SiliconBench gates [36][12]. Memory "grows, bounded". 94 of 100 on the agent split. Some model families need custom Metal kernels that require full Xcode to build [36]. Single maintainer listed. An always-on mini that serves several clients and swaps between a pinned small model and a larger one.
vllm-metal v0.33.0, 2026-11-04 Apache-2.0 Best throughput under concurrency and lowest time to first token under load in SiliconBench; passed all three gates; has a sleep mode that returns memory when idle [12][37]. Heavier to set up. Default context below agent prompt sizes, so it rejects long prompts unless raised [12]. Several agents hitting one server at once.
mlx-lm mlx_lm.server v0.32.2, 2026-10-16 MIT Reference MLX server. Simple. Supports tensor parallelism over Thunderbolt RDMA [12]. Only 56 of 100 on the Gemma 4 agent split and partial runs on larger models in SiliconBench [12]. Quick tests and LoRA training, not production agent serving.
Ollama v0.40.16, 2026-11-09 MIT Easiest model management. Since v0.40.0 (2026-09-25) supported architectures run on MLX by default on Apple Silicon [38]. In SiliconBench's August build it held 94 to 97% of the Metal memory hint, failed five-shot fidelity on one model, and covered one of three model releases [12]. Default 4,096-token context [28]. Convenience, and apps that already speak the Ollama API, such as weather-me-timbers. Re-test before trusting it for tool calls.
LM Studio, llmster lms CLI pushed 2026-11-17 App closed; CLI MIT Good GUI, headless daemon mentioned in the CLI README [18]. Closed source core. Headless details not verified today. Optional.
EXO v1.0.71, 2026-04-23; last push 2026-11-06 Apache-2.0 Fastest single-node number in SiliconBench on the M4 Pro (66.8 tok/s), and the best two-node scaling [12]. No tagged release in seven months. The benchmark that favours it was co-authored by EXO Labs. Clustering experiments only.
Hermes managed llama.cpp part of Hermes Agent MIT No configuration; hardware-aware quantization choice; 64K context guarantee; idle unload [5]. Tied to Hermes. A single-machine setup where Hermes is the only client.

One always-on server for the LAN

This works and is the standard pattern. Every runtime above exposes an OpenAI-compatible endpoint. Points that matter:

Clustering multiple minis

Measured on two M4 Pro 64 GB minis linked by Thunderbolt 5 with RDMA, on a model that already fits on one node [12]:

Stack One node, decode at 512 context Two nodes Speedup
llama.cpp (pipeline over TCP) 40.0 tok/s 32.4 tok/s 0.80 to 0.84x, a regression
mlx_lm (tensor parallel over RDMA) 49.3 63.3 1.28 to 1.32x
EXO (tensor parallel over RDMA) 66.8 87.0 1.30 to 1.37x

Prefill roughly doubles at short contexts and gains 1.7 to 1.8x at 4K tokens [12].

Conclusions:

Linux on Apple Silicon

Question Answer today Source
Does Asahi support the M4 mini? Device tree is in linux-asahi 7.4 (base M4) and 7.5 (M4 Pro). Wi-Fi, Bluetooth, NVMe and Ethernet are listed as working in linux-asahi. GPU, HDMI output, Thunderbolt, audio, ANE and suspend are all "TBA". There is no installer. [40]
Is there any M4 GPU driver on Linux? Gravity Linux, a Fedora remix forked from Asahi over its generative AI policy, released an alpha on 2026-09-18 with an M4 GPU driver: OpenGL ES 3.0 and OpenGL 3.3, HDMI works. Vulkan and OpenCL are listed as remaining work. Marked "FOR DEVELOPERS". [41]
Can an M4 mini run LLM inference on its GPU under Linux? No. The working paths (llama.cpp Vulkan, omarchy-mlx) need Vulkan compute, and M4 has no Vulkan driver. The omarchy-mlx README states M4 is "Not yet (no Linux GPU driver)". [41], omarchy-mlx README
Is the M4 ANE usable on Linux? No. omarchy-ane has an h16 bring-up module that does not run real inference yet. Asahi lists ANE as TBA. omarchy-ane README, [40]
What about M1 and M2 Macs on Linux? This works. omarchy-mlx reports oMLX at about 82 to 91 tok/s on an M1 Max, and llama.cpp Vulkan with patched Mesa at 27.4 tok/s on Qwen3-30B-A3B on an M1 Max (up from 1.5 tok/s on stock Mesa). M1 Pro GPU is listed as untested; M1 Pro ANE is on by default. omarchy-mlx README and docs/ENGINES.md (project's own measurements, October 2026)
Ordinary x86 or ARM Linux llama.cpp with CUDA or Vulkan, vLLM on NVIDIA, Ollama. This is the mature path and needs no special comment. general

Conclusion: keep the M4 minis on macOS as the inference servers and treat Linux machines as clients. M1 and M2 machines are where Linux-side GPU inference is plausible today. The M1 Pro GPU is listed as untested upstream, so a test report for it would be a useful contribution. Re-check M4 status when a Vulkan driver lands; that is the single dependency.