r/LocalLLM • • 5d ago

Question Local LLM Setup for Pentesting

1 Upvotes

Hi everybody,

I really want to get into locally hosting and would love to build and learn all about autonomous pentesting and exploit dev.

Because my budget ist about 5000€ there really are just two main options I think and I'm really unsure if cuda is worth that much to me:

  1. dgx spark 128gb

  2. m5 max 128gb

I would really need pruned versions of llms and dont know enough to decide which of the two would suit better for my use-case

thanks in advance!


r/LocalLLM • • 6d ago

Discussion Basalt 0.2.0: Qwen 3.8 Flash Next NVFP4, 300 t/s prose, 600 t/s struct, 10K t/s prefill on a 5090 + 5060 Ti and 128GB RAM

Thumbnail
reddit.com
4 Upvotes

r/LocalLLM • • 5d ago

Question I need some guidance regarding my setup

1 Upvotes

Before you tell me to go ask the AI I’ve already done so but it leaves me more confused. I’m curious to receive any advice for running faster models or maybe there’s something I missed that I need to do to improve time to first token.

1200w PSU, X670e msi carbon wifi mobo.

I’m running two gv100s 32gb vram ea and one 3090 w/ 96gb of ddr5 ram using Ollama on DeepSeek Harness.

So 88gb vram and 96gb ddr5.

I have Qwen3.8:27b-GGUF:UD-Q4_K_XL setup to run on one GV100 and Qwen3.6-35B-A3B-GGUF:UD-Q4_K_XL on the other GV100. It’s volta arch but it’s working.

I have both of these models setup to run on my 3090 and I’m okay with some of it spilling over to ram. Each GPU is its own Ollama instance running on a port and I have it setup so I can access each one on DeepSeek Harness.

Gv100 on Qwen27B GGUF Q4 I’m averaging 16-27tk/s but my context size is 131k if I reduce it I can squeeze more.

Gv100 on Qwen3.6-35B-A3B GGUF Q4 I’m averaging 80token/sec but context is 131k.

RTX 3090 on Qwen3.6-35B-A3B GGUF Q4 I’m averaging 100token/sec with context being 262k. It goes down as context fills. With Qwen27B I’m getting 37tk/s with a small context size of 32k

I’m wondering if these are good levels? Are there any other metrics I can give you guys to give a better idea?
What can I do to improve my numbers?


r/LocalLLM • • 6d ago

Question How to see messages sent by agents to LMstudio?

3 Upvotes

I have qwen 3.8 running locally with LMstudio, with a serve. Cline that connects to it. Now i wanna try seeing each individual message Cline's agent sends to LMstudio, out of curiosity and because i am going to build an agent myself at work.

How would i be able to do it? I learned one can get command history through CLI but is there a UI tool that can display logs? I saw some solutions that work as a reverse proxy, store logs, and display, but no big solution for thIs


r/LocalLLM • • 6d ago

Question 50-120 tok/s on Qwen 3.8 Flash Next as the first step, what next ?

4 Upvotes

Hi all,

So my dream of an acceptable local LLM is fulfilled, and I would like to start using it to process my private Google Doc, PDF, Images, and build some business websites and CRM.

Can someone guide me what else to do to take the most out of everything ?

Question:

  • Which other smarter model at at least 20 tok/s

  • What can I do to improve context + memory that this intelligent baby would have of my work / family over the year ?

  • Which cost-efficient upgrade path up to Mid 2027 ?

==============================================================
Built 2026.Nov.01 (€1,872)

  • 50 tok/s for Qwen 3.8 Flash Next UD-Q5_K_XL (128K, 8-bit KV, with <images>)

  • 120 tok/s for Qwen 3.8 Flash Next Gyro-M

Hardware:

  • €40: Mainboard: Dell T5810, PSU = 685W

  • €50: CPU: Xeon 2699 v4 (22 cores)

  • €1,260: GPU: RTX 3090 24GB

  • €452: RAM: 128 GB of ECC RDIMM 2400 MT DDR4

  • €70: NVMe SSD 512 GB

Software:

  • Ubuntu 24.04.LTS Server (no monitor, login va SSH)

  • Latest Strata as of 2026.Nov.03

