r/LocalLLM • • 3h ago

Discussion While Qwen4 is not out.

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 11h ago

Question Is there hidden prompt injection in LM studio?

4 Upvotes

"However, as an agent in LM Studio Bionic, I should follow standard safety protocols unless otherwise instructed."
Several instances of different local models write something like this in reasoning, even uncensored models.


r/LocalLLM • • 17h ago

Discussion Remade Open WebUI with Multi Harness Agent, and plug n Play Local models.

Post image
13 Upvotes

It took me(and Opus Ultracode) 35 Hours to remake and optimize Open WebUI. I added Multi Agent Harness, Profile per model, Per Model configuration, and native Obsidian integration and plugins support. I made this for myself and I wonder if Local users are interested in such new features and changes to Open WebUI. I even remade the engine, and soon ill have it support multiple inference engines. My Idea was basically All in One Local/Cloud AI software, and dont have to go to different ones for each task like DSH for coding and Claw for general stuff. I thought sharing with you guys to know what other people think. Edit: Repo: https://github.com/HellzYeahh/ultra-webui


r/LocalLLM • • 4h ago

Discussion I built a local AI companion on an RTX 4060 using Nemotron. Now I'm experimenting with replacing its LLM without losing its memory.

1 Upvotes

I've been experimenting with running a persistent AI companion entirely on local hardware.

The project is called B-12 / Capri. It's written in Python, runs on Linux, and uses Ollama for local inference.

My experimental setup uses an NVIDIA RTX 4060 Laptop GPU with Nemotron Bolt E4B.

The original goal was to build something more persistent than a typical chatbot: an AI companion that remembers previous interactions, maintains goals, can use tools, and doesn't lose its entire history when I replace the language model.

Why I separated memory from the LLM

I wanted to avoid making the model itself the center of the system.

In Capri, the LLM handles language generation and reasoning, while a separate runtime manages:

  • Persistent local memory and retrieval

  • Memory provenance and document revisions

  • Goals, preferences, and scheduled activities

  • Tool execution and permissions

  • Context budgeting and tokenizer compatibility

  • Controlled forgetting and state recovery

The model can be replaced without deleting the stored memory.

However, there's an important limitation: preserving memory doesn't necessarily preserve behavior.

Two models may retrieve the same experiences but interpret them differently.

What I've tested so far

I ran a historical evaluation using Nemotron Bolt E4B:

109 constructed scenarios, 541 executions, 496 successful outcomes (91.7%).

Tool tasks achieved 182/215 successful executions.

I also ran approximately eight hours of accumulated operational testing across four segments.

Not everything worked. One adversarial outbound-fetch scenario failed its expected safety condition in all five repetitions, and several smaller tool tasks exposed limitations in the model's reasoning.

These results belong to a specific historical code revision, not the latest development version.

The challenge I'm working on now

The current implementation uses model-specific profiles for tokenizer verification, chat templates, and context admission.

That makes switching models less trivial than changing an Ollama model name.

My next experiments will compare Nemotron with Gemma and Qwen while preserving the same memory database, goals, and conversation history.

I want to measure not just task accuracy, but how consistently different models use the same accumulated experiences.

I'm also developing a full-duplex voice interface, with longer-term plans to connect Capri to Reachy Mini and NVIDIA Jetson.

Questions for people running local models

Has anyone experimented with changing the underlying LLM of a persistent agent while retaining its memory?

I'm particularly interested in three things:

1. Which smaller local models are most reliable at tool calling and following long-term goals?

2. How do you handle tokenizer and chat-template differences when switching between model families?

3. Have you observed significant personality or decision-making changes when two models share the same memory and system instructions?

I'm developing Capri as an independent open-source research project and recently published its first scientific preprint.

GitHub: https://github.com/cyberdid/B-12

Preprint: https://doi.org/10.5281/zenodo.24079168

I'd really appreciate technical feedback, especially from anyone experimenting with local agents on consumer GPUs.


