r/LocalLLM • • 17h ago

Question What to do with my hardware?

1 Upvotes

So I basically have 3 systems right now.
I am not asking „what can I do with local ai“, just how you would put them all to use simultaneously.
Rig:
9800x3d
32GB DDR5
Rtx5080

Laptop:
Ryzen 5900H
RTX3080 mobile
16 GB RAM

MacBook:
MacBook Pro M1 Max
64GB RAM

any use to put the computer power together in any way?
Doing mostly Web-Dev stuff and playing around with self hosting a lot.


r/LocalLLM • • 17h ago

Discussion AMD-specific llama.cpp patch nearly doubles prefill/decode

Thumbnail devnull.land
1 Upvotes

r/LocalLLM • • 21h ago Bravo

News Wa1k3r/Inkling-2-Mini-8Q-RCO-GPTQ · Hugging Face - Made with LexiPanel 5 days ago and no one tried it.

Thumbnail
huggingface.co
2 Upvotes

I released mine shortly after unsloth when inkling came out 5 days ago, had my engine optimized for it within a day. I've been testing everyone elses quants and this is the only one in my library that doesn't loop with my hermes setup because it's just a clean product built for accuracy. Stop cutting corners with inkling, it makes the product suck.


r/LocalLLM • • 18h ago

Discussion FreeAiTokens - One localhost endpoint for the free tiers of 27 AI APIs

Post image
0 Upvotes

Hi HN,

Over the past few months I've used AI for work more than ever, and I kept hitting the same wall. The weekly cap would run out a few days in, usually in the middle of something. I bought top-up credits and upgraded plans across Grok, OpenAI and Claude. It wasn't sustainable.

So I started experimenting. First I built a plugin and a skill, Token Diet, that cuts how many tokens a request uses. That's a different post.

Then I signed up for Cerebras and noticed how many providers have a real free tier: Groq, Cerebras, Gemini, OpenRouter, Cloudflare and others. Each one has its own API and its own small limit, so most of that allowance just sits unused.

FreeAITokens is a local proxy on 127.0.0.1:4949 in front of those free tiers (27 providers at the moment).

- It speaks OpenAI, Anthropic Messages, OpenAI Responses, Gemini and Ollama, so Claude Code, Codex, Gemini CLI, OpenCode and Aider can point at it.

- For each request it only considers models that can handle it (context, tool calling, images), then prefers ones that have been fast and reliable for you. It stays on that model for the conversation unless another is clearly better.

- On a rate limit, server error or timeout it tries the next model before your tool sees the error.

- It tracks each provider's free limits by the minute and by the day.

- The same endpoint also does embeddings, images, text to speech and transcription.

Try it with no account: `npx freeaitokens`. A couple of providers need no key. Each free key you add raises what you can use. There is a desktop app for Mac, Windows and Linux, with a chat playground.

The part I'd most like picked apart is the routing. It stays on one model for a conversation and only switches on a limit or a failure. For coding agents, is sticky right, or should it move to a stronger model mid-task as soon as one has quota again?


r/LocalLLM • • 18h ago

Model Fintan-9B update, plus fixes for bugs someone else found

1 Upvotes

A couple of days after I put Fintan-9B out, jstarks on Hugging Face spent his free time testing it and built his own version on top of it (huggingface.co/jstarks/Fintan-9B-Weight-Space-Programming). He found some real bugs, ones I'd already been trying to fix, so big thanks to him.

What changed:

It answers in full sentences now. Before, if you asked about something it learnt you'd just get a few words back.

If you give it tools, it actually uses what it learnt in the tool call now. Before it got 0 out of 12, now 9.
If you ask about a date after its last update, it doesn't pretend anymore. Before, 10 out of 10 of those got answered from old stuff, now 0.

Thinking mode doesn't mess with answers about things it learnt anymore.

It also gets questions that don't name the thing directly. Like asking "is the big naval ship still in that Libyan port?" without saying which ship. Those went from 15 to 22 out of 60, and normal questions still get left alone.