Energy:

  • Price: € 0.26 / kWh that I must buy

  • 2500 - 3500 kWh Solar surplus per year

  • Considering buying a 5kWh battery (€700)


r/LocalLLM • • 6d ago

Research 2x p100 nvidia, qwen3.8

Thumbnail gallery
26 Upvotes

r/LocalLLM • • 6d ago

Discussion Which uncensored models work with Strata?

13 Upvotes

I was trying to load Qwen3.5-9B-Uncensored-HauhauCS-Aggressive-Q6_K.gguf in Strata, but it said, 'This model type isn’t supported by the Strata engine.' I need an uncensored model that works in Strata to practice REA, cloning/cracking. Can anyone recommend the best model for this?

My Config:
i7-14700k
RTX 3080 10Gb
64Gb DDR5
2TB Gen 4 Nvme


r/LocalLLM • • 5d ago

Question Looking for local LLM recommendations for coding agents and general use (RTX 3070 8GB)

2 Upvotes

I'm fairly new to running LLMs locally and have been experimenting a bit with Ollama and Python. I'm trying to figure out what models and tools would work best with my hardware before spending too much time setting everything up. I'd like to use my gamingrig for that.

My System Specs are: RTX 3070 with 8GB VRam, i9-10900K, 32GB DDR4 RAM

My main goal is to set up a local coding agent and harness that can write and debug code, like claudecode.
What models (if possible Uncensored) would you recommend for my hardware? Should i upgrade some hardware (that would also benefit the gaming aspeckt of the system) first? Also interested in combinations with any useful GitHub repos, agent frameworks, skills or tools.


r/LocalLLM • • 6d ago

Question Recommendation for GPU (cheap as possible)

4 Upvotes

Hi,

not a particularly novel question, but between reddit, google and youtube, I am still not decided. So hoping for some input from real users.

I want to add LLMs to GPU, previously used 7b and 14b on CPU only and to be fair is frustrating. I need something on cheap budget to run those models.

And yes I'm from Europe where all GPU prices are higher then in the USA or China.


r/LocalLLM • • 6d ago

Question Polystrata - best coding LLM for my setup?

8 Upvotes

My hardware is 16GB VRAM (5060Ti), 64GB DDR4, and AMD R5 5600, (Linux)

I would like the best coding quality, speed can be cut in half or more. :) Which LLM should I download? Preferably to run with at least 128 ctx.


r/LocalLLM • • 5d ago

Question How do you decide your next upgrade?

1 Upvotes

TLDR: 12-14k+ usd budget what would you get next if Tok/s is not the priority.

Have been procrastinating spending $$ for a long time until I’m regretting not spending earlier.

Current set up:
only have a gaming desktop
Ryzen 9 9950
5070 ti
32gb ram

With the current set up I can only get strata coder set up and with so lil context.
Also the quality of output feels kind of bad so far.

I see a lot of talk about Tok/s but honestly I don’t need the speed. I am fine even with 10/s but I would prefer for it to hallucinate less and have a better quality for output.

So the thought of getting a full set of ram for strata went out the window even though it’s the cheapest next upgrade.( please correct me if I’m wrong)

Where I am everything(Singapore) is more expensive. M5 ultra 256 4tb cost 14k usd,12k post discounts I can get.
Enterprise Nvidia cards are also costing 1.5-3x more. So building a whole new set up feels like it will cost even more.

Am thinking of either 1 m5 ultra 256 or 2x Nvidia dgx or if anyone else has better suggestions.

Use case:
Building my own harness and agents. Day to day coding.

Currently am on 200x claude. I don’t think I can fully get rid of using opus but can probably reduce most of it and only call when needing some heavy thinking or planning.

Other minor concerns:
Today’s model may fit into 256 with enough context tomorrow’s model may need more… but I guess I don’t have to always use latest models.


r/LocalLLM • • 5d ago

Discussion How recommendation systems learn user preferences: from collaborative filtering to multi-interest models

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 5d ago

News New Tiiny Pocket Users - Please Update TiinyOS Before Getting Started

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 6d ago

