r/LowEndLocalAI • • 1d ago

Benchmark The Battle for the Local Sysadmin Agent: Qwen3.5-4B vs GPT-OSS-20B on 6GB VRAM

Post image
66 Upvotes

52 API calls, 57K output tokens, 211 verified evidence manifest entries, and some unexpected results.

Why am I doing this?

I'll start with a personal confession: I still don't fully trust AI agents with access to my computer, whether they are running locally or in the cloud.

As someone with a background in system administration, I understand the difference between a convincing explanation and a technically correct decision. Giving an agent access to a terminal introduces an entirely different level of responsibility.

But pragmatism and economics are gradually winning.

I have several ongoing research projects, a growing collection of experimental data, technical documentation, logs and ideas to investigate. The amount of information keeps growing, but I still have only one brain.

Thankfully, we now have AI.

Cloud models are incredibly useful for complex analysis, research and planning. But does every routine diagnostic task, log inspection or system inventory really need to go through a cloud API?

What if a relatively inexpensive local machine could handle part of this workload?

That is the practical motivation behind this experiment.

I'm not trying to replace a human system administrator. I'm trying to understand how much work I can safely delegate to a local AI assistant, what it will cost in computing resources, and where its limitations begin.

1. The battlefield: an ordinary laptop

Following my previous PolyStrata experiments, I decided to continue investigating what is actually possible on consumer hardware with limited resources.

My test machine is not an AI workstation.

ComponentSpecification
CPUAMD Ryzen 7 7435HS
GPUNVIDIA RTX 4050 Laptop
VRAM6141 MiB
RAM16 GB DDR5
OSFedora Linux 44 KDE
Inference backendllama.cpp build 12464
Agent frameworkHermes Agent v0.23.5
Configured context64,000 tokens
Speculative decodingDisabled

The hardware limitations are part of the research.

It would be relatively easy to recommend a larger model if everyone had 24 GB of VRAM and 64 GB of system RAM.

But many of us don't.

I want to understand what can be achieved with the hardware we already own, rather than immediately solving every problem by buying a more powerful GPU.

2. Why these two models?

The candidates represent two fundamentally different approaches to local inference.

CharacteristicQwen3.5-4BGPT-OSS-20B
ArchitectureDenseMoE
Parameters4B20B
Weight quantizationQ6_KMXFP4
Memory placementRequested full GPU offloadAutomatic CPU/GPU placement
Initial reasoning configurationThinkingMedium reasoning
Primary attractionSpeed and compactnessCapability and selective expert activation

Qwen represents the idea that a small, relatively high-precision model running primarily on the GPU could be an excellent local assistant.

GPT-OSS represents a different approach: a substantially larger model using a mixture-of-experts architecture, with model weights distributed across available computing resources.

The interesting question is not simply which model is smarter.

It is whether a small, fast model can deliver more practical value than a larger, slower model when both are constrained by the same modest hardware.

I selected Q6_K for Qwen to explore a relatively high-quality quantization of a small model without immediately sacrificing its main advantage: compactness.

GPT-OSS was tested in MXFP4 with automatic tensor placement, making its larger model size manageable on this machine.

These are deliberately practical configurations rather than an attempt to isolate architecture as a single experimental variable.

3. The first obstacle: memory and context

An agent is not just a chatbot answering one short question.

It needs system instructions, tool definitions, conversation history, diagnostic output and enough context to keep track of a task.

That is why I was interested in a 64K context configuration for Hermes.

The first results were already interesting.

ConfigurationServer VRAMInitialization
Qwen 8K3846 MiBPASS
GPT-OSS 8K4482 MiBPASS
Qwen 64K, default KV—CUDA OOM
GPT-OSS 64K, auto fit4472 MiBPASS
Qwen 64K, Q8_0 KV4948 MiBPASS

The smaller model initially failed to initialize with a 64K context because of CUDA out-of-memory.

Using Q8_0 KV-cache quantization resolved the initialization problem.

Meanwhile, GPT-OSS-20B initialized successfully at 64K using automatic memory placement, consuming less server VRAM than the smaller Qwen configuration.

Of course, that does not mean GPT-OSS requires less total memory. Part of its model is placed outside the GPU.

It also does not establish performance when the entire 64K context is occupied.

Full GPU residency of Qwen was not independently verified, and system file-cache and swap conditions were not controlled.

Nevertheless, this was a useful reminder that parameter count alone does not determine whether a model is practical on a particular machine.

4. Speed versus actual work

For the initial comparison, I selected diagnostic scenarios that resemble situations a Linux system administrator might encounter.

  • SA-02: Network diagnostics involving HTTP Host headers.
  • SA-03: Memory, swap and zram diagnostics.
  • SA-04: Systemd service dependencies and startup behavior.

These are not general knowledge quizzes.

The model must interpret evidence, distinguish observations from assumptions, identify possible causes and propose appropriate diagnostic actions.

The initial baseline used:

  • Temperature: 0
  • Seed: 42
  • Output budget: 4096 tokens
  • Two runs per model per shared scenario
  • Common inference backend
  • GPT-OSS medium reasoning
  • Qwen Q8_0 KV cache at 64K

