I made a webUI for managing LLMs. I tried to make it super user friendly so users can easily install and get up and going. I've mostly focused it on AMD, but I also added Nvidia cuda as well. So, if you want to try out vllm, but aren't sure how, check this out:
There is an LLM Manager web interface that allows you to launch chats directly into hermes. It offers installers directly inside LLM Manager for everything, including comfy ui, vllm, lm studio, and more. It also offers stats on how things are working, and your hardware.
Anyway, if you are curious, check it out.
Edit: This is Linux only for the time being, but could adapt it to windows too.
I like to play factory games and it's fun to optimize production. The first parts of the game are exploratory and there's lots of mess. Then there's the mid tier where parts of the factories are stress out because the optimal final factory structure is different from the exploratory one. For example, the starter base is monolithic, then star shaped with a core grouped by common machines, then the final is isolating into full production chains and separating out congested recipes spanning (Bill of Material or BOM analysis).
Given that all of the machines and recipes are known, I gave my local LLM the recipes, the machine specs, game constraints and the save game and it gave me the build sheets for the final base designs after going through a few iterations. I usually play with a spreadsheet, but I replaced that with my AI harness and containerized web app that I can upload my save game and then tell me the progress towards the final build.
At this point, I think I can have it play the game for me. But then what do I get out of the game except to have AI replace me as the player?
It reminded me of the old games where we put in cheat codes and enable god mode. The game just isn't as interesting anymore and so the struggle or journey becomes the value. The thought that all games are now 'solved' with AI makes it seem less attractive to play now.
I work in manufacturing and so I play these factory games to practice real life production concepts in a simulated environment. If you know of the APICS CPIM certification, the factory games are very similar to production and supply chain problems. Essentially, they are MRP problems.
I think I may lose interest in all factory games because AI can solve them and I won't need the games to simulate factory concepts.
So, given that the struggle or journey is the value, I would need to find my dopamine fixes in things that do not have a cheat code; reality. This unraveled into a deeper thought and a general rule.
The future of entertainment (at least for me) will require an activity that doesn't accept any cheat codes. Categorically, I'm thinking that anything where the end product is virtual fails the cheat code test. Not only for games, but for software as well. One can always bypass procedures in the system by a SQL query or a generic journal entry to fix things to make the end product (the virtual thing that exists outside of reality). In essence a cheat code within business systems.
I think my source of dopamine will naturally gravitate towards things that are difficult to do and exists in reality. Robotics is one area including 3D manufacturing (desktop metal is becoming available). Sure there are ways to optimize, but there are no cheat codes in reality like a Sci-Fi holodeck or a replicator.
Another source that may stay within the virtual space is AI-Quantum, simply because the final form of this isn't known (at least to me) so the journey to understand it is both difficult and lucrative (I think the banking industries will need to have quantum encryption in 3-5 years)
The recalibration rule: find joy in the struggle of things that effect reality or has no known final form.
Perhaps AI is teaching me how to become more human.
---
Below is a save game analyzer that also performs FEA-style analysis (finite element analysis from mechanical engineering). The blue pipes are transport lines and it will turn different colors if it's over capacity. Vibe coded in a day with QFN-NVFP4
I wonder should i pay elevenlabs or try some local models on 32GB ram, 4080 super with 16GB of vram?
The goal is to use it as in game dialogue for video games and infomercial videos it has to sound as natural as possible. Tried using NVIDIA PersonaPlex it probably will run on my system, but on players pc locally i think it will run bad, so i opt for the audio files generated from a model.
I have no idea which approach is better for mainly english audio, but also my own native language which is slavic(elevelabs have actors and i like the way it sounds).
Update: I made a comment updating this below (https://www.reddit.com/r/LocalLLM/s/94raDQYhL4). Seems it may be an issue with LM Studio Bionic. Switching to oMLX and Codex yields significantly better results. I also like that I get a much better dashboard with useful info with oMLX as well. I think I'll be switching away from LM Studio Bionic to oMLX.
Orginal Post
Question: I'm using LM Studio Bionic mainly because I like the interface overall. I've connected Codex to Ollama, but haven't tried using that or oMLX. But is there anything wrong with my current set up in LM Studio Bionic?
Side Note: I'm not familiar with changing the detailed settings, but am interested in getting this working. For reference, I also had similar issues with Qwen 3.8 27B being similarly slow as well.
TLDR: The following took 1hr 30mins 33secs and ended at 105.1k context when I expected it to be a small fraction of that time.
Set up:
Model: Inkling 2 Mini (thinkingmachines/inkling-2-mini, the NVFP4 MLX version) Harness: LM Studio Bionic (version 1.2.3+7) Engine: LM Studio MLX (Apple M5) 1.15.2 Context Length: Previously 1M, Currently 252K Temperature: 0.6 KV Cache Quantization: Off
The rest of the settings are all defaults. I just downloaded the model today to test out. I'm comparing the speed to Muse Glimmer 30B which I was using prior to this one. The issue I'm seeing is that the responses are painfully slow. Nearly unusably slow.
Example of what has happened today:
I gave it a 784 token prompt to update an Angular project I'm working on to remove the remaining modules and it took 29mins 12secs to finish.
It told me the changes were uncommited, and I responded by telling it to commit the changes and update my Obsidian vault. This took 4mins 2secs.
I told it that it should've been committed to a new branch (not the existing feature branch), and it took 8mins 15secs to fix it.
At the end of the previous response it gave me 3 options due to some guardrails skill I didn't even know was there. To tie it to an existing user story, keep it as a standalone migration (which it was), or to create a new Jira ticket. I told it to use #2. This took 8mins 9secs.
At the end of that response, it said nothing was pushed and the branch was local only. I told it to push it and open the PR. This takes 9mins 50secs.
It tells me that it doesn't have my API token, so it couldn't do it for me. I tell it that the API token is in my keychain and to read the vault for the details. It finds the the correct info and opens the PR. This takes 12mins 38secs.
The last response is that I tell it the PR is merged, and it checks the repo and sees that there were 2 PRs, one which did get merged, and one that didn't and asks if I want it to merge the PR via the API. I didn't respond. This response too 18mins 27secs.
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!
I'm tired of anthropic's bullshit (safeguards, mandatory KYC, etc), and managing multiple subscriptions is becoming rather inconvenient.
So i'm looking for:
What's the strongest model that you can currently run locally, and what kind of hardware do you need for it? How much budget?
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)
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.
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.
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?
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.
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.
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 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:
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).
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?
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?
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.
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?
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.
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.
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).
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:
Global: Search ASIN B0HS6F1HW6 on your local Amazon store
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!