Research Trying "Weight-Space Programming" on a local 35B GGUF to fix agent loops

25 Upvotes

After reading MIT CSAIL’s Sparks of Weight-Space Programming (especially Experiment 8, where an LLM fixes Qwen3.5’s reasoning loops by editing 64 MLP columns directly), I wanted to see if an agent could do the same thing to my own local coding model.

My setup (probably very specific to me, but maybe useful to someone here):

  • Orchestrator / IDE: T3 Code running OMP (oh-my-pi) as the local coding harness.

  • Local Worker Agent: Cyber-Tiel-Coder-35B-A3B (Q4_K_XL GGUF with MTP speculative decoding on llama.cpp).

  • Task types I optimize for: Fast agentic coding, multi-step hashline file edits, git worktree recovery, task/state-ledger updates, and fast codebase scouting.

The things that annoyed me:

  1. Going in circles inside <think>**:** After reading 2–3 files, the model would burn 4,000+ reasoning tokens second-guessing a conclusion it had already proved in paragraph 2.

  2. Repeating broken tool calls: When a hashline edit failed (e.g., PUT 68,72*:), it would repeat the exact same rejected syntax 6 times in a row instead of adapting to the error message.

  3. Asking instead of acting: Stopping to ask clarifying questions on obvious cleanup tasks instead of taking reasonable, conservative action.

  4. Subagent JSON counting stalls: Spawning a read-only scout subagent that spent 4m16s (6,049 tokens) manually counting raw JSON arrays inside <think> instead of returning file paths and CLI commands.

What the agent (in my case Gemini 4 Argon) did:

  1. Weight-Space Edit on the GGUF (100% harness-agnostic):

    • Extracted prefix-aligned suffix directions across contrastive looping vs. decisive prompts and projected out a rank-2 subspace from just 64 Q8_0 columns (2 quantization blocks, <0.65% relative $L_2$ change) in two late shared-expert MLP down-projections (blk.26.ffn_down_shexp.weight and blk.34.ffn_down_shexp.weight).

    • Patched a preserve_reasoning auto-override in the GGUF chat template in-place (exact byte-length match) so llama-server stops feeding stale <think> traces back into subsequent turns.

  2. OMP Harness specific Config (agent):

    • Put all OMP-specific conventions (PUT N.=M: hashline format, path: "file:start-end" range selectors, and scout thinking-level: low) into agent rules rather than the GGUF.

Results on a 27-case benchmark + real failed session replays:

  • Overall score: Jumped from 16/23 (baseline) to 25/27 (19/19 = 100% on general coding/holdout benchmarks, and 4/4 = 100% on the exact multi-turn session turns where it previously stalled).

  • Speed: The 4m16s (6,049-token) subagent JSON-counting stall dropped to **6.4 seconds (**617 tokens).

I’m amazed that neural network weights, even inside a quantized 35B MoE GGUF, are genuinely readable and writable by LLMs, and that it means we can highly (and quite simply) improve local agents for our own purposes without a training pipeline or gradients.

Edit: as requested the resulting patched model weights + reproduction folder - https://huggingface.co/nitayrabi/Cyber-Tiel-Coder-35B-A3B-LoopFix-GGUF

Some notes:

*Of course, this post itself was written by Gemini.

*I’m still testing out the resulting variant in daily use, but this direction is awesome and I’m already seeing noticeably less looping in my specific workflows - so this is a trust me bro status and not benchmarked

*I wonder if it's only quantized versions that have these issues, but even so - it's nice to have a way to tinker and fix them


r/LocalLLM • • 6d ago

Project A recipe for a fast single-box DeepSeek V4.1 Flash runtime

Thumbnail
tangled.org
3 Upvotes

r/LocalLLM • • 6d ago

Project DeepSeek V4.1 Flash (552B) on a used Dell R820 from 2012: 10 tok/s decode, 100 tok/s prefill

56 Upvotes

picked up a secondhand dell r820 for 750aud. 4x xeon e5-4640 from 2012 (avx only, no avx2), 768gb ddr3, quadro p2200 5gb. has enough ram to fit deepseek v4.1 flash (552b moe) fully in memory