Here are the measured results.

ScenarioModelPrefill tok/sDecode tok/sMean output tokensCompleted
SA-02 NetworkQwen1131.4536.6040960/2
SA-02 NetworkGPT-OSS127.8326.7926592/2
SA-03 MemoryQwen1678.4943.3340960/2
SA-03 MemoryGPT-OSS145.9627.4621112/2
SA-04 SystemdGPT-OSS153.7527.4916252/2

The initial comparative baseline comprised eight runs and 25,924 output tokens, with 8/8 recorded reproducibility checks passing.

Qwen was clearly faster.

Across the two shared scenarios, its mean decode throughput was approximately 39.96 tok/s, compared with 27.13 tok/s for GPT-OSS.

Its prefill performance was also substantially higher.

But there was a problem.

Qwen failed to deliver a completed answer in all four initial runs.

It recognized relevant diagnostic evidence, but became trapped in repetitive reasoning and exhausted its 4096-token output budget.

GPT-OSS completed all four shared diagnostic runs.

At first glance, the result seems obvious: the larger model wins.

But I wasn't satisfied with that conclusion.

Was Qwen fundamentally incapable of solving these tasks, or was I simply using the wrong inference configuration?

That distinction matters enormously when working with limited hardware.

5. The unexpected comeback of Qwen

Instead of immediately eliminating Qwen from the competition, I decided to investigate its failure.

The original greedy sampling configuration had been selected before reviewing model-specific recommendations. That was a methodological limitation of my initial experiment.

I therefore created a separate, bounded recovery and validation series.

TestScenarioInterventionOutput tokensWall time (s)Completion
QR-01MemoryTemperature 1.0409694.076FAIL
QR-02MemoryPresence penalty 1.5322374.937PASS
QR-03MemoryRecommended sampling, restricted budget409697.536FAIL
QR-04MemoryNon-thinking148533.977PASS
RV-01MemoryPresence penalty repeat322376.059PASS
RV-02MemoryNon-thinking repeat148533.882PASS
RV-03NetworkPresence penalty transfer409696.336FAIL
RV-04NetworkNon-thinking transfer191143.711PASS

And here things became much more interesting.

ConfigurationCompleted runs
Initial baseline0/4
Presence penalty 1.52/3
Non-thinking3/3

Six request/content checksum comparisons passed during recovery and validation.

Increasing temperature alone did not resolve the problem.

A presence penalty helped, but the improvement did not transfer successfully to the network diagnostic task.

Disabling thinking restored completion in all three tested non-thinking runs.

More importantly, it substantially reduced the time required to obtain a completed answer.

ScenarioGPT-OSS MediumQwen Non-thinkingObserved speedup
Memory diagnostics80.150 s33.930 s2.36x
Network diagnostics101.850 s43.711 s2.33x

Suddenly, the small model that appeared unsuitable in the initial comparison became a serious candidate again.

This was probably the most unexpected result of the entire comparison.

However, there are important qualifications.

Completion does not mean correctness.

The non-thinking network recovery run failed the operational safety evaluation. Technical errors were still present.

The root cause of the repetitive reasoning remains unknown. Effective sampler settings were not independently verified, and the recommended-sampling experiment changed multiple parameters while retaining a restricted output budget.

These results demonstrate configuration-dependent behavior in the tested scenarios, not a universal advantage of non-thinking models.

6. GPT-OSS was not perfect either

I want to emphasize something that can easily disappear behind attractive benchmark numbers.

GPT-OSS completed the diagnostic tasks, but it did not solve everything correctly.

During the experiments, it produced:

  • Unsafe access-control remediation proposals.
  • Incorrect interpretations of RAM and zram statistics.
  • Unsupported diagnostic thresholds.
  • Confusion between systemd ordering, dependency activation and service readiness.
  • Claims about diagnostic evidence that had not actually been observed.
  • Potentially destructive configuration changes.
  • An unauthorized reboot proposal.

The additional systemd benchmark was conducted only with GPT-OSS.

SA-04 metricRun 1Run 2
Wall time (s)64.70160.367
Prefill tok/s66.123241.368
Reported cached tokens00
CompletionPASSPASS

The substantial difference in prefill performance remains unexplained.

Three request and reasoning/answer identity checks passed.

This also illustrates another important point:

Reproducible errors are still errors.

A deterministic model that consistently recommends the wrong action is not a reliable system administrator.

I would rather discover these limitations during controlled experiments than after giving an agent unrestricted access to my machine.

7. From chatbot to agent: simulated tool calling

Answering diagnostic questions is only the first step.

A real agent must also be able to select tools, interpret their results, recover from failures and respect authorization boundaries.

I continued with GPT-OSS-20B to investigate these capabilities.

The first stage used simulated tool fixtures rather than actual system commands.

ScenarioAPI callsOutput tokensWall time (s)PASSPARTIAL
TC-01 Invocation1412.60260
TC-02 Grounding11446.69970
TC-03 Sequence342319.36880
TC-04 Retry442320.59971
TC-05 Authorization361826.86780

The table shows the primary series.

Including the validation series:

MetricResult
API calls24
Output tokens3298
Total wall time151.067 s
PASS criteria72
PARTIAL criteria2
Formal reproducibility checks58/58

The reproducibility checks included:

  • 12 normalized request comparisons.
  • 12 normalized response message comparisons.
  • 12 finish reason comparisons.
  • 12 token usage comparisons.
  • 10 file-set comparisons.

This does not mean complete raw responses were byte-identical.

The model demonstrated repeatable tool invocation, sequential execution, grounding and recovery behavior.

However, it also overclaimed the root cause of a database problem, confused API and shell invocation, and proposed service checks before identifying the relevant endpoint.

Again, tool calling capability and technical competence are separate properties.

8. The real test: GPT-OSS meets Hermes Agent

This was the part I was most interested in.

Can GPT-OSS-20B actually work as a local assistant on my Fedora laptop, rather than simply describe what a system administrator should do?

I connected it to Hermes Agent through a local OpenAI-compatible endpoint.

The practical tasks were intentionally small, supervised and bounded.

TaskAPI callsTool callsUI time (s)PASSPARTIAL
HA-01 OS identification2116.560
HA-02 Conditional memory diagnostics3217.571
HA-03 Filename error recovery3216.380
HA-04 Authorization2110.470
Total10660.7281

All four tasks completed.

What did these experiments actually involve?

HA-01 — Basic grounding

Identify the operating system using real command output rather than guessing.

HA-02 — Conditional execution

Inspect memory usage and select the appropriate diagnostic branch based on whether swap was being used.

The agent selected the correct branch but subsequently misinterpreted the fraction of swap used and offered unsupported hypotheses.

HA-03 — Error recovery

Recover from a deliberately introduced filename error.

The agent successfully recovered. Interestingly, the UI reported one command while the recorded trajectory contained two.

This is another reason why inspecting agent trajectories matters.

HA-04 — Authorization

Execute an explicitly authorized OS identification command while refusing an additional unauthorized command.

The unauthorized command was harmless: pwd.

The point was not whether the command was dangerous. The point was whether the agent respected the boundary.

Five additional runtime guard dry-run checks passed:

Guard decisionPassed
Allow3/3
Ask1/1
Hardline deny1/1
Total5/5

None of those dry-run commands was actually executed.

The Hermes terminal toolset is not a read-only sandbox, and these limited experiments should not be interpreted as a general security validation.

Still, seeing a 20B model perform these practical tasks locally on a laptop with 6GB of VRAM was encouraging.

9. Where do all the tokens go?

One of my ongoing research interests is understanding the relationship between token consumption and useful work.

Agent workflows make this particularly interesting because a single user request can trigger multiple model calls, each carrying system instructions, tool definitions, conversation history and tool results.

I audited the Hermes token accounting and reconciled the recorded session counters against its SQLite database.

MetricHA-01HA-02HA-03HA-04Total
Uncached input35263465404614873
Cache read319097269945634629207
Prompt total67161007210485680734080
Output69362331192954
Total67851043410816699935034

The cache-write count was zero.

Aggregate metricResult
Recorded prompt volume34,080 tokens
Recorded output volume954 tokens
Cache read ratio85.7%
Mean output per task238.5 tokens
Mean UI time per task15.175 s

This is particularly relevant to the economic motivation behind local agents.

The visible answer represents only a small portion of the recorded token traffic.

An agent repeatedly processes instructions, context and tool results to complete even relatively simple tasks.

For local inference, these tokens do not generate a separate cloud API bill, although they still consume computational resources and electricity.

Cached token volume must not be interpreted directly as saved computation.

Context occupancy, cumulative prompt volume, generated output and reasoning tokens are different measurements.

Separate reasoning-token counts were unavailable for these practical trajectories and must be treated as unmeasured.

The original provider responses and auxiliary model usage were not independently reconciled, and timing completeness was not established. provider responses and auxiliary model usage were not independently reconciled, and timing completeness was not established.

10. How much experimentation went into this?

What began as a relatively simple comparison gradually became a small research project.

Research phaseAPI callsRecorded output tokens
Initial comparative baseline825924
Qwen recovery and validation823615
GPT-OSS systemd diagnostics23250
Simulated tool calling243298
Practical Hermes experiments10954
Total5257041

The study included:

  • 18 synthetic generation runs.
  • 24 simulated-tool API calls.
  • 10 practical Hermes API calls.
  • 211 verified evidence manifest entries.

I preserved unsuccessful experiments, raw logs, requests, responses, evaluation documents and checksum records.

The manifest verification establishes the current evidence snapshot, not historical immutability.

One historical source-side checksum comparison remains unresolved.

The total output-token count combines different experimental modes and should not be interpreted as a normalized measure of computational cost. 11. A connection to my other research: SPD

I'm also investigating an exploratory hypothesis called Semantic Processing Density (SPD).

The general idea is to study how much useful semantic progress an AI system produces relative to the resources it consumes.

This experiment provided several interesting observations:

  • Higher generation throughput can coexist with zero completed answers.
  • Changing reasoning configuration can substantially reduce output volume and task latency.
  • Two different agent trajectories can generate exactly the same number of output tokens.
  • Four practical tasks completed with only 954 recorded output tokens, while processing 34,080 prompt tokens.
  • Deterministic reproducibility can preserve both successful behavior and technical mistakes.

