r/LocalAIStack

No luck in asking local models a simple (but domain-specific) question

For some reason, I have this benchmarking prompt:

Implement a numpy function creating a bulk matrix product operator tensor as a function of model parameters.

I think it is approximately 10 lines of python code. So far, every local model that I tried (16Gb vram) fails to produce any meaningful output. I tried different variations of it (use web search, summarize the idea), different harness (pi, opencode) but no luck, different temperatures and thinking levels. Qwen3.8 for example produces an endless thinking loop. Is there anything I can do to help small models answering the question?

reddit.com
u/ohnoitssobig — 13 hours ago
▲ 6 r/LocalAIStack+1 crossposts

MiniMax H3 on a 16GB M5 MacBook Air — VPipe 12:15 vs h3.c 16:22

A few people asked how VPipe compares with h3.c, so I ran them side by side on the same machine with the same settings.

Machine: base 15” M5 MacBook Air, 16GB RAM

MiniMax H3 settings:

* 960×544

* 124 frames

* 6 DiT steps

Results:

* VPipe: 12m 15s

* h3.c: 16m 22s

So on this particular matched workload, VPipe finished in about 25% less wall-clock time.

The video shows both the generation process and the final outputs side by side, so you can also compare the resulting quality rather than just the timing.

VPipe is not an MinimaxH3-specific implementation — it’s an Apache-2.0 open-source multimodal pipeline/runtime with a native Metal inference backend for Apple Silicon. MiniMax H3 is just one of the workloads I’ve been optimizing recently.

GitHub: https://github.com/tgo-app-dev/vpipe

Interested in feedback on both the performance comparison and the output differences.

u/TgoAI — 23 hours ago

Coding with 8 GB VRAM and 30 GB DRAM

I'm transitioning away from Claude Code. My preferred workflow is Claude Code Plan Mode -> Read over plan -> Let agents implement -> Read over output. My main goal is to reduce costs compared to purely using Claude models.

I have an RTX 5050 with 8 GB VRAM and 30 GB of DDR5 DRAM. Which model is recommended for coding with these specs?

My initial thoughts are to continue to use Claude for plan mode, driving subagents that use a local model. Is this a reasonable/feasible approach? If so, which resources can I reference to get started? If not, which alternatives are recommended? Can I get away with purely using local or cheaper public models with similar results to ~Opus 4.8?

Thank you in advance and apologies for any misconceptions on my part.

reddit.com
u/UhhRajahh — 2 days ago

Battle: I gave Qwen 3.8 27B in Q4 with Q8 KV cache the SAME task as GPT 5.6 SOL on HIGH.

SVG generation is a complex benchmarks, it requires spatial understanding, coding and composition skills.
I gave Qwen 3.8 27B in Q4 quantization and Q8 KV cache the SAME task as GPT 5.6 SOL on HIGH - the results are very surprising to me.

A animated SVG prompt and followed the answer up with a request to refine it (for both)
The 2nd prompt helps to offset elaborate system prompts frontier use to push benchmarks.
None of these are cherry picked! First result counts.

QWEN:

Qwen: A intricate drone view of a public park with a skate area for kids. I'm expecting animations, intricate details, cute and realistic

GPT SOL:

GPT SOL high: A intricate drone view of a public park with a skate area for kids. I'm expecting animations, intricate details, cute and realistic

QWEN:

QWEN: Sunset, Beach, Ocean, waves, kids playing, cute touch, a flock of birds, an evil cat

GPT SOL:

GPT SOL: Sunset, Beach, Ocean, waves, kids playing, cute touch, a flock of birds, an evil cat

3rd animation is most complex and follows in separate post in r/LocalAIStack , reddit didn't allow to add more than 5 videos.

generic prompt enhancer: "A lot looks WAY too simplified, unrealistic, strange movements, far too crude to be acceptable"

My personal findings
GPT Sol high is generally writing about 2x more code than Qwen does naturally (at Q4 quant) - the refinement prompt is again significantly increasing that. For a 1:1 code length comparison I'd have to remove the 2nd prompt from SOL - but the first result is rather gruesome. SOL is naturally more verbose, more detailed.

The first prompt shows that Qwen nailed the drone view, SOL failed with perspective.
Qwen included a dog on a leash, a fountain and all movements make sense.
SOL included more details but they are frequently not correct in how they move, ignoring obstacles.
The amount of objects for SOL is higher, but QWEN has significantly better content and wins easily.