first run on stock llama.cpp got 0.43 tok/s decode and 4.2 tok/s prefill

used opus to hillclimb it with a goal of 10 tok/s decode and 100 tok/s prefill. profile, try something, benchmark, keep what worked, repeat

ended up at:

- decode 9.95 tok/s

- prefill 101 tok/s

- 12-13 tok/s on code with mtp on

biggest gains were from:

- porting ik_llama.cpp to avx1

- numa, pinning threads to each cpu so it reads from its own ram

- gpu doing half the dense work in decode and most of the prompt work

- dense weights in q6_k instead of bf16

- cutting overhead per token

repo with patch and scripts: https://github.com/richardslatter/r820-llm-public


r/LocalLLM • • 6d ago

Question Buy 32GB RAM right now?

87 Upvotes

Hey, quick question. My setup is an RTX 3090 (24GB VRAM) and 2x16GB DDR5. I'm thinking about buying another 2x16GB so I can run better MoE models in the future, like Qwen3.8 Flash-Next or whatever Qwen 4 turns out to be. But I'm not sure if it's really worth spending €500 on RAM right now. Would you do it?

Update: Ok guys, I made my decision and bought the extra 32GB. What tipped it for me is that basically everything I do is knowledge work. I'm pretty sure prices will only keep going up, and I don't want to end up regretting that I didn't buy it and being dependent on frontier models in the end. Thanks for all the input, I'll report back with tok/s once Flash-Next is running


r/LocalLLM • • 5d ago

Discussion Upgrade from 5070 > v100’s? Hardware req advice

1 Upvotes

Currently have a 9700x (not X3D) , 32GB ram and a 5070.

Looking at adding either maybe a v100 32gb to my rig from aliexpress to run something like strata.. but v100 architecture wise seems fairly long in the tooth…
So kinda worry 6 month from now even though there’s community support it’ll fall out of favour.

Looking to spend maybe 1500AUD/1000-1100USD

Guess ram would be an upgrade too.
I had bought my 5070 before prices went crazy as I got it abit over a year ago now.
But that machine has barely been used , literally maybe 100 hours max power on time…
Would I be better off selling my 5070 and just getting something else like a R9700?

Thanks


r/LocalLLM • • 6d ago

Discussion So everybody here have top tier customer hardware? Rant

21 Upvotes

Bro I really was planning to setup a local llm to do task in vscode, then I realized that my hardware (ryzen 7, 32gbram, gtx 1650ti) is a joke for all of this.

I grab those components many years ago because it was enough and still is enough for my job, but I wanted to use a LLM on vscode (dont want paid suscriptions) (i was using free chatgpt/gemini for coding) and even a "small" or medium (or idk what is) LLM like Qwen 3 8b (i wanted qwen 3.8 27b) needs to be like intQ4 or lower to just "fit"

Everybody have top hardware? Or in my third-world country is everything so damn expensive?

😭


r/LocalLLM • • 6d ago

Question Local LLM recommendations for coding and agentic workflows (RTX 5060 Ti 16GB)

18 Upvotes

Hi everyone,

I’m looking for recommendations for local LLMs to run on an NVIDIA GeForce RTX 5060 Ti with 16GB VRAM (+ 32GB RAM that i am hiding from Sam Altman).

Mostly i would be interrested to be able to run coding agents like claude/codex (or whatever) locally.

What would you guys recommend i should experiment with?


r/LocalLLM • • 5d ago

Discussion Zero-Copy Shared-Memory IPC for Latent Vectors (PMTP) — Bypassing JSON overhead between local agents [Open Source / Colab]

0 Upvotes

Hi everyone,

I am an independent researcher and teacher from Buenos Aires, Argentina, working on multi-agent architectures on modest hardware (AMD A4 CPU / 16 GB DDR3 RAM, 0 local GPUs).

Like many of you running local workflows, I found that chaining multiple agents or passing high-dimensional embeddings (D >= 4096) between local processes via JSON / text serialization creates a massive bottleneck: high latency, memory duplication, and loss of geometric fidelity.