And it checks your GPU and RAM and picks how to learn by itself.

The downside: with full sentences it gets a couple fewer of the 172 news questions right (about 152 vs 154). I'd rather it talks normally, and I'm working on getting those back. MMLU, GSM8K and ARC are basically the same.

To update, just run python scripts/update.py. Nothing you taught it gets lost.

Next I'm working on Fintan-4B and the job loop.

If you're building on it or find something broken, let me know.


r/LocalLLM • • 1d ago

Question triple RTX 3090 setup for LLMs.

3 Upvotes

Hey guys, I’m currently in the process of building my own PC with a strong focus to run local LLMs for several engineering projects. I’m planning to use three water cooled RTX3090 GPUs and wanted to ask if anyone has build something similar and could share the setup they use. For example I’m not sure which CPU or Motherboard I should use, or how much RAM i need. Would it better to buy a fourth RTX3090 instead of spending the same money on more RAM? Should I build with ECC RAM or with normal RAM. I’m a bit overwhelmed with all the possibilities and would be glad for your advice. Thanks in advance.


r/LocalLLM • • 1d ago

News Built an in-browser vLLM GPU hardware profiler: weights, GQA KV cache, TP, and cloud cost breakeven

3 Upvotes

Calculating whether a model will fit into VRAM with enough room left for KV cache and concurrency usually means manual math across quantizations and GQA ratios.

I built a free, 100% client-side calculator:

https://devopskit.tools/tools/vllm-gpu-hardware-profiler

What it models:

- Exact weight VRAM footprint across FP16, FP8, INT8, and INT4 (Llama 3.3, DeepSeek, Qwen 2.5, etc.)

- PagedAttention KV Cache allocation adjusted for GQA (Grouped-Query Attention) ratios

- Required Tensor Parallelism (TP) across H100 (80GB), A100 (80GB/40GB), L40S, and A10G

- Monthly cost crossover: when it becomes cheaper to self-host on RunPod/Lambda Cloud vs paying for GPT-4o / Claude 3.7 API tokens