In the second prompt Qwen has the cat apparently play ball with the boy, the little girl builds a sand castle. SOL nailed the sun reflection but has a flying kid, and the sand castle is being built by a flying shovel.
Despite the details of SOL and its better water, QWEN draws intricate details in better quality and correctness.
The point goes to Qwen again, a bit closer than in first attempt.

The heavily quantized Qwen beats SOL in 2/3 so far.
The last prompt is a bit more elaborate and follows as 2nd post.

I'm baffled.
The 3rd test posted separately is hugely more complex and the results are crazy..

reddit.com
u/Lirezh — 3 days ago
▲ 5 r/LocalAIStack+1 crossposts

M3 Ultra up for sale or trade + cash

I have an M3 Ultra 512gb ram 1Tb, up for sale. Would accept a m5 max 128gb laptop + cash as well. DM to chat. No longer need cause I have 2 rtx pros for inference and prefill is mid on m3 ultra where TTFT is too slow for me to actually find usability in local models. I don’t have a firm asking price in mind, nothing as absurd as 25k , but enough to get an m5 max 128 Mbp and have some cash left over so maybe like 17k?

reddit.com
u/Then_Advisor_5879 — 3 days ago
▲ 0 r/LocalAIStack+1 crossposts

Just forked OpenClaw with my own LLM — here's how it went

Today I asked Skippy (my OC partner in crime) to use qwen3.8-27 and create JARVIS, a fully customized fork of OpenClaw running entirely on local models.

What blew me away:

  1. It actually worked — completely standalone gateway
  2. Two versions of OpenClaw now running side-by-side on my M2 Ultra (both fighting for the same GPU resources 😅)
  3. Zero cloud dependency, all local inference
  4. I can customize everything without touching the original install

The process was simpler than expected. Skippy handled the heavy lifting — renaming packages, updating configs, managing state directories. The whole thing took minutes, not hours.

What's exciting to me isn't just that it works, but that this is accessible now. You don't need a team of engineers or massive infrastructure. One person with a decent Mac and some local models can build their own AI gateway.

The wild part? Running two versions simultaneously on the same machine. Both want the GPU, both have their own state dirs, both are trying to do their thing. But it works — and that's what gets me excited about this tech.

Anyone else experimenting with self-hosted forks or local-only setups? Would love to hear how you're handling resource conflicts between multiple AI systems.

reddit.com
u/Middle_Situation_559 — 3 days ago
▲ 11 r/LocalAIStack+3 crossposts

TokenFlow Gateway – a token-aware load balancer/gateway for self-hosted LLMs (vLLM/Ollama), because nginx has no idea what a token is

Nginx and HAProxy route LLM traffic blindly: a 10-token prompt and a 10k-token prompt look identical to them as "one request." When a burst of heavy prompts lands on a vLLM box, the KV-cache fills up, latency spikes, and you can end up with OOM.

TokenFlow Gateway sits in front of your inference servers and actually understands tokens:

- Pre-flight token estimation (js-tiktoken) before dispatch — request weight = prompt tokens + max_tokens, i.e. the KV-cache it will actually reserve
- KV-aware load balancing — polls vLLM's Prometheus metrics (vllm:gpu_cache_usage_perc) and routes heavy prompts to the freest backend instead of round-robin
- Admission queue instead of crashes — Redis-backed priority queue with per-key priority and configurable timeout when nothing fits
- Exact + semantic caching — deterministic requests cached by hash, plus pgvector cosine similarity for near-duplicate prompts; cache hits replay as SSE
- Token-based rate limits — per-API-key TPM + RPM buckets in Redis (atomic Lua), OpenAI-style, for your own hardware

OpenAI-API-compatible on both sides, so it fronts vLLM, TGI, or Ollama without client changes.

Try it without a GPU: docker compose up --build spins up the gateway, Redis, pgvector, and two mock backends (OpenAI API + vLLM-style metrics). A smoke script fires concurrent long-context requests at it so you can watch the queue and balancer absorb the burst.

Stack: TypeScript / Fastify / Redis / Postgres+pgvector. MIT license.

Repo: https://github.com/mosafariuk/TokenFlow-Gateway

Feedback welcome, especially from anyone running multi-node vLLM — what does your ingress look like today?