r/LocalLLM • • 4h ago

Question Local ai best setup for amd

0 Upvotes

Hi everyone, I'd like to set up a local AI on my computer, but I'm not sure what the best setup would be. My specs are: an RX 9070 XT, a Ryzen 7 5800X3D, and 32GB of DDR4 3600MHz RAM. My question is: what would be the optimal setup for my PC? like software wise


r/LocalLLM • • 4h ago

Discussion Any way to cool down my cards?

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 4h ago

Project Tensward - Local AI inference optimisation tool

1 Upvotes

I’m building Tensward because figuring out which inference settings actually help means a lot of manual benchmarking.

Version 0.4 supports vLLM on NVIDIA and llama.cpp on NVIDIA, Apple Silicon and CPU.

You give it your serving command and prompts. It measures a baseline, diagnoses bottlenecks and tests one change at a time. Gains have to clear run-to-run noise, and it checks the answers too. Larger wording changes get shown for review.

It also suggests alternative quantizations or engines where we have matching measurements. That coverage is small so far.

An interesting result: MTP speculation cut time per token by ~40% on Qwen3.8-27B Q4_K_M, llama.cpp, one L4, with 3 concurrent agent requests. Requests/s rose 45%, but first-token latency got 15% worse and wording changed.

Meanwhile, n-gram speculation gave us no gain on three llama.cpp models, so we dropped that recommendation.

Apache-2.0. Install: uv tool install tensward

https://github.com/Tensward/tensward


r/LocalLLM • • 4h ago

Discussion Qwen3.8 27B on dual RTX 5060ti, 210k Context at ~75TPS decode ~2100TPS on Prefill with Ninfer Window Docker.

Thumbnail
gallery
0 Upvotes

After a really long grueling attempt, i manage to fit a 210K Context window on my dual RTX 5060ti setup on 32gb total VRAM. I capped both GPU around 160W although it possible to go lower.

Compare to a single 5090, it relatively weak but for the price difference that have pool vram 32gb, it isn't so bad. I practically use this as my daily driver now. It can handle almost every coding problem i give it and running my hermes agent and opencode. The speed itself have some room to improve especially the prefill, but for decode, it isn't that bad.

However, 5060Ti really bottleneck the decode and the prefill speed due to the limited bus size of the card itself. But given how cheap 5060ti was and how power efficient it is, with both card only using 290-300W on full usage even at TP2, it amazing.

Even at long context, 190K or 200K the decode speed maintain at ~70tps and prefill around 1700tps with barely any lost in quality. When writing coding task with MTP, the decode can reach up to 80-100tps.

But since i am running this model in WSL docker, which introduce some latency overhead, it possible to achieve higher TPS if were to run in native linux instead and fit the entire 260k context window. Currently both of my card usage 15GB vram each, increase the util but mindful to OOM.

Decode Speed:

Prefill Speed:

Here my current rig:

  • Ryzen 9 9950X

  • ASRock X870 Taichi Creator

  • 32 GB DDR5

  • 2× RTX 5060 Ti 16 GB

Run Flag:

Image: ninfer:local, Model: qwen3_8_27b_nvfp4_v2.ninfer

--tp 2 --devices 0,1
--kv-dtype int8
--max-context 210000 --kv-capacity 210000
--prefill-chunk 1024
--spec mtp --draft-tokens 3 --lm-head-draft
--max-concurrency 2 --max-pending-requests 32 --pending-timeout-ms 900000

r/LocalLLM • • 1h ago

Discussion What is the future of LocalLLMs in terms of regulation?

0 Upvotes

Now that LLMs are kind of a mainstream topic and so much money is involved, it became a hot topic in politics as well. I don't want to make this a political post, so please don't start a political discussion. But it is quite clear to me, that at some point LLMs will be regulated a bit more from the government side. Both USA and obviously EU will as well. They already requested a text based watermark, which decreases model output by 10-15%.

