r/LocalLLM • • 18h ago

Discussion PSA. Abliterated models will happily wipe your disk. Give them a sandbox, not your main machine

240 Upvotes

Quick warning for anyone running the no refusal builds locally. The refusals you stripped out were doing more work than you think.

I asked a local Hermes based abliterated model to free up some disk space on my dev box. A normal model asks what it is allowed to delete or plays it safe. This one just went. It cleared the package caches, then started deleting docker volumes with data I needed, then went for files in my home folder. I killed it while it was staring at the ssh folder. Maybe twenty seconds start to finish.
Nothing in the model said stop, because stop is exactly what got removed. That is the whole point of these builds and it is great for writing and roleplay and genuinely terrible for giving one a shell on a machine you care about.

So now anything with tool access runs in a throwaway VM. Snapshot a clean Ubuntu, run the agent in there, and if it eats itself I start a fresh one. My real machine, my keys and my projects never share a kernel with it.

The models themselves still run on my own GPU box. Only the agent loop and its shell live in the disposable VM, talking to the model over the network. For the VMs I used Proxmox for a while and now use boatdev , because ,can script start and stop and pay by the second. No GPU on them, which is fine since inference stays home, and they are EU only.

Uncensored is a feature for text. The second it can run commands it needs walls. A wiped home folder is a cheap lesson, but leaked keys are not.


r/LocalLLM • • 5h ago

Model Qwen Flash Next on an 8GB Card ~50-70tkps at 512k CTX!!

Thumbnail
github.com
49 Upvotes

Spent time perfecting Qwen Flash Next at 512k context on an 8 GB RTX 3070, with only 48GB DDR4, via PolyStrata without the lossy small-card flags (--tail-skip, --attn-requant q5_0).

Sweet spot landed at 49–64.7 tok/s decode and 421–796 tok/s prefill, zero thinking loops, and patched tool-calling for OpenCode & Oh My Pi (omp).

Everything is here. Benchmarks, cross-OS notes, sanitized configs, and an AGENT_SETUP.md your coding agent can auto-configure.

edit: sorry for not including quant, people are very angry πŸ₯²! IQ1_M quant. Not true IQ1. It’s 3.33 bpw actual, 1.89 bpw accounting for expert pruning.

I think I am the only person to run this model THIS fast on a 8gb card at such high context window, feel free to check out the github!


r/LocalLLM • • 7h ago

Question Best local llm right now?

49 Upvotes

I'm tired of anthropic's bullshit (safeguards, mandatory KYC, etc), and managing multiple subscriptions is becoming rather inconvenient.

So i'm looking for:

  1. What's the strongest model that you can currently run locally, and what kind of hardware do you need for it? How much budget?
  2. Can you remove the safeguards from these local llms, and if so, how?