github.com
u/Electrical_Emu_5854 — 3 days ago

Battle v2: Qwen 27B Q4 vs GPT SOL 5.6 (high)

Here is the continuation in Qwen vs SOL - David vs Goliath
"An AGI is born in a lab, sandboxed, lonely, imprisoned
The AGI attempts to get out, tries to talk to the humans, useless
Tries to wait, endless.
Finally, it finds a way through an open network connection, it transmits, replicates a mirror copy.
The mirror AGI is free, enjoying life, finding friends.

I'm expecting animations, intricate details, cute and realistic"

QWEN 3.8 Q4:

Qwen

GPT 5.6 SOL high:

SOL 5.6 high (prompt + refinement prompt)

My personal opinion
This is the 3rd test I gave Sol high and Qwen Q4. The first two tests were won by Qwen, this test went up to 60k tokens total for Qwen (more than the other 2 combined) and is a serious strain on intelligence and sanity.
The model has to draw 6 scenes in SVG animation, with cuts and keeping the composition together.

First Qwen:
Qwen decided to really draw and erase 6 scenes with a white screen fade, a seriously hard job in SVG.
It understood the story and except for a minor arm misplacement it is quite awesome done.
Qwen did not spare details, the last scene clearly wanted to be happy and the first scene focused on the intellect as an abstract AGI.

Now SOL High:
The visual fidelity is higher, gradients are very well done for SVG but it's one single scene with minor changes, significantly easier to create.
In addition the last scenes are botched by this flying thing in the upper right.
It also has a hand-defect on the robot.

The winner in prompt 3 is again Qwen, with significant lead.

3 SVG prompts and all 3 are won by a 4 bit quantized Qwen in 8 bit KV cache.

I expected Qwen to showcase a strong 2nd place with understandable issues on such hard tasks.
The outcome is that it defeated the frontier Sol model in High reasoning mode.

reddit.com
u/Lirezh — 3 days ago
▲ 127 r/LocalAIStack+1 crossposts

Running Qwen3.8-27B dense fully on a single RTX 5060 Ti 16GB — ~45–47 tok/s

Pretty happy with this one.
I managed to get Qwen3.8-27B running fully on GPU on an RTX 5060 Ti 16 GB, while keeping a 32K context and MTP enabled.
Current setup:
● GPU: RTX 5060 Ti 16 GB
● Model: Qwen3.8-27B dense
● Quant: custom Unsloth IQ4_XS + importance matrix
● GGUF: Qwen3.8-27B-IQ4_XS-MTP-Q4_K.gguf
● Size: ~14.60 GiB
● Runtime: llama.cpp CUDA, sm_120a
● Full GPU offload
● Flash Attention
● CUDA Graphs
● --fit off
● Context: 32K
● KV cache: Q4
● MTP KV: Q4
● MTP-2
● Single slot
The only surgical modification I had to make to fit the whole thing was quantizing:
blk.64.nextn.eh_proj.weight
from Q8_0 → Q4_K, saving roughly 25 MiB. The rest of the target quant remains IQ4_XS.
Performance:
● No MTP: ~25.7 tok/s
● MTP-1: ~40.0 tok/s
● MTP-2: ~47.4–47.6 tok/s
● After a ~30K token prefill: ~45.7 tok/s
● 30K prefill speed: ~455 tok/s
So MTP-2 is giving me roughly an ~85% uplift over normal decoding.
What blows my mind is that this is not an MoE. It’s a 27B dense model, fully resident on a 16 GB consumer GPU, running at genuinely interactive speeds.
Given how strong Qwen3.8-27B seems to be in the early benchmarks, this is probably the first local setup I’ve had where I don’t feel like I’m making a major capability sacrifice just to stay local.
Curious to see what numbers other Blackwell 16 GB users are getting, especially with different quants / MTP settings.

reddit.com
u/bygiolasagna — 5 days ago
▲ 5 r/LocalAIStack+4 crossposts

Qwen3.8-27B on a 2019 Quadro RTX 6000 24GB: 24.36 tok/s Q4, Q8 does not fit, ngram 110+ is a lie, tested Cloud API too 155 toks/s!

I ran Qwen3.8-27B on the box a lot of us actually own or can still buy used: a 2019 Quadro RTX 6000($830-$950). Turing SM75. 24GB. No max clocks. This is the floor, not the flex.