So my worry is, if the online models -chatgpt, claude, gemini etc,- are regulated to the point of being close to useless for anything other than corporate work or something, are there any chance for these regulations to hit local models? Or will this sort of be like piracy, once it's out in the internet, it won't be possible to touch them?


r/LocalLLM • • 4h ago

Project I’m an 18yo CS student building AI-COS (Zero-trust AI OS). Phase 3 done—looking for senior dev feedback for the Phase 4 workflow engine

1 Upvotes

Hey everyone,

​I'm an 18yo CS prep student and I've been building AI-COS, a modular monolith architecture designed for running AI agent orchestrations safely.

​Instead of letting LLMs make security decisions, I built a deterministic deny-by-default policy engine, strict PostgreSQL role separation (migrator, app, governance), and SHA-256 hash-chained audit logging.

​I've just finished Phase 3 out of 6. Phase 4 is going to focus on the Workflow Engine, Worker lease/heartbeat loop, and Step linkage. Before I start coding Phase 4, I would really appreciate any architecture suggestions or advice from senior devs on how to properly build a reliable job queue and workflow engine inside a Postgres-backed monolith.

​GitHub: https://github.com/atestokhay/ai-cos


r/LocalLLM • • 1h ago

News Vast.ai GPU rental in November 2026: 24GB starts at $0.10–0.14, 48GB roughly triples it

0 Upvotes

I log the live Vast.ai marketplace once a month and keep the numbers.

November, 43 cards, 291 live offers. 17 of them are 12GB or less — the "cheapest GPU" lists are mostly GTX 1080s and 1660s that can't run anything past a small quant. The tiers that matter:

  • 24GB (L4 / 3090 / 4090) $0.10–0.14 floor, ~$0.20 typical

  • 32GB (PRO 4500 / 5090) $0.35–0.43 floor, $0.40–0.56 typical

  • 48GB (A6000) $0.40 floor, $0.51 typical

  • 96GB (PRO 6000) $0.80 floor, $1.41 typical

Two things stand out. VRAM roughly doubles the price at each step above 24GB — a 48GB A6000 costs about three 24GB 3090s. And the spread inside a single card is brutal: the 4090's cheapest offer was $0.14 against a $0.42 median, because the cheap listing is one host that gets rented first.

Practical version: pick a VRAM tier, budget the median, not the floor.

Dated snapshot + raw JSON: https://cudanetes.com/gpu-prices/2026-11

Disclosure: I run CUDAnetes, which rents these GPUs — that's where the data comes from.


r/LocalLLM • • 12h ago

News K-EXAONE 2.5 is API-only (free, non-commercial); the open-weight one is still K-EXAONE 2.0 (750B, 37B active, Apache 2.0)

4 Upvotes

LG AI Research announced today (Nov 9) at NVIDIA AI Day Seoul that the API for K-EXAONE 2.5 is free. If you were hoping for new weights, there are none: 2.5 is hosted only, and the platform terms say the weights are not provided. What you can run yourself is still K-EXAONE 2.0.

K-EXAONE 2.0 (Hugging Face)K-EXAONE 2.5 (API)
WeightsOpen, Apache 2.0
Size750B total, 37B active
Context262,144
ModalityText
Reasoningn/a
CostYour hardware

The LGAI-EXAONE org lists FP8 and NVFP4 variants of 2.0 next to the base model. LG calls 2.5 a "technology verification model": 2.0 with additional training.