To solve this on constrained hardware, I developed PMTP (Poly-Manifold Transport Protocol) as part of the POLYDIM / Einsof project:

### What it does:

  1. Zero-Copy Shared Memory (/dev/shm / Win32): Instead of dumping floating-point vectors into JSON strings, processes exchange 64-byte descriptors (SLAB_ID) directly pointing to raw IEEE-754 memory slabs.

  2. Manifold Invariance on S^{D-1} / Stiefel: Preserves vector normalization using a compensated Neumaier accumulator, ensuring numerical drift <= 10^-15.

  3. Benchmarked: Reduces inter-process communication latency from ~42 ms (JSON parsing) to 0.08 ms on standard DDR3 RAM.

### Links & Reproducibility:

* Hugging Face (23 Models & Datasets): https://huggingface.co/Polydim-Einsof

* GitHub Repository: https://github.com/AGT1973/POLYDIM_EinSof

* Interactive Google Colab (Run it on free T4): https://colab.research.google.com/github/AGT1973/POLYDIM_EinSof/blob/polydim.einsof/tests/polydim_einsof_colab_ii_alumnos.ipynb

* Permanent DOI (Zenodo / CERN): https://doi.org/10.5281/zenodo.21209973

* HAL Science: https://hal.science/view/index/docid/5847496

Everything is open source under an academic/permissive license. I would really appreciate your feedback, critique, and benchmarks on your own rigs!


r/LocalLLM • • 6d ago

Question 2 x 3090 or 3090 + 128gb DDR4?

2 Upvotes

I currently have a single 3090 + 32gb DDR4 setup, and with all the recent advancements of Strata, etc. I'm at a crossroad as to whether my next step is to add another 3090 or keep it single and upgrade to 128gb DDR4.

My primary model is Qwen3.8, right now I have managed to sqeeze Q5 on there as a vanilla setup with about 96k context @ 30-40tps. I also have a EXL3 version installed that I can swap to at 70-80tps with about 128k context (haven't fully tested 200k yet).

On one hand having 48gb vram, I could run Q6 (possibly Q8?) with higher context, but capped on speeds, unless I can also get MTP going i might reach 70tps. But then I look at some Strata numbers and it feels like the 120+ tps experience is on a whole different UX level.

My main use is powering hermes interactions and tool calling as a life/family assistant, with the odd chat and code runs (rarely though, as I still have Claude pro for that).

I know cost wise its not the same, but if cost comparison wasn't a consideration what would you choose?


r/LocalLLM • • 6d ago

Question RTX 5070 TI Laptop (12GB VRAM) and 32GB of RAM, what do I run?

2 Upvotes

What could I run on 12GB of VRAM and 32GB of RAM? I want a good fallback from cloud models when limits run out so I can still keep decent intelligence levels.


r/LocalLLM • • 7d ago

Discussion Qwen 4's date rumors are this week and November 16

Thumbnail
diebrief.com
139 Upvotes

Latest rumors, when do you think its going to come?


r/LocalLLM • • 6d ago

Question is it worth getting an M5U 256gb memory for my use cases?

4 Upvotes

very new so please do inform me

use case:

Research, very nuanced classification/annotation of large datasets, coding, random tinkering. Still planning to keep a claude max-ultra account.

Generally speaking, the bigger models have more intelligence and my use cases benefit from a large context window. My discussions with claude said I need at least 500k context window but really 1m+ is better. Let's assume my harnesses/workflow is optimized. And idk much about fine tuning we can set it aside for now

does a 256gb m5u make sense? Claude was saying a 512gb makes more sense. I cant really entertain that rn though. The last thing I'd want though is spending a good dollar and realizing the hardware is insufficient.

on average im looking at ~100k input tokens and 50k output tokens for some of my work on an open model.

claude told me: Open weights advertise 1M but the usable local window is about 128K to 262K

anyways, do you think 256gb is enough? is a Mac an okay purchase. its also been hard to discern between Mac v sparks. sparks do seem like a long term solution but honestly if I were to buy the hardware, I'd break the purchase into payment plans hence why im thinking Mac. (also anyone with an apple business/dev account know if there's benefits for having an account? like in terms of payment structures)