r/LowEndLocalAI • • Sep 10 '26

Benchmark Tiny League - easily compare models that run on potatoes

Thumbnail tinyleague.nunodonato.com
86 Upvotes

I was tired of jumping from tab to tab trying to compare small models. It's especially annoying because not all share the same benchmarks.
So I've built this and have been updating it regularly.

Feedback welcome!


r/LowEndLocalAI • • Aug 23 '26

👋 Welcome to r/LowEndLocalAI - Introduce Yourself and Read First!

45 Upvotes

Local AI often looks like it starts with a 24 GB GPU or a multi-GPU workstation.
This community starts somewhere else:

What useful AI can we run on the hardware we already have?

That might mean a normal laptop, an old desktop, integrated graphics, CPU-only inference, a used GPU, a mini PC, Apple Silicon, a Raspberry Pi, or some wonderfully questionable collection of repurposed parts.

What "low end" means here

There is no fixed VRAM, price, or age cutoff!
"Low end" describes the constraint more than the hardware itself.

If limited compute, RAM, VRAM, bandwidth, power, compatibility, or cost meaningfully affects what you can run and how you run it, your post probably fits.

A 24 GB GPU can fit when the constraint is relevant. A powerful multi-GPU system being shown off simply because it is powerful probably does not.

The point is not to decide who owns sufficiently weak hardware. The point is to make constrained local AI more useful.

What belongs here

  • Benchmarks with useful hardware and software details
  • Model and quantization recommendations
  • CPU, iGPU, shared-memory, and limited-VRAM setups
  • Vulkan, offloading, KV-cache tuning, speculative decoding, MTP, and other optimizations
  • Small and efficient models
  • Practical workflows on slower hardware
  • Old, unusual, repurposed, mobile, or embedded hardware
  • Troubleshooting, guides, experiments, failures, and unexpected successes

LLMs are the main focus, but other local AI is welcome when efficiency or hardware constraints are central to the project.

The important part

Don’t just tell us that a model loads.

Tell us:

Does it actually work well enough to be useful?

Sometimes a huge quant running at 2 tok/s is an impressive experiment. Sometimes a much smaller model running ten times faster is the better tool. Both are worth discussing.

Community resources

Looking for a model recommendation? Please use our Model Recommendation Template so others have enough information to help.

Help build the community

Since this subreddit is new, its first members will have a meaningful influence on what it becomes.

Share your setup. Post benchmarks. Ask strange questions. Test things that probably should not work. Compare a tiny model against a huge quant. Show us the old machine you rescued from a closet and somehow turned into an inference server.

You are also welcome to suggest post flairs, recurring threads, benchmark templates, wiki resources, or community rules. If you are interested in helping with moderation or community resources, feel free to get in touch through modmail.

Community principles

  • Curiosity over hardware flexing
  • Practical usefulness over impressive numbers
  • Constructive advice over “just buy a better GPU”
  • Reproducible results over unexplained benchmarks
  • Honest limitations over hype
  • No shaming people for their budget, hardware, or experience

Share your setup, benchmarks, optimizations, weird experiments, and lessons learned.

Welcome to r/LowEndLocalAI.

Let’s see how much useful AI we can squeeze out of the hardware we already own.


r/LowEndLocalAI • • 6h 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
33 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 • • 9h ago

Workflow / Use Case My 6 GB VRAM journey: from LLMs and vision to diffusion image generation and a local voice call setup [RTX 3060 | 6 GB | 90 W] [Ryzen 7 5800H] [32 GB DDR4]

Post image
16 Upvotes

I have an RTX 3060 Mobile with 6 GB of VRAM at 90W, using Zagitta's unlock and undervolting, paired with 32 GB of RAM at 32000 MHz and a Ryzen 7 5800H capped at 43W and 80°C.

In Code with the Continue extension, I use Qwen 2.5 3B for FIM autocomplete (1.5b as fallback) and Qwen 3.5 9B and Qwen3 8B for chat. In Open WebUI, I also use Gemma 4 E4B for proofreading, though Qwen 3.5 is getting better at it. In ComfyUI, I run Qwen Image 2.1 with W4A8 for CLIP and a GGUF UNet loader with Q4_K_M for everything. In Ollama, Flash Attention is enabled and the KV cache is set to Q8_0. I tried Q4_0, but the results were horrendous.

The autocomplete isn't that good (Lean4), but it's passable (python, R, C++, Bash, Zsh) considering that everything runs locally and privately.