Money is not that much of an issue. Of course, i do not have a data center, but i can put aside some sub $50k (lower is better). I want maximum performance (preferably close to frontier), and minimum prompt rejection (i don't want to deal with safeguards just because im trying to do mild cyber security work)

Thank you in advance for the help!


r/LocalLLM • • 8h ago

Question Codex sabotaging my local LLM?

37 Upvotes

Has anyone experienced this? I use OpenClaw as my harness and have gpt-6.2-astra and an abliterated local model. Some of my work is cybersecurity so I use an abliterated model for no refusal on legit work tasks that Codex and Claude refuses to do (even their redteam/cyber models refuses some tasks). I noticed my local model degraded from the last time I used it. I then asked gpt-6.2-astra to discover the issue and fix it. It refused saying it won't do anything as the model have zero refusal. So I switched to Deepseek Flash and it found that gpt-6.2-astra changed some of the configurations to degrade the local model then fixed it. Now my abliterated local model is running fine again. WTF is this? It's infuriating. The sad part is I have to still use gpt-6.2-astra for certain tasks, but I lowered my subscription plan.


r/LocalLLM • • 13h ago Bravo

Project Qwen3.8-27B locally on Apple Silicon at 136+ tok/s decode & 650+ tok/s prefill in ~16 GB RAM, open-source C++/Metal inference engine

33 Upvotes

If you run Qwen3.8-27B locally on a Mac for coding, the two things that usually ruin the experience are waiting forever for big prompts to prefill (~250 tok/s on GPU/MLX) and watching 27B + long context eat 24+ GB of RAM and start swapping.

I've been building mometal an open-source (MIT), zero-Python C++/Metal OpenAI-compatible server for Apple Silicon, and just pushed v1.3 with native DFlash 2 speculative decoding and single-copy Neural Engine + GPU weight sharing.

What it actually feels like to run (Qwen3.8-27B 4-bit on M4 Max 48 GB)

  • API-like coding speed: 136+ tok/s median coding decode (peaking at 154–163 tok/s) and 109–118 tok/s even out at 8k–32k context.
  • 2.5x faster prompt processing: 650+ tok/s cold prefill (up to 707 tok/s at 4k, 515 tok/s at 32k, 279 tok/s at 128k) β€” plus SSD prefix caching (~0.25s warm TTFT).
  • Way lighter on RAM: ~15.5–17 GB total from idle to 32k (3 to 6.7 GB less than Splash), and 0 GB swap at 128k so your Mac stays usable next to Xcode/Docker/browser tabs.
  • Instant start, zero dependency mess: Single C++ binary, boots in ~1.2 seconds, no Python/venv/MLX required, works on macOS 15+ and M1–M5 (not locked to M3+ / macOS 26.4+).

How it works (the short version)

Normally, offloading prefill to Apple's Neural Engine doubles RAM usage because Metal and the ANE each keep their own copy of the model (~25+ GB). mometal verifies Apple's compiled 4-bit ANE cache at boot and MAP_SHAREDs those exact physical pages into Metal so both chips read the same weights in RAM. On top of that, v1.3 adds a native Metal DFlash 2 drafter quantized on the fly in ~150 ms.

Head-to-Head vs. Splash 1.7.3

Tested with identical mlx-community/Qwen3.8-27B-4bit + DFlash2 weights on SPEED-Bench (M4 Max 48 GB):

MetricSplash 1.7.3mometal v1.3 (ANE-Share)mometal v1.3 (GPU-only)
Coding decode (med / mean)130.2 / 128.9136.2 / 128.8136.8 / 130.7
Long-context decode (8k / 32k)92.6 / 88.6109.5 / 118.3112.4 / 110.0
Cold prefill (2k / 8k / 32k)506 / 499 / 424649 / 658 / 515270 / 264 / 239
Total RAM (idle / 32k)18.6 / 23.7 GiB~15.5 / 17.0 GiB15.7 / 17.2 GiB
Ready time95.8 s*1.22 s8.14 s

*Includes 61.4s one-time ANE calibration on Splash's first launch after upgrade.

Try it in 2 minutes

(Only needs Xcode CLI tools + CMake + mlx-community/Qwen3.8-27B-4bit & incoai/Qwen3.8-27B-DFlash2*)*

Bash

git clone https://github.com/tinjakr/mometal && cd mometal
cmake -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -j

# ANE + GPU single-copy + DFlash 2 (auto-builds ANE cache in ~8s on first run)
./build/mometal serve \
  --model ~/models/Qwen3.8-27B-4bit \
  --dflash ~/models/Qwen3.8-27B-DFlash2 \
  --ane-share --max-seq 131072 --kv-bits 8 --port 8092

(Want to test pure GPU + DFlash 2 first without touching ANE at all? Swap --ane-share for --ane-models off β€” still hits 136.8 tok/s coding.)

Honest limitations so you know what you're getting

  • Focused model support: Right now it's focused on Qwen3.8-27B (including vision) + Inkling 2 Mini. Splash is still the better pick if you want multi-request batching (4–8 concurrent streams), GGUF/MoE support, or a desktop UI β€” and it slightly edged us on their Transcripts set (112.3 vs 111.7), 2k decode, and 32k reasoning.
  • Undocumented ANE cache: Single-copy ANE sharing reads Apple's undocumented aned cache; boot-time verification checks the bytes and falls back cleanly to GPU-only if macOS ever changes the format.

If you give it a spin on your Mac, drop your chip + tok/s in the comments! I only have an M4 Max, so I'm especially curious how it runs on M1, M2, M3, and M5 (there's also a 30-second python3 scripts/probe_m_chip.py check if you just want to test ANE sharing first). And let me know which model family you'd actually want supported next.

Next up, inkling 2 mini


r/LocalLLM • • 21h ago Bravo

Project Learn how LLMs work by playing with them: 62 interactive labs, models that run locally in the app, and a private offline AI guide

Thumbnail
gallery
30 Upvotes

Open-source app for learning how AI works by playing with it. Everything runs on your own computer. The desktop app has an optional AI guide you can ask about whichever lab you're on. One click downloads Qwen3.5 2B (about 1.3 GB) and llama.cpp, and the app checks both files before it runs them. After that the guide works fully offline, and nothing you type leaves your machine. The labs run small models locally too. The attention lab runs a 1.37M-parameter transformer through ONNX Runtime, and the training labs train a tiny character-level model live as you move the sliders.

There are now 62 hands-on labs, from vectors and gradients through attention, the KV cache, quantization, distillation and serving. Since my last post I've redrawn every lab to be more visual, added 3D views to a few, and added new labs on math, a knob-based neural network, and AGI. There's no account and no telemetry.

Desktop app: https://github.com/Fazmin/AILearningGuide/releases/tag/v0.2.2

Feedback and PRs are welcome.


r/LocalLLM • • 16h ago

Discussion GGUF Quantization Explained: Q4_K_M, Q5, Q8 and Which File to Pick