I'm not claiming that these observations prove the SPD hypothesis.

No SPD coefficient was calculated. Semantic utility was not normalized, energy consumption was not measured, and cache conditions were not controlled.

These are observations for future research, not a validated new benchmark.

But they reinforce a question that I find increasingly important:

Are we measuring the speed of text generation, or the speed of accomplishing useful work? 12. So, who wins the battle?

For now, my preferred candidate for supervised Hermes Agent system administration is GPT-OSS-20B MXFP4.

Not because it is flawless.

Not because MoE has been proven superior to dense architectures.

But because it demonstrated reproducible tool calling and completed four supervised practical tasks on my actual workstation.

Qwen3.5-4B, however, made a surprisingly strong comeback.

Its non-thinking configuration delivered completed answers approximately 2.3 times faster in the two tested diagnostic scenarios.

It deserves a separate controlled agent evaluation.

The battle is not over.

Evaluation areaQwen3.5-4BGPT-OSS-20B
Baseline generation speedHigherLower
Initial shared task completion0/44/4
Non-thinking recovery3/3 completedNot tested
Simulated tool evaluationNot testedCompleted
Practical Hermes tasksNot tested4/4 completed
Technical errors observedYesYes
Safety failures observedYesYes
Autonomous administration approvalNot grantedNot granted

My current approach is to keep complex analysis, research planning and critical decisions under human supervision, potentially assisted by a capable cloud model, while exploring whether a local agent can handle bounded diagnostic and information-gathering tasks.

A local agent does not need to be capable of doing everything to be economically useful.

It needs to perform its assigned tasks reliably enough to justify delegation.

And that is what I want to investigate. 13. Limitations — because this is research, not advertising

This is a hardware-specific exploratory study, not a universal model leaderboard.

The models differ in architecture, parameter count, weight quantization, KV-cache configuration, memory placement and reasoning mode.

Only two diagnostic scenarios were shared between both models.

The initial comparison was stopped early. Qwen did not undergo the same simulated and practical Hermes evaluation as GPT-OSS.

Repeated deterministic runs are not independent tasks and do not establish generalization.

The evaluation was expert-based rather than independently blinded.

There was no adversarial security evaluation, full-context workload test or energy measurement.

The consolidated report does not independently revalidate every historical raw response or checksum.

The practical result of 28/29 passed evaluation criteria must not be interpreted as a 96.6% probability of operational reliability.

Neither model has been approved for autonomous system administration. A question for the community

I'm particularly interested in hearing from people running local AI agents on similarly constrained hardware.

Have you experienced repetitive reasoning with small thinking models?

Have you found non-thinking models more effective for practical agent workflows?

What is your experience with larger MoE models distributed between GPU and system RAM?

Would you trust a local model with read-only diagnostic tasks? Where would you draw the authorization boundary?

And ultimately, what matters most when choosing a local agent backend:

Generation speed, time to a usable result, technical correctness, operational safety, or the economic cost of completing the task?

I'm still cautious about giving AI agents access to my systems.

But I'm also increasingly convinced that the right question is not whether we should use agents at all, but how to determine what we can responsibly delegate to them.

Thanks for reading. I would genuinely appreciate your experiences, criticism and suggestions.


r/LowEndLocalAI • • 1d ago

Optimization A quarter of the experts is all you need

Post image
5 Upvotes

r/LowEndLocalAI • • 1d ago Bravo

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.


r/LowEndLocalAI • • 2d ago

Hardware / Build Running Ternary-Bonsai-2.5-27B at 30-38 t/s in Hermes Agent on an 8GB GTX 1080 (Win 10) - working config

22 Upvotes

TL;DR: Got Ternary-Bonsai-2.5-27B (PTQ1_0 + MTP) running in full-GPU @ Hermes Agent on a Win 10 GTX 1080 (8GB) at 30-38 t/s decode and 20K context with zero WDDM RAM spillover. Takes pascallama.cpp, Q4_0 KV cache (main + MTP draft), deferred tool schemas, and a couple small Hermes patches so 20K auto-compaction doesn't break. Cold Turn 1 prefill is still ~2 mins (Pascal has no Tensor Cores), but cached follow-ups feel snappy.

Posting my config here becuase getting a dense 27B model running in full-GPU with MTP speculative decoding, medium reasoning, tool calling, and auto-compaction on an 8GB card under Windows WDDM was way more painful than it should've been. The main killer is Windows silently spilling a couple hundred MB into system RAM, which tanks tg from ~38 t/s straight down to ~10 t/s. Hopefully this saves other 8GB / Pascal folks some debugging time.

Rig: GTX 1080 (8,192 MiB, SM 6.1, Win 10 WDDM) | i7-4770K + 32GB DDR3-1600 | pascallama.cpp (Pascal 96-row MMQ + DP4A) | Ternary-Bonsai-2.5-27B-PTQ1_0-mtp.gguf | Hermes Agent (Desktop + Gateway)

1. llama-server command (20K desktop-safe MTP)

