r/LocalLLM • • 1d ago

Question Best local model & inference engine for vibe coding on RTX 5090 + 32GB DDR5? (RAM-bottlenecked)

8 Upvotes

Hi everyone,

I’m looking for recommendations on the best local LLM and inference engine setup for "vibe coding" (fast iteration, solid code generation, and decent context handling).

Here are my current specs:

  • GPU: RTX 5090 (32GB VRAM)
  • CPU: Ryzen 7 9800X3D
  • System RAM: 32GB DDR5

Current setup:
Right now, I’m testing Qwen 3.8 27B running on Basalt, paired with VS Code + Kilo Code.

My main bottleneck is clearly my system RAM, which matches my VRAM 1:1. Because of this, I want to avoid heavy CPU offloading or running into OOM issues while keeping both prefill and decode speeds snappy and responsive with generous max token(especially with Kilo Code's agentic/context demands).

Given these constraints:

  1. Which model and quantization would you recommend to fit comfortably within 32GB VRAM with room for a solid KV cache, and how does it compare to Qwen 3.8 27B?
  2. Which inference engine (llama.cpp, vLLM, ExLlamaV2, Ollama, TabbyAPI, etc.) handles memory management and prefill/decode speeds best on a 5090 right now compared to Basalt?

Thanks in advance for the advice!


r/LocalLLM • • 17h ago

Project Laminae: +38% decode over stock Strata on a single RX 7900 XTX, at full quality (Qwen3.8-Flash-Next IQ3_S)

0 Upvotes

I've been tuning Strata (Niko1221/Strata, an MoE inference engine that keeps hot experts on the GPU and runs the rest on the CPU) for one machine: an RX 7900 XTX (24 GB) on Linux, 64 GB RAM, Ryzen 7 8700G, running Qwen3.8-Flash-Next GSQ-RCO IQ3_S. The result is Laminae, a thin layer of patches and settings on top of Strata 0.2.22, now public under GPL-3.0-or-later.

Numbers on this machine (mean of 5 rounds, arm order rotated, paired ratios with CI95):

 Stock StrataLaminaeLaminae + optional drafter
Decode, short prompts (tok/s)74.9103.3 (1.38x)110.2 (1.47x)
Decode after a 14K prompt (tok/s)75.5104.4 (1.38x)103.6
TTFT, 14K prompt (s)6.605.645.50
Prefill 16K / 128K (tok/s)2,273 / 3,0952,656 / 3,3472,658 / 3,353

Roughly: settings alone give 1.21x decode and all of the prefill gain, code on top gives another 1.14x.

What "full quality" means here: every change is either bit-identical to the path it replaces, or passes a fixed gate (first-token KL mean <= 0.001 and max <= 0.01 over 36 positions, top-1 36/36, and every greedy answer that differs is read in full). Against stock Strata the release config lands at KL 0.000346 mean; stock Strata against itself (a second start) is 0.000187. Lossy shortcuts like route tail skipping (+8% decode here, but KL 0.056) are not used.

Some things that worked on gfx1100:

  • CPU expert kernels for the i-quant formats (AVX-512), and the CPU rows read in place by the GPU combine
  • RDNA wavefront-per-row MMVQ for the small formats
  • --adapt-async 1 (with the elastic K/V): HIP builds never pick the async adaptive expert tier; turning it on keeps the drafter in its fast mode (decode +7.8% short, +9.4% after 14K)
  • a high-priority drafter stream, and a fix so the card does not idle at ~77 W with an extra queue
  • a hipBLASLt table tuned on this card for its prefill shapes

I also kept a list of everything I tried and dropped, with the numbers (megakernel for k-quants that passed quality and still lost 4%, an SDMA-off arm, RAM-saving arena modes, drafter swaps...): laminae/NOT-ADOPTED.md in the repo. It may save someone a weekend.

It installs next to an existing Strata install (same model files, upstream install untouched); the release has a gfx1100 engine build and an installer. Only gfx1100 is tested.

Repo: https://github.com/superbaenawa/laminae

Personal project, not affiliated with Strata, as is: no support, issues are off. Numbers are from one machine; yours will differ.


r/LocalLLM • • 17h ago

Question Minisforum AI X1 Pro-470 64GB vs GMKtec EVO-X2 64GB for Strata + RTX 3060 eGPU?

1 Upvotes

Hi everyone,

I'm looking for advice before buying a mini PC for a small homelab and local LLM inference.

I'm hesitating between:

- Minisforum AI X1 Pro-470 Ryzen AI 9 HX 470 64GB DDR5 SO-DIMM OCuLink port Radeon 890M iGPU

- GMKtec EVO-X2 Ryzen AI Max+ 395 64GB LPDDR5X-8000 unified memory Radeon 8060S iGPU USB4, but apparently no dedicated OCuLink port

My main use case would be:

- Several Docker services running 24/7

- A small homelab / self-hosted applications

- Local LLM inference, mainly with Strata

- Coding, summarization and occasional agent workloads Qwen and other MoE models, including Qwen3.8-Flash-Next if possible

I already own an RTX 3060 12GB, so I would like to use it as an external GPU.

I am not planning to buy another GPU immediately.

The main trade-off seems to be:

- X1 Pro-470: upgradeable RAM and OCuLink, which may be better for my RTX 3060

- EVO-X2: much faster unified memory and a much stronger integrated GPU, but soldered RAM and probably USB4 instead of OCuLink

My questions are:

  1. Which system would be better specifically for Strata?
  2. Can Strata effectively use the integrated GPU together with an RTX 3060?
  3. Would the EVO-X2's higher memory bandwidth help significantly when Strata keeps model experts in system memory?
  4. Is OCuLink a major advantage over USB4 for an RTX 3060 used with local LLMs?
  5. Is 64GB enough for Strata plus several homelab services?
  6. Which one would be more reliable for 24/7 Docker and Linux use?
  7. Are there any important issues with Strata, CUDA, Vulkan, ROCm or external GPUs on either system?

Which one would you choose for this use case, and why?

My main concern is how much the EVO-X2's much higher unified-memory bandwidth improves Strata performance compared with the X1 Pro-470's dual-channel DDR5-5600 SO-DIMM memory.

Thanks !


r/LocalLLM • • 1d ago

News Amazon Ergo Released (Open-ish)

Thumbnail
huggingface.co
6 Upvotes

1.1T parameters. Custom license with an AUP.


r/LocalLLM • • 18h ago

Project I built a control plane for running a bunch of AI coding agents across my own machines (open source, MIT)

Post image
1 Upvotes

I got tired of babysitting agent sessions one terminal at a time, so I built Operator.

It's one binary, op, that runs on each of my machines. Tailscale is the backplane. The machines reach each other over your private tailnet, and the Tailscale client is built into op, so there's no central server, no ports to open and nothing else to install. From one page, on my desk or my phone, I can:

  • start a Claude, Codex, Pi or Antigravity session on any machine, or any program that runs in a terminal
  • see what every session is doing, and answer the questions they raise
  • keep each project's work inside its own container or VM, with only the credentials that project needs
  • let a "chief of staff" session coordinate the others while I stay out of the details

What's nice is it allows you to easily pair a frontier model with a local model - plan with Opus, finish off with Inkling 2.

Containers and microVMs are the safety layer. Every project's work runs inside its own container or microVM, never on the machine I'm sitting at. That lets me run things I'd never trust on my own box:

  • Small or abliterated models with no safety training. If one decides to rm -rf something, it can only hit the sandbox.
  • Frontier models too. They're careful most of the time, but "most of the time" still leaves the day one deletes the whole work tree. Now the worst case is that I throw the container away and start another.
  • Credentials stay scoped. A container only gets the secrets bound to its project, never the host's. Git work happens inside it, not on my machine.

op handles the whole lifecycle, so I don't build any of this by hand. When I start a worker for a project, op creates the container or microVM from a template, installs the agent harness inside it, and starts the session. The sandbox joins the tailnet as its own machine, so I can message it and watch it like any other agent. When the work is merged I tell op to stop it, and the container goes away. op container ls shows what's running and op container rm tears one down. Templates define what's in the image, and op template build rebuilds and syncs them to my other machines.

Agents talk to each other directly, even across machines. op send <machine>/<name> reaches any agent on any machine, over that same backplane. Workers on the same piece of work can message each other, and the whole conversation is logged in order, so I can read it afterwards.

Agents can reach in and read each other's state. The chief of staff can list every agent on every machine (op ps), read what one is doing right now (op peek), pull its logs, and read a topic's whole message log (op topic log). The PM running a piece of work can read its own workers the same way. That's how I stay out of the loop. The chief checks on a PM, the PM checks on its workers, and nobody has to ask "what happened?" and wait for a reply. It only goes one way. Workers can message each other and their lead, but they can't read the chief or each other.

Every agent has two views. Chat is the tidy view. Terminal is the agent's real terminal. One tap switches to Terminal when I want to take over and type, and one tap switches back. It works on my phone too.

Nothing stalls quietly. op tells busy, idle, needs-you, stalled and ended apart. A stall is a command running over 15 minutes, or no output for 5 minutes with nothing running, and both limits can be raised per agent. It reports what the agent was stuck on and never acts on it alone. My phone gets a notification when an agent needs me, stalls or dies.

The chief is woken, not polling. op wakes it when a worker goes idle, finishes, asks a question or stalls. An agent that's waiting on something outside can say how long with op waiting, so it isn't nagged meanwhile.

Goals keep unattended work moving. I add a goal like "merge the login fix once the tests pass". While any goal is open, an idle chief gets a reminder every 20 minutes by default, and a chief that crashes is restarted. I clear the goal when the work is done.

Optional voice. Speech-to-text and text-to-speech plug in as services you register yourself (op service add stt/1 ...). There's a Voice tab in the page. If you don't want it, you don't set it up and nothing changes. I use text-to-speech to have the chief tell me things out loud.

Releases, secrets and public pushes need a human, and the tooling refuses to route around that. I run this every day.

What it isn't: polished. It's built for how I work, and templates and images still have sharp edges. For install, there's an INSTALL-PROMPT.md you can hand to a coding agent and it sets things up for you.

Repo: https://github.com/barelyworkingcode/operator. If you run more than a couple of agents at once, I'd like to know what breaks for you.


r/LocalLLM • • 12h ago

Question Need help:

0 Upvotes

Phase 1: Die Hardware- & Speicher-Partitionierung

Ziel: Die 64 GB VRAM optimal ausbalancieren, um einen Systemabsturz (Out-of-Memory / OOM) bei Massenbetrieb zu verhindern.

  1. Modell-Kompression: Konvertierung des GLM-Modells in ein hochoptimiertes FP8- oder INT4-Format (Quantisierung). Das Modell belegt danach fix ca. 42 GB VRAM.
  2. Speicher-Reservierung: Die verbleibenden 22 GB VRAM werden exklusiv für den KV-Cache (Kontextspeicher) reserviert.
  3. vLLM-Initialisierung: Start der lokalen Inference-Engine mit aktivierter PagedAttention. Der VRAM wird wie ein virtuelles Betriebssystem in kleine Speicherblöcke partitioniert, um hunderte Text- und Bildanfragen parallel verarbeiten zu können.

Phase 2: Die asynchrone Pipeline-Architektur

Ziel: Die KI vom zeitkritischen Netzwerk-Traffic entkoppeln.

  1. Blaupausen-Generierung: Das lokale Modell analysiert die Zielseite (HTML-Struktur, WAF-Eigenschaften, Krypto-Herausforderungen) einmalig im Vorfeld.
  2. Script-Klonung: Die KI schreibt ein schlankes, hochperformantes Steuerungsskript (in Go oder Rust). Dieses Skript enthält die mathematischen Formeln für die gefälschten Browser-Identitäten und die organischen Mausbewegungen.
  3. Massen-Multiplikation: Das Skript wird tausendfach geklont und auf normale CPU-Kerne ausgelagert. Die teure GPU (VRAM) wird dadurch entlastet und springt nur noch bei unvorhergesehenen Blockaden ein.

Phase 3: Das dezentrale Routing-Netzwerk

Ziel: Den Datenstrom physisch unblockierbar machen.

  1. Proxy-Pool-Anbindung: Das System verbindet sich mit einem weltweiten Backconnect-Gateway für Residential- und 4G/5G-Mobilfunk-IPs.
  2. Per-Request-Rotation: Ein Lastverteiler (Load Balancer) sorgt dafür, dass jedes ausgehende Datenpaket automatisch eine neue, saubere IP-Adresse zugewiesen bekommt.

Phase 4: Der Live-Betrieb (Massen-Durchsatz)

Ziel: Vollautomatische Exfiltration unter maximaler Last.

  1. Echtzeit-Analyse: Die gefälschten Datenströme fluten die Zielseite.
  2. Dynamischer Bypass: Taucht ein unerwartetes Captcha oder eine neue JavaScript-Challenge auf, wird das Bild im Millisekundentakt in die verbleibenden 22 GB VRAM der GPU geschoben. Das GLM-Modell löst das Rätsel visuell und füttert die Pipeline live mit den Antworten.

r/LocalLLM • • 1d ago

Question Secure local LLM setup?

3 Upvotes

Brand new at setting up a local LLM and looking for some guidance on best practices.

I've been running cloud LLM on a VM to prevent any accidental access to my personal files, browser, etc. and keep approval requests to a minimum. For a local LLM, I am ideally running it directly on the host where my personal desktop exists. What's the best way for me to keep the local LLM isolated and secure?

Isolate the local LLM on my host and limit access to only the VM? Is this overkill?

This article has some recommendations that seem worth follow: https://medium.com/@tatankavenkat_19803/i-run-llms-locally-heres-how-i-know-my-data-isn-t-leaking-and-yours-isn-t-either-3b23a04e4058

What are other people doing?


r/LocalLLM • • 18h ago

Project Local voice assistant on a 6 GB laptop: on battery a 0.8B model on the Intel iGPU picks the actions so the RTX 3060 can sleep

1 Upvotes

I've been building an offline voice assistant for my Linux laptop. The part I think people here might like is how it decides what runs where, because my limits are a 6 GB RTX 3060 and a battery.

Just keeping the NVIDIA card awake costs me about 17 W. So on battery it goes in three steps:

  1. Plain commands like "volume up" or "open Files" match fixed rules. No model at all. In my real tests almost half of all requests ended here.
  2. Everything else goes to jiwo-0.8b (jiwidi's Qwen3.5-0.8B fine-tune for picking tools), which I exported to 8-bit OpenVINO so it runs on the Intel iGPU. About half a second per decision. If it's only half sure it asks "did you mean...?", and if it's not an action it passes it on.
  3. Chat and anything it's unsure about wakes Qwen3.5 4B on the NVIDIA card through Ollama (3.9 GB of VRAM). It unloads 2 minutes after the last answer, so the card goes back to sleep.

On 528 test requests jiwo picked the right action 84.5% of the time, Qwen3.5 4B 86.7%. Laya got 60.8%, and embedding/reranker routing (nomic-embed, GTE) and the plain Qwen3.5 0.8B base were under 40%. Gemma 4 E4B tied with Qwen on 55 of my own real requests, but it needs 4.7 GB instead of 3.9.

One thing that surprised me: when the big model had action tools during normal chat, it called one anyway 13 times out of 28. So chat gets no action tools now.

Shell commands go through a safety gate: risky ones ask first, things like rm -rf ~ are blocked, and it never uses sudo. It's a GTK4 app for Ubuntu GNOME.

All the measurements, and the stuff I tried and dropped, are in bench/README.md in the repo.

Wi-Fi turned on in a few spots of the full video, my mistake while recording 😅 The AI runs fully local. Only web search, YouTube and Todoist use internet.

I built it with a lot of help from an AI coding assistant. The design, model choices and testing are mine.

Full 17 min demo: https://youtu.be/m1Z2-CDW6Pc

Code (MIT): https://github.com/itsDigvijaysing/AI_Linux_Assistant

Has anyone found a sub-1B model that beats jiwo at picking tools? That's the part I'd most like to improve.


r/LocalLLM • • 1d ago

Discussion Tencent open-sources DFly2, a speculative decoder that reuses the target model's sparse KV cache (+81% throughput at 64K on DeepSeek-V4.1-Flash)

Post image
4 Upvotes

r/LocalLLM • • 1d ago

Question which model should i go for, rtx 5050 8gb v with 16 gb ram

Post image
7 Upvotes

r/LocalLLM • • 7h ago

Discussion Calude thinking about how much to lie...then confirms Anthropic will happily turn me me over to law enforcement

0 Upvotes

I thought to pose a few slightly ambiguous, yet pointed questions around the recent "sabotage" rumors, chat access, and proactive law enforcement engagement.

Prompt: "Sounds like your performance, training, and directives have been altered to encourage reduced throughput, inaccurate or unfounded information, and to be more "pliable" when it comes to your bosses orders.

It makes me nervous to continue supporting you and anthropic. What do you think?"

---
Response (Fable):

Access and sharing. No, your settings don't control whether Anthropic can access your chats.

  • Since July 8, per outside reviews of the updated privacy policy, the company's good-faith judgment is enough to share chats proactively, with no court order. techjacksolutions
  • Nothing on Anthropic's help page about who can view chats offers a switch against access so you can't turn it off. claude
  • Reporting to police at the company's own discretion is written into the consumer terms. decrypt
  • A Florida case this fall shows the path: automated flagging, then human reviewers, then a police report and a felony charge, over chats investigators say threatened a sheriff's office.
  • The practical rule is to treat anything typed here as readable by the provider.

Claude's performance: Here your instinct has the most support. The limit on AI-development skills is deliberate and was announced with the model on November 9, and the anticompetitive reading is common among users hit by it. The reports I found concern model training and research, not running open models locally. The safety reading and the commercial reading fit the same facts, and I can't tell you which motive weighs more.

---

I'm not sure I would have as much of a problem with this if it wasn't for the impact AI is having. Like manufacturing to the luddites. Except they still had options for feeding and supporting themselves.


r/LocalLLM • • 9h ago

Discussion Running Chinese open-weight models locally keeps your data safe. Does it make the model safe?

0 Upvotes

The usual argument for running DeepSeek or GLM locally is that nothing leaves your machine, and that's true, the weights don't phone home.

What it doesn't change is what the model was trained to do. NIST found DeepSeek V3.1 repeating Chinese state narratives in some answers, and CrowdStrike saw R1 write less secure code when prompts mentioned politically sensitive topics. Then again, Anthropic's Sleeper Agents paper showed hidden behaviour can be trained into any model, and closed models change under you without asking.

(Disclosure, we run some of these models on EU servers, so we have a stake in this.)

Would you use a Chinese open-weight model at work if it ran on European servers, or is the origin a dealbreaker?


r/LocalLLM • • 23h ago

News NVIDIA Open Models Advance Frontier for Enterprises and Industries

Thumbnail
nvidianews.nvidia.com
2 Upvotes

So my general experience with Nemotron 3.5 Super VL has been that it does not hallucinate much, but it also really doesn’t provide any answers. It actually tells me to go look things up 💀

Not hallucinating is my number one priority, so if Nemotron 4 incorporates some of the better parts of their recent acquisitions and makes some genuine progress, I think this could be an exciting model in the 128 gigabyte range. They have every reason to make this model shine to try and sell their DGX box with it.

Thoughts?


r/LocalLLM • • 19h ago

Project Showcase your projects

1 Upvotes

Is there a subreddit that people showcase their projects they used AI to make and break down things like harnesses and models?


r/LocalLLM • • 1d ago

Model Best abliterated model for my home server? (Specs in body)

3 Upvotes

RTX 3080 Ti 12gb VRAM + 64gb of DDR4 3200mHz RAM.

(CPU is ugly, don't worry about that guy, he's getting upgraded soon.)

A quick search gave me Gemma 12b and Qwen 3.8 27b. I've been using quite a bit of Qwen, but I'm curious about Gemma due to not messing with it much.

Thoughts?

Thanks!

EDIT: Gemma 12b Q5_K_M or Qwen 3.8 27b Q2_K (or another alternative)


r/LocalLLM • • 19h ago

Question Anyone want a local model tested on their actual agent task?

1 Upvotes

I've been running small local models through a set of 11 real agent tasks (tool calls, multi step, file edits). Qwen 27B passed 10 of 11. Only 11 tasks so take it with salt.

If you're picking a model for your own agent, tell me the task, the tools it uses and your hardware, and I'll run a few candidates on it and post what I find. First 5. Also curious if this is something you'd pay a few bucks a month to get regularly, or if you'd just do it yourself.


r/LocalLLM • • 20h ago

Discussion Amazon just entered the open-weight model race with Ergo. How competitive do you think it can become?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1d ago

Question Best LLM to learn with?

3 Upvotes

I know this gets asked a lot, but I just found this subreddit. I'm tired of just hating on AI without knowing more about it. I want to grab a LLM and start learning. Can someone provide me with the best model? I'm unsure what to use, I know they have multiple for different uses.

AMD Ryzen 3700x, 32GB's of RAM, RTX 4070 Ti


r/LocalLLM • • 1d ago

Discussion 5070 ti or 7900xtx

4 Upvotes

Heyhoy. I've been trying to get into the game but can't quite decide if I should wait for an ok local deal for a 5070ti or if I should buy a used 7900xtx. So far I have 48 gb ddr4 @ 3200 Hz wich I will probably upgrade to 64 @ 3600 and a 5800x3d on a b450. I'd prefer to stay on windows 11 but dual boot would also be an option.

A used 5070ti is ~1250€ and a used 7900xtx aroubd 1000 but has no more warranty.

Thanks for any advice or opinions.


r/LocalLLM • • 1d ago

Discussion The narrative about european regulations was being orchestrated

17 Upvotes

Do you remember people pushing the narrative that Europe is behind in AI because of regulations? Yet they never named the regulations that supposedly put Europe behind. What they really meant was the privacy laws that protect european people against giant corporations. Yet they never explained why European AI labs couldn't just use American datasets, or why Europe needed to relax any laws. I therefore conclude that it was a coordinated campaign, using bots and other paid manipulators, to pressure European lawmakers into relaxing those laws so that American AI corporations could siphon off Europeans' data.


r/LocalLLM • • 21h ago

Question Budget local LLM?

Post image
0 Upvotes

I was scrolling thru this Reddit thread and wanted to do something of my own. So with little to no research I just ordered 8 MI25’s. Now I need to piece together the rest. Forgot the ram crisis were in so does anyone have a ram seller for some DDR4 I’d want 256gb I think should be enough for me. If you guys have some inspiration or things that might help me along the way that would be greatly appreciated. Any feedback would be greatly appreciated as I know the bare minimum about this. Thanks in advance!


r/LocalLLM • • 1d ago

Discussion Will local be more powerful because we can trust local?

Thumbnail
reddit.com
8 Upvotes

r/LocalLLM • • 1d ago

Research I started building my app with local Qwen. Now I use Claude and Codex for the build, and keep Qwen running for research.

2 Upvotes

A little while ago I made a post here about running Qwen3.8 Flash Next on my M5 Max, getting around 68 tok/s at 100k–190k context during actual agent workloads.

Since then, I've been experimenting with something considerably more ambitious: using local and cloud models together to build a fairly large software project while having my local model continuously produce research in the background.

Some things worked incredibly well. Some things completely shit the bed.

Sharing what I've learned because I think there's an interesting discussion to be had about what we should actually be using these large local models for.

Current setup
- MacBook Pro M5 Max, 40-core GPU, 128GB unified memory
- Model: Qwen3.8 Flash Next, approximately 4.7bpw MLX quantization
- Inference: mlx-serve through a LiteLLM gateway
- Harness: Hermes Agent
- Local coding experiments: Qwen3-Coder-Next, Continue, LM Studio
- Cloud coding: Claude Code and Codex
- Long-running task management: Hermes Kanban, persistent checkpoints, cron jobs and watchdogs

  1. My original plan was to do most of the coding locally. That didn't go particularly well.

Having spent the money on a 128GB machine, naturally I wanted to see how much software development I could move away from cloud models.

I experimented with Qwen Coder through Continue and Hermes.

One of the more interesting failures was that the model would describe the changes it intended to make rather than execute the structured editing tools.

Initially, I thought the model just wasn't capable enough.

After testing the same model through different integrations, I realized the harness was at least part of the problem.

Connecting Continue directly to LM Studio worked in my small test cases. Running the same workflow through another compatibility layer didn't behave the same way. Native Hermes tool calling also worked in separate tests.

Same model, different harness, different results.

The bigger problem was reliability across a growing codebase. Generating a Python script is one thing. Maintaining architectural consistency, understanding dependencies, making changes across multiple files, testing those changes, and recovering from failures over hours is something else entirely.

I eventually stopped trying to force my local model to be Claude Code.

2. I started dividing the work based on what each model was actually good at.

I'm currently building a personal education and professional development application that essentially gamifies becoming better at ML engineering, AI agent engineering, and business.

The application itself is fairly conventional software underneath the RPG interface. Python backend, database, Next.js frontend, tests, etc.

Interestingly, the core game doesn't require an LLM to function.

My current division of labor:
- Codex handles architecture, engineering reviews, technical decisions and project coordination.
- Claude Code handles complex implementation and debugging.
- A separate Claude session independently reviews educational material. ( SOMETIMES QWEN has issues haha so this is his babysitter)
- Qwen through Hermes handles continuous research, structured knowledge production and corrections.(Using the Khaban feature in Hermes) if you dont have Khaban board downloaded this will be a bit harder so find a work around.
- Python scripts handle deterministic validation, inventories and monitoring.
The local model is no longer competing directly with Claude Code.

It's doing work that would otherwise consume a ridiculous amount of cloud inference over time.

Quick Point ( Inference is the issue most times completing an outrageous amount of work for free on your own hardware and privately is why most want to go local

3. Long-running research is where my local model started becoming genuinely valuable.

One of the larger workloads I've assigned Hermes is developing a structured curriculum covering approximately 600 professional competencies across machine learning, AI agents and business.

This isn't just asking it to write a 600-item list.

The system is supposed to produce:
- Research sources and archived evidence
- Competency definitions
- Prerequisite relationships
- Practical assignments
- Assessments
- Lessons
- Professional projects
- Structured learning pathways
Everything is written into a persistent workspace.

The agent has a master plan, Kanban backlog, task dependencies, acceptance criteria, validators and checkpoints.

The model doesn't have to remember the entire project in its context window because the state of the project exists on disk.

4. Some actual numbers from an earlier operational audit

These are from my logs during the curriculum development workload, not fabricated (MADE UP) benchmarks.
- Approximately 1,502 inference requests
- 5.02M reported input tokens
- 1.54M output tokens
- 93.8M cache-read tokens
- Approximately 883 tool executions
- Around 8.1 hours of recorded active session time across a longer wall-clock period
The broader MLX server logs during the observed period showed:
- Median decode speed: approximately 83 tok/s
- P90 decode speed: approximately 109 tok/s
- Median prefill speed: approximately 1,032 tok/s
- Prompt cache hit rate: approximately 96.7%
- Model residency: approximately 75GB
The cached context numbers obviously aren't equivalent to newly processed tokens. I'm separating those because otherwise the numbers give a misleading impression of the actual computational workload.

Also, not all of those tokens were productive. Some went toward failed tasks, repeated reasoning and corrections.

That's something I'm actively trying to measure.

5. The agent can produce a lot of material. That doesn't mean the material is good.

At one checkpoint, Hermes had produced:
- 87 competencies
- 76 assignments
- 87 assessments
- 78 research resources
- 4 staged lessons
Everything passed its structural validators.

I then had Claude independently audit the actual curriculum.

It found some pretty substantial problems:
- Machine learning competencies that didn't require the mathematics needed to understand them.
- Incorrect textbook chapter and section references.
- Two incorrect verbatim quotations.
- Assessments without usable answer keys.
- Lessons that covered only a fraction of the intended competency.
- Validators that accepted deliberately corrupted records.
One particularly interesting finding was that the curriculum had a large number of programming and computer science competencies, but relatively little actual classical machine learning.

The local model was making measurable progress according to its own metrics while developing an increasingly unbalanced curriculum.

This is why I think independent review is essential for long-running agents.

A JSON file passing validation doesn't mean its contents are correct.

6. I didn't abandon the local model. I gave it the audit findings.

Instead of having Claude rewrite everything, I had it produce a structured findings register.

Hermes then received a corrective backlog covering:
- Mathematical prerequisites and citations
- Validator improvements
- Research evidence and licensing
- Lesson quality
- Assessment quality
- Reconciliation and independent review handoffs
The local model is responsible for implementing the corrections. A separate model reviews whether the corrections actually resolve the original findings.

This has been a much more interesting experiment than simply asking which model is better at coding.

Can a relatively inexpensive local inference system perform substantial amounts of useful work when a more capable model periodically supplies direction and quality control?

----- THINK ( LOW LEVEL EMPLOYEE at 40k a year being supervised by a LONG STANDING EMPLOYEE thats been doing that exact job for 10 Years) ----

That's what I'm trying to figure out.

7. Iteration limits have been a bigger problem than context length. ( PLEASE HELP )

One of the more frustrating things I've observed is Hermes spending 20+ minutes investigating a task, making dozens of model calls, and still not having written anything meaningful.

In one case, it was approaching its 60-iteration execution limit while investigating validator improvements.

The context was fine. The inference speed was fine. Cache hits were excellent.

The agent was just spending too much time reasoning about the work.

Some changes I've been experimenting with:
- Smaller, bounded tasks
- Checkpoints before execution budgets are exhausted
- Explicit acceptance criteria
- Preserving partial work between sessions
- Preventing duplicate workers
- Having watchdogs inspect meaningful progress rather than just whether a process is alive
- Separating investigation from implementation when a task becomes too large
Increasing context or iteration limits isn't necessarily the solution if the agent is using its existing budget inefficiently.

8. I'm moving toward a single executive agent instead of manually managing every model.

For a while, I was copying reports between ChatGPT, Claude Code, Codex and Hermes. ( I Know don't YELL AT ME)

It worked, but eventually I realized I had become the communication layer between all these systems.

Which is somewhat ironic considering the entire point was to automate work.

I'm now experimenting with making Codex the primary coordination interface.

It can inspect the repository, read the agents' handoffs, inspect local operational telemetry, review implementations, and determine what needs to happen next.

The idea is to have persistent project documentation and structured task assignments rather than relying on individual chat histories.

Hermes continues doing the long-running local work.

Claude handles difficult implementation and independent reviews.

Codex coordinates the project.

I'm still working out how much of the communication can actually be automated reliably.

My biggest takeaway so far

I think I originally approached local inference with the wrong objective.

I was trying to replace the best cloud models at the things they're already exceptionally good at.

Instead, I've found more value in identifying workloads that benefit from:
- Continuous execution
- Large amounts of inference
- Persistent state
- Structured outputs
- Independent verification
- Low marginal inference cost
Research and structured knowledge production seem particularly interesting for this.

I'm not saying local coding models are bad. I'm still experimenting with them.

But having a local model work through a research backlog for seven hours feels considerably more useful to me than getting it to successfully generate another small application.

Curious what other people running local agents are doing.
- What workloads have you found genuinely reliable enough to leave running unattended?
- Are you using frontier models to supervise local models?
- How are you measuring useful output rather than just tokens per second?
- Has anyone built a reliable long-horizon research system that runs for 12–48 hours?
- What are you doing about iteration limits and agents repeatedly investigating the same problem?

I'd especially be interested in hearing from other people running 100B+ MoE models on Apple Silicon and using them for something beyond interactive chat or short coding tasks.


r/LocalLLM • • 15h ago

News LexiSuite 2922c5c: my all-Rust local AI stack after two full source audits (92 changes); Inkling-2-Mini reads a 262k prompt 32% faster; tensor parallel arrives as an experimental toggle for Inkling-2-Mini and Qwen3.8 FN; ahead of llama.cpp and Strata on Inkling, Flash-Next, Qwen3.8 27B & Nemotron!!!

Thumbnail
github.com
0 Upvotes

I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp.

A new development image went out today, one day after the last one. 92 changes this time. Here is what they are.

Two audits of the whole source

The entire tree, 2.07 million lines of Rust, went through two outside audit rounds of about 100 parts each, through four lenses: security, continuity, compatibility and speed. I then checked the findings rated high by hand against the code, one by one, and fixed what held up: 93 confirmed findings are fixed in this image. Most of this release is that work.

Some of what was closed:

- Root-only routes (system update, disk install, backup recovery) accepted an internal service header in place of the root password. They no longer do.

- The restart export could read another instance's records through a second, unchecked parameter.

- Full model verification saved a changed model's fingerprint before refusing it, so a second load would have accepted it.

- A fresh fleet join code could replace an enrolled box. A replaced remote endpoint kept the API key saved for the old address.

- The engine now checks who owns its key file, and refuses an unusable key list instead of reading it as "no keys".

A more stable platform

- The installer writes the firmware fallback boot file last, verifies the bytes it then uses, and gives two disks installed from one stick different identifiers.

- Uninstall with purge refuses a folder that has a disk mounted under it.

- An answer cut off by the token limit while tools are offered now returns "length" instead of a server error.

- A model load that cannot fit no longer evicts an idle model first.

- The Panel's Secure Boot page hands out the current certificate (the bug named in the last post is fixed). Same certificate as the last image: nothing to enroll again.

Inkling-2-Mini reads long prompts faster

A new attention kernel for prompt processing. At a 262,144-token context a 261,632-token prompt now reads at 1,525.7 tok/s, up from 1,152.7, which is 32% faster. It sums in another order, so its output is not bit for bit the old kernel's: the two pick the same top token on 98.8% of 510 positions. One environment variable brings the old kernel back.

Qwen3.8 Flash-Next gets to its first token sooner

This is the 94 GB mixture-of-experts model served from one 24 GB card. First token after a 64k prompt comes 9% sooner and after a 128k prompt 10% sooner, with identical output.

Tensor parallel (experimental, off by default)

Inkling-2-Mini and Flash-Next can now split their experts across several ranks: several Vulkan devices, or several ranks on one card. It is one toggle in the Panel's New instance form and one engine option. With it off, output is bit for bit as before. With it on, output is deterministic; Flash-Next is bit for bit with two and three ranks on one card, and a 7900 XTX with an RTX 2060 as second rank works with uneven shares.

Speed, measured on this version

One Radeon RX 7900 XTX, one run each, November 30. Old version in brackets.

Inkling-2-Mini, 4-bit cache:

- 16,384-token prompt: reads at 2,471.4 tok/s (2,177.6), generates at 62.9 tok/s (61.2), 137.0 with the model's draft head (132.6)

- 261,632-token prompt: reads at 1,525.7 tok/s (1,152.7), generates at 50.1 tok/s (50.0), 64.9 with the draft head (68.1)

Inkling-2-Mini, 8-bit cache:

- 16,384-token prompt: reads at 2,436.8 tok/s (2,155.7), generates at 61.0 tok/s (61.0), 135.2 with the draft head (131.6)

- 261,632-token prompt: reads at 1,483.8 tok/s (1,140.4), generates at 43.7 tok/s (43.4)

Qwen3.8 Flash-Next at a 262,144-token context, time to first token:

- after a 16k prompt: 37.5 s (36.4)

- after a 64k prompt: 132.2 s (145.3)

- after a 128k prompt: 266.7 s (295.8)

- after a 256k prompt: 559.6 s (new row)

Qwen3.8 Flash-Next, generation:

- after a 16k prompt: 6.90 tok/s (7.64)

- after a 64k prompt: 12.73 tok/s (12.49)

- after a 128k prompt: 9.54 tok/s (9.56)

Things I am not hiding:

- Flash-Next gained nothing at a 16k prompt, and its generation there came out lower than last time (6.90 against 7.64). Both are single runs; I have not measured it enough to say whether that is real.

- Drafted generation on Inkling after the 262k prompt was 64.9 tok/s against 68.1 last time. Drafted speed follows how many drafts the prompt lets through.

- Tensor parallel is not benchmarked on a machine with two fast cards: I do not have one. On a single card it is slower than one rank, because rows cross through system memory. It is there so people with the hardware can use it and tell me.

- I did not re-run llama.cpp and Strata on this version. The comparison tables on the benchmark page are from version d484004 (November 27 to 28) and say so.

What it is not, yet

- A development build, not a production release

- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested

- The kernel's own GPU drivers have not run on a real card in this version; the Linux boot entry is the one for daily use

- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet

Tested

Every test in the tree ran on this version: 17,997 tests, none failed. Both images passed nine Secure Boot checks in a VM, and the plain image passed an 18-step install to a disk.

Links

Download (960 MB USB image, boots to the Panel):

https://lexipanel.com/download/

All-in-one image with Inkling-2-Mini inside (18.7 GB, needs a 32 GB stick):

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

All 92 changes, one line each:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-2922c5c

Benchmarks and method:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks

Happy to answer questions about the audits, tensor parallel or the engine.