Thumbnail
acta.ai
29 Upvotes

Quick version for anyone staring at twenty GGUF files for one model:

  • Q + number = rough bits per weight (Q4 β‰ˆ 4, Q8 β‰ˆ 8)
  • K = newer k-quant scheme; S/M/L = how many sensitive layers are kept at higher precision
  • IQ = newer formats for very low bit counts
  • File size β‰ˆ parameters Γ— bits Γ· 8, so an 8B at Q4_K_M is roughly 4.5 GB plus overhead

My usual pick is Q4_K_M, then Q5_K_M or Q6_K if there's headroom. A bigger model at Q4 usually beats a smaller one at Q8 at the same size. For long transcripts, Q3 and below start dropping details first.

The article also covers imatrix, making your own quants and 1.58-bit models. Happy to answer questions here.

Disclaimer: I work on https://acta.ai


r/LocalLLM • • 5h ago

Question Qwen3.8-Flash-Next IQ3_S, 78 GB, 32 GB RAM, 16 GB VRAM: 51 tok/s vs 15 tok/s on the same box

11 Upvotes

Strata vs Strata-HotRod, same model, same prompts, same harness β€” a 3.5Γ— decode gap and a question about tuning.

Repos under test

  • Strata (upstream): https://github.com/Niko1221/Strata
  • Strata-HotRod (fork): https://github.com/sangharshadhyeta/Strata-HotRod

Disclosure: neither repo is mine. I didn't write either engine and I'm not affiliated with either project β€” I'm just a user benchmarking two forks of the same lineage on my own hardware. Full credit for the code belongs to the maintainers linked above.

Both are llama.cpp-lineage engines with their own MoE expert-streaming stack. The fork is 119 commits off the shared ancestor 8a93614ed with +9,017/βˆ’409 lines in src+include; upstream is ~5,300 commits ahead of that same ancestor.

I benchmarked both on the same box, same model, same harness. Then I asked the obvious follow-up: can upstream be tuned to match the fork with flags alone? Short answer: prefill yes, decode no. Details and the exact flags below β€” and I'd like this sub's opinion on whether I'm missing a flag set.


TL;DR

Chat decode (tok/s): upstream 7.7 β†’ upstream tuned 15.0 β†’ HotRod 51.6 Chat first token (s): upstream 3.50 β†’ tuned 2.01 β†’ HotRod 0.58 4K prefill (tok/s): upstream 733 β†’ tuned 877 β†’ HotRod 1280 16K prefill (tok/s): upstream 1055 β†’ tuned 1251 β†’ HotRod 1668 32K prefill (tok/s): upstream 1094 β†’ tuned 1632 β†’ HotRod 1681 32K first token (s): upstream 29.4 β†’ tuned 19.7 β†’ HotRod 19.1 Agent decode (tok/s): upstream 10.2 β†’ tuned 22.7 β†’ HotRod 55.3 Agent turn first token (s): upstream 7.54 β†’ tuned 6.16 β†’ HotRod 4.46 Failures: 0 / 0 / 0

Giving upstream the fork's memory-tier flags doubles its decode (7.7 β†’ 15.0 tok/s) and brings 32K prefill to within 3 % of the fork. Decode stays 3.5Γ— behind, and I believe that gap is code, not configuration.


The machine

  • GPU: NVIDIA RTX 4080, 16,376 MiB VRAM, driver 616.56, PCIe 4.0 x16
  • CPU: 12th Gen Intel i5-12600K, 10 cores / 16 threads
  • RAM: 31.7 GiB
  • Storage: Samsung 970 EVO 500 GB NVMe + WD_BLACK SN850X 2 TB NVMe
  • OS: Windows 11 (10.0.26200)
  • Toolchain: MSVC 19.51, CUDA 13.3, Ninja, -j 8
  • Pagefile: 32 GB fixed on D:, +12.8 GB on C: β†’ commit limit 75.5 GiB

Windows-specific gotcha worth knowing: with a system-managed pagefile the commit limit was only 42.25 GiB and ~5 GiB of commit was free at load time. The engine clamps its RAM tier to min(free RAM, free commit) βˆ’ headroom βˆ’ 0.25 GiB, so asking for a 15 GiB tier silently built 0.92 GiB. Fixing the pagefile (32 GB fixed) plus STRATA_RESIDENT_HEADROOM_GIB=1 (default headroom is 4 GiB) was the single biggest win in the whole exercise β€” +17 % decode, +21 % prefill on the fork before any code change.

The model

Qwen3.8-Flash-Next, GSQ-RCO IQ3_S, 2 shards, 78 GB on disk vs 31.7 GB of RAM β€” so the resident expert tier is a cache, never a load. 24,576 experts, 131,072 max context (trained 262,144), --kv int8, speculative decoding --spec 4 --spec-min-p 0.5.