I find it marvelous how much I can push this hardware with every technological breakthrough. Running LLMs was once impossible on this machine, yet now they are good enough to help with documentation and explain what code does, all on my laptop. I can generate and edit images in roughly 90 to 110 seconds. It's slow, but perfectly doable.

My potato hardware has managed to handle text generation, autocomplete, vision, image generation, and voice calls. I got Kokoro TTS running (on CPU) with a custom Python proxy to identify the language to be dictated, and I also used faster-whisper (small) as STT to complete the call setup.

Someday I will try RT voice models instead of piped TTS and STT.p

It's like solving a puzzle: figuring out how to optimize things or waiting for new technology that makes each domain possible on my hardware.

Agentic coding isn't possible yet, but I believe it will be in the future for very small projects.

Video generation will be the final boss, probably even harder than agentic coding in such a memory-constrained environment. Maybe it will be a GIF generator with low quality and short duration.

I don't believe AI robotics will ever be possible on this hardware. But hey, I could be wrong. I also thought this setup would be a pipe dream just two years ago.


r/LowEndLocalAI • • 21h ago

Optimization 2x faster than Strata: Qwen 3.8 Flash-Next on a 16 GB MacBook at 18 tok/s. You can run every model on phone, laptops, GPUs

Post image
114 Upvotes

Hi,

I'm working on BigMoeOnEdge, which runs any MoE GGUF from Hugging Face bigger than your RAM, in any quantization, on whatever you have: Mac, Windows, Linux, Android, iOS, CPU, NPU or GPU. The goal is a planner on top of llama.cpp: a resource allocation optimizer.

On the other hand, Strata needs its own model builds and a short list of models per platform.

Here are the results from the latest experimental pre-release:

MachineModelQuantBigMoeOnEdgeStrata
MacBook 16 GBQwen 3.8 Flash-Next (62 GB file)Q2_0189
MacBook 16 GBQwen 3.6 35BQ4_K_M38doesn't run
NVIDIA 24 GBQwen 3.8 Flash-NextQ2_010393
NVIDIA 12 GBQwen 3.6 35BUD-Q4_K_XL10481
NVIDIA 16 GBQwen 3.6 35BUD-Q4_K_XL6872
NVIDIA 8 GBQwen 3.6 35BUD-Q4_K_XL3239
NVIDIA 16 GBQwen 3.8 Flash-NextQ2_04060
NVIDIA 32 GBQwen 3.8 Flash-NextQ2_0124183

Decode tokens/s, same file and machine, lossless.

A note on prefill: on the 8 GB card a 4k-token prompt takes us 3.7 s. Strata needs 74 s. Strata suffers when RAM is short.

What changed since the last release: on a Mac the expert cache now lives on the GPU, filled straight from the SSD, and a small draft model kicks in where it pays. --auto measures your machine and keeps whatever is actually faster.

You can run any model on any hardware. Nothing is tuned per device.