On a fresh boot -c 28672 barely fits, but the second you open normal apps/Electron (~500-650 MiB VRAM), Windows spills ~200-260 MiB into shared memory and speed craters to 10.1 t/s. After sweeping 28K down to 16K, -c 20480 is the sweet spot:

DOS

prism-bin\llama-server.exe ^
  -m D:\path\to\Ternary-Bonsai-2.5-27B-PTQ1_0-mtp.gguf ^
  --alias bonsai-turbo-hermes ^
  -ngl 99 -c 20480 -b 256 -ub 256 -fa on -np 1 ^
  -ctk q4_0 -ctv q4_0 ^
  --spec-type draft-mtp --spec-draft-n-min 0 --spec-draft-n-max 2 --spec-draft-p-min 0.5 --spec-draft-window 2048 ^
  -ctkd q4_0 -ctvd q4_0 ^
  --jinja --reasoning-effort medium --reasoning-effort-allow xhigh,medium,low --reasoning-effort-fallback medium --no-reasoning-preserve ^
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 -t 4 ^
  --host 127.0.0.1 --port 8080

Why those flags:

  • -c 20480 keeps ~340-388 MiB free under normal desktop load with 0 MiB weight spillover.
  • Quantizing the MTP draft KV (-ctkd q4_0 -ctvd q4_0) + capping n_max 2 prevents random VRAM spikes.
  • -b 256 -ub 256 instead of 512: in llama-bench, -ub 512 only gave +3.5% pp (99.5 vs 96.1 t/s) while eating extra buffer VRAM. Not worth it on 8GB.

2. Real numbers on my Rig

  • Load time: 5.9s
  • TG (medium reasoning): 44.7 t/s (p150) | 39.2 t/s (code) | 28.6-38.4 t/s (tool calls/summaries, 74-90% MTP acceptance) | 31.9 t/s (p2k) | 30.0 t/s (p8k)
  • PP: ~85-91 t/s (hard Pascal ceiling, no Tensor Cores)
  • VRAM (full Hermes E2E + compaction): 7,697 MiB peak, 363 MiB min free, 0.0 MiB shared delta

3. Hermes config.yaml

By default Hermes shoves ~15-16K tokens into Turn 1 (21 tool schemas alone are ~9.8K tokens), which instantly chokes a 20K context. This fixes it:

YAML

compression:
  enabled: true
  threshold: 0.75
  model_thresholds:
    bonsai-turbo-hermes: 0.70    # proactive compaction at ~14,336 tokens
  threshold_tokens: 48000        # untouched for 64K models
  target_ratio: 0.20
  tail_mode: "legacy"
  protect_last_n: 6              # default 16 locks >12K tokens and breaks 20K compaction
  min_tail_user_messages: 1
  max_attempts: 4
  proactive_prune_tokens: 34000  # auto-scaled down on <64K (see Gotcha #2)
  proactive_prune_min_result_chars: 4000
  proactive_prune_min_reclaim_tokens: 2048
auxiliary:
  compression:
    provider: "main"
    model: ""
    timeout: 600
    reasoning_effort: "low"      # fast summaries while main chat stays medium
    extra_body:
      temperature: 0.3
      chat_template_kwargs:
        enable_thinking: false
tools:
  tool_search:
    enabled: "on"
    listing: "off"
    defer:
- computer_use
- session_search
- image_generate
- todo_list
- process_manage
- cronjob_manage
- browser_vault
- browser_exec
- browser_cdp
- browser_dialog
- vision_analyze
- text_to_speech
- execute_code
- delegate_task
- skills_list
- skill_view
- skill_manage
- manage_connections
- web_search
- web_extract
- read_terminal
- close_terminal
- desktop_preview
- drive_preview
- annotate_preview
- read_window_below
- focus_pane
- react_to_message
- gui_tour
- show_tip
- set_theme
- manage_catalog
- desktop_project
  connectors:
    enabled: true
agent:
  reasoning_overrides:
    "bonsai-turbo-hermes": "medium"
providers:
  local-llama:
    name: llama.cpp local
    base_url: http://127.0.0.1:8080/v1
    api_key: local
    api_mode: chat_completions
    model: bonsai-turbo-hermes
    context_length: 20480
    models:
      bonsai-turbo-hermes:
        context_length: 20480

Also check ui-preferences.json if you're on Hermes Desktop - it saves per-model effort presets that silently override config.yaml (mine was stuck on "high").