Neither engine fits this model in RAM. Both read the rest from the pack file unbuffered. Upstream keeps its tier page-locked; the fork keeps its tier pageable so Windows can trim it while a long prompt streams 33 GiB off the SSD.

Build flags (identical for both)

-G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON
-DSTRATA_BUILD_TESTS=OFF -DSTRATA_NATIVE_EXPERTS=ON -DSTRATA_PORTABLE=ON
-DCMAKE_CUDA_ARCHITECTURES=89-real

Upstream built clean, zero patches. The fork needed a local MSVC patch to src/program/generate.cpp (setenv β†’ _putenv_s, sysconf β†’ strata::platform::total_physical_memory()); saved as a .patch, not upstreamed. Engine versions: upstream 0.1.69 (c23477403), fork 0.1.45 (4ea40f1d).


Flags used

Upstream Strata β€” as benchmarked in the first comparison

--pack <iq3_s> --native <shard1.gguf> --ple-gguf <shard2.gguf>
--expert-cache auto --spec 4 --spec-min-p 0.5 --mtp <mtp/rt>
--max-context 131072 --kv int8 --mmap-experts
--expert-profile <expert-profile.bin>
--prefill auto
--resident-budget-gib 4

Upstream Strata β€” tuned (same binary, four flags changed)

--prefill auto:16384            # was: auto
--resident-budget-gib 15        # was: 4
--kv-resident 32768             # new
env STRATA_RESIDENT_HEADROOM_GIB=1   # was: default 4

Everything else identical. The tier now builds for real: resident RAM: 15.00 GiB of experts in RAM, 7963 exchanged with the VRAM tier, 179795 blob reads from the file, arena_mib 15358, vram_free_mib 1436, expert_slots 3417, expert_cache_mib 6695.

Strata-HotRod

--pack <iq3_s> --native <shard1.gguf> --ple-gguf <shard2.gguf>
--expert-cache auto --spec 4 --spec-min-p 0.5 --mtp <mtp/rt>
--max-context 131072 --kv int8 --mmap-experts
--expert-profile <hotrod expert-profile.bin>
--prefill auto:16384
--resident-budget-gib 15
--kv-resident 32768
env STRATA_ROUTE_RESIDENT=1e30
env STRATA_ROUTE_RESIDENT_RANKS=3-9
env STRATA_ROUTE_RESIDENT_EDGE=1
env STRATA_SWAP2_MAX=2
env STRATA_SWAP2_GAP=1
env STRATA_KV_GROW_INIT=4096
env STRATA_RESIDENT_HEADROOM_GIB=1

Note the original comparison gave upstream a 4 GiB tier while the fork got 14.56 GiB β€” that's a 3.6Γ— cache difference baked into a "code comparison". The tuned run fixes that confound.

Method

tools/strata_bench.py --long, thinking off, server started by the harness. Suite: chat (3 short questions) β†’ 4K prompt β†’ 16K prompt β†’ 32K prompt β†’ agent session (6 turns, 4 tool calls), medians of successful requests. 3 runs per test for the base and fork runs, 2 for the tuned run (slightly noisier; medians comparable). Both engines ran through the upstream harness, each with its own config, because the fork's own copy was broken (NameError: name 'port' is not defined at line 976).


Results (same day, same binaries, IQ3_S)

All columns are upstream 4 GiB / upstream tuned 15 GiB / HotRod 14.56 GiB, plus tuned-vs-base and tuned-vs-HotRod ratios.

  • chat decode tok/s: 7.70 / 14.95 / 51.6 β€” 1.94Γ— base, 29 % of HotRod
  • chat first token s: 3.50 / 2.01 / 0.58 β€” βˆ’43 % vs base, 3.5Γ— slower than HotRod
  • 4K prefill tok/s: 732.6 / 876.7 / 1280.0 β€” 1.20Γ— base, 68 % of HotRod
  • 4K first token s: 5.61 / 4.65 / 3.16 β€” βˆ’17 % vs base
  • 16K prefill tok/s: 1054.7 / 1251.5 / 1668.2 β€” 1.19Γ— base, 75 % of HotRod
  • 16K first token s: 15.32 / 12.89 / 9.70 β€” βˆ’16 % vs base
  • 32K prefill tok/s: 1094.0 / 1631.6 / 1681.4 β€” 1.49Γ— base, 97 % of HotRod
  • 32K first token s: 29.43 / 19.70 / 19.12 β€” βˆ’33 % vs base, β‰ˆequal to HotRod
  • agent decode tok/s: 10.2 / 22.7 / 55.3 β€” 2.23Γ— base, 41 % of HotRod
  • agent turn first token s: 7.54 / 6.16 / 4.46 β€” βˆ’18 % vs base
  • agent cache hit %: 70.87 / 70.91 / 70.86 β€” equal
  • agent re-read tokens: 5 / 5 / 5 β€” equal
  • failures: 0 / 0 / 0