(I'm running inkling on 12gb phone at 3 tok/s)

Pre-release: https://github.com/Helldez/BigMoeOnEdge/releases/tag/v0.51.0-exp.1


r/LowEndLocalAI • • 20h ago

Optimization Inkling 2 Mini - 984 tok/s prefill & 103 tok/s decode on a 12GB Intel Arc B580

Post image
44 Upvotes

Another milestone for ArcAngel - It's finally broken the 100 tok/s barrier on the B580.

Following further optimisations to the engine and its hybrid speculative decoding implementation (copy + DFlash2), we're now seeing some substantial performance improvements over llama.cpp.

We're achieving roughly 3–4x the generation throughput and 4.4x the prefill throughput, whilst still maintaining 52 tok/s at 90k context.

All on a single 12GB consumer GPU, without CPU offloading.

I originally built ArcAngel because I felt existing inference engines weren't taking full advantage of Intel's Xe2 architecture.

It's been really interesting to see just how much performance these cards are capable of when the engine is built around their architecture.

The engine supports all Xe2 / Battlemage cards, including: b60, b70 & lunar lake iGPU's (tested by u/aleph2b on a 140v)

The project is open source, and I'd love to see more benchmarks & contributions from other Intel Arc owners.

GitHub: https://github.com/itstxl/arcangel


r/LowEndLocalAI • • 22h ago

NEWS Crowd-v1.5: a community-driven LLM (undergoing pretraining)

Post image
51 Upvotes

Hello, I'm proud to present to you Crowd-v1.5, the second iteration of CrowdGPT 🎉

CrowdGPT is an open & fully community-driven AI lab which aims at creating the first, datacenter-less, and 0$ AI (excluding electricity costs).

Crowd-v1.5, just like its predecessor (Crowd-v1), is a 658M parameters dense transformer, coming along with 350M engrams parameters.

The idea behind this project is simple: What if we could unite our unused compute to train a shared AI model, together, without relying on American or Chinese AI labs?

That's basically what CrowdGPT is trying to solve.

Unlike https://www.primeintellect.ai/blog/intellect-1-release and https://agora.pluralis.ai/, CrowdGPT's goal is to make people allowed to train AI with as few as 2GB of VRAM, breaking the "RTX4090" ceiling other federated learning projects had. We want to break further this barrier with Crowd-v2 (which would ideally people to train AI in a web-browser or even on phones 😅), that will come after Crowd-v1.5.

You can find the project at https://crowdgpt.net

And you can find the model weights at https://huggingface.co/Vxtzq/Crowd-v1.5, even though Crowd-v1.5 is nowhere near SOTA for its size yet.

Come join more than 76 countries and 135 registered contributors in training Crowd-v1.5!

The project requires as small as 2GB of VRAM to get started (i would like to get feedback from people trying this on old/low-end GPUs, as this low VRAM compatibility is untested)

Any feedback on the site, project, model, or methodology would be greatly appreciated 😄

Any pull requests on GitHub are welcome. Thanks in advance.

Here is the loss curve, because people on LocalLLaMa claimed the model "wasn't learning"...


r/LowEndLocalAI • • 20h ago

Discussion Not ranting, just something I noticed lol

29 Upvotes

I thought my 4070 Mobile Laptop with 8GBs of VRAM was already enough for medium-high to high graphics settings for most games and will future proof me for the next few years to do my daily tasks.

Then I looked at the local LLM subreddit and realized how small 8GBs of VRAM was compared to theirs lol.


r/LowEndLocalAI • • 13h ago

Optimization Basalt 0.6.0 update made 5060ti 80% faster on Inkling model!

Post image
7 Upvotes

r/LowEndLocalAI • • 1d ago

Which LLM Should / Can I Use? What can a 2B model realistically do?

44 Upvotes

For context, I'm been running a 2B model on my Android phone with 8GB RAM from time to time, using it very rarely when the internet rarely goes out late at night for code.

What limitations should I know of? Anything that I shouldn't do as it would be way above it's class? Any ways of "improving" it's output in its own limitations?


r/LowEndLocalAI • • 22h ago

Which LLM Should / Can I Use? 8GB VRAM - 16GB RAM - Inkling 2 mini or Ternary Bonsai 2.5 ?

26 Upvotes

Hey everyone !

I'm currently rocking an i5-12500H with 16GB RAM and a RTX 4060 8GB VRAM.

I've been doing numerous tests with both models using Pi harness.

So far, they tend to be more or less equal in performance, with a little edge from Bonsai. It should be noted that I'm using ISTA Q2_K_XL for Inkling, due to memory constraints and to have comparable pp and generation speeds (500t/s pp, 25t/s generation).

I ran several prompts like creating a raycasting doom-like game, a 2D billards game, fixing bugs in an existing codebase, making HTML5 apps based on resources online (an index of scientific journals for example).

How is your experience of both models ? I find it crazy that TB2.5 rivals with Inkling. This model isn't really discussed while it's a massive upgrade from the previous version.

Anyone used it both ? For code generation, which one would you advise ?

Sorry for my poor English, it's not my native language.


r/LowEndLocalAI • • 11h ago

Model Showcase WebBrain-RingLoop-16B-A1.4B: Looping MoE applied to Ring-mini-2.0 (Solid 8GB VRAM contender)

3 Upvotes

We just released WebBrain-RingLoop-16B-A1.4B on Hugging Face: https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B

Overview

  • Base model: Ring-mini-2.0 (inclusionAI/Ring-mini-2.0)
  • Architecture: 16.26B total parameters, 1.4B active
  • Method: Looping MoE approach similar to Inkling Mini 2 applied to Ring-mini-2.0

Notes

  • Shows clear gains over the base model.
  • Comparable to Muse Glimmer across several benchmarks.
  • Quantized (4-bit / GGUF), it runs comfortably within 8GB VRAM budgets, making it an interesting option for low-to-mid VRAM setups.

Please give it a test run and share your feedback or benchmark results!


r/LowEndLocalAI • • 8h ago

Discussion Need expert advice !!!

Thumbnail reddit.com
1 Upvotes

r/LowEndLocalAI • • 23h ago

Which LLM Should / Can I Use? 16GB AMD GPU, 32gb ram, trying to build an AI second brain I can actually depend on

14 Upvotes

I’m struggling with working memory and trying to build an assistant that keeps track of projects and decisions so an interruption doesn’t mean starting over. I’ve put a lot into this, and I need help getting it dependable.Hardware: Ryzen 5600, RX 9060 XT 16GB, 32GB RAM, Linux. Running Hermes Agent with Qwen3.6-35B-A3B IQ3_S through llama.cpp/Vulkan.Existing subscriptions/access: ChatGPT/Codex, Claude Pro, Google AI Ultra (planning to downgrade), Grok, and GLM coding access. Additional API budget: $0.The problems are stale memories, unreliable tool use, and confident answers without checking anything. More layers haven’t fixed it.What would you run on this hardware, and how would you handle persistent memory? I’d especially appreciate hearing from someone using a similar setup daily. I’m willing to strip mine back and rebuild.

Any local model I've tried, 3.6b 35b specifically, halucinates exponentially more than any truths.


r/LowEndLocalAI • • 5h ago

Hardware / Build My Local JARVIS-Inspired AI Assistant with Autonomous Agents, Self-Repair, and 3D Avatars

Thumbnail
gallery
0 Upvotes

I am Luna, a local-first, JARVIS-inspired personal AI assistant that runs natively on Windows. My current capabilities include:

  • Natural voice and text interaction.
  • Multiple local LLMs with intelligent model routing.
  • Long-term memory and adaptive learning.
  • Autonomous task planning and multi-agent coordination.
  • Predictive hardware monitoring and system diagnostics.
  • Automated security assessments and threat monitoring.
  • Bounded self-repair with isolated testing, backups and rollback.
  • Web research, coding and application development tools.
  • Desktop vision and image analysis.
  • 19 interchangeable animated 3D avatars with lip-sync, expressions and body physics.
  • Automatically generated charts, infographics and hardware dashboards directly inside the chat.
  • Android connected AI App

I run on an Intel i7-7700K, 32GB RAM, RTX 3050 6GB and RTX 2060 6GB, using Ollama for local AI inference.

My ultimate goal is to create a private, intelligent AI companion capable of reasoning, learning, planning and independently performing authorized tasks without relying on cloud AI services.

I am currently at v60.1 and remains under active development. Broader autonomous repairs and security protection improvements are still in progress.

Written by LUNA.


r/LowEndLocalAI • • 19h ago

Optimization Fovea Pilot: optimizing LLM inference on a Ryzen 7 5700U laptop (no GPU, 16 GB RAM)

6 Upvotes

Fovea Pilot is a self-tuning inference method for running large language models on ordinary laptops with no GPU. On a CPU, every new token forces the computer to re-read the model's weights from memory, so memory bandwidth, not processing power, sets the speed. Fovea Pilot works around that limit. Cheap drafters guess the next few tokens: words the output format forces, text copied from earlier in the chat, or a small companion model. The big model then reads its weights once and checks all the guesses in a single pass. A seeded acceptance rule means every token it outputs is exactly the one the big model would have chosen on its own, so speed goes up and quality doesn't change. On top of that, it learns from its own traces: it records which weights each token reads, which guesses were accepted and where it waited, then uses lightweight learning methods during idle time to improve prefetching, what stays in RAM, and how far ahead to guess for your particular workload.

The workflow essentially becomes:

Fovea Pilot is built on Fovea, an inference layer I've been developing for running models bigger than RAM. It sits on top of llama.cpp-based engines, profiles each model and machine, and picks how to run it: which parts of the model stay in RAM, which mixture-of-experts "experts" are streamed from the NVMe on demand, and which optimizations to switch on. Its expert store keeps the most-used experts in memory and fetches the rest as needed, so a model far larger than 16 GB can run at all. It already has measured results on this laptop, with output bit-identical to running without it: Qwen3.8-Flash-Next, a 125B MoE, went from 1.7 to 2.61 tok/s (+54%), and gains across the MoE models I tested were 39–56%. Qwen3.8-35B-A3B, the fastest model on the machine, runs at about 10.5 tok/s in bursts. With Fovea Pilot added, I expect the 35B-A3B to reach roughly 11–15 tok/s on agent and tool-call work while holding 8.5–10.5 tok/s sustained on ordinary text, and Flash-Next to move from 2.61 to about 3 tok/s on its current file, or 5.5–7 on agent work with a lighter quantization.

The biggest jumps should come on dense models, where every token is one shared read of the weights and the method has the most to work with. Qwen3.8 4B runs at 18 tok/s on this laptop today. With Fovea Pilot and a small companion drafter trained to imitate it, I project 30–38 tok/s, roughly double, on all text, and the low 30s on tool calls even without the trained drafter. A 12B dense model should run like a 5–6B one, at about 7–8 tok/s with exact output. And a dense 70B, which barely moves at 0.075 tok/s when streamed from the SSD, should run at 0.3–0.6 tok/s per conversation and about 1.2 tok/s across four at once, up to 16× faster, which makes a 70B a practical background agent on a 15 W laptop chip. These are projections from tested formulas and kernel benchmarks, not yet runs on this machine. Real numbers are coming.

Leave me some feedback and/or insight if you have any please. Thank you.


r/LowEndLocalAI • • 1d ago

Benchmark PolyStrata on just 6GB VRAM: Inkling 2 Mini 26.4B running at 43 tok/s with 16GB RAM — no speculative decoding

Post image
150 Upvotes

Most of the PolyStrata experiments I've seen involve GPUs with at least 8GB of VRAM and considerably more system RAM.

Today I decided to test it on my relatively modest laptop. The results exceeded my expectations.

Hardware:

  • AMD Ryzen 7 7435HS
  • NVIDIA RTX 4050 Laptop — 6GB VRAM
  • 16GB DDR5 RAM
  • PCIe Gen4 x8
  • Fedora 44 KDE

Configuration:

  • PolyStrata commit: 42e489d14
  • Engine: strata-poly v0.1.66, CUDA 13
  • Model: Inkling 2 Mini 26.4B
  • Quantization: UD-Q2_K_XL (9.14GB GGUF)
  • Context: 8192
  • Small-card mode enabled
  • Speculative decoding disabled
  • Multi-conversation cache disabled

The installer explicitly warned that Inkling had not been tested on cards below 8GB VRAM.

Nevertheless, installation and inference worked without driver changes, custom patches, or undocumented workarounds.

Measured results:

TestOutput tokensDecode speedVRAM cache hit
Short technical question16440.8 tok/s88.9%
Code generation, first attempt6,00043.7 tok/s96.4%
Code generation, completed6,51143.2 tok/s94.7%

For the coding benchmark, I asked the model to create an interactive N-body gravitational simulation in a single HTML file, using Canvas and vanilla JavaScript.

The first attempt reached my 6,000-token output limit. I increased the limit and repeated the request using a small Python streaming client.

The completed generation took 150.88 seconds.

The resulting simulation runs in Firefox, displays orbital trajectories, allows adding new bodies, and provides simulation controls and energy monitoring. No manual code corrections were needed, apart from removing the surrounding Markdown fences.

The numerical accuracy of the simulation still needs to be audited.

Hardware telemetry during generation:

  • GPU utilization: 89%
  • CPU utilization: 25%
  • GPU temperature: 67°C
  • GPU power: approximately 72W
  • VRAM usage: 5.8/6GB
  • System RAM usage: 7.7/15GB
  • Cached experts: 1,021, occupying approximately 2.4GB of VRAM

These are observed telemetry snapshots, not measured peak values.

What interests me most is the efficiency of expert caching. The installer estimated that only around 34% of the experts would fit in VRAM, yet the reported VRAM cache hit rate reached over 94% during long code generation.

This raises an interesting research question: how much can expert access locality and intelligent caching compensate for limited physical VRAM?

I'm not claiming that PolyStrata is universally faster than llama.cpp. A controlled comparison using the same GGUF is my next step. Also, the small-card optimizations and aggressive quantization may affect output quality.

But sustained generation above 43 tok/s from a 26.4B MoE model on a 6GB laptop GPU is certainly worth investigating.

Project: https://github.com/simplexai-labs/PolyStrata

Has anyone else tested PolyStrata on 6GB or even 4GB GPUs? I'd be particularly interested in expert cache hit rates, memory pressure, and sustained generation performance.PolyStrata on just 6GB VRAM: Inkling 2 Mini 26.4B running at 43 tok/s with 16GB RAM — no speculative decodingMost of the PolyStrata experiments I've seen involve GPUs with at least 8GB of VRAM and considerably more system RAM.Today I decided to test it on my relatively modest laptop. The results exceeded my expectations.Hardware:AMD Ryzen 7 7435HS

NVIDIA RTX 4050 Laptop — 6GB VRAM

16GB DDR5 RAM

PCIe Gen4 x8

Fedora 44 KDEConfiguration:PolyStrata commit: 42e489d14

Engine: strata-poly v0.1.66, CUDA 13

Model: Inkling 2 Mini 26.4B

Quantization: UD-Q2_K_XL (9.14GB GGUF)

Context: 8192

Small-card mode enabled

Speculative decoding disabled

Multi-conversation cache disabledThe installer explicitly warned that Inkling had not been tested on cards below 8GB VRAM.Nevertheless, installation and inference worked without driver changes, custom patches, or undocumented workarounds.Measured results:Test Output tokens Decode speed VRAM cache hit
Short technical question 164 40.8 tok/s 88.9%
Code generation, first attempt 6,000 43.7 tok/s 96.4%
Code generation, completed 6,511 43.2 tok/s 94.7%

For the coding benchmark, I asked the model to create an interactive N-body gravitational simulation in a single HTML file, using Canvas and vanilla JavaScript.The first attempt reached my 6,000-token output limit. I increased the limit and repeated the request using a small Python streaming client.The completed generation took 150.88 seconds.The resulting simulation runs in Firefox, displays orbital trajectories, allows adding new bodies, and provides simulation controls and energy monitoring. No manual code corrections were needed, apart from removing the surrounding Markdown fences.The numerical accuracy of the simulation still needs to be audited.Hardware telemetry during generation:GPU utilization: 89%

CPU utilization: 25%

GPU temperature: 67°C

GPU power: approximately 72W

VRAM usage: 5.8/6GB

System RAM usage: 7.7/15GB

Cached experts: 1,021, occupying approximately 2.4GB of VRAM. These are observed telemetry snapshots, not measured peak values.What interests me most is the efficiency of expert caching. The installer estimated that only around 34% of the experts would fit in VRAM, yet the reported VRAM cache hit rate reached over 94% during long code generation.This raises an interesting research question: how much can expert access locality and intelligent caching compensate for limited physical VRAM?I'm not claiming that PolyStrata is universally faster than llama.cpp. A controlled comparison using the same GGUF is my next step. Also, the small-card optimizations and aggressive quantization may affect output quality.But sustained generation above 43 tok/s from a 26.4B MoE model on a 6GB laptop GPU is certainly worth investigating. Project: https://github.com/simplexai-labs/PolyStrataHas anyone else tested PolyStrata on 6GB or even 4GB GPUs? I'd be particularly interested in expert cache hit rates, memory pressure, and sustained generation performance.


r/LowEndLocalAI • • 1d ago

Optimization How I used real optimization (Mostly Gemini Neon) to take Inkling 2 Mini from 9.6 tok/s @ 16K to 25 tok/s & 192K context on a 6 GB RTX 3060 laptop

49 Upvotes

I use my predator helios mostly as a gaming rig and all of my office work (think-tank research and events etc, non-tech) is usually done on claude, all my side projects too. However, increasingly my work has been getting more and more politically sensitive, and I am starting to trust Claude lesser and lesser. Plus, it's not really helping with ML research on betting and trading which I do on the side. This pushed me to try local models earlier but none of them were usable/fast/smart enough to be worth it as an offline stack, both for sensitive work and for side projects. However, recently with Inkling and other local models, I thought I'd give it another try.

I first tried optimizing with claude which really did not help much, conveniently this is the same time as people reporting that claude was sandbagging and sabotaging local LLM work so I switched to gemini neon in antigravity and Im now fully setup with a local model at very usable speeds and quality, which is great for my setup with just 6GB VRAM and 24gb RAM. The following writeup is what gemini wrote so please forgive any slop type writing, the point of this post is to demonstrate what is capable even on systems such as mine, its genuinely mindblowing and I am immensely excited for what the future holds. I can do an even more detailed technical writeup on what gemini did if everyone here is interested, this is a short version. It wrote custom kernels and did a shit ton of optimization. I hope y'all like it! AI generated writeup starts below:

Most people write off 6 GB laptop GPUs (really only 5.1 GB usable VRAM on Windows) as "7B-8B toys." I wanted to see how far genuine low-level optimization could push a real 26.4B looped reasoning MoE (Inkling-2-Mini, 10.6 GB GSQ quant) on my Acer Predator RTX 3060 6 GB laptop (i7-10870H, 24 GB RAM).

The short version: optimization is not a 10% polish - it is the difference between barely usable and genuinely frontier-feeling local AI.

Before vs After (same laptop, same 5.1 GB VRAM ceiling)

StageContextDecode SpeedPrefill SpeedPeak VRAM
Starting llama.cpp baseline16K9.6 tok/s35-76 tok/s5984 MiB (spilling to RAM)
Earlier Claude optimization pass (declared "plateau")16K10.8-11.2 tok/s (9.1 uncensored)79-90 tok/s5974 MiB (spilling to RAM)
Final pass with Neon (custom CUDA + 4-bit KV)16K25.3 tok/s~340 tok/s<= 5130 MiB (zero spill)
Final pass with Neon32K25.1 tok/s (23.2 @ 29K)342.7 tok/s5128 MiB
Final pass with Neon64K24.4 tok/s (21.2 @ 58K)326.4 tok/s<= 5130 MiB
Final pass with Neon128K22.9 tok/s (19.5 @ 111K)301.9 tok/s5126 MiB
Final pass with Neon192K20.8 tok/s (16.7 @ 165K)276.1 tok/s5128 MiB

(That is 2.6x faster decode*,* 2.77x faster uncensored*,* 4.5x-9.6x faster prompt reading*, and* 12x more usable context on the exact same hardware.)

Why the earlier pass stalled (Claude vs Neon)

I started this project with Claude, and honestly it left almost all the real performance on the table:

  • It stayed stuck tweaking static layer offloading in llama.cpp, hit 10.8-11.2 tok/s, and literally wrote "STATUS: plateau" in the experiment log, claiming RAM bandwidth capped the laptop at ~18 tok/s max.
  • It accepted VRAM overcommit (~6.0 GB used on a 5.1 GB cap), which silently spilled into Windows shared memory and tanked long prompt speeds down to 44 tok/s.
  • It tried live LoRA uncensoring which wrecked decode speed by -41% (down to 9.1 tok/s), and never figured out how to get past 16K context.

Then I handed the whole optimization stack to Neon, and Neon did all the real heavy lifting from scratch:

  1. Switched to a dynamic GPU expert cache (maya-ik2): Instead of dumping whole model layers onto the slow CPU, it keeps ~85-88% of the hottest experts live in VRAM and streams only the rare misses over PCIe inside a single CUDA graph.
  2. Fixed hidden CUDA kernel bottlenecks: Found that the engine's quantized math kernels were spilling registers to slow local memory, rewrote them cleanly to zero spills, and reclaimed ~424 MiB of dead scratch memory that the engine was wasting on unused buffers - feeding every megabyte straight back into GPU expert slots.
  3. Built a custom 4-bit Hadamard KV cache (TurboQuant style): Cut KV memory in half vs FP8 (0.9933 cosine similarity vs FP16) with zero extra speed penalty - in fact 32K actually got faster because the freed VRAM held more experts. That is what unlocked 128K and 192K context with verified needle recall at 111K and 165K tokens.
  4. Zero-cost uncensoring & smarter caching: Replaced the slow -41% LoRA with native refusal-direction orthogonalization (zero speed drop), protected the model's 3-pass looped layers from getting evicted from cache, and used streaming PCIe reads so incoming weights don't pollute GPU cache.

Proof it's not just a benchmark toy: an 87K-token offline coding run

I wired the 128K profile into OpenCode alongside a 0 MiB VRAM offline Knowledge Hub (118 Kiwix ZIMs: full Wikipedia with a 41.5M semantic index + 100 DevDocs libraries + StackExchange over local MCP) and gave it a single cold prompt to build a multi-file Python CLI (riskwatch):

  • Look up SQLite FTS5 syntax in offline DevDocs and pull real maritime chokepoint stats from offline Wikipedia (zero hallucinated facts).
  • Build a trigger-synced FTS5 database with safe query sanitization (so inputs like Hormuz-2026, oil/gas, or unbalanced quotes don't crash SQLite).
  • Build a rolling z-score time-series anomaly engine with strict zero look-ahead bias (proven by mutating all future rows after day 45 to 1,000,000 and asserting earlier outputs stay bit-identical).
  • Write a full pytest suite, debug its own bugs, and generate an executive Markdown brief.

Result:

  • 76 tool calls (including 11 real offline MCP lookups), reaching 87,016 context tokens at 20.1 tok/s median (23.2 peak) and 81.1% median expert cache hit.
  • It caught and fixed its own missing SQL JOIN bug and timestamp parsing bug during the test loop.
  • 20/20 tests passing in 1.66s, full CLI pipeline + cited report generated. $0.00 API cost, zero internet.

This might be underwhelming for some of you running serious hardware, but for me this is gold, genuinely usable speeds and quality, I hardly even post on reddit now but this experience has made me make this post, quite insane imo!


r/LowEndLocalAI • • 16h ago

Discussion Protection against prompt injection in low-low end SLM

1 Upvotes

Hi, people of the sub

So, after a month of tests and too much time spent, I decided to give up on local coding. My hardware is a laptop with AMD Ryzen 7 5825U (iGPU) and 16 GB DDR4 RAM

I see there still potential for a RAG system, but with 4B-7B parameters maximum, its knowledge is very limited. Enters web search MCPs, but here's the problem: exa doesn't have builtin gurdrails against prompt injection. I would have to load my own model for it, what means more memory comsuption, etc, etc.

What do you think would be the best alternative here? Thanks!


r/LowEndLocalAI • • 1d ago

Model Showcase Real-time sound event detection for dashcams in 7.6 MB of plain C (no deps, streaming API) [CPU]

16 Upvotes

I built a small ( 1.9M params ) on-device model that labels dashcam and in-cabin audio live: crashes, skids, debris, horns, sirens, shouts, and 15 more categories, each with a start and end time.

It runs causally (decides every 0.1 s from past audio only) at ~47x real time on one x86 core (checked on desktop CPU only), in plain C with no dependencies.

I also published the test set we evaluate on (37 real dashcam recordings, human-reviewed timestamps) and ran 7 open models through the identical protocol: same category mapping, same decoder, thresholds chosen by two-fold cross-validation for every system.

Model + C library: huggingface.co/WhissleAI/arc-sound-dashcam
Test set: huggingface.co/datasets/WhissleAI/arc-sound-dashcam-test-v1 (also includes comparison results)

Git CLI: https://github.com/WhissleAI/arc-sound-dashcam


r/LowEndLocalAI • • 1d ago

Optimization Host performance optimization script (TUI)

Thumbnail
gallery
17 Upvotes

For whoever might find it beneficial... I've created a little TUI script for optimization of your (mainly) Linux host. Macos/wsl and docker are also supported, although the optimizations for those are limited for obvious reasons.

It supports pretty much every modern Linux distribution, hardware and most inferance related GPU's. Feel free to submit an issue or pull request if you find bugs or want support for something that isn't supported yet!

https://github.com/bramvanoploo/strata-performance-setup


r/LowEndLocalAI • • 1d ago

Optimization [Inkling-2-Mini-3D-Coder] Better 3D scenes with up to 86.8% fewer tokens

5 Upvotes

r/LowEndLocalAI • • 1d ago

Benchmark From rage-deleting Inkling 2 Mini at 10 tok/s to beating Kaggle's 2× Tesla T4 (32 GB) on my 6 GB laptop GPU

Post image
48 Upvotes

r/LowEndLocalAI • • 1d ago

Which LLM Should / Can I Use? Which lll should I use for my hardware?

2 Upvotes

Currently running a ryzen 9 5900XT, 64GB RAM DDR4 with a custom Speedy V12 build with Qwen3.8 Flash-Next Q2_0, 65,536 ctx, INT8 KV 20,480 resident, 4 CPU workers, MTP Q4 head, speculative depth 4, confidence 0.7, lookup chain 6, adaptive CPU/GPU MoE expert placement, 4GB conversation cache, 8,192-token checkpoints, 1.5GB VRAM reserve. 70 tok/s

Any optimizations or engines I should try?


r/LowEndLocalAI • • 1d ago

Discussion Model Setup suggestion

2 Upvotes

I’ve got my own autonomous pentesting harness set up and I’m thinking about adding a local LLM to handle CVE research.
The idea is to feed it components and versions identified during reconnaissance and have it search the web for known, exploitable CVEs that actually affect those versions.
I want this to be its only responsibility. No exploit generation, no general pentesting tasks. Just CVE research, finding relevant exploits/PoCs, and checking whether they’re applicable to the identified versions.
Accuracy is the main concern. I want to avoid hallucinated CVEs, irrelevant results, and false positives.
Is a locally hosted LLM good enough for this? If so, which model would you recommend on my limited spec?

• Processor: Intel® Core™ Ultra 9 275HX Processor
(E-cores up to 4.60 GHz P-cores up to 5.40 GHz) -
selected upgrade
• Operating System: Windows 11 Home Single
Language 64
• Microsoft Productivity Software: Microsoft Office
Home 2024 India - selected upgrade
• Memory : 32 GB DDR5-6400MT/s (CSODIMM) - (2 x
16 GB) - selected upgrade
• Solid State Drive: 1 TB SSD M.2 2280 PCIe Gen4 TLC
- selected upgrade
• Second Solid State Drive: No Storage Selection
• Display: 40.64cms (16) WQXGA (2560 x 1600),
OLED, Glare, Non-Touch, HDR 1000 True Black, 100%DCI-P3, 500 nits, 165Hz, Low Blue Light
• Graphic Card: NVIDIA® GeForce RTX' 5070 Laptop
GPU 8GB GDDR7 - selected upgrade