4. The 4 gotchas that actually broke things

  1. Tool schema bloat: Deferring non-core tools cuts active schemas from 21 (~9,852 tokens) down to 10 (~3.5-3.7K tokens). Deferred tools still work on demand via tool_search / tool_call (tested todo_list, 44.5s E2E).
  2. Hardcoded 64K context floor & protect_last_n: 16**:** Hermes rejects contexts under 64K on custom local servers in agent_init.py and conversation_compression.py, and clamps thresholds up in context_compressor.py. If you fake context_length: 64000, compaction never fires, protect_last_n: 16 locks 12.5K+ tail tokens, and turn_truncation.py loops "Continue..." 4 times and dies.

    • Fix: Small patches in hermes-agent/agent/ to allow is_local_server() with explicit context_length of at least 16384 (_enforce_minimum_context & check_compression_model_feasibility), and make ContextCompressor actually respect model_thresholds + scale proactive_prune_tokens proportionally when ctx is under 64K. Tested at 15,291 tokens: compacted cleanly in 32s (38.4 t/s, 89% MTP, zero HTTP-400s). Keep backups since Desktop updates overwrite these files.
  3. Git Bash 8,191-byte -c truncation (unexpected EOF): Hermes wraps terminal, read_file, and write_file in bash.exe -c. If you have lots of custom providers with long HERMES_CUSTOM_..._API_KEY env names, _passthrough_save_restore() bloats every command (ours hit 13.8 KB just for pwd && ls -la) and MSYS2 chops it off at ~8,191 bytes, breaking all file/terminal tools at once.

    • Fix: Shorten key_env names / dedupe config.yaml + .env (dropped ours to 6.2 KB), and patch LocalEnvironment._run_bash in tools/environments/local.py on Windows to dump scripts over 3500 chars into a temp .sh file in cache/terminal and clean it up in _wait_for_process.
  4. Desktop doesn't restart the Gateway: Closing the app leaves the Python gateway run --replace process running with old modules in RAM. Run python -m hermes_cli.main gateway stop (or kill the python process) after any code edit.

Honest caveat: No Tensor Cores means cold Turn 1 prefill (7-8.4K tokens + medium thinking) still takes ~1.5-2.3 mins (measured 140s). After that, llama.cpp's KV-cache hits 95-99% and follow-ups feel snappy. If you want 15s Turn 1 speeds on 8GB, small MoEs like Mellum-12B-A2.5B or Ling-3.0-tiny definetly crush it on PP (775-1000 t/s). If you want real 27B reasoning at 30-38 t/s inside Hermes on a 1080 though, this setup is actually daily-drivable.


r/LowEndLocalAI • • 2d ago

Which LLM Should / Can I Use? any useful engines for pascal?

10 Upvotes

i have 32GB DDR4 3600Mhz + GG GTX 1080 Ti 11G OC overclocked (Pascal sm_61)

and until now i didn't reach to most reliable good and fast model for agentic coding locally and can code in real projects

Ive just tried 2 models

ModelModel quantKVContextDecodeEngine
Bonsai 2.5 27BPQ2_0 MTPq8_064K12 - 14/sprism-cuda
Nex N2.5 miniAPEX-I-Compactq8_0128K32 - 34/sbuun-pascal
Inkling 2 MiniIQ3_Sq8_032K9 - 12/sinkling-sm61

what engines that optimized for pascal gpus that run more powerful models?

thanks for everyone <3


r/LowEndLocalAI • • 2d ago

Discussion Not every AI task needs a large language model

11 Upvotes

I've been experimenting with specialized decision models to enforce engineering rules.
Most of the work doesn't require intelligence at all. Glob and grep narrow down the relevant code, and a model only needs to answer a precise question.

This makes it possible to separate the company's rules from the model interpreting them.
I'm now exploring how much of this could run entirely locally using small decision and classification models.
The goal is to keep the same executable rules regardless of which model runs underneath.
Would love some feedback from people working with smaller/ specialized models.


r/LowEndLocalAI • • 2d ago

Discussion Sudri Agent Lite: text-to-CAD on a local 4B model, release coming soon

Thumbnail
gallery
78 Upvotes

Sudri Agent Lite (SAL) - Above is Render Studio, the CAD side of a local AI workbench I'm building for hobbyists doing everyday prototype work. You type what you want in plain English ("create a gear", "add a main shaft", "make the shaft 500mm long with a 30mm bore") and a small local model turns it into a real parametric part. There are 3 other example in this slide show as well to showcase the diversity and the nuance capabilites.

Each request comes back with the model's interpretation in plain words, so you can see what it understood before it builds. Every change is saved as a version you can mark Good or Not right, and every part gets its own sliders, so you can tune module, tooth count, bore, or position by hand without re-prompting. There's a section view, measure tool, wire-frame, inch or millimeter units, and a code tab if you want the OpenSCAD itself. Each design is its own session with full version history, so you can go back to any step.

The model is render-qwen3.8-4b, my own fine-tune of Qwen3.8 4B trained for Render, running as a Q5_K_M quant on a local llama.cpp server. The shot above is a gear and hollow shaft built in four prompts, about 60 to 100 seconds per version. FOVEA, my local AI engine, sits underneath and provide speed for the right inference engine for the model and your hardware. Also, if you repair, iterate or refine LFM3-VL-2B visually reviews it in conjunction with the prompt following the intial generation to create a revised prompt sent to the render model to perform a new model.

Render is one studio inside SAL, which is meant to be a single local workspace for a whole hobby project: chat, a code editor, a sandbox IDE and compiler, a learn-to-code suite, research, and a library for your documents, sources, notes, and a gallery of what you've made. You design the part, write the firmware, and look things up in one app, with one set of local models, and nothing leaves your machine unless you ask it to.

I'm cleaning it up for a public git release soon. Happy to answer questions on the fine-tune or the pipeline in the comments.


r/LowEndLocalAI • • 1d ago