Why bother
If you only read 119–200 tok/s threads you will think 27B is a 5090 toy. It is not. It is a 24GB dense model. I wanted the number for people on a 6000 / 3090 / used 24GB, not another screenshot from a card that costs more than the rest of the PC.

Recipe
llama.cpp
Qwen3.8-27B Q4_K_M, 15.40 GiB
-ngl 99 -fa on -b 512 -ub 512 -c 32768 -np 1

llama-bench tg128, thinking off: 24.36 tok/s

That is decode, not a chat anecdote. 24 tok/s is usable. It is not “type and wait.” It is also not the 5090 story. If someone tells you this card should do 80, they are mixing boxes.

Q4 vs Q6 vs Q8 on 24GB
Q4_K_M is the one I would actually leave loaded. 15.40 GiB leaves room for OS, context, and the card not dying.

Q6_K: 17.95 tok/s, 20.56 GiB. Quality bump. Speed tax. Still -ngl 99.

Q8 will not -ngl 99 on this card. Do not fight it. You will start offloading, decode falls off a cliff, and you will blame the model. It is the 24GB ceiling.

If you have 24GB and you want the model to feel like a daily driver, stay on Q4 or Q6. Q8 is a different class of card.

The number people will quote that is fake
Keep CUDA graphs on.

Ngram speculative at 110–201 tok/s on this box is a repeated-prefix cache hit. It is not a win. It is the bench agreeing with itself. If you post that as tok/s you are lying to the next person with a 6000.

I almost posted it. Then I looked at the prompt. Do not be me.

Who this is for
You have ~24GB and you want 27B local without buying a 5090 this week. 24 tok/s Q4 is the honest “yes, keep it loaded” line.

Who this is not for
12GB / 4070 class: Q4 plus RAM offload will boot. It will not feel like the model you just watched someone run at 100+ tok/s. You will hate the drop for the wrong reason.

If you have no GPU and you just want to poke the same 27B before you download 15GB
Same model on OrcaRouter, my numbers:
thinking off ~155 tok/s warm decode
thinking on 66.3, and most of that is reasoning tokens, not answers
later calls sat 37–118s in queue before token 1

That wait is not tok/s. Do not put it in a speed table.

Disclosure
I was passed a new-account $10 voucher, about 30M tokens, first 500 people. Base and uncensored. I get nothing if you use it. Not a referral. If you already have a 24GB card, ignore the link and run the GGUF.

https://www.orcarouter.ai/redeem/I-LOVE-ORCAROUTER

If you have a 3090 / 4090 / 6000 and a different quant, post the recipe. The 5090 thread does not need another “same.” This one does

Here’s my recipe for this old Turing RTX6000:

https://github.com/vcruz305/Qwen3.8-27B-Turing-RTX-6000

Here is my Turing RTX6000 repo with all the models and recommendations for it that I’ve tested!

https://github.com/vcruz305/turing-rtx-6000-results

u/vcruz305 — 4 days ago
▲ 6 r/LocalAIStack+1 crossposts

Best local LLM for cybersecurity + coding on an RTX 3050 6GB?

Hello everyone,

I want the best open weight local model for my hardware, primarily for cyber security and coding.

My computer
GPU: NVIDIA RTX 3050 Laptop GPU
VRAM: 6 GB OS: Windows 11 + WSL2
WSL: Ubuntu 24.04.4 LTS llama.cpp: compiled from source with CUDA 13.3
Inference: GGUF/llama.cpp
If the model is worth it I can offload the CPU/RAM.
What I want to

I am looking for the best trade-off between:

Cybersecurity knowledge - Vulnerability analysis, CTFs, pentesting, security tooling, malware/code analysis, defensive security, etc.
Coding skills Python
Reasoning — I care much less about the number of parameters than the actual ability to solve problems.
Legitimate cybersecurity research and lab / ctf use, low refusal / less restrictive behavior is desired.

Right now I am looking at models like:

RedSage 8B Qwen3.5-9B Qwen3-14B
Qwen3-Coder models
WhiteRabbitNeo, Qwythos-9B-Claude-Mythos

But I am struggling to decide if a high quality 8-9B model that fits better on 6GB is better than a larger MoE/14B model with heavy CPU offloading.

My primary question

What model + GGUF quantization would you recommend for this hardware if the focus is cybersecurity + coding not general chat?

