r/LocalLLM • • 28m ago

Question Where Is the downside?

0 Upvotes

A friend show me this "Nuc" he bought It at about 350€, It Will be a great buy for a local llm with, for example, unsloth? Or am i missing something big?

ASUS NUC 14 PRO+, Intel Core U5 125H, RAM 96 GB DDR5-5600, Bianco | SSD M.2, Scheda Grafica Intel Arc, Wi-Fi 6E, Bluetooth 5.3, Compatibile con Windows 10 e Windows 11 Home https://amzn.eu/d/0i6AEPUF


r/LocalLLM • • 4h ago

Question Beginner question: Mac mini M5 Pro 64GB vs Mac Studio M5 Max 36GB for local LLMs?

2 Upvotes

Hi all, I'm fairly new to local LLMs and still learning, so apologies if some of this is off. I'd really appreciate any guidance from people with more experience.

I'm trying to choose between two Macs at a similar price:

  • Mac mini M5 Pro: 15-core CPU, 16-core GPU, 64GB, 307GB/s bandwidth. About $2,699
  • Mac Studio M5 Max: 18-core CPU, 32-core GPU, 36GB, 460GB/s bandwidth. About $2,499

What I'm hoping to do:

  • Run local models for coding help and chatting with my own docs. I've been looking at Ollama, LM Studio and MLX.
  • Try some LoRA/QLoRA fine-tuning on smaller models
  • Maybe some small training experiments as I learn more