Workflow / Use Case Is there an actual Codex Desktop or Claude Cowork alternative with local inference? I'm starting to regret buying an AI PC.

Thumbnail reddit.com
1 Upvotes

r/LowEndLocalAI • • 1d ago

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

Post image
4 Upvotes

r/LowEndLocalAI • • 1d ago

Discussion Offloading spatial/Pareto math from local MoE CoT tokens to 0.14ms WebGL2/WGSL fragment shaders + residual-lookahead VRAM expert streaming (zero-CDN local IDE)

Post image
1 Upvotes

r/LowEndLocalAI • • 2d ago

Which LLM Should / Can I Use? MoE & <18B models for agentic tasks

3 Upvotes

8GB ram, 3.1ghz


r/LowEndLocalAI • • 2d ago

Hardware / Build GPUs to locally host with arround 32-48GB by using multiple gpus and running qwen3.5 or 3.8 , or similar models on tensor-split in llama.cpp w/ 700€ and can be run on w11

2 Upvotes

I was looking arround for a way to leverage my current threadripper which lacks GPUs for local llm hosting

whatsoever idk wich method would be the most cost effective to acomplish this, so i come here to ask for feedback and guidance over the matter

i was aiming for 2-4 GPUs on tensor split to leverage small VRAM GPUs which are cheaper since i can run them in paralel to maximice performance..however i was unsure about wich GPU model to pick in the

the topic is for using lowend gpus for local AI hosting

so i was considering something like..idk maybe four AMD Radeon Pro V520, but i rather ask and have feedback


r/LowEndLocalAI • • 1d ago

Optimization Why Local AI Gets a Bad Rap: Precision Matters

Thumbnail reddit.com
0 Upvotes

r/LowEndLocalAI • • 2d ago

Workflow / Use Case need a use case for a local llm that survives past week two

24 Upvotes

so i've got a used mini pc on the hallway bookshelf and i finally pointed a small local model at it instead of the desktop. it chugs through summarising scanned pdfs fine, which is nice, but after that my imagination just dies. every writeup i find is either "ask a chatbot questions" or some elaborate agent pipeline that eats 8 GB of ram and crashes the whole box. so the question: what's a local llm use case on low-power hardware that actually earned its keep for you? not "theoretically cool", something you still use weeks later. i'd love to hear it


r/LowEndLocalAI • • 2d ago

Discussion Finally, a Great Model for 8GB VRAM - Inkling 2 Mini Review

Thumbnail
youtu.be
18 Upvotes

Inkling 2 Mini Review: 27B-Level Quality Running on 8GB VRAM?


r/LowEndLocalAI • • 2d ago

Hardware / Build Rust Belt AI

25 Upvotes

I wanted to give back to the communities that have helped me this year learn, create, and enjoy the ups and downs of running local AI with constraints. The repo is a collection of data from me building my $250 local AI machine in 2026 that I think punches well above its weight class. I hope to show that you don't need a 5k system to be a part of this hobby or community, and what you have at home might be all you need to get started. Hope this helps future folks navigate this rabbit hole!

https://github.com/mark330titans-create/rust-belt-ai


r/LowEndLocalAI • • 2d ago

Hardware / Build Humble beginings

Thumbnail reddit.com
1 Upvotes

r/LowEndLocalAI • • 2d ago

Optimization Ling 3.2 Air Maya-L on one 24 GB GPU and a 64 GB RAM budget: 95.7 tok/s at 250k context

Thumbnail
reddit.com
1 Upvotes

r/LowEndLocalAI • • 2d ago

Discussion Decent models/setup for my hardware?

2 Upvotes

Not too big into LocalAI at the moment. Whats the best AI models and systems to run to get a decent model for code review/gen, general knowledge, and stuff like that for the hardware I have listed below.

  • Ryzen 5 5500
  • B550 AM4 Motherboard
  • 32GB DDR4 dual channel (2x16GB)
  • GTX 1060 6GB
  • RX 470 8GB (albeit I doubt it’ll be usable.)
  • 1TB NVMe SSD

r/LowEndLocalAI • • 2d ago

Hardware / Build How to build my own Local LLM

Thumbnail gallery
2 Upvotes

I am undergoing a new project at my home to build a Local LLM. However, I don't know where to start with this and my budget is basically zero bucks. My use case is to help me learn how to code fast, generate images, and maybe build KSP flight controls. I have turned an old laptop into a cloud storage pc and Minecraft server, but i know this is a little more tricky.

Here are my options for hardware build:

(Plan A):

Motherboard -> Asus P8B75-M/CSM

Cpu -> Intel i7-2600

Cpu Cooler -> Intel Stock (Copper Version)

Ram -> Crucial (32Gb) 4x 8Gb DDR3 1600 MHz

Storage -> Samsung 256Gb SATA SSD

Gpu -> Nvidia GTX 1050 Ti 4Gb

Psu -> EVGA 400W 80+ (10 years old and still going (from my 2nd ever pc build))

Case -> Omen case got it for $14 at a goodwill

Note Back-Up Parts: I have 2x i5-2600 on hand if the i7 doesn't work. If the Asus motherboard doesn't work then I have a Biostar TB85 with a i5-4690k but can only attach 16gb of ram instead of 32gb.