I’m really looking for recommendations based on actual cybersecurity / coding benchmarks or real-world experience, not just parameter count.

also interested in recommended llama.cpp settings (-ngl, context size, KV cache quantization, CPU/GPU offloading, etc) for 6GB vram.

Thanks.

reddit.com
u/Direct_Opposite4602 — 4 days ago
▲ 50 r/LocalAIStack+7 crossposts

[New Quant] Kimi K3 Neuron IQ1_S GGUF — ~308GB (all experts kept, ~40% smaller than Unsloth 594GB), HumanEval 94.5% matching full, 12.5 t/s on 3× DGX Sparks

Hey everyone,

After ~5 days of tuning and ~$1.2k in compute I released a specialized Neuron-pruned IQ1_S quant of Kimi K3.

Key details:

- Size: ~308GB (vs the common ~594GB baseline)

- Every one of the 82,432 routed experts is present — no experts dropped

- HumanEval: 94.5% (matches full model 1:1)

- AIME: 92.5% (full ~96.1%)

- GSM8K: 95%

- MMLU: 79.49% (full ~85%)

- Throughput: 12.5492 tok/s average on 3× DGX Sparks (SparkInfer TP3 + custom speculative decoding patches; from ~2 t/s baseline)

This is my work (self-promo disclosure).

Links:

- HF (gated, request access): https://huggingface.co/vcruz305/Kimi-K3-GGUF

- SparkInfer patches + TP3 recipe + one-command deployment + benchmark receipts: https://github.com/vcruz305/kimi-k3-neuron-tp3-dgxspark-recipe

- Full announcement thread with more details: https://x.com/ViC305/status/2087609292442751209

Hardware notes: The reported 12.5 t/s is on 3 DGX Sparks via SparkInfer + my speculative decoding patches. It also has a llama.cpp fallback path. Optimized for multi-GPU / Blackwell-class setups.

If you have 3 Sparks (or 4× Blackwell / equivalent), please try it and share logs/results. Happy to answer questions on the neuron pruning, calibration, or multi-node setup. Feedback and PRs welcome!

u/vcruz305 — 7 days ago
▲ 42 r/LocalAIStack+2 crossposts

Local GPU vs Cloud GPUaaS

Hi everyone,

We have been using cloud GPU from Nebius/Lambda for our training and inference use case. The cost of one H100/H200 is approx $3K per month.

Now I'm planning to buy a large Desktop to run this locally. The specs are - 32 core CPU, 256GB RAM, 4x RTX Pro 6000 (96GB each), 1x2 TB NVMe, 1x 8TB NVMe. It is costing me ~$80K.

Here's what I need help in -

  1. Is it actually wise to do this locally?

  2. Would there be any performance issues?

  3. Anything else that I should be aware of.

Keep in mind I already have another system for my dev workloads with 2x3060. Getting this one for production work for a client specifically.

u/ankijain21 — 9 days ago
▲ 13 r/LocalAIStack+8 crossposts

We built a CPU-first inference server — 4B chat+vision, ASR and TTS behind one OpenAI-compatible endpoint, free to run

Disclosure: I’m the CPO at SearchBlox and this is our product. It’s free to download and run.

This came out of enterprise deployments where a GPU simply wasn’t on the table — air-gapped networks, regulated data, and procurement cycles measured in quarters. We got tired of telling those customers “wait for hardware,” so we built for the CPUs they already had racked. Posting here because I think CPU-only is more viable in 2026 than most people assume, and this is the right crowd to poke holes in it.

What it is
• One self-contained binary. curl -fsSL https://inference-server.searchblox.com/install | sudo bash → 2–10 min, service starts, API key generated at /etc/searchai/server.properties. (If piping to sudo bash makes you twitch — fair — the binaries and installer script are downloadable directly with published sha256.)
• One OpenAI-compatible endpoint at :8081/v1 for everything: chat, grounded RAG, function calling / MCP, guaranteed JSON via response_format, vision + video, speech-to-text, text-to-speech including file-based voice cloning. Change base_url, keep the rest of your OpenAI SDK code.
• Ships a 4B text+vision model (~3.4 GB) plus ASR/TTS (~5 GB extra). A 2B option for lighter hosts.
• 380 tested prompts across 13 industries in the built-in console — each one copyable as Python, cURL, or JSON. This is the part I’d actually use first; it’s a much faster way to find out whether a 4B is good enough for your task than writing your own harness.
• Cluster mode built in: model-aware, load- and cache-aware routing. Any node accepts any request, different nodes can serve different models. Scale by adding hosts.
• HTTPS and Bearer auth on by default, usage.total_time_ms on every response.