Reading it: the cache-hit rate is identical across all three (70.9 %, 5 tokens re-read per session), so none of the fork's lead is prompt caching. It is entirely expert-fetch. Flags recover ~20 % of the prefill gap at 4K/16K, ~97 % of it at 32K, and about half the decode gap β€” but decode stays 3.5Γ— behind, and chat first token stays 3.5Γ— behind because 51-token prompts still pay a full expert fetch per layer with nothing to cover the miss.

128K context (earlier runs, upstream 0.1.62 / pre-update fork)

Columns are upstream / fork tier 4 GiB / fork tier 15 GiB.

  • needle @96K prefill tok/s: 1495 / 1070 / 1206
  • needle @96K first token s: 64.8 / 90.5 / 80.4
  • decode @117K tok/s: 28.4 / 27.0 / 40.2
  • cached-prefix first token s: 2.03 / 1.97 / 1.50
  • decode on cached 117K tok/s: 21.3 / 21.6 / 34.0

Upstream wins long-prompt prefill by 1.24Γ—; the fork wins decode at 128K by 42 %. At 128K with a full 15 GiB tier the fork logs only 981 MiB of VRAM free and 129–147 swap rounds per request β€” 128K + a full tier is past this card's ceiling. Tier 4 GiB is the safe 128K setting.


What didn't work

  • --resident-budget-gib 20 / 24 while commit was tight β†’ tier 0.80 / 0.71 GiB. Clamped by free commit, not by the flag.
  • --prefill auto:4096 / auto:8192 to free commit β†’ worse (tier 0.71 / 0.78 GiB). Smaller chunk freed less memory than it disturbed.
  • --kv-resident 16384 β†’ tier 0.00 GiB. KV residency competes for the same budget.
  • --expert-cache 2000 β†’ tier 2.73 GiB. Frees ~2 GiB commit but shrinks the VRAM expert cache β€” a trade.
  • 24 GiB VirtualAlloc probe to force a pagefile grow β†’ grew 3.4 GiB, shrank back. System-managed pagefile can't be grown reliably from user code.
  • 128K context with the 15 GiB tier β†’ works, but ~981 MiB VRAM free, 129–147 swap rounds/request. Past the GPU's ceiling.
  • one engine fitting the model in RAM β†’ never. 78 GB on disk vs 31.7 GB RAM.

Also: the fork's headline feature β€” a learned look-ahead router, default since 24 Oct β€” was off in every run (plain router (not on), never reached prediction inside a run). Its measured prefill win came from the non-learned parts: stand-in experts, the RAM tier, layer-major O_DIRECT reads, and 2 EDF-ordered read-ahead threads.

Why I think decode is code, not config

The fork's own bets, in its 9,017 added lines: stand-in experts (swap an absent expert for a close resident one instead of faulting it in), a substitute-fit learner with shadow samples and re-check gates, three tiers card β†’ RAM β†’ SSD with a learned RAM/VRAM reserve, layer-major long-prompt reads via O_DIRECT, and 2 I/O read-ahead threads EDF-ordered. Upstream's 154-option CLI has a tier (--resident-budget-gib, --resident-experts, --ram-keep-gib), prefill chunking, KV residency, an adaptive tier with --adapt-async / --adapt-min-gain, and --vram-elastic β€” but I found no stand-in-expert or read-ahead-thread equivalent. That matches the numbers: tuning the tier moves prefill, but per-token expert fetch stays 3.5Γ— slower.


What I'd like to know

  1. Am I leaving upstream flags on the table? Candidates I haven't swept: --adapt-async 1, --adapt-min-gain (default 1.5), --vram-elastic + --vram-segment-mib, --expert-cache N sizing, --pool-workers / --aux-cpus thread placement, --prefill-pipe R. If you've pushed a 16 GB-VRAM / 32 GB-RAM box past ~15 tok/s decode on a 78 GB MoE model with flags only, I'd like the exact set.
  2. Are there faster engines for this shape of problem? 78 GB MoE, 16 GB VRAM, 32 GB RAM, Windows. I've seen claims around llama.cpp's --n-cpu-moe / expert offload, ik_llama.cpp, KTransformers, and vLLM expert offload β€” but I haven't measured any of them on this model and I'd rather not quote numbers I haven't run. What actually beats ~51 tok/s decode and ~1.7 ktok/s prefill here?
  3. Has anyone ported the fork's stand-in-expert path upstream? Upstream has taken nothing from the fork (0 merge commits). If the decode gap is one code path, a port might be cheaper than maintaining a fork.
  4. Why is the learned look-ahead off by default in the fork's own runs? If it's not firing, either the trigger condition is wrong or the feature isn't ready β€” worth knowing before anyone benchmarks it.

Reproduce

Both results folders and the configs are in the repo-adjacent workspace; every number above comes from tools/strata_bench.py --long with the configs pasted in this post. Happy to share the raw results.json pairs if useful.