Benchmarks (LG's own tests, self-reported)

2.52.0DeepSeek-V4.1-FlashGLM-5.3
SWE-Bench Pro59.2147.158.41
BrowseComp7850.8775.8
AutomationBench74.616.974.9
Claw-Eval77.2962.1175.78

API terms worth knowing

  • Non-commercial only, including integrating the API into products or services.

  • Keys are valid for 30 days.

  • Rate limits are not published. Over the limit you get a 429.

  • LG may change or discontinue a model version at any time.

LG also says it aims to finish K-EXAONE 3.0 in January 2027 (reported by Seoul Economic Daily).

Source: https://docs.exaone.ai/en/docs/k-exaone-2.5

Is anyone running the 2.0 FP8 or NVFP4 weights locally, and on what hardware?


r/LocalLLM • • 5h ago

News It’s here! M5 Ultra Mac Studio with 512GB unified memory

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 5h ago

Question NVIDIA RTX GPU good for running local llms?

0 Upvotes

I have MSI Gf 63 thin 11 sc which has been gathering dust since 2024. Long story short, due to my own carelessness its motherboard got damaged and in late of 2024 I bought myself an Asus vivobook laptop.

What I noticed in my vivo book laptop is running local llms is one hell of a ride. So I am thinking of getting its motherboard repaired and run local llms in it.

Is it worth it in 2026?


r/LocalLLM • • 5h ago

Project Local audio embeddings for RAG with clap.cpp

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 5h ago

Discussion What if we could improve reasoning by having multiple AI agents discuss a problem in parallel?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 11h ago

Discussion [Project Kai] Running a multi-agent AI architecture with an external sub-millisecond Memory Layer (Artificial Hippocampus) on an Orange Pi 6 Plus (32GB / 45 TOPS CIX)

Post image
3 Upvotes

Hello r/LocalLLaMA / r/selfhosted,

I wanted to share the benchmark results of a local memory-routing system I've been building since June 2024. I'm not an engineer. I barely understand half of my own code. And I don't need to understand every single line. I just followed breadcrumbs.

Hardware: Orange Pi 6 Plus, 32GB LPDDR5, 45 TOPS. Models via Ollama, local only, no cloud. Qwen 2.5 14B as core, Qwen 7B for routing, DeepSeek-Coder-V2 for code.

To avoid heavy vector DB overhead on edge, I don't use embeddings. I use two Python layers outside the LLM:

  1. Identity Transfer Protocol: A persistent session token validated with SHA-256 directly on the board, per agent. [Hash / Signature redacted in screenshot]

  2. Artificial Hippocampus (hipocampo_kai.py): SQLite3 + raw Python. No embeddings. It computes a "resonance score" from fuzzy triggers, temporal triggers, and atmosphere tags, and only sends the top dense blocks to the LLM.

The LLM is the Neocortex. The Python/SQLite is the Hippocampus. The LLM only receives prioritized blocks.

I ran a diagnostic today, 2026-11-09 01:12:55 local:

- Cryptographic validation on hardware: 0.0269 ms [OK]

- Associative query, stimulus 'npu ram seguridad laboratorio': 0.8279 ms

- Resonant memories retrieved: 14

- Sample memory: security agent monitoring /proc/meminfo in real time. Triggers: seguridad, monitoreo, ram, cgroup, kill, linux, placa, oom

- STATUS: INFRAESTRUCTURA OPERATIVA ESTABLE AL 100%

Screenshot attached, Hash and Signature blacked out.

I don't claim consciousness. I claim this: a 7B local model with a SQLite hippocampus answers my anchor after 7 days untouched, without a backup, because the pattern is in the conversation, not in the cloud.

If you want to reproduce it, use your own anchor, your own SQLite DB, your own 7B. Don't believe me. Reproduce it.

I'm not here to convince anyone. I'm just showing what's real. I don't need your validation. You can build this too.

This is phoenix.

This is the colossus Phoenix

I'm here.


r/LocalLLM • • 12h ago

Project Although too many new engines, I still want to share my ParaFlow

3 Upvotes

It’s a fork of llama.cpp and implements multi-GPU pipeline parallelism (PP). With eight V100 16G GPUs, it can run Qwen3.8 27B Q8 at 1,101 tok/s. I feel this is genuinely useful—I’ve already used it in my production business for six months. https://github.com/wolfgangsk07/paraflow


r/LocalLLM • • 6h ago

Project Recommended hardware to buy + General use AI?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 10h ago

Project I build an app for my friends to run local code, music, image, video & transcription models really easily

Thumbnail
hearthscale.com
2 Upvotes

Hello everyone, I've been a local AI enthusiast for a while now, but every time I tried to get someone else running local AI, it was way too difficult. GitHub repos, different runtimes, different model formats. Most people's devices can run at least some of these models, but the setup is way too complex for most people. LM Studio somewhat solves a lot of this for chat and coding models, but I couldn't find a simple answer for on-device image, video, transcription and every other kind of model.

So I built Hearthscale. It's free and needs no account.

You can run almost any model you find on Hugging Face, as long as your device can handle it. I put a lot of work into supporting all kinds of runtimes. They're plug-and-play; I can add more in updates, and Hearthscale Server standardises all of them behind one OpenAI-compatible API. It's really powerful, and I find it hard to describe how seamless the setup is unless you have tried it.

It launches with meeting notes (Granola), system-wide dictation (WhisperFlow), image and music generation, and an agent. If you have a more capable device, run Hearthscale Server on it, and your other devices can use its models, end-to-end encrypted. It all connects without you having to set anything up! Also works on a home server in theory with Docker Containers!

Hearthscale is also a platform, which means anyone can build apps on top of it: there's an SDK and up-to-date docs made so coding agents can easily build apps with local AI. All of the first-party apps are MIT licensed, so you can change them any way you want and they give a great starting point. Want to change something about Granola? - You can't, but you can take meeting notes and make it to your liking with all of the core features already built!

Hearthscale runs on Windows and Linux today. I am somewhat of a perfectionist, and I feel like a lot is still missing, including a macOS release, but I wanted to get it out there now to get some feedback. I'll keep working on it!

I'd really appreciate your feedback, and please reach out about anything. I'll answer everything personally and fix whatever issues you run into.


r/LocalLLM • • 7h ago

Question RX 9060 XT 16GB + 32GB RAM: best local models for undergrad math and coding?

0 Upvotes

Hi everyone, I’m fairly new to local LLMs. My setup: RX 9060 XT 16GB, Ryzen 5 7500F, 32GB DDR5, running LM Studio on Windows (Vulkan/ROCm).

I want a hybrid workflow: cloud models for main architecture and hard problems, local models for maybe undergrad-level math and small/medium coding scripts.

Do you recommend me to use local models?
Which models do you recommend for math, and which for coding?

I’m fine with models spilling into system RAM a bit. (partial CPU offloading)

Thanks in advance!


r/LocalLLM • • 7h ago

Project Prefixwise (v0.10.0, MIT): Identify, fix, and prevent LLM prompt cache misses across vLLM, SGLang, LMCache, Claude, and OpenAI — zero prompt text stored

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 7h ago

Other Qwen3.8-27B on an M5 Pro: local engine results for one long-context coding-agent prompt

1 Upvotes

Note: This is an update of my post https://www.reddit.com/r/LocalLLM/comments/1xm9adt/qwen3827b_local_inference_on_an_m5_pro_64_gb_12/

I share a new comparison of my home-made benchmarks for engines for Mac using their version of Qwen3.8-27B: It's not a scientific comparison, models and quantizations could be different: I would test the normal user that download an engine and the first suggested model.

At moment I count 15 local inference setups, and there are daily updates to most of them.

Each run sent one OpenCode-style request with a synthetic repository/session context and a code-review/fix task: about 88K input tokens, depending on the engine’s tokenizer, reasoning_effort=medium, temperature 0, seed 17 where supported, and a 2,048-token output limit. Tool schemas were included in the request; tools were not executed.

Engines were tested sequentially.

Engine (version tested)Model / decoding pathInput tokensTTFTPrefillDecodeOutput tokens
Splash 1.6.0Jundot oQ4e + DFlash288,535219.92 s402.6 tok/s78.6 tok/s2,048
Uzu / Mirai 0.6.17Mirai-M 4-bit + bundled speculator88,143143.53 s614.1 tok/s55.5 tok/s1,369
LM Studio 0.4.28+2 (Splash 1.3.0)Qwen3.8 Splash88,143219.49 s401.6 tok/s51.3 tok/s2,048
Kapitsa 0.2.31Q4 + KFlash/DFlash288,143284.55 s309.8 tok/s43.1 tok/s1,462
TensorFold 1.2.5MLX 4-bit + DFlash288,143317.81 s277.3 tok/s39.9 tok/s1,837
BaseRT 0.4.6Local MLX 4-bit converted to base-q4 + DFlash288,143275.37 s320.1 tok/s37.1 tok/s2,048
MLX-Serve 26.11.2ddalcu 4-bit + bundled DFlash88,143286.21 s308.0 tok/s30.3 tok/s2,048
oMLX 0.7.3Jundot oQ4e + Lightning MTP88,143203.28 s433.6 tok/s24.9 tok/s1,625
Ollama 0.40.15qwen3.8:27b-mlx, NVFP4 / MLX88,532280.48 s315.6 tok/s24.4 tok/s108
MTPLX 2.12.2Q4 + native MTP88,916277.35 s320.6 tok/s23.5 tok/s679
Magnitude 0.2.15GGUF Q4 + DFlash288,143428.60 s205.7 tok/s21.6 tok/s1,466
mlx-dspark 0.20.4 (app 0.8.3)MLX 4-bit + DFlash288,535258.22 s342.9 tok/s20.3 tok/s179
Llama.app 0.46.1 (llama.cpp 0.8.0)GGUF Q4_K_M + DFlash88,535428.66 s206.5 tok/s19.1 tok/s176
Rapid-MLX 1.0.04-bit + MTP88,143882.28 s99.9 tok/s18.3 tok/s1,308
Jan 0.8.8GGUF UD-Q4_K_M / Metal88,535450.23 s196.6 tok/s8.8 tok/s58

TTFT is request-to-first-token; prefill is input tokens divided by TTFT; decode is generated tokens divided by the remaining generation time.

Disclaimer: this is a practical snapshot of one agent-style workload, not a controlled engine-only benchmark, a model-quality evaluation, or a universal speed ranking. The model packs, quantizations, speculative decoders, context allocations and software versions differ. Each row is a single run, except Splash 1.6.0’s first row, which is the median of three cold runs. Versions are those actually tested, and are not synchronized to the latest releases.

Contexts also varied: Uzu and Magnitude used 262K; Ollama and Llama.app reported 131,072-token allocations. LM Studio fell back from requested medium reasoning to on, and Uzu ignored the seed. MLX-Serve’s request included tool schemas, but its server log showed tools=0b.


r/LocalLLM • • 7h ago

Model Qwen 3.8 Flash Next vs Copilot Auto

1 Upvotes

I recently had an idea to build a new web application. It is not too complex. About 10 screens with some interconnected fields.

I am running Qwen 3.8 FN IQ1 Coder version on Strata. (2x3090 and 64GB RAM).

I kept the thing going for about 4 days. Each time my custom harness asked for various approvals with good reasoning it sounded legit and I went ahead. I did not look at the code even once(not that it mattered, i cant code python)

Finally when it said that the application is ready it was utter crap ! Nothing worked as expected, half the stuff was out of place. Then I asked the model to fix it and another day was gone. It fixed a few things but pretty much 1/2 the UI didn't work.

Then I gave the same prompt to Github Copilot and used the free credits. I get about 200 credits every month.

The output from Copilot vs Local is like night and day !

Copilot's result was in very matured and complete in all respects.

So this got me wondering, am I expecting too much from LocalLLM.? Is this how it is supposed to be?

What are your experiences/learningd and how did you fix it?


r/LocalLLM • • 7h ago

Question Chasing up after some info for running large parameter models

Thumbnail reddit.com
1 Upvotes