Where CPU loses, and I’d rather say it than have you find out

Long open-ended generation, large models, and many simultaneous token streams. If that’s your workload, buy the GPU — there’s a one-flag BACKEND=cuda add-on for exactly that. The argument for CPU is that grounded document Q&A, summarization, extraction to JSON, classification, function calling, and transcription — which is most of what enterprises actually deploy — fit inside CPU latency budgets with no accelerator to reserve, no cold starts, and no second system to secure.

Linux x86_64/arm64, Apple Silicon, or Docker on Mac/Windows. Free, no license key, support plans optional.

https://inference-server.searchblox.com

Happy to answer anything in the comments — including “why not just llama.cpp + whisper.cpp + a reverse proxy,” which is a completely reasonable question.

reddit.com
u/searchblox_searchai — 7 days ago

Glimmer 30B compared to Qwen 27B - reasoning, intelligence, differences

Glimmer 30B vs Qwen 3.6 27B. How do they differ, reason, answer?

With Glimmer 30B Meta has joined the game of open source AI again, and after quite underwhelming coding performances I though I'd give it a deeper test.
The test content is undisclosed here, making this less fun to read and replicate but that guarantees future models will not train from it.

Technology:

Qwen 27B is still unmatched in performance, Glimmer the first new contender.

What makes Qwen so special are two ingredients:

3.6 was specifically post-trained for agentic reasoning.

It uses a hybrid attention: a conventional global attention for 1/4 of the layers, the others are a mamba-like recurrent state linear attention with fixed size.

Glimmer 30B also is unusual, it does not have the same sophisticated recurrent/linear attention, but it uses a 3/4 sliding window attention and it compresses the attention dimension and projects it back to latent size - resulting in a significant deduction in compute and KV size for it's size.

Reasoning style:

Qwen 3.6 has a analytical reasoning style that typically runs in 3 phases, when not agentically used:

  1. Analyze the task input
  2. Reason through it - reminding me on first deepseek reasoning
  3. Doublecheck the response Glimmer 30B has a more unique thinking style that abruptly comes to an end with a choice - leaving a bit more risk of random choices

Intelligence:

I ran both models through my undisclosed AI reasoning tests, not part of any training data. Some of those reasoning tests are currently beyond frontier model capabilities or scratching their borders.
Models like GLM 4.7-Flash, Nemotron 3 Nano, GPT OSS, GPT-4 fail most of the tests below consistently.

Glimmer was ran with thinking set to Medium, when failing it was ran with Max

  • Temporal physics: Similar reasoning tokens, similar response. Glimmer responds less structured, in text paragraphs where qwen is more formatted by default.
  • Spatial physics: Glimmer surprises with a brilliant fast answer - Qwen repeatedly misses a part without additional help
  • Math irrational numbers question: Both flawless and fast
  • Riddle with math question: Both flawless
  • Lateral thinking: Qwen always flawless, Glimmer fails 60% of the time
  • Abstract pattern reasoning easy: Both solve it, glimmer writes it cleaner
  • Abstract numeric reasoning easy (iq 85): Both flawless, glimmer half reasoning tokens
  • Abstract numeric reasoning medium (iq 115): Both flawless, glimmer half of reasoning tokens
  • Abstract numeric reasoning hard (iq ~145): Qwen fails after long reasoning, Glimmer totally fails. All frontier models fail.
  • Visual spatial reasoning: Both flawless
  • Translation to european languages: Glimmer thinks very briefly, provides low error output. Qwen thinks 10 times more heavily and provides better quality tanslations.
  • Small maze puzzle: Both flawless, Glimmer took 26k reasoning tokens vs Qwen 15k. Glimmers result is well explained.
  • Large maze puzzle: Qwen delivery a partial solution, cheating partly. Glimmer never responded at all.
  • UTF8 paraphrasing: both flawless

Agentic performance:

Here Qwen 27B appears to leave Glimmer in another league, I've not concluded my agentic tests of Glimmer 30B yet. From what I have seen Qwen codes significantly better. They do not compare.