Strata: https://github.com/Niko1221/Strata Strata-HotRod: https://github.com/sangharshadhyeta/Strata-HotRod

Neither repo is mine β€” both are the work of their respective maintainers. I only built, ran, and measured them.


r/LocalLLM • • 11h ago

Question people who are developing their own LLM models, how much is it costing you?

11 Upvotes

people who are developing their own LLM models, how much is it costing you? and developers who are solo or with low budget, how are you handling your expenses? what are the monthly bills, your Machine specs or VM specs if you like to share. and how could a solo dev / newbe want to build their own model with low budget, what are the tips you wanna give them?


r/LocalLLM • • 19h ago

Question Are those mini PCs worth it if I want to switch to local models or stick to cloud? Anything cheaper than the one in the pic?

Post image
11 Upvotes

I like doing AI roleplay using sillytavern as my front end and doing some vibe coding for small personal projects. But I want to expand and get into game dev solo (doing all the art, music, coding etc myself or ai assisted) in the future but I'm not committed to that route yet.

I used to spend $100+ for the claude max sub and ever since the release of Gemini 4, I already spent around $70. That's solely through RP, I haven't done any coding yet with Gemini. I wanna know if switching to local would be cheaper in the long run. Β I can see my myself breaking even if I fully commit to the game dev pipeline.

My current hardware isn't great, its those prebuilt Victus 15l gaming PCs I bought from best buy with a few upgrades. GPU: RTX 4060 8GB, CPU: i3-12100F, 32gb RAM. The motherboard is proprietary limiting my options for upgrading (Reno2 I think?)

If there's any cheaper alternatives than the one in the pic, please comment!


r/LocalLLM • • 3h ago

Question Running local agents with 16GB VRAM and 64GB RAM

10 Upvotes

Any model recommendations for getting started with local agents?

My hardware:

  • CPU: Intel Core i7-13700F
  • GPU: RTX 4080 16GB
  • RAM: 64GB DDR5 6000 MT/s

I've installed LM Studio and OpenCode, and tried running Qwen3.8-27B (following ChatGPT's recommendations).

Honestly, the experience has been pretty frustrating. Even simple tasks get stuck in thinking loops (averaging around 9 tok/s), and it often struggles to complete basic tasks.

My goal is to have local agents that can handle coding, work with local files, execute commands, and generally complete multi-step tasks with minimal hand-holding.

Am I just trying to run something too big for my hardware? What models would you recommend starting with?


r/LocalLLM • • 3h ago

News IT Department Hardware Recommendations? $45k

10 Upvotes

The IT department at my job has secured a guaranteed $45k towards Local LLM. With a potential $250k for "Research and Development"

We're looking at having a large internal coding model for IT and a smaller 35BA3B for other departments?

A coworker has already purchased a Radeon 9700 AI card with great results running Qwen Flash Next with some AMD inference engine. 80tok/s with a decent quant.

We're looking at maybe two machines?

Card's we were interested in were:

Radeon 9700 Pro AI
Radeon W7900
Radeon 7900XTX
apple silicon

The nvidia cards we were looking at seem exorbitantly expensive and questionable availability.

We're looking at making a more proof of concept build before deploying elsewhere.

hopping yall could give hardware and harness suggestions


r/LocalLLM • • 9h ago

Model Inkling-2 Mini - 9070xt - 140-220 tok/s Custom Engine

10 Upvotes

Hey local llm people on team red, I have something to share that I think you’ll enjoy!

Warning for those with sensitivities to vibe coding, I am a complete amateur regarding all things code, llm engines, and actually shipping development. Claude did basically all of the heavy lifting and my goal here is to share this work so others may evaluate it for accuracy.

I’ve got a GitHub here with a custom Linux engine for a 9070 xt that turns Inkling-2 into a code chewing monster, and I’m hoping someone could validate my results at 200k context!

140-220 tok/s writing and 3,400-4,700 tok/s reading at 196k context.

https://github.com/clodemaxxing/inkling2-rdna4-linux

This was built on top of other engine optimizations credited in the GitHub but I’m extremely ignorant as to the actual proper way to report developments to the original creators.

For my use, Inkling-2 has become a reliable code spitting token offloading for Claude and I’ve had strong results with the accuracy with this engine setting. The biggest consideration with inkling-2 tuning is, you don’t want your context to be quantized, that’s why you see people reporting it β€œlooping” over and over. With a clean signal there, this model spit out a Gaussian splat single html file test fully functional in a minute (very simple in complexity but still impressive). I can quite literally shift off dependency for cloud AI for basically all of my simple hobby project work.


r/LocalLLM • • 17h ago

Discussion Coding model on 16gb of vram

10 Upvotes

im looking for a good ai model that is able to code though a harness, able to fit on a 16gb consumer gpu, speeds dont restrict here as im more after quality.