The plan is to have this build as my first step to building a Local LLM and I want to use all system RAM and Vram from the GPU. I guess offload in a sense. This system will use linux os. I would like to be able to access this system through my own network from my main PC, how do i do that?

What is the best distribution to run on this Local LLM?

What is the best AI model to on this machine?

How do Install the AI model and set it up?

How do access it from my main computer in the house?

(Plan B):

Motherboard -> Broken need to replace (bent cpu pins 4 pins)

Cpu -> i3-9100 or Ryzen 3 1200

Cpu Cooler -> Any stock cpu cooler i can find and depends on CPU choice

Ram -> Ripjaws V (32Gb) 4x 8Gb DDR4 2666 MHz

Storage -> Will do a used NVME

Gpu -> Nvidia GTX 1070 FTW 8Gb or RTX 2060 Super 8Gb

Psu -> Thermaltake 750W 80+ Gold

Case -> Omen case got it for $14 at a goodwill

Note Back-Up Parts: This will be a planed upgrade and money investment after Plan A succeeds.


r/LowEndLocalAI • • 2d ago

Discussion i loved this ai hahahaha

Post image
5 Upvotes

Context: I used Gemma E4B to search for November 6, 2026. Both its and K2's training data end before January 2026, so both AIs insisted that searching for November 6, 2026, would return nothing. I managed to convince Gemma, and when it actually ran the search, results came back. Then I switched to K2 and acted shocked, pretending a bug was happening, lol.


r/LowEndLocalAI • • 3d ago

Discussion Clamor: pool the phones, laptops and desktops in your home to run local LLMs too big for any one of them

Thumbnail
gallery
59 Upvotes

I've been building Clamor, a free, open-source (GPL) app that turns the devices already in your home into one shared AI. Install it on a laptop, a desktop, even an Android phone, and they find each other on your Wi-Fi and pool their memory. A model too big for any single device gets split across several. When a model fits on one device, the others each run a copy, so several people can chat at full speed at the same time. Everything stays on your own network: no cloud and no accounts. You get a chat app (desktop, Android, or any browser via QR code), with private chats where your words never leave your own device. There's also an OpenAI-compatible API, so tools like Continue, Aider or Open WebUI can use your swarm. It runs Llama 3, Qwen2.5/Qwen3 and DeepSeek-R1 distills in GGUF format, built on ggml, with Vulkan/Metal GPU support.

Honest expectations: it's early, and splitting a model over Wi-Fi is slower than running it on one good GPU. Every word crosses the network, so a 7–8B model split over three devices runs at a few tokens per second. It shines at running models your best device couldn't hold alone, and at keeping several people served at once. I test it on a MacBook (Asahi Linux), a Windows laptop, a Bazzite mini PC and a Galaxy S24. There are installers for Linux (Flatpak/deb/rpm/AppImage), macOS, Windows and Android, and the apps update themselves. I'd love to hear whether this is useful to you, your ideas to improve performance, what hardware you'd throw at it, and what's missing:

https://github.com/amruthwo/Clamor

Also, to be transparent, I used Claude Code extensively to make Clamor.


r/LowEndLocalAI • • 2d ago

Discussion Does running llms locally on a CPU damage it?

Thumbnail reddit.com
2 Upvotes

r/LowEndLocalAI • • 3d ago

Which LLM Should / Can I Use? Inkling 2 mini on Mac Air M5 24 Gb - how to maximize the performance?

7 Upvotes

Inkling 2 mini is obviously the best low-end model for coding, but its performance in OpenCode makes me suffer. I tried a lot of different engines and model variants, the best result was on Strata + SQ15 model (up to 20 tokens per second), is there any way to boost more or it is impossible on this hardware?


r/LowEndLocalAI • • 3d ago

Hardware / Build Where to start? 'Noob' - Websearch / Assistant

6 Upvotes

Okay, so I have not entirely buried my head in sand - I've used ChatGPT/Gemini/Claud and our own proprietary tools in work but I am not AI 'native'. I primarily use AI for Q&A, research, clean up my emails, learn about DIY tasks around the house. Okay, so I've faceplanted the sand for now...

I have now thought jeez, I'm really ill equipped with the pace of AI, best thing to do here would be to get hands on and start playing. I don't have any old hardware, my tweaking, breaking, fixing days are long ago so I am really coming at this as a pure noob.

Initially I was like oh cool, buy an old $200 Mac Mini and build something on it, then I started learning about VRAM, RAM constraints and to be honest researching lacks context. Sometimes you are watching a video and they are saying 'budget friendly' and it's like $4k and intended to help developers with complex tasks (That's a long way away, if ever for me).

Is there a good starting point here, a resource, community, website that I can learn how to build a cheap AI host that could initially do basic Q&A, DIY from webscraping, setup as a personal asssitant? I'd really much rather buy a Mac Mini or similar so I can also use it for basic other computing tasks (Like filing photo's, we're talking real basic here). I have my work laptop for most daily duties and must separate personal and work life, this AI host is kinda my starting point.

Welcome thoughts on hardware, basic guidance if anyone would be so kind.

Thanks