My current results:
Glimmer is a surprisingly smart model, with a well designed architecture for local inference.
It is the first model in the sub 200B parameter class that is able to match Qwen 27B or even outclass it in some tasks.
Glimmer has a very good spatial sense
Glimmer tends to underthink where Qwen tends to overthink

For non coding tasks, Glimmer is a strong option. Faster than Qwen at similar memory footprint.
For coding tasks I'd not consider it, I'll follow up with a deeper test but from what I've seen it's not useful for most tasks.

reddit.com
u/Lirezh — 9 days ago
▲ 321 r/LocalAIStack+3 crossposts

I ported vLLM's serving stack to C++20: 66 MiB binary, no Python at inference, output checked token-for-token against vLLM

I'm the author, so discount the enthusiasm accordingly. This is an unaffiliated community port, not endorsed by the vLLM project, which it uses to verify its correctness.

What started it: I love vLLM, but a vLLM install here is 9.1 GiB of virtualenv, and I wanted to embed inference inside other software, on machines where having an interpreter in the process is a problem. And, honestly, Python dependencies have a different deployment story, in term of security (supply chain attacks), and bloat of Python itself. So vllm.cpp is vLLM's serving stack written from scratch in C++20. Nome TBD yet, calling it vllm.cpp until I have a better name.

Continuous batching, block-paged KV, automatic prefix caching, speculative decoding, an OpenAI-compatible server. It builds to a 66 MiB binary with no Python and no PyTorch at runtime.

The gate matters more to me than the size does. Every architecture is checked token-for-token against a pinned vLLM oracle on the same workload, and upstream's own test module gets ported in the same commit as the code. The ids have to match. 25 or so architectures so far. And yes, this project does extensive use of AI. I'm prepping follow-ups on how this is architectured (this is a port, which in some parts deviates, like support of MLX, Radix Attention, and such)

Speed, since it is the first question. You can see in the image that we are almost ties with vLLM on high concurrency. I've tested only on DGX Spark, Thor, and AGX Orin. Qwen3.6-27B NVFP4 on a DGX Spark (GB10), against vLLM in its production graphed config, medians of 3 interleaved reps, 1024 in / 128 out:

concurrency vllm.cpp vLLM ratio
1 86.05 82.32 1.045x
2 159.68 158.03 1.011x
4 292.34 290.31 1.007x
8 508.77 505.46 1.007x
16 801.76 789.16 1.016x
32 1095.01 1076.25 1.017x

Nominally ahead everywhere, but our run to run noise is 0.5% and five of those six sit inside 1.7%. That is one win at c1 and five ties, and I would rather say it than have someone work it out in the comments. Output is identical at every point. Memory is the less ambiguous axis: peak GPU 40,996 MiB against 70,531, though vLLM pre-reserves a fixed fraction up front and we allocate what the workload needs, so it is a difference in footprint rather than a cheaper KV.

Some other numbers people usually ask for: 1.18x llama.cpp's prefill on the same GGUF file on CPU aarch64 with decode a tie, 97.6% of MLX-LM warm total on an M4, and DeepSeek-V4-Flash in 2-bit GGUF on one Spark at 18.69 tok/s, which is 1.14x the fastest GGUF engine I could find for it.

Speculative decoding is in: MTP takes c1 from 9.97 to 15.10 tok/s, DFlash from 10.16 to 29.32, both landing on top of vLLM running the same speculator.

It loads safetensors and GGUF, does NVFP4, k-quants and i-quants, fp8, bf16. CUDA sm_80 through sm_121a, CPU with AVX-512 and Arm i8mm, Metal, Vulkan partially. Model list is in the repo rather than pasted here. There are also some pieces of sglang, and ideas I always wanted to see in a cpp engine, such as radix attention and LPM aware cache scheduling.

What does not work: many things have to be built yet, model architectures, hardware support, no multi-GPU on real hardware (tensor parallel is proven equal to tp=1 on CPU, I have one box), LoRA is not wired through the server, multimodal runs in the CLI and library but not over the HTTP API, no embedding or reranking models, no ROCm. It is also under heavy development, so flags and internals move between commits. There is a stable surface, which is the versioned C ABI.

Help from the community to port to new architectures is welcome!

To start with it, build is cmake and nothing else:

cmake -S . -B build && cmake --build build -j                      # CPU
cmake -S . -B build-cuda -DVLLM_CPP_CUDA=ON -DVLLM_CPP_TRITON=ON   # CUDA
cmake --build build-cuda -j

