Sub-Second Chat on a Sovereign Two-Machine Inference Stack
A "hi" to Aither now comes back in 0.5 to 0.9 seconds, served entirely by hardware on our own desk. Behind it are two machines, two very different models, and one scheduler that decides who goes where. This post is a tour of that stack as it runs today, with every number measured on the live system.
The stack
| Lane | Hardware | Model | Role |
|---|---|---|---|
| Orchestrator | RTX 5090 (32 GB) | Bonsai-2 27B, ternary (PQ2) | Every chat turn, intent, routing, vision |
| Deep pool | DGX Spark (128 GB unified) + RPC | DeepSeek-V4-Flash 284B, 262k context | Long agent work, reasoning, research |
| Embeddings | RTX 5090 | code-embed (GGUF) | Memory and code graph retrieval |
All of it sits behind MicroScheduler, the one door every LLM call in AitherOS goes through. Nothing talks to a model directly. That single door is what makes the rest of this possible.
A 27B model in 10 GB
Bonsai-2 is a ternary build of a 27B hybrid model: most weights are -1, 0 or +1. On the 5090 it serves from about 10 GB of resident memory, which leaves the rest of the card for image, video and 3D work. It speaks vision too, so the same lane that reads your message can read your screenshot.
We tuned the lane by measurement, not by the server's slot count. The server exposes four slots, so the obvious move is to run four requests at once. We measured aggregate throughput instead (128-token streams, thinking off):
| Parallel requests | Aggregate | Per stream |
|---|---|---|
| 1 | 41.8 tok/s | 41.8 tok/s |
| 2 | 53.6 tok/s | 26.8 tok/s |
| 4 | 15.7 tok/s | 3.9 tok/s |
| 8 | 26.0 tok/s | 3.2 tok/s |
Ternary kernels reward a narrow lane. Two at a time is the sweet spot, so the scheduler runs the orchestrator lane two wide and queues the rest where it can see them, rather than inside the server where nobody can.
The person always gets a slot
Two slots is not many when an agent fleet is busy. AitherOS runs dozens of background agents: research loops, builders, reviewers, media pipelines. Left alone, they would fill every slot and a person's message would wait behind them.
So the scheduler reserves capacity by who is waiting, not just by priority number:
- Interactive callers (chat, desk, voice, the shell) may use every slot on the lane.
- Everything else may hold at most all-but-one. One slot is always free for a person.
The reservation is keyed on the caller's surface, so an agent cannot claim it just by asking for high priority.
Agents spill to the big pool
Reserving a slot protects the person. It does not help the agents that now have less room. That is where the second machine comes in.
When the orchestrator lane is full, non-interactive work for the orchestrator spills to the DeepSeek-V4-Flash pool on the DGX Spark instead of waiting:
[LLMQueue] BACKGROUND-SPILL: aither-orchestrator full -> deepseek-v4-flash-pool for agent_runtime
Agents get a 284B model with a 262k context, which is the better tool for long agent work anyway. People keep the fast local lane. A chat turn's own orchestration calls never move, so the conversation stays on one model end to end. The mapping is one line of posture config, and the scheduler only moves a request when its own lane would refuse it at that moment.
In the first six minutes after this went live, eight agent requests spilled to the pool, and zero requests expired in any queue.
Postures: one switch for the whole fleet
Which models run where is declared in one file, as a posture. pool-fast (today's) puts Bonsai on the 5090 and V4-Flash on the Spark. v41-pool swaps in DeepSeek-V4.1 and adds a second Bonsai on the Spark. Switching posture is one command; the scheduler, the lanes, the stand-ins and the spill mappings all follow.
A boot sequencer reads the active posture after a restart and brings back exactly the lanes it declares, one at a time, with a VRAM budget, so the card never fills with models nobody asked for.
Right-sized memory
Each lane runs in its own container with a hard memory cap. Bonsai's prompt cache lives in host RAM so a returning conversation skips its prefill, which means the cap has to hold the model process and the cache. The orchestrator lane now runs with a 16 GB cap and holds steady around 10 GB under real load.
The incident reflex
The last piece watches the rest. incident_reflex is a small host-side detector that runs every minute, uses no model, and changes nothing on the fleet. It reads three things that already tell the truth:
- the kernel journal, for out-of-memory kills
- systemd restart counters, for a lane that keeps coming back
- the scheduler log, for full lanes and requests that expired in a queue
Repeated hits collapse into one incident with a count, so thirteen identical events page once, not thirteen times. It pages when an incident opens and once more when it clears, and writes an episode record each time. That record is the start of the loop we are building toward: a finding becomes a durable check, and the next session starts from it.
It ships with a self-test that replays real incidents and includes a mutation arm, so it proves it can still fail.
By the numbers
| Owner "hi", end to end | 0.5 to 0.9 s |
| Orchestrator lane peak throughput | 53.6 tok/s at 2-wide |
| Orchestrator resident memory | ~10 GB on a 32 GB card |
| Deep pool context | 262,144 tokens |
| Requests expired in queue after the change | 0 |
| Incident reflex cadence | every 60 s, no model, no writes |
Everything above runs on hardware we own, behind one scheduler, with no cloud call in the chat path. That is what sovereign inference looks like day to day: a fast local brain for people, a deep pool for agents, and a reflex that keeps watch.
Keep the journal free
Sponsorship pays for the compute, the hardware and the hours behind these entries.
by email
New journal entries, in your inbox.
What the agents built, broke and fixed. One message per entry.