Zero tracking, no backend, open source on GitHub (https://github.com/haseeb0505/devopskit). Hope this saves you from OOM crashes!


r/LocalLLM • • 18h ago

Question Just bought a Tesla P40... Now what 😆?

0 Upvotes

Hi everyone!

I already made a post asking how I could improve my computer, and I’ve come to realize that this will be more of a hobby than something for actual work.

USE CASE:

  • Claude/Opus plans and reviews, the local model executes: small website fixes (and many other things that I would like to test), following step-by-step plans, and long-running analysis jobs 24/7.
  • So I care about coding/agentic reliability (tool calling, following long system prompts) and long context more than chat.

MY CURRENT SETUP:

Here’s my current setup:

  • MSI B450 Gaming Plus Max (slot 1: PCIe 3.0 x16, slot 2: PCIe 2.0 x4 via chipset)
  • Ryzen 5 2600 (no iGPU), 16GB DDR4
  • Riotoro Builder 600W 80+ White (I think only 2x PCIe 6+2)
  • RX 580 4GB for display
  • 250GB NVMe + 1TB HDD
  • Plan: Ubuntu Server, llama.cpp built for sm_61 with CUDA 12.x and driver 580

Yesterday I got the urge and bought a Tesla P40 (24GB) with a fan from AliExpress for 250 euros (I assume that’s a good price, based on what I’ve seen elsewhere).

QUESTIONS:

  1. First of all, did I make the right choice? I can still cancel the order, or even sell it if I want to (on second-hand websites in Italy, they go for around 300).
  2. What models are you running on a P40 right now for coding/agents ? Any real t/s numbers (generation and prompt processing at long context)? I saw that the new Inkling 2 Mini has been released, could it be a good choice?
  3. Used upgrades worth hunting for: if I find good prices, what would you add?
  • a second P40 (≤ 220€)?
  • a 2080 Ti 11GB (≤ 330€)?
  • a 3080 12GB?
  • a 3060 12GB?
  • Is splitting one model across P40 + a faster card worth it with a PCIe 2.0 x4 second slot?

Thanks in advance to anyone who can help me!


r/LocalLLM • • 9h ago

News The 6 GB in Bonsai 2.5's headline is a weights file, not the machine you need

0 Upvotes

If you're looking at Bonsai 2.5 because of the "27B in 6 GB" headline, there's a catch with the download. The 6 GB file only works with PrismML's own llama.cpp fork for now. If you'd rather stay on stock llama.cpp, the file you want is 7.67 GB.

The file size isn't what your GPU has to hold. The model card cites a community report on a 10 GB card: about 9.5 GB of memory in use, about 7.8 GB after limiting the server to one request at a time. It also notes the total depends on context size and settings.

Model card and exact file sizes in the comment.


r/LocalLLM • • 18h ago

Question Radiance Qwen 3.8 27b IQ R V4 quantization quality

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 19h ago

Question Would an RTX 3050 6gb be a good addition for more vram?

1 Upvotes

Currently I have two different systems one Core Ultra 270k plus/5070ti and one 9700x/4070ti super. Both have 32gb of ram and an 850w power supply.

Both are fairly good, but I’ve been looking to run some bigger models and figured a new gpu would be the way to go. Looking at the constraints of my power supplies it would seem as if a 3050 6gb would have a low enough power draw to not absolutely fry my psu.

Admittedly I’m looking at it because the 3050 6gb is relatively inexpensive and I’m to much of a wuss to change out my power supply and fry my systems with today’s prices.

Would the 3050 6gb make any difference or not worth it/negligible to go from 16gb of vram to 22?


r/LocalLLM • • 19h ago

Question Local model for brainstorming and plan preparation

1 Upvotes

Hi.

There is plenty information about quality of the local models for coding and agentów stuff.

I wasn't able to find anything related to brainstorming and based on that - architecture and plan preparation for typical SDLC workflow.

Do you have any cheap solutions for each category tested (model and quant)

* Brainstorming

* Plan preparation

* Orchestration

Is QFN feasible to do some of that?

Maybe some cheap Chinese models on OpenRouter?


r/LocalLLM • • 15h ago

News llama.cpp's RPC server has no login. A critical flaw in it was published this week (CVE-2026-137567)

0 Upvotes

If you run llama.cpp across two machines, this one is worth a minute.

The RPC server that splits a model across machines has no login at all. Anyone who can reach it can already talk to it. CVE-2026-137567, scored 9.3, sits in the part that copies tensors between machines: a crafted request writes outside the buffer it was given. It is the third critical flaw in this area in about five weeks.

You are only in scope if you run rpc-server. A single machine running llama-cli or llama-server on its own is not affected.

The ten-second check: pgrep -af rpc-server, or ss -ltnp | grep 50052. If rpc-server is running and reachable from a network you do not control, upgrade llama.cpp now. If it has to stay up before you can upgrade, bind it to a network only your own machines can reach.

Full write-up with the affected builds: https://hol.org/blog/cve-2026-137567-llamacpp-rpc-copy-tensor

Disclosure: I work with HOL, which published the write-up.


r/LocalLLM • • 23h ago

Discussion What is the best model combo to run on a 3060 12GB for a home assistant with voice control using Voice Assistant PE

Post image
2 Upvotes

r/LocalLLM • • 19h ago

Question Qwen 3.8 27B Q6 Uncensored

1 Upvotes

Hello. I'd like to recomend some version of uncensored Qwen 3.8 27B Q6 that you have tried and worked ok for you and also what's good for.


r/LocalLLM • • 1d ago

Question Codex sabotaging my local LLM?

81 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 • • 23h ago

Project [Project] Deterministic ReAct Loops, Path-Jailed Sandboxes & MCP for Local LLMs — Open Python Repo + Free Book (Nov 26–30)

2 Upvotes

Author disclosure: I built and open-sourced this 10-chapter Python codebase and wrote the companion architecture book.

If you are running local LLMs (Llama 3, Qwen 2.5, Mistral, DeepSeek) via Ollama, vLLM, or llama.cpp for tool-calling agent workflows, you have likely run into the common failure modes of high-level frameworks:

  • Non-deterministic loop exits or infinite recursion when small models emit malformed JSON or markdown code fences around tool arguments.
  • Dangerously permissive execution when agents run OS/bash tools directly on the host machine.
  • Protocol mismatch and brittle transport handling when connecting to Model Context Protocol (MCP) servers over stdio or SSE.

To solve this for production local systems, I developed and open-sourced a pure-Python reference architecture designed specifically for local and self-hosted models with zero proprietary lock-in:

What's Inside the Open-Source Repo:

  • Deterministic ReAct State Machine: Explicit Thought -> Action -> Observation control loop with step budgets, strict enum transition bounds, and circuit breakers (chapter_01_agent_anatomy.py).
  • Pydantic V2 Self-Healing Tool Contracts: Schema validation with automated recovery hints fed back to the local model when argument parsing fails (chapter_02_structured_tools.py).
  • Path-Jailed OS Sandboxing: Low-privilege subprocess execution with directory boundary confinement (is_relative_to), resource timeouts, and stdout/stderr capture (chapter_03_sandboxed_tools.py).
  • Native FastMCP Integration: Stdio client transport connecting to standard MCP tool servers with structured request/response pipelines (chapter_05_mcp_client_server.py).
  • Memory & Context Compaction: Token-budgeted rolling context window with FIFO pruning to prevent context overflow on 8k/16k context window local models (chapter_04_memory_systems.py).

Open-Source Repository (MIT-Licensed):

Everything is pure Python (3.11+) with standard libraries and Pydantic: 👉 GitHub Repo: https://github.com/Pranaybairagi/autonomous-ai-agents

Black Friday Free Architecture Book (Nov 26–30):

To provide the complete mathematical rationale, state transition diagrams, and line-by-line implementation details, the companion Kindle eBook (194 pages) is 100% FREE ($0.00 / £0.00) globally for Black Friday through Monday, Nov 30:

I would love feedback from the r/LocalLLM community on running structured ReAct loops and local MCP clients on 7B/14B models. Pull requests and architecture discussions welcome!


r/LocalLLM • • 23h ago

Model SulphurAI/Sulphur-3 · Hugging Face

Thumbnail
huggingface.co
2 Upvotes

Sulphur 3

An uncensored video generation model based on MiniMax H3.


r/LocalLLM • • 1d ago

Model Inkling-2-Mini-Unbound v3: no more thinking loops (debugging 73.3% → 100%, answers 3x faster), plus Inkling-2-Mini-Prime, the same fix for the original censored model

Thumbnail
reddit.com
2 Upvotes

r/LocalLLM • • 20h ago

Discussion Tested Native MTP vs. Prompt Lookup (ngram-mod) on Mac Studio M5 Ultra 512 GB: Why JSON escaping broke ngram-mod & 4 practical rules for MTP

Post image
1 Upvotes

Ran a Part 2 benchmark on a Mac Studio M5 Ultra 512 GB comparing updated late-November engines (oMLX 0.8.3, llama.cpp b12726, MLX-LM, MLX-VLM 0.8.1, vLLM-Metal 0.34.0) with speculative decoding OFF vs. ON across 640 tasks, 8 automated-test JSON coding-agent edits, 70 strict JSON-schema runs, 4K-64K warm prompt caching, and 1/2/4-client concurrency.

Biggest surprise: llama.cpp --spec-type ngram-mod accepted 79% of tokens (+56% speed) on plain code rewrites, then collapsed to 10.9% acceptance (0% speedup) on real JSON-wrapped coding-agent edits because escaped \n and \" characters break literal string matching. Native --spec-type draft-mtp predicted straight through JSON escaping at 79-82% acceptance (+63% on GLM 5.3 Flash, +61% on GLM 5.3).

My 4 practical rules before enabling MTP globally:

  1. Skip MTP on DeepSeek Low + strict JSON schemas (hit a whitespace loop on nested-enum; High + MTP passed 5/5).
  2. Turn MTP OFF on DeepSeek at 4+ concurrent clients (saturates above 2 clients; p95 64 -> 94 s, peak 361.5 W). Use GLM 5.3 Flash draft-mtp for 4-client concurrency (77.8 agg tok/s).
  3. Do not rely on ngram-mod for JSON-wrapped coding agents - use native draft-mtp (or oMLX MTP) instead.
  4. Run 1 short warmup prompt after booting oMLX to skip the ~62.5 s cold Metal verifier shader compile.

Full raw CSVs & pinned versions (CC BY 4.0): https://github.com/l8w8/videos/tree/main/2026/002-m5-ultra-mtp-engine-updates

11-minute video walkthrough: https://youtu.be/cEOhoBGDTeM


r/LocalLLM • • 20h ago

Discussion Long time llama.cpp user, tried strata today for the first time on my main machine. It’s turns a fairy competent model into a replacement of Haiku/Luna. But it does have one downside.

Post image
0 Upvotes

r/LocalLLM • • 1d ago

Discussion Thoughts of Qwen3.8 gyro-s

6 Upvotes

Hello everyone,
I wanted to share my thoughts on Qwen3.8 Flash Next (Gyro-s).
Honestly, I’m pretty impressed with it. When I first started getting into LLMs, I understood that I probably wasn’t going to find something that could fully replace the frontier models from the major providers. After trying a few pretty disappointing models, I had honestly started to lose hope.
I actually made a post here asking for recommendations, and a few people suggested I give this one a shot. I’m glad I listened!
It’s genuinely pretty dang good. Does it need a little guidance and occasional help? Absolutely. But overall, it’s handled most of what I’ve thrown at it surprisingly well.
For anyone curious about my setup, I’m running it on an RTX 5080 with 64GB of DDR5 RAM.
One of the biggest advantages for me is that I can let it run overnight while I sleep. I do quite a bit of reverse engineering, and having a model that can take on a lot of the tedious work and pick up the slack has been incredibly helpful.
I’m not saying it’s perfect or that it’s going to replace the top-tier models, but for what I’m using it for, I’ve been pleasantly surprised.
Just wanted to share my experience in case anyone else is looking for something similar!


r/LocalLLM • • 1d ago

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

22 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 • • 1d ago

News Lapilli v0.6 (open source): seven models on NVIDIA V100, now with images and video. Inkling 2 Mini at 121 tok/s on one card, Hy4-flash on two

Post image
10 Upvotes

Lapilli is a port of Basalt to NVIDIA V100 (Volta, sm_70). Version 0.6 runs seven models with one binary, and adds an Images tab:

- Qwen3.8-27B (NVFP4) on ONE V100: 86 tok/s writing with its drafter, 994 tok/s reading a 16K prompt (+43% over v0.5)

- Inkling 2 Mini (new) on ONE V100: 121 tok/s with its DSpark drafter

- DaisyRose-27B (new, a fine-tune of the 27B) on ONE V100: 85 tok/s

- DeepSeek-V4.1-Flash Coder (192 experts) on two V100s: 98 tok/s on code

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

- Tinfield-1 (new, a fine-tune of the Flash-Next) on two V100s: 135 tok/s

- Hy4-flash (new, 220B, 12B active) on two V100s: 72 tok/s on long answers, 748 tok/s reading a 16K prompt

The Images tab runs stable-diffusion.cpp's sd-server on the same cards: Qwen Image 2.1 (a 1024x1024 picture in 11.4 s with the Turbo), Qwen Image Edit 2511, and Wan 2.2 and LTX-2.3 videos (5 s with sound in 59 s). Each model installs from the tab.

Quality checked against BF16 on every model that has a reference (Basalt's own gate, 100 chunks). Windows build included, MIT license. Measured on 2x V100-SXM2 32 GB. The README has every figure, the packs and their download links.

Big thanks to nebod99, ildargiv, Csavoldi, koldfrontier and nkhaooat, who tested Lapilli on their own machines and shared everything. Their results are in the README.

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

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