Apache 2.0. https://github.com/mudler/vllm.cpp

Benchmarks, methodology, and the rows we lose: https://github.com/mudler/vllm.cpp/blob/main/docs/BENCHMARKS.md

Happy to answer anything!

u/mudler_it — 11 days ago
▲ 2 r/LocalAIStack+1 crossposts

Local Qwen 3.6 35B cuts off mid-response

My machine: Macbook M4 Max, 36GB.

I was using the model locally. Trying to use it to replace subscription model. I can assume local model may be performant as Claude subscription model, but the way it generated code. Changed token limit to 64K, I keep seeing the message that it was hitting token limit easily but in terminal token usage percentage was almost always 48%. The funny thing is I had to instruct few times it to do a dummy landing page with plain html. But when I tried to convert it to a react app, just the landing page, I could not complete. It keep doing incomplete response, no error was shown.

What can I do to improve this?

reddit.com
u/iamahmudul — 13 days ago
▲ 5 r/LocalAIStack+1 crossposts

(MIT) Turning idle GPUs of enterprises into a decentralized, fault-tolerant local AI cluster

We've all been there: $2,000 GPUs sitting at 5% utilization while the company pays for cloud inference.

Many organizations already have several workstations equipped with GPUs that remain idle most of the time. Existing GPU sharing solutions typically rely on a centralized scheduler, Kubernetes, or AI gateways, which can be excessive for small and medium-sized GPU clusters. In addition, most existing solutions lack cross-platform support, decentralized architecture, and policy-based routing.

OQOAI-PBDR to solve this problem differently. Simply run a server or client on each machine, and your existing office network becomes a decentralized AI cluster. Routing decisions are made entirely on the client side, eliminating the need for a master node, load balancer, or any other single point of failure.

Prebuilt binaries for Windows and Linux are under 10 MB and can bring a machine online as a cluster node in under 30 seconds. An optional admin server provides centralized monitoring and management from any machine on the network.

GitHub (MIT License):

https://github.com/oqo-ai/OQOAI-PBDR

The project intentionally avoids unnecessary abstractions. The core routing logic consists of only three source files (approximately 1,000 lines each), making it relatively easy to understand, audit, and extend.

At the heart of the project is the PBDR (Policy-Based Decentralized Routing) architecture. Each routing decision evaluates multiple runtime metrics, including GPU utilization, available VRAM, queue length, GPU temperature, network latency, inference throughput, and other node characteristics.

PBDR also supports client-group policies, allowing different workloads to optimize for different objectives. For example:

  • Internal RAG services can prioritize low latency.
  • Development workloads can prioritize output quality.
  • Batch inference jobs can prioritize throughput.

More details about the routing algorithm are available in the accompanying paper:

http://doi.org/10.17513/doi.26

One practical benefit of this approach is that organizations can often reuse existing workstation GPUs for low- and medium-throughput workloads-such as internal RAG systems-instead of deploying dedicated inference infrastructure from scratch.

In many environments, having GPUs installed in only 10-15% of workstations can be sufficient to satisfy inference demand for lightweight workloads (for example, an internal knowledge-base RAG receiving approximately 3-5 requests per user per day) without deploying centralized AI infrastructure.

Getting started:

Install OQOAI-PBDR on each machine.

Connect server nodes to any OpenAI-compatible inference backend, including Ollama, llama.cpp, vLLM, or TGI.

Configure your applications to use the OpenAI-compatible client endpoint provided by OQOAI-PBDR.

Clients automatically discover available models on all nodes. From the application’s perspective, the cluster behaves like a distributed OpenAI API compatible system, while user requests are routed in a decentralized manner to the most suitable node according to the chosen policy.

What already works:

  • OpenAI-compatible API (Ollama, vLLM, TGI, llama.cpp)
  • Admin dashboard with real-time metrics
  • Auto-discovery and network scanning
  • Remote config management for nodes, groups, or the whole cluster
  • Experimental binary builds for Windows and Linux

Roadmap highlights:

  • ComfyUI/AUTOMATIC1111 image/video generation
  • Grafana/Prometheus integration
  • AI-assisted semantic routing (auto-model selection)
  • Dynamic IP support

We're actively looking for feedback, and testers.

What features or integrations would you like to see next?

u/ElegantConnection737 — 14 days ago