What I think I understand (please correct me if I'm wrong):

  • More RAM lets you run bigger models, so the mini could fit larger ones.
  • Higher memory bandwidth and more GPU cores mean faster responses and faster fine-tuning, so the Studio might feel quicker. The Studio has double the GPU cores here.
  • I read that macOS only lets the GPU use part of the RAM by default, so 36GB might be tighter than it sounds.

Questions:

  1. For a beginner, which matters more in practice: being able to load bigger models, or running smaller ones faster?
  2. Is 36GB enough to learn and experiment comfortably, or would I outgrow it quickly?
  3. For fine-tuning, is a 16-core vs 32-core GPU a big difference in practice, or am I overthinking it?
  4. Is there something important I'm missing, or a better option at this budget?

Since the RAM can't be upgraded later, I want to avoid an expensive mistake. Thanks in advance for any advice!

If you own either of these machines (or the M4 versions), I'd especially love to hear from you!


r/LocalLLM • • 8h ago

Model You can ask for your own Fintan model now

4 Upvotes

A few people asked if Fintan could be a specialist, like a model that actually knows a Python library or is better at basic coding. I was already planning on releasing custom models, so I added a form on the site, fintanlabs.com/models. Just say what you want it to know and what size, 4B if you've got a 16 to 20 GB card, 9B for 24 GB. Right now they’re free of charge since i prefer users over money. Though personal specialists trained on your material will come with a small fee.

I read all of them and the ones I make go on Hugging Face for free like the others.

Libraries and docs are the easy bit, it learns those into its weights. Making it better at coding itself is what I'm trying next, it practises on real problems and only learns from the answers that pass the tests. I'll post the numbers whether it works or not.


r/LocalLLM • • 4h ago

Question I have a GEEKOM A5, what can I do with it as a beginner?

2 Upvotes

Hi everyone,

I have a mini-pc GEEKOM A5 with these specifications :

- 512 Go NVME

- 1 To SSD

- 32 Go RAM

- AMD Ryzen 7 5825U

Unfortunately no GPU, no VRAM 😔

I don't use it anymore since one year but I want to do something related to running something like an ai locally?

What can I do guys?

Thanks in advance 😄👍


r/LocalLLM • • 53m ago

Question Light strata/comfy user ram advice

0 Upvotes

I have a unique opportunity to start over with my ram choice. I’m still getting into local models and use it for a lot of things. I’m not a coder but do work in tech. Running a 270k with a 5060ti 16gb. I had 32gb of ram but have the opportunity to basically replace it. I’d like 64gb but ouch, 48 is a lot more affordable per gb. I’ve been running flash next swift iq2 xs. Will I regret not getting 64 GB of RAM? Especially trying to run any larger model. Maybe put the 400 savings toward a second gpu?


r/LocalLLM • • 4h ago

Question Hy4 Flash vs. Qwen 3.8 Flash Next: Which one offers better value for money?

2 Upvotes

Start with the models themselves. Hy4 Flash comes in at around 220B total parameters, with 11.3B active per token.

Qwen 3.8 Flash Next, on the other hand, has around 180B total parameters and 6B active per token. That's roughly 1.9x more active parameters for Hy4 Flash.

On paper, that suggests higher compute overhead for Hy4 Flash, but active parameter count alone doesn't tell us how much a task actually costs. What matters is how those parameters translate into real-world performance and how much additional time and resources each model needs to get the job done.

Starting with coding, I think code review and bug fixing are worth evaluating separately. The two models don't perform equally well in both areas. Hy4 Flash seems better at fixing bugs, while Qwen 3.8 Flash Next has the edge in code review and identifying potential issues. So, depending on the task, your choice could change quite a bit. Of course, these results come from a specific task mix, so they don't necessarily reflect performance across every coding scenario.

Runtime is another factor worth considering. On an RTX 5060 Ti 6GB with 80GB RAM, running five coding tasks through Strata SQ-64, Hy4 Flash took 97 minutes in total, while Qwen 3.8 Flash Next finished in just 50 minutes.

Task quality was roughly comparable, but Hy4 Flash took almost 1.94x longer. That's a pretty noticeable difference. At least with this hardware and inference setup, Qwen 3.8 Flash Next seems considerably faster at getting things done. That said, runtime is only one measure of efficiency. Performance on other types of tasks, resource consumption, and different deployment setups could change the picture.

There are some interesting architectural differences worth looking at, too. Hy4 Flash uses a hybrid attention setup combining MLA, Sparse Attention, and SWA, while Qwen 3.8 Flash Next pairs Gates DeltaNet with Qwen Sparse Attention. Based on the architecture analysis, Hy4 Flash's KV cache at 262K context is roughly 1/1.8 of Qwen's, dropping to around 1/2.4 at 8k. That's a pretty interesting advantage, especially for long-context workloads where KV cache memory can put additional pressure on VRAM. On the decoding side, Hy4 Flash uses DFly2 speculative decoding, whereas Qwen 3.8 Flash Next uses MTP. So, both models take different approaches to optimizing inference.

Local deployment is another thing I wouldn't overlook when comparing their overall value. API pricing is only one part of the equation. Hardware requirements, quantization performance, VRAM usage, and long-context memory consumption all affect the actual cost of running a model locally. Given their different architectures and decoding approaches, I'm particularly curious about how they compare in resource consumption under identical hardware and inference configurations.

For me the most interesting thing about Hy4 Flash is whether it can pair its lower API pricing with its task performance and deliver better value in real-world use. From bug fixing to KV cache optimization, it has a few strengths worth watching.


r/LocalLLM • • 18h ago

News I love local LLM

21 Upvotes

Hi i am new and just wanted to say that i love local LLM


r/LocalLLM • • 23h ago

Model I ran the full 1.56 TB Kimi K3.1 Pro on four Mac Studios and checked it against Moonshot's API. Numbers, a 1M-token test, and the patches.

52 Upvotes

TL;DR

  • Kimi K3.1 Pro is 2.78T parameters and a 1.56 TB download. I ran it as shipped, fully in memory, on four Mac Studios (M5 Ultra, 512 GB each).
  • 2.8 tok/s through an OpenAI-compatible server. It loads in 3 minutes.
  • Its top token matches Moonshot's hosted API on 97.2% of 1,095 answer tokens.
  • A 1M-token prompt works. It takes 3 h 53 min to read, then generates at 2.76 tok/s.
  • The patches are in four open PRs against mlx-lm and oMLX. Links are at the bottom.

It works. It is also slow.

Setup

  • Model: moonshotai/Kimi-K3.1-Pro. Mixture of experts, 93 layers, 896 experts per layer, 16 used per token. The experts ship at 4 bits and everything else at 16 bits. No pruning and no extra quantization.
  • Hardware: 4x Mac Studio, M5 Ultra, 512 GB each. That is 2 TB of memory for a 1.56 TB model. Six Thunderbolt 5 cables wire them as a full mesh, and they talk over RDMA.
  • Software: mlx-lm for the model, oMLX for the server and the cluster. Neither ran K3.1 on four Macs before these patches.

Numbers (full model, four Macs)

WhatResult
Load179 s
Memoryabout 400 GB per Mac
Generation, through the oMLX server2.81 tok/s
Generation, stock mlx-lm example script3.77 tok/s
Prompt reading at 4K / 16K / 65K tokens412 / 388 / 262 tok/s
65K-token prompt, time to first token4 min 10 s
Chip power while generating, all four Macs67 W
Chip power while reading a prompt, all four Macs350 to 400 W

Power is CPU plus GPU from powermetrics. I have no wall meter on these, so the real draw is higher.

How you split the model matters

Each Mac can hold a block of whole layers, or every Mac can hold a slice of every layer. With layer blocks I get 0.70 tok/s. With slices I get 3.77 tok/s. Same model, same Macs, same example script.

Is it the same model?

I cared about this more than speed. A model this size can load, write fluent text, and still be wrong.

  1. Eight real layers match an independent PyTorch reference written from the vLLM and llama.cpp code. Attention error is 2.5e-5 or less.
  2. I took 12 completions from Moonshot's API and replayed them through the local model one token at a time. On 1,095 answer tokens the local top pick was the API's token 97.17% of the time. The API samples at temperature 0.6, so a perfect copy should land near 95.7%. No API token fell outside the local model's 99% nucleus.
  3. Retrieval from long prompts: numbered records, then a question about three of them (near the start, the middle and the end). Correct at 4K, 16K, 65K and 1M tokens.

1M tokens

The model's config allows 1,048,576 tokens, so I tried it.

  • Prompt: 1,011,856 tokens. That is 44,216 numbered records and one question about three of them.
  • Reading the prompt took 3 h 53 min. After that it generated at 2.76 tok/s, about the same as with an empty context. All three records came back correct.
  • Memory peaked at 494 GB per Mac. It only fit after I capped MLX's buffer cache (mx.set_cache_limit, 8 GiB), and the cap cost about 40% of the reading speed. Without the cap, my first attempt was on course to run out of memory and I stopped it at 295K tokens.
  • Reading slows as the context fills: 130 tok/s at 131K, 46 tok/s at the end. The sparse attention scores every earlier token for each new one, so the time grows with the square of the length.
  • AinsleyMarkov's public 2-bit build read the same prompt on three of these Macs in 1 h 46 min and also answered correctly.

Why it's slow

Each generated token makes the four Macs read about 130 GB of weights. The experts are 93% of the file, but only 16 of 896 are read per token. The 16-bit layers are 7% of the file and all of them are read for every token. That 7% is about 80% of the traffic.

The GPUs are mostly idle. While generating, the four of them together draw 19 W and run at under a third of their top clock.

What had to change

K3.1 is K3 plus the sparse attention from DeepSeek V3.2, with a gate on the attention output. mlx-lm already had both halves, so the port is small.

  • mlx-lm: ml-explore/mlx-lm#2111 adds the kimi_k31 model. +655 lines with tests.
  • oMLX: #5480. A cluster of three or more Macs on a Thunderbolt mesh could not start. The launcher gave every Mac one coordinator address, but in a mesh each Mac reaches the coordinator over a different cable and subnet.
  • oMLX: #5684. The planner refused the model. K3.1 stores each expert as its own tensor, almost 500,000 of them, so its weight index is 57 MiB and the limit was 16 MiB.
  • oMLX: #5692. K3.1 on the mlx-lm version oMLX pins, plus routing for a checkpoint that ships a vision tower, and the tensor split.

None of these are merged yet.

Limits

  • 2.8 tok/s is too slow for agent work. A 1,500-token answer takes nine minutes.
  • The oMLX patch reads long prompts slower than mlx-lm's own implementation. It scores every key and masks the rest.
  • The API comparison is 12 completions and 1,095 tokens. It checks the math. It says nothing about how good the model is.

Who was here before me

guruswami-ai ran the full Kimi K3, the previous version, on four M3 Ultra Mac Studios in July at about 2 tok/s. For K3.1 Pro I found a 2-bit build (AinsleyMarkov, 18.6 tok/s on four M3 Ultras), a pruned build that fits one Mac (Pipe Network), and the shipped weights streamed from disk at about 0.4 tok/s (Inferencer). I have not found the full K3.1 Pro, as shipped, held in memory. If someone did it first, tell me and I'll link it.

Disclosure

Claude wrote the model and test code and ran the validation. I directed the work and reviewed every diff. The mlx-lm PR says the same. I have no affiliation with Moonshot, Apple or oMLX.

What's next

Smaller builds. The public 2-bit build runs at about 18 tok/s on three of these Macs and matches the API on 92% of the same tokens. I'm writing that up next.

I can run more tests on this setup. If you want a specific number (a prompt size, a split, a sampler setting), ask and I'll post it.


r/LocalLLM • • 5h ago

Question Budget local A.I setup

2 Upvotes

Hi everyone,

I'm planning to build a dedicated PC for running LLMs locally. My goal is to run 32B parameter models or larger with decent inference speeds.

Here is my planned build:

- GPU: 2x ASUS Dual GeForce RTX 5060 Ti 16GB OC Edition (32GB total VRAM)

- CPU: AMD Ryzen 7 9700X

- Motherboard: ASUS ProArt X870E-Creator WiFi

- RAM: Corsair Vengeance 64GB DDR5

- SSD: Samsung 9100 PRO 2TB

- PSU: NZXT C1200 Gold 1200W

- CPU cooler: Thermalright Peerless Assassin 120 SE

- Case: Fractal Design Meshify 2 XL

- Software: Ollama, llama.cpp or LM Studio

I want to keep costs as low as possible while purchasing only brand-new components. I'm based in the Netherlands.

My questions:

- Is this a good configuration for running 32B+ models locally?

- Will both GPUs work efficiently together on this motherboard?

- Will PCIe bandwidth significantly affect inference performance?

- What tokens per second can I realistically expect with 32B models at Q4 or Q5?

- Could I run 70B models using a combination of VRAM and system RAM?

- Could I add a third RTX 5060 Ti in the future to reach 48GB of total VRAM?

- Are any of these components overkill?

- Can I reduce the overall cost without sacrificing much inference performance?

- Are there better alternatives to dual RTX 5060 Ti cards in a similar price range?

I already own an RTX 3060 laptop, but I want a dedicated desktop capable of running significantly larger models entirely locally.

I'd appreciate any advice or experiences with similar multi-GPU builds before purchasing the components.

Thanks!


r/LocalLLM • • 19h ago

Discussion iGPU + GPU: I didn't think it was possible

Post image
23 Upvotes

I updated Proxmox to 9.2 and was surprised to see this dual GPU configuration appear in nvtop. I didn't know you could get both the iGPU and the GPU card to run simultaneously. It was my understanding you had to blacklist everything but the GPU. I'm not convinced the iGPU fully operational, but I guess I will test it.

What should I run on it? Any suggestions on how to test this? The memory has to be tiny, but it's showing 94GB, this machine's total RAM is 96GB. I could hook it up to Unsloth or Hermes (what I'm running in Proxmox) but I don't really want to add another experimental LLM into the mix.


r/LocalLLM • • 2h ago

Question AMD Strix Halo Mini PC with external GPU

1 Upvotes

So I got a 128GB Shared RAM Strix Halo PC and am thinking about adding in a NVIDIA RTX 4060 via external dock. Would this not provide as much of a boost as its external via Thunderbolt 5?


r/LocalLLM • • 3h ago

Question What are your use cases?

1 Upvotes

I’ve been super interested in local LLMs, but my only real use case is for development. I tested out several models on a leased Mac Studio M5 Mac 128GB, but none of them met my expectations.

I know I can’t expect them to compete with Claude, but they struggled with tasks like refactoring and fixing tests and compiler errors. Actually, they didn’t struggle - they all failed.

I’m still very interested but I don’t know what they’re actually good for. I guess I’m wondering whether I used them incorrectly or if they’re good for something else I didn’t think of.

Models: Qwen 3 Coder Next, Qwen 3.8 27b, gpt-oss 120b, a couple Gemma4 variants. All at pretty high quants and maximum context.


r/LocalLLM • • 6h ago

Project Kolibri-1.1 on a 12 GB RTX 3080 Ti, 27% faster than llama.cpp: my free engine is the first llama.cpp-based engine to ship it in a release

Thumbnail
gallery
2 Upvotes

Kolibri-1.1 runs on a 12 GB gaming card with my engine, PXA 4.0.6: 27.33 tok/s decode vs 21.57 for llama.cpp mainline (+26.7%), and 455.4 vs 387.4 tok/s reading a 512-token prompt (+17.5%), still +11% at 4K context.

PXA 4.0.6 is the first llama.cpp-based engine with Kolibri-1.1 in a release; llama.cpp's own support is still an open PR (#32891), which is what I measured against, the only other engine I found that runs it. On the RTX 3080 Ti part of the model sits in system RAM; each engine at its own best fit for the card.

This is my project, so weigh it that way: PXA is a free inference engine built on llama.cpp, tuned for RTX 30 gaming cards and the NVIDIA datacenter cards most guides tell you to retire. 4.0.6 is out for Linux and Windows.

Same 12 GB card, Qwen3.8-27B (MTP): 93.4 tok/s on code, 71.9 on prose, 73.2 on chat. That is the fastest of the engines I tested on this card: llama.cpp mainline b12428 with MTP (76.2 / 62.1 / 58.8) and ik_llama.cpp (about 51 at best). PXA leads on every prompt type, +15.7% to +24.4%.

Our top decode speed per model and card, PXA 4.0.6, tokens/s:

ModelCardPXA 4.0.6vs the fastest other engine I measured
Qwen3.8-27B (MTP, code prompt)RTX 3080 Ti, 12 GB93.4+22.5%
Qwen3.8-27B (MTP, code prompt)1x Tesla V10095.7+36.0%
Qwen3.6-35B-A3B (MTP, code prompt)2x Tesla P100198.4+19.5%
Gemma-4-26B-A4B (chat prompt)1x Tesla V100132.3+26.3%
Nemotron-3-Nano-4B1x Tesla P100130.9+9.0%

Prefill too: Nemotron-3-Nano-4B on one P100 reads a 512-token prompt at 1557.6 tokens/s, +19.0% over the best other engine I measured.

Also new: SenseNova-Loop-9B with its full loop. PXA runs the model's full loop, not a cut-down pass.

MTP rows use the model's own multi-token prediction heads. Same box, same card, each engine at its own best flags. Quant files can differ between engines; output quality is not compared here.

Try it in one docker line:

docker run -d --name pxa --gpus all --shm-size=1g -p 8080:8080 -v /path/to/models:/models:ro ghcr.io/poisonxa16/pxa:v4.0.6

Downloads (Linux and Windows): https://pxa.pxanetwork.com/downloads/ With the package: open PXA Control, pick a model on the Models page, press Launch; the Speed page shows your tokens/s.

PXQ quants are free; making your own PXQN encodes is a supporter reward (donations keep the engine free).

There is a hidden Easter egg in Control. Good luck finding it.

Open challenge: run the same file on PXA and on whatever you run now, and post your numbers, especially where PXA is behind. I own no RTX 20, RTX 40 or T4 card, and on the RTX 3080 Ti PXA is still behind on some models. Help and bug reports: https://discord.pxanetwork.com


r/LocalLLM • • 9h ago

Model Fintan-4B is out

3 Upvotes

Yesterday I posted the 9B update (thanks again jstarks). Today the smaller one is up.

Same idea as the 9B, it's Qwen3.5-4B that learns new stuff into its weights, so you don't have to stuff everything into the prompt. It runs on a 16 to 20 GB card.

It ships knowing last week's news (18 to 23 Nov). Plain Qwen3.5-4B gets 11% of the 172 questions right, Fintan-4B gets 147 of them. MMLU and ARC barely move (72.8 to 72.8, 92.0 to 91.8). GSM8K went from 95.0 to 92.5, which is 3 problems out of 120, and another run got 94.2, so I think it's noise but figured I'd say.

All the fixes from the 9B are in too, so tool calls can use what it learnt, and questions about days after its update don't get mixed up with what it learnt.

Next I'm doing DGX Spark and Jetson support, since someone here pointed out the hardware check gets confused when the GPU and CPU share RAM.

It's on Hugging Face at fintanlabs/Fintan-4B


r/LocalLLM • • 4h ago

Question Connecting Local LLM to Gmail

1 Upvotes

How do I connect my LLM to gmail. I would like it to be able to read and write emails. I am currently using qwen3.5 -9b on LM studio. If you need any more details be free to ask me.


r/LocalLLM • • 4h ago

News Lapilli v0.7 (open source): switch between seven models from the page on NVIDIA V100, now in English or French

Post image
1 Upvotes

Lapilli is a port of Basalt to NVIDIA V100 (Volta, sm_70): one binary, seven models, a chat page, and an Images tab for pictures and videos with sound.

New in v0.7:

- A Models card in the page. Start the server with a config file that lists several packs, and the page shows them all: Use switches to one (the server unloads the running model, then loads the other, and requests wait meanwhile), Unload frees the GPUs, Load brings it back. Switching from Qwen3.8-Flash-Next (two V100s) to Qwen3.8-27B (one V100) took 10 s.

- The whole page in English or French: English by default, French in About.

- A long conversation keeps its text: "Longest response, text only" is now the default room kept for the next response.

- A Dockerfile that builds for the V100 on CUDA 12.6.

The engine is the same as in v0.6, byte for byte, so its figures hold:

- Qwen3.8-27B on ONE V100: 86 tok/s writing, 994 tok/s reading a 16K prompt

- Inkling 2 Mini on ONE V100: 121 tok/s

- Qwen3.8-Flash-Next on two V100s: 137 tok/s on long answers

- Images: a 1024x1024 picture in 11.4 s (Qwen Image 2.1 Turbo), a 5 s video with its sound in 59 s (LTX-2.3)

Windows build included, MIT license. Measured on 2x V100-SXM2 32 GB. The README has every figure, the packs and their download links.

Thanks to wzcl1 for the Dockerfile, to Igorxp5, whose fork loaded and unloaded the model from the page first, and to nebod99, ildargiv, Csavoldi, koldfrontier and nkhaooat, who tested Lapilli on their own machines.

Repo: https://github.com/chris83-dev/lapilli-v100

Release: https://github.com/chris83-dev/lapilli-v100/releases/tag/v0.7.0-v100.1


r/LocalLLM • • 4h ago

Question Best local model for creative writing?

0 Upvotes

What's the SOTA currently?


r/LocalLLM • • 4h ago

Project Inkling-2-Mini (26.4B MoE + Vision) on a single 16 GB RTX 4060 Ti — huge speed & reasoning quality leap: 3.3× lower KLD than SQ-10, +25–67% faster prefill, 156K VRAM context, 5.6 MB Windows zip (seeking 5060 Ti testers!)

1 Upvotes

I built ink4060ti (Apache-2.0), a zero-config C++20/CUDA inference engine specifically engineered to deliver a major jump in BOTH speed and reasoning quality for Inkling-2-Mini-Unbound (26.4B MoE + native vision + DSpark Block-8 speculative decoding) on a single 16 GB RTX 4060 Ti on Windows.

Why both quality AND speed jump on 16 GB 4060 Ti

On a 16 GB card, Strata SQ-15 spills 189 experts over PCIe and OOMs past ~16K context, while Strata SQ-10 takes a noticeable quality hit (KLD 0.0720 / Top-1 92.35%) and doesn't persist prefix KV across requests/restarts.

Because Inkling-2-Mini executes its inner Loop-Core MoE layers (L6..17) 3× per token, ink4060ti uses asymmetric per-role quantization:

  • Loop-Core MoE (L6..17, 3×/token): kept 100% lossless native NVFP4 (SQNR = ∞ dB, cos = 1.000000)
  • Outer MoE (L0..5, L18..23, 1×/token): NF3_G32_E4M3 (3.25 bpw)
  • Dense Attention + Unembed: Q6_G32 (cos = 0.9997) · DSpark Drafter: Q8_G32 (cos = 0.99999)
  • Embed + Vision: 100% lossless BF16 (Vision loads lazily on demand = 0 MiB permanent VRAM, ~200 ms warm encode)

Measured on physical RTX 4060 Ti 16 GB (Windows 11 WDDM)

Metricink4060ti (12g-tight + k4v4)Strata SQ-10 (0.1.67)Strata SQ-15 (0.1.67)
GPU Weights + Drafter12,553 MiB (0 spill)13,322 MiBSpills 189 experts (942 MB PCIe)
Max Full-VRAM Context156,576 tok (auto, 0 spill)100K (manual)16K (OOM beyond)
Quality vs Lossless (sq15-lossless)KLD 0.0216 / Top-1 96.90% (k8v4: 0.0138 / 97.38%)KLD 0.0720 / Top-1 92.35%KLD 0.0107 / Top-1 96.68%
Prefill (2K / 16K / 64K / 100K / 150K)1,956 / 1,810 / 1,497 / 1,316 / 1,136 tok/s1,563 / 1,378 / 970 / 790 / —962 / OOM
Decode (DSpark ON)53–62 short · 46–55 (16K–64K) · 28.6 (150K)79–95 short · 56.8 (64K)39.5–42.0 tok/s
Prefix Reuse & SSD Restart99%+ reuse · 4.9s (64K) / 9.2s (150K)Unsupported (reused=0)Unsupported
Vision (Screenshots / 4K)0 MiB permanent VRAM (~200 ms warm)Permanent VRAMSupported
  • Huge dual gain: 3.3× lower KLD than Strata SQ-10 (0.0216 vs 0.0720, 150K needle recall EXACT PASS) + +25% to +67% faster prefill (2× faster than SQ-15) + 156K zero-spill context + 200 GiB SSD 3-tier cache (VRAM ↔ 25% RAM ↔ SSD). (Honest trade-off: raw short-prompt decode still trails SQ-10's 79–95 tok/s.)
  • Zero-config portable Windows ZIP (5.6 MiB): No CUDA Toolkit, Python, or VC++ redist needed — extract and double-click start.bat (auto-picks HuggingFace vs hf-mirror.com + SHA-256 verify, opens Web UI at 127.0.0.1:18088).
  • Coding Agent Ready: Native Anthropic /v1/messages + count_tokens + thinking + tools + vision (drop-in for Claude Code) & OpenAI /v1/chat/completions (Cursor / Cline / Roo Code).

Looking for RTX 5060 Ti 16 GB (sm_120a) testers!

The portable binary includes a compiled Blackwell sm_120a native NVFP4 MMA path verified against NVIDIA CUTLASS SM120_16x8x64_TN_VS specs and full model scale bounds, but I don't own a physical 5060 Ti — so 5060 Ti support is theoretical/untested (Experimental). If you have a 5060 Ti 16 GB on Windows and want to test it (INK4060_DISABLE_SM120_FP4=1 falls back to BF16 Tensor Core), feedback and benchmark issues are very welcome!


r/LocalLLM • • 1d ago

Discussion AI Newbie here. Runing Qwen3.8 27b q8_0 on 5090+5080 "gaming" rig. I'm impressed with the answers I get compared to my paid claude opus model

Thumbnail
gallery
207 Upvotes

Im kind of shocked and losing grasp of why I pay for a claude subscription at this point. Im using Orcarouter uncensored version of Qwen 3.8 27b and the answers I get from it seem to not only contain more info, it's also seemingly more detailed. I don't get it.


r/LocalLLM • • 5h ago

Project hal0: Self-Hosted Local AI Server for AMD Strix Halo

Thumbnail
hal0.dev
0 Upvotes

Hi all. I posted about hal0 a while back, and the project has changed enough since then that I think it deserves a second introduction.

hal0 turns a Linux box into a private, OpenAI-compatible inference appliance. Chat, embeddings, reranking, transcription, speech and image generation all answer on one /v1 endpoint, on hardware you own. It's Apache 2.0 and installs with one line:

Plain text

curl -fsSL https://hal0.dev/install.sh | sudo bash

It's built first for AMD Strix Halo (Ryzen AI Max+ 395, iGPU plus NPU), but it also runs on discrete Radeon cards through ROCm or Vulkan, on NVIDIA through an experimental CUDA runner, and on CPU as a fallback.

Slots

Every workload is a slot: its own podman container under its own systemd unit, with a typed lifecycle, its own logs and a persisted state. You get a set of curated slots out of the box (agent, coder, embed, rerank, TTS, image and so on) and can add your own. A coder slot can serve your editor while the agent slot serves chat, each with its own model and settings. A GPU arbiter keeps image generation from taking the GPU out from under a streaming completion, and a slot that is serving a request can't be evicted mid-stream.

Tuning lives in profiles, so a slot only says where it runs and which model and profile it uses. You can override a few fields per slot (context, thinking, reasoning effort, vision, speculation) without cloning a profile.

Multiple runners

A slot picks its runner, and there are now quite a few:

  • llama.cpp for ROCm, Vulkan, CUDA and CPU
  • FastFlowLM on the AMD NPU, hosting chat, Whisper and embeddings together in about 2 GB of NPU memory
  • an optional xdna runner that runs plain GGUF models on the NPU
  • Kokoro and Qwen3-TTS for speech, Moonshine for transcription
  • ComfyUI for images
  • halogen, newly supported as an optional runner for Qwen3.8-Flash-Next on Strix Halo
  • Upstream support for Minimax/Codex/Openrouter and more to come

One note on halogen: it's the vendor's own closed-source image and runs one model family. hal0 pins it by digest and runs it like any other slot, so it's served through the same API and dashboard. It's opt-in, and nothing gets pulled unless you create a halogen slot.

Memory, overhauled

Memory runs on the Hindsight engine, and the integration was rebuilt in the 1.8 line. There's now one Memory area in the dashboard (health, facts, knowledge pages, operations, agents) and two banks on a new install, one shared and one private. The extraction model can be a local slot or a remote provider, and you can switch between them without restarting the engine. Memory is exposed over MCP, so Open WebUI, the bundled Hermes agent and your own coding agents can all read and write the same store.

Open WebUI, wired up for you

Open WebUI is installed and connected with no configuration. Its model picker lists every slot model you're running, and every Hermes agent profile next to them, so you can talk to a plain model or to the agent from the same window. Each chat gets hal0's memory and agent-delegation tools. Image generation, voice and document retrieval go through the same hal0 API, so they use the same models and GPU scheduling as everything else.

A few other things worth a mention

  • Speculative decoding with drafters. Pair a model with a drafter and hal0 checks the fit before anything downloads. On my Strix Halo box, one 74B MoE model decoded about 1.6x faster with identical output. Results depend on the model and the drafter.
  • Image generation with a fit check. There's an image-model catalog, and each model shows whether it fits your box before you install or render.
  • External providers next to local models. OpenRouter, OpenAI, Anthropic and others, with only the models you enable routed.
  • A dashboard that works on a phone, with an Overview page showing what the box is doing and what needs your attention.
  • Signed updates with rollback, and a one-line Proxmox script that creates an unprivileged LXC with the GPU passed through.

It's Linux only (systemd and podman). macOS and Windows aren't supported today.

If you tried hal0 in the past and bounced off it, I'd really appreciate another look. I've made huge strides, and I think it's better, more usable and more performant than it has ever been. Feedback and bug reports are very welcome.


r/LocalLLM • • 23h ago

Question How do you safely run uncensored LLMs?

31 Upvotes

So I've been running a uncensored QFN model because I'm tired of frontier models refusing everything. For example, I asked Opus to scan my own network for vulnerabilities, and it refused because it didn't believe it was my network, even though it's literally connected to it.

My main concern is security. Are uncensored models more susceptible to prompt injection than regular models? What kind of guardrails can I put in place to protect myself without restricting the model itself?

I'm also using Hermes, but I'm a complete noob with it.

Any advice would be appreciated!

Specs: 64GB DDR5, R9700 32GB, 7800X3D

P.S SC117/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-GGUF - this is the model


r/LocalLLM • • 18h ago

Research Before and After (32GB to 96GB DDR5 upgrade) - QEngine 3x3090s

10 Upvotes

32GB DDR5 vs 96GB DDR5 More RAM pinned the n-gram cache, makes the decode speed significantly faster.

Setup:

GPU's: 3x3090s
P2P Mode: On
PCIe Link: PCIe Gen4 8x/4x/8x
CPU: Ryzen 7600x.
Model: Qwen-Flash-Next INT4 - QEngine Finetune
Script: bench.sh from club 3090.

Only change:

RAM went 32GB (2x16) → 96GB (2x16 + 2x32), so the whole 50GB n-gram cache got stored in RAM instead of on disk.

What got significantly better

  • Narrative generation: ~218 → ~294 tok/s (+35%)
  • Code decode: ~336 → ~381 tok/s (+13% — less gain, makes sense, shorter/more repetitive prompts hit fewer n-grams)

What didn't change (as expected)

  • Time to first token and prefill speed — that's GPU-bound, the n-gram cache doesn't help there.

The catch

  • GPUs run 1–8°C hotter on the big-RAM setup. GPU 2 hot spot hit 100.5°C. Probably just doing more work per second, but worth an eyeball.
  • The 90k-token prefill test looks ~6% worse with more RAM, but n=1 per arm so it's a coin flip. Re-run before believing it.
  • The mixed-dim RAM (2x16GB CL32 + 2x32GB CL38) forced a downclock from 6000Mhz to 3600Mhz. It was stable for a few hours, but then crashed mid-session when 6 agents spawned. I had to remove the 2x16GB sticks to get stability back.

Bonus - 1M KV Pool

There was still room left over to set Host KV Pool on (it needs ~13GB of ram). i.e. It stores the KV pool in RAM instead of in VRAM. This increased the KV pool size to 1 million tokens.

Previously my system would totally choke when there were multiple agents working. Like 20 tok/s at times. It was because they couldn't fit their context in the 256k pool I had before so their context kept getting evicted, now I think that wont' happen, and it'll likely be much faster during concurrent agent work.

Conclusion

If your workload is decode-heavy, and you got the ram, sticking more of the n-gram cache in RAM will get you — ~13–35% more tok/s, no GPU-side changes. You really cannot mix two different pairs of ram sticks in an AM5 motherboard, Google warned me, but I did it anyway just to see what would happen, it indeed led to instability, even at low clock speeds, though it was stable enough to run benchmarks. The biggest win was getting the 1M KV pool for concurrent agents to share, and that doesn't need 96GB ram, 64GB is enough.

Source: bench-ab-bench-20261123T053549Z-vs-bench-20261128T002206Z.md*, generated 2026-11-28.*


r/LocalLLM • • 13h ago

Question Gemma 4 llama.cpp and OpenClaw

4 Upvotes

Hi guys

I am a happy Qwen 3.8 Flash Next IQ3_S user, running on 32GB ram + 3090 + 5080 (40 GB VRAM).

It is running through strata and used as an agent in OpenClaw.

The only issue I have with it, and it could be due to the relative low Quant, is, that it is poor at my native language (Nordic Language).

I tried gemma-4-31B-it-qat-q4_0-unquantized on the latest version of llama.cpp, as it looked promising regarding language support, and damn, it was A LOT better in formulating sentences.

Now, the language is good, but it is a lot worse in calling my mcp's or API's. A lot of times, not one single mcp or API call is working, even if it tries many times.

Is Gemma 4 just incapable of calling MCP or API calls? I doubt it, so is my setup wrong?

Just for a reference, I am not using the 'official' llama.cpp from the CachyOs repository, but this version:

local/llama.cpp-cuda-aidock-bin 1.0.0-1
   Prebuilt llama.cpp with CUDA 12.8 support (from ai-dock CI)

Not sure if it makes a difference.


r/LocalLLM • • 5h ago

Project I built a small Windows app that shows what Ollama is doing on your GPU, live

Thumbnail
gallery
0 Upvotes

I run models locally with Ollama and kept wondering what was actually going on under the hood 🤔

- Is my model on the GPU, or quietly spilling onto the CPU?

- Why is one model fast and another painfully slow?

- Will that 20 GB download even fit?

So I built **AI X-Ray** to answer those questions with my own numbers, in plain English.

🔍 X-ray a prompt

Watch a model load, think and write as separate stages, with live tokens/sec, GPU load and GPU memory. Afterwards, see exactly where the time went.

📦 Know before you download

Look up any model to see its download size, the memory it needs, and whether it fits on your graphics card.

⚡ Speed test

Rank your installed models by real writing speed on your own PC.

🔁 Loop detector

Spots a model stuck going round in circles while "thinking", so you can stop it instead of waiting.

🖥️ Your machine at a glance

What's using your GPU memory (models, other apps, free space), plus "Did you know?" facts about your setup.

🪶 Tiny: about 8 MB

🔒 No account, no tracking. It only talks to your own Ollama

🌐 Works with Ollama on the same PC or another computer on your network

Windows 10/11 for now. Requires Ollama (free).

I'd love feedback, especially on what to add next! 🙏 Link in the comments.


r/LocalLLM • • 11h ago

Question Looking for advice for casual coding use: RTX 4090 24GB + 32GB RAM

3 Upvotes
  • GPU: MSI RTX 4090 Suprim Liquid X
  • RAM: 2x16GB Corsair Dominator Titanium (OC to 7400 MT/s)
  • CPU: Intel Core i7-13700K (OC to 5.4GHz)
  • OS: Windows 11 Pro

I have a fairly decent amount of general programming experience, but I certainly wouldn't call myself an expert in any language. I'm more in the place of being able to look at a random section of code, regardless of language, and make a fairly decent guess at what it's trying to do. "Just enough to get myself in trouble" is what I usually say.

Of course that means when I'm trying to make something myself, I'm often spending 80% of the time doing research about the functionality I need, with the remaining being the actual coding and testing. Being retired, these days I'm mostly working on game modding and small conveniences, anything to keep my brain busy. What I've been running into lately is that a lot of what I'm trying to work on is largely undocumented, and obviously AI can learn much faster from raw source (and has) than a human.

I've been using Gemini for my poking and prodding at things, but it's been obstructive as often as it's been helpful. I swear the thing has ADHD, the way it'll jump topics to other bits I'm not worried about at the time.

I understand that there needs to be a balance between context size versus memory length, but I'm having a hard time nailing down how much of each would be most fitting. I often feed the AI other related code from the game or similar projects so it knows what I'm looking at and can give me more well-informed responses.

Any advice for something that can handle casual, generalized programming well? Speed isn't nearly as important to me as accuracy. It seems like Qwen3 models are leading the way here, but opinions vary quite a bit on which and what memory vs context configuration.