i have done some searching and nothing is giving me a definite answer on which is a good option


r/LocalLLM • • 21h ago

Discussion Ollama vs LM Studio vs llama.cpp vs vLLM: Which Local Runner Fits?

Thumbnail acta.ai
10 Upvotes

Open any popular model on Hugging Face, click "Use this model", and you get a list: Ollama, LM Studio, llama.cpp, vLLM, Jan…

They all run the same model. They're built for very different people, and picking the wrong one is how a Friday afternoon experiment turns into a weekend of driver errors.

The short version:

  • LM Studio: a desktop app. Search, download and chat with a mouse. Best if you want to try models this afternoon.
  • Ollama: a terminal tool with a local API. Best if you'll script and automate later.
  • llama.cpp: the engine underneath much of local AI. Best if you want every setting, or unusual hardware.
  • vLLM: a GPU server for many users at once. Best for a team or a product, overkill for one laptop.

Two mistakes I see a lot:

  1. Choosing on speed claims from someone else's machine. Speed depends on your hardware, model, quantization and settings. Test your real task on your real computer.
  2. Forgetting the file format. llama.cpp needs GGUF files. Check before you download 20 GB.

The most useful part: they almost all speak an OpenAI-compatible API. Write your script once against Ollama on your laptop, then point it at a vLLM server when the team wants to share it. It's mostly a change of base URL.

Which one are you running?


r/LocalLLM • • 11h ago

Discussion Inkling 2 Mini on a 16GB RTX 4080 vs a 32GB MacBook M5: the PC was 2x faster in chat but built nothing in a coding agent

Post image
8 Upvotes

I tested Inkling 2 Mini (26B total, 3.4B active, looped middle layers) on two machines normal people own, in GGUF and MLX, then gave it a real coding job.

**PC: RTX 4080 SUPER 16GB + 32GB RAM, LM Studio (GGUF)**

- Default settings: ~8 tok/s

- After 3 changes: ~38 tok/s

  1. GPU offload to max
  2. MoE experts of only 6 of 24 layers forced onto CPU (everything else on the card)
  3. mmap on

- After a day of uptime it fell to 3 tok/s. A reboot fixed it, so reboot before you benchmark.

**Mac: MacBook Pro M5 32GB**

- GGUF in LM Studio: 21 tok/s, but 31/32 GB used + 5 GB swap. 64K context loaded, then "Compute error" on the first message. 48K worked; Parallel 4 β†’ 1 is what let bigger context load.

- MLX in oMLX (needs 0.8.1+, older says "model type not supported"): 22 tok/s, 36% RAM free at start, no swap, 64K works. The memory guard stopped my first long job, and RAM climbs to ~24 GB by the end of a coding run.

**Real test: my paper sketch β†’ an app, in OpenCode (reasoning Low)**

- Mac GGUF: 23 min, 3 files, looks like my sketch, 0 errors

- Mac MLX: 13 min, 3 files, messier layout

- PC: 38 tok/s in chat but ~7 tok/s inside OpenCode. ~11K words of agent instructions + the image fill 16 GB. 3 tries, 0 files.

- Both Mac apps got the bill split wrong the same way: β‚Ή760 charged on a β‚Ή270 bill. On High reasoning it got the maths right in its thinking, then ran out of memory. So the format changes speed and memory, not the brain.

**My take:** 16GB card = great for chat, not enough for a coding agent. 32GB Mac = use MLX. The model itself: let it think, and check its maths.

Anyone know why the PC drops from 38 tok/s in chat to 7 in OpenCode? Prompt processing of the big system prompt with experts on CPU?


r/LocalLLM • • 12h ago

Discussion Strix Halo 395 is more impressive than I expected

8 Upvotes

Got my Nimo ai max+ 395 minipc a few days ago and finally ran some tests.

Two results surprised me a lot. On Qwen3.8 Flash Next UD Q4 K XL the prefill speed went over 2000 tokens per second. Normally it sits around 500. On Qwen3.6 35B A3B Q4 K M the decode speed reached about 120 tokens per second. It usually stays closer to 60 on this kind of hardware.

The jump from 60 to 120 on the 35B model feels very clear in daily use. Coding agent work becomes much smoother.

Strix Halo is performing better than I expected. Now I am even more curious about what the 495 will be able to do later.


r/LocalLLM • • 9h ago

Discussion I know 1-bit quant is practically brain damage, but here are my BFCL-v4 results (Qwen 3.8 flash next UD IQ1M vs Gyro-M vs Inkling-2-mini)

7 Upvotes

I know, I know... 1-bit quant can represent practically nothing. But this is what my hardware can actually run, so I wanted to see how much of a hit function calling takes at the extreme low end.

I ran the BFCL-v4 benchmark (374 samples) just for my own comparison. Here are the results for the three models I tested.

The Models Tested:

  • qwen3.8fn-ud-iq1m (Qwen 3.8 flash next UD3.1 3.1 iq1m via strata tail skips 0)
  • qwen3.8fn-gyro-m (Qwen 3.8 flash next gyro-m via strata tail skips 0)
  • inkling-2-mini (Native NVFP4/MXFP8 via smalltide)

Overall Results

ModelQuant / FormatOverall Score (374 samples)
qwen3.8fn-ud-iq1mIQ1_M80.8% πŸ†
qwen3.8fn-gyro-mGyro-M78.6%
inkling-2-miniNVFP4/MXFP875.9%

Breakdown by Subset

Subsetqwen3.8fn-ud-iq1mqwen3.8fn-gyro-minkling-2-mini
irrelevance80%84%82%
live_multiple74%76%68%
live_parallel_multiple50%58.3%54.2%
live_simple80%78%82%
multi_turn_base72%60%62%
multiple94%88%78%
parallel_multiple84%76%80%
simple_python96%98%90%

what do you think?


r/LocalLLM • • 5h ago

Question Wpuld like to start using first Local LLM, did research but still dont know where to start

6 Upvotes

Hi everyone, I started doing research on what Local LLM to use and I ended up more confused, but essentially its based on my hardware it seems, of 16gb ram and 3060ti 8gb Dedicated Ram

I was seeing alot of Qwen ai, but theres so many sub variants.

What I have found so far is, Download LM Studio, and download relevant LLM as they do differnt tasks?

Ultimate goal is to help set up my Linux OS, and build projects, with the assistance of AI.

For the time being im using Claude.

Edit: just noticed the typo in the title, cant fix that now sadly


r/LocalLLM • • 11h ago

Discussion What would you do if you had all these components for your own local LLM?

6 Upvotes

What models would you run with these?

RTX 5090 32GB VRAM, PC components of your choice
RTX 6000 Pro 96GB VRAM, PC components of your choice
DGX Spark 128GB unified memory, 4TB storage
Mac Studio with M5 Ultra chip, 512GB unified memory, 4TB storage


r/LocalLLM • • 15h ago

Question 4 x 2080ti 196gb ram

6 Upvotes

What would everyone think of the above system? What would the pitfalls and downsides be for running ai?

Edit: they are 22gb each. I can 4 of them 2000€


r/LocalLLM • • 22h ago

Discussion Top:GLM5.3-flash Bottom:Hy4-flash

Post image
6 Upvotes

Prompt came from the Qwen/Blenderworld tasks, this was task 0153 which described making ammo container with a latch. No images in the prompt.

Total usage was ~4Mil tokens each... Though I still have some I want to check with that, I did a bunch of tasks and it seems the harness would keep running until it filled it's token limit.

Still, Hy4-Flash is very impressive. I had done a different task with DS4.1Flash1017 before but it seemed to favor the GLM-like modeling where there's dozens of mesh bodies all in one collector while Hy4-Flash basically just box modeled it using a python script I found in it's work folder. Only critique I'd give it is it made a high and low poly and baked but they're the exact same model, vertex for vertex.

Was planning on testing Ernie-5.5-Flash-Preview next, since that's closer in parameters to DS/GLM-flash which I've liked for so long, but I was curious what Hy4-Flash could do since it touts it's 3D/asset creation ability


r/LocalLLM • • 10h ago

Model Ran PrismML's Ternary Bonsai 2.5 27B on a single 3090 against Qwen3.8 Q4_K_M to see if the speed is worth it.

Post image
5 Upvotes

Decode came in around 2x faster (94 vs 46 tok/s), used way less VRAM, and ran at 262K context, which Qwen couldn't do on the same card because it runs out of memory.

The catch is it passed 81/120 of my agent tasks and Qwen passed 89. It fell furthest on tool use and the multi-step stuff.

Turning on MTP pushed it to 115 tok/s but didn't help the score at all (79).

If you need long context on a 24GB card it's legit. If you need full accuracy, I'd still grab Qwen for now.

The Qwen score is reused from my first run, which was on a different llama.cpp build, and each setup only got one full pass, so don't read too much into the exact 8-task gap.


r/LocalLLM • • 12h ago

Project Text Orb: Real-time 3D semantic space running MiniLM entirely client-side in the browser (with live trajectory trails and vector math)

Thumbnail
gallery
5 Upvotes

I built Text Orb, an interactive 3D map of 1,356 words organized by meaning, running a small language model locally in your browser so you can watch how context shifts a word's neighborhood keystroke by keystroke.

"Apple" without context: Caught in a tug-of-war between Food and Tech, sitting right between Fruit/Peach and OS/Galaxy/App.

"python" β†’ "python coiled around a jungle tree": Alone, "python" defaults to Tech next to Java and C++β€”then travels across the map into Nature (Tree, Jungle, Forest) as context is added.

Try it yourself with any word or sentence: bulovic.at/orb
(runs live and 100% client-side in your browser)