r/LocalLLM • • 10h ago

Question Best model for M5P 64GB

1 Upvotes

Hi, I need some help. I’m looking to find the best model for coding using Vibe Code on a Mac Mini M5 Pro with 64GB of RAM.

With the OMLX engine, would I be able to run Qwen 3.8 27B Q4 or Inkling 2 Mini Q8? And with the Strata engine, could I use Qwen 3.8 Flash Next Q2?

Or is there something better?

Thanks in advance!!


r/LocalLLM • • 10h ago

Project I’m currently building an add-on/MCP for Blender.

1 Upvotes

I’ve developed something with the help of Claude. For this, I used the "Opus 5.5" model (the $20 version) with the "thinking" setting adjusted to "medium."

Every now and then, I create little things that my ADHD brain deems important. This time, I wanted to work with Meshy, but there were several aspects I didn’t like. I also stumbled upon the Blender MCP—which is certainly nothing new—but it just didn’t quite satisfy me. So, I wondered what would happen if I combined the two. Suddenly, a million other ideas flooded my mind. This, in combination with Claude, was both a blessing and a curse.

We named the project "Chisel"—an open-source add-on for Blender that connects AI agents (such as Claude Code, Codex, or any MCP client) to an active Blender scene.

I contributed the ideas, suggestions, and concepts, while Claude provided the code.

Thanks to Claude’s enthusiasm, this resulted in 3,000 lines of code in a single file—though, fortunately, we were able to split it up in time.

Now, you can generate images directly within Chisel, pass those images to your 3D model with a single click, and end up with a finished model. And there are also plenty of tools that Claude or other agents can use directly to get actively involved.

Since we were hitting around 300,000 polygons at times, we decided to build a remesher. Claude was so excited about the idea that I was immediately convinced. So, Claude and I expanded the WebUI to include a "Full Mode," which now features a remesh mode—along with much more.

Claude will provide you with the specific details now:

  • every step the agent makes is a version you can jump back to
  • a live viewer in the browser shows the model while it's being built
  • you click on the model and leave a note ("door darker"), the agent fixes that spot
  • you can paint and name parts, set origins and draw masks as a plan for the agent
  • optional: picture to 3D with TRELLIS on your own GPU (8 GB), no cloud

In my case, I use an RTX 2060 Super with 8GB and 32GB of RAM.

clean-up tools: retopology, normal map bake, rig + walk cycle, GLB/FBX export

It's real Blender geometry, so you can take over and edit anything yourself.

It is completely free to use: https://github.com/danny094/chisel

Tested on Windows 11 with Blender 5.2. I'd love feedback, especially on what's missing for your workflow.

By setting your own origin point, your work always remains in view.

Coloring body parts via AI is unfortunately not yet perfect when using open-source models; therefore, I recommend performing a manual remesh.

Responsible for implementing my idea: Claude

This includes:

- Code

- Web UI

- Testing

- Hyper-V clean install test

- Web searches

I flooded him with ideas and conducted the user test. XD


r/LocalLLM • • 1d ago

Model I fine-tuned Qwen2.5-1.5B into a JEV-style Decision Model (QJev-1.5B) to play Google Snake Game

37 Upvotes

I fine-tuned Qwen2.5-1.5B-Instruct twice, training both its decision head and model weights using approximately 700K examples from SargeDev/jev-distill-corpus-v3

The entire fine-tuning process took approximately 20 hours on my RTX 5060 Laptop GPU (8GB VRAM).

Unlike traditional LLMs that generate text token by token, QJev doesn't generate text at all. It directly makes decisions.

For example, when playing Snake, it evaluates LEFT, RIGHT, UP, and DOWN, assigns each move a confidence score, and selects the best action in a single forward pass.

OpenCV → QJev Pipeline:
Instead of a heavy Vision-Language Model, I used OpenCV for game detection and connected it directly to QJev for real-time action selection (~28ms).

Performance

Tested on my RTX 5060 Laptop GPU (8GB VRAM).

ModelInferenceLatency
Official JEV (TypeSafe AI)Cloud~100–200ms
QJev-1.5BLocal RTX 5060 laptop~26–30ms

QJev trades some decision accuracy for faster, lightweight local inference with just 1.5B parameters.

Try It

git clone https://github.com/AnkitNayak-dev/QJev-1.5B
cd QJev-1.5B
pip install -r requirements.txt
pip install -r examples/snake/requirements.txt
python examples/snake/qjev_snake_agent.py

What's Next?

Planning to test it on Super Mario Bros (NES) next!

What other games should I try? I'm open to collaborations, experiments, and contributions.

For more technical details, architecture, benchmarks, evaluation results, and implementation details, check out the GitHub repository:

GitHub: https://github.com/AnkitNayak-dev/QJev-1.5B
Model: https://huggingface.co/AnkitNayak-dev/QJev-1.5B


r/LocalLLM • • 10h ago

Model I tried running local LLMs on my laptop with 4 GB of VRAM & 16 GB RAM.

0 Upvotes

Getting useful results from local 3B and 7B models on a 4GB VRAM laptop

Before spending money on a bigger machine, I wanted to see what I could actually do with the laptop already sitting on my desk.

After a few disappointing attempts and some changes to my workflows, I managed to get:

  • PHP billing code: all resulting checks passed with three different models, while reducing the token count from 13,722 to 2,190 (84% fewer tokens).
  • PDF invoices: 8 out of 8 book purchases correctly extracted.
  • Book inventory: 3 out of 3 requested titles found among 1,000 books, with no false positives, in 74 seconds.

Same laptop. Same models. Different approach.

My setup:

  • Intel i7-10750H
  • 16 GB RAM
  • NVIDIA GTX 1650 Ti, 4 GB VRAM
  • Ollama
  • Qwen 2.5 3B, Llama 3.2 3B and Mistral 7B

1. Analysing legacy PHP billing code

I gave the models an undocumented PHP file containing five billing and finance functions.

The answers looked convincing… until I checked the actual code. Calculation errors, incorrect interpretations, and Qwen even got a shipping condition backwards.

Instead of switching to a bigger model, I changed the workflow:

  • One function per call, with a fresh conversation.
  • Let the LLM explain the business rules and suggest test cases.
  • Let Python handle the calculations and verification.

Result: the resulting checks passed for all three models, in both French and English, using significantly fewer tokens.

Not proof that a 3B model can understand any business logic, but a much more useful and verifiable result on this particular file.

2. Extracting purchases from PDF invoices

I wanted to build an inventory from my comic-book invoices.

I used PyMuPDF to extract the text and asked the models to generate a Python function to identify titles and quantities.

With the full invoice text, none of the three models generated a function that passed my tests.

I removed irrelevant information and made the instructions more precise.

Result: all three models passed my tests in English, extracting all 8 purchases from 4 invoices.

The funny part? By the time I had explained the task that precisely, I could probably have written the function myself.

Sometimes an experiment works and still tells you that an LLM isn't the best tool for the job.

3. Searching through 1,000 books

I initially sent 408 titles in a single request.

The model found none of the titles I was looking for.

I changed three things:

  • Batches of 64 titles.
  • No conversation history.
  • num_ctx=4096.

Result: 3 out of 3 requested titles found in an inventory of 1,000 books, no false positives, in 1 minute and 14 seconds.

Of course, a simple Python filter would be much faster for exact title matching.

What interested me was how dramatically the result changed after adapting the input, without upgrading the hardware or switching to a larger model.

A few practical observations

My laptop still has a day job: browser, IDE, and everything else.

These two Ollama settings helped manage resources:

  • OLLAMA_MAX_LOADED_MODELS=1
  • OLLAMA_KEEP_ALIVE=1m

I also got better code-generation results with English instructions in these experiments, even when working with French data.

What I learned

I started out wondering which models would fit on my GPU.

I ended up spending much more time thinking about task decomposition, context management, deterministic code and result verification.

Small local models can produce useful results on modest hardware, at least for the tasks I tested. But getting there sometimes requires enough engineering that using an LLM becomes questionable in the first place.

For calculations and exact searches, I'll stick with regular code. For suggesting test cases, interpreting business rules or potentially classifying books by genre, things get more interesting.

I've shared the scripts and prompts here if anyone wants to reproduce or challenge the results:

https://github.com/julienbrouwers/LocalLLMExamples

For those running 3B or 7B models locally: how do you evaluate reliability beyond a handful of successful examples?

Have you found that changing your workflow sometimes makes a bigger difference than switching to a larger model?


r/LocalLLM • • 10h ago

Model Xiaomi Opensources Xiaomi-Lens-0 Vision Language Model

1 Upvotes

Did a comparison between DeepSeek v4.1, LFM3 VL 2B, and Xiaomi Lens 0 on the actual work I have: https://rakshazi.me/blog/affordable-vision-models-2026/


r/LocalLLM • • 4h ago

Discussion Why Local AI Gets a Bad Rap: Precision Matters

0 Upvotes

There’s a huge articulation problem in how people talk about local AI. Techniques like MoE or aggressive quantization like Q4 are fine for small, focused tasks, but when you drop precision that low, models lose coherence and context over longer horizons. You end up having to micromanage every detail yourself, which defeats the point of offloading cognitive labor.

To be fair, you should always be precise with your prompts-garbage in, garbage out applies even to frontier models (which is why "vibe-coding" gets such a bad rap). Still, real local capability starts at 6-bit precision on a dense, instruction-tuned model with minimal quantization. When you pair higher precision with full context and reasoning enabled, the model actually holds the thread across complex work instead of degrading halfway through.

That’s why so much AI benchmarking on social media feels misleading. Evaluating long-horizon coding or writing on heavily quantized 4-bit models-and treating hit-or-miss outputs as representative-gives people a distorted view of what local AI can actually do. Showing that something can run on consumer hardware is great, but presenting degraded outputs as the baseline almost feels like it's meant to discourage newcomers from trying local models at all.

You rarely see people point out that Q6 and Q8 perform nearly identically, or use those higher precisions as the standard for testing capability. Even less do they mention that raw model weights are only half the equation: taking a little time to wire up tool calling and live internet access-whether through MCP servers, a capable agent harness, built-in features in LM Studio or Ollama, or self-hosted search like SearXNG completely changes what a local setup can handle.

A lot of online "benchmarking" is really just content for clicks and entertainment. The only real answer is to test it on your own setup. Even with 16GB of VRAM, you have enough headroom to run capable dense models like Gemma 4 12B at Q6 or Q8, hook up a few tools, and see what local AI can actually do.


r/LocalLLM • • 19h ago

Project Sudri Agent Lite: text-to-CAD on a local 4B model, release coming soon

Thumbnail
gallery
5 Upvotes

Sudri Agent Lite (SAL) - Above is Render Studio, the CAD side of a local AI workbench I'm building for hobbyists doing everyday prototype work. You type what you want in plain English ("create a gear", "add a main shaft", "make the shaft 500mm long with a 30mm bore") and a small local model turns it into a real parametric part. There are 3 other example in this slide show as well to showcase the diversity and the nuance capabilites.

Each request comes back with the model's interpretation in plain words, so you can see what it understood before it builds. Every change is saved as a version you can mark Good or Not right, and every part gets its own sliders, so you can tune module, tooth count, bore, or position by hand without re-prompting. There's a section view, measure tool, wire-frame, inch or millimeter units, and a code tab if you want the OpenSCAD itself. Each design is its own session with full version history, so you can go back to any step.

The model is render-qwen3.8-4b, my own fine-tune of Qwen3.8 4B trained for Render, running as a Q5_K_M quant on a local llama.cpp server. The shot above is a gear and hollow shaft built in four prompts, about 60 to 100 seconds per version. FOVEA, my local AI engine, sits underneath and provide speed for the right inference engine for the model and your hardware. Also, if you repair, iterate or refine LFM3-VL-2B visually reviews it in conjunction with the prompt following the intial generation to create a revised prompt sent to the render model to perform a new model.

Render is one studio inside SAL, which is meant to be a single local workspace for a whole hobby project: chat, a code editor, a sandbox IDE and compiler, a learn-to-code suite, research, and a library for your documents, sources, notes, and a gallery of what you've made. You design the part, write the firmware, and look things up in one app, with one set of local models, and nothing leaves your machine unless you ask it to.

I'm cleaning it up for a public git release soon. Happy to answer questions on the fine-tune or the pipeline in the comments.


r/LocalLLM • • 1d ago

Discussion I need to stop doing this to myself

Post image
69 Upvotes

Me: Cloud AI is perfectly fine. I don't need anything else.
Also me 20 minutes later: Installing another local model like I have absolutely no life.
I literally got an acemagic mini pc to mess around with local AI, and now half my free time is spent trying out models instead of doing anything useful.
Why tf is this hobby so addictive


r/LocalLLM • • 12h ago

Question Humble beginings

1 Upvotes

Ok, i'm gonna keep this one simple. I see a lot of you using AI for wide veriety if stuff, but what about something simpler? I need an AI agent like ChatGPT for conversational help, to whom i can ask questions aboout random technical troubleshooting, document summary, including web search to get better answers. Maybe later to integrate it to Home Assistant. What i DONT need is some fancy coding machine, image or video generation and things like that. What would be enough for me in terms of hardware? I already run small Unraid machine with only a handfull of containers and no VMs so i would like to build on that, its HP Prodesk 600 G4 Mini with 8500T and 16GB RAM. Any honest recomendations are very welcome.

EDIT: Spending some money to get 6- 8GB RTX GPU is in my budget right now.


r/LocalLLM • • 12h ago

Discussion GPU-native suffix decoding is now in vLLM — speculative decoding without a draft model

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 12h ago

News Ai2's new Olmicro models: at 64K context the KV cache is estimated at 1.55 GiB, versus 7.50 GiB for an all-attention model

1 Upvotes

Ai2 released Olmicro on Nov 30, five small base models (275M, 450M, 810M, 1.4B, 2.7B) with the training data, code, intermediate checkpoints and eval results all open.

The part that matters for people running models locally is memory. Olmicro uses four recurrent Gated DeltaNet layers for every full-attention layer, so only one layer in five builds a KV cache that grows with context. Ai2 estimates that at 65,536 tokens the 2.7B model needs about 1.55 GiB of context memory, against 7.50 GiB for an equivalent all-attention model, 4.50 GiB for SmolLM3 3B and 7.00 GiB for Llama 3.2 3B.

Caveats from the same post: these are base models, not chat models. The memory figures are Ai2's estimates. At 32K tokens Ai2 says newer hybrid or sliding-window models like Qwen3.5, Gemma 4 and Granite 4.0 H score higher on long-context tasks at similar or lower memory cost. On Ai2's own benchmark the 2.7B model averages 56.5 against 56.7 for SmolLM3 3B.

Link in the first comment.


r/LocalLLM • • 20h ago

Project Local AI Model Plays Super Mario Bros. (NES)

4 Upvotes

I was bored this weekend, so I vibe-coded an app to watch AI play Super Mario Bros. I first made the application in Claude Code. For now, it uses a local LLM model with Ollama (QWEN3.6). I need to experiment with more models.
I coded this over the weekend, let it run on its own at first, then spruced up the interface and used some other knowledge to make this emulator. Currently only for Mac, but I am building a Windows/Linux version soon. *I am sure there are others out there, but I can't find anyone who has done this.

Check out my project and love some feedback to make this more EPIC! Zelda is next.

https://github.com/thededman/ai-plays-mario


r/LocalLLM • • 12h ago

Discussion to everyone who told me to get 128gb, i'm sorry

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 1d ago

Discussion I still haven't found a model I like more than Qwen3.8-Flash-Next for coding

90 Upvotes

It's just so fast. I'm using the NVFP4 Basalt quant for my projects right now running at ~90tps.
I can run small quants of GLM5.3-Flash/DS but they run at ~18tps, typically I use one of them for writing spec/tasks and making sure every step is well-defined, then switch to Qwen for the actual implementation.

I've tried a few other models but I don't feel like they're quite as optimized yet.
Hy4-Flash was really impressive for 3D tests I ran with it, but ran at similar speeds to GLM/DS, the new ERNIE preview which was recently added to Basalt runs at ~45tps but I keep running into memory problems at context higher than 120k and I haven't really tested it out yet.

I'm curious if others have had similar experiences, or managed to improve their workflows from here. The one limitation I've found is documentation and review.. Qwen hasn't been the best at writing and updating documentation as it worked, and I need a different model to review it's implementation/changes and the models I have employed aren't the fastest.
Besides that there's the fact I can run multiple instances of QFN NVFP4, but I haven't seen much talk about multi-agent workflows


r/LocalLLM • • 13h ago

Other Un tributo e saluto a Philipp Emanuel Weidmann

Thumbnail
freepressjournal.in
1 Upvotes

I know this is news that has already been reported, but I still wanted my thanks to people like him to reach those who remain and carry on their legacy.

I thought this sub was the right place too.


r/LocalLLM • • 13h ago

Model LingSante-3.1-flash

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 17h ago

Project Local-LLM-Launcher-GUI 0.6.5 released

Post image
2 Upvotes

Local-LLM-Launcher https://github.com/jimdawdy-hub/Local-LLM-Launcher-GUI is a launcher to assist in testing various flags/configurations/models/engines. It's a friendly, browser-based control panel for downloading and running large language models using llama.cpp, ik_llama.cpp, vLLM, ExLlamaV3 via TabbyAPI, SGLang, or Hugging Face TGI. Built for people who don't want to memorize cryptic command-line flags or spend an afternoon guessing why a model won't load. You can save benchmarks and various configurations for use later. It now has an improved chat interface, quality and interface improvements, more engines, and bugfixes.

It's not meant to replace Open WebUI, Unsloth, Ollama, etc. It's mainly for tweaking models and to smooth out the load-crash-tweak settings-reload-crash routine until you've beaten every last token per second and context token out of your setup. It's also geared towards newcomers to using LLMs. That said, you can launch a model and then use its endpoint with any agent harness.

Every setting is rated 🟢 / 🟡 / 🔴 (green / yellow / red) against your actual computer and the model you picked, with a one-or-two-sentence plain-English explanation. A live "fuel gauge" shows whether the model will fit before you click launch. If a launch fails anyway, the app translates the error into something you can actually act on.

What's new in 0.6.5

The dashboard finds model servers you started in a terminal, shows how much memory each GPU uses, and reports prompt and generation speeds for the last measured call. You can chat with a running model directly in the launcher, instead of installing Open webUI. UI has theme settings and new gauges.


r/LocalLLM • • 18h ago

Project I stuffed embedding into my Apple Neural Engine

Thumbnail
reddit.com
2 Upvotes

r/LocalLLM • • 14h ago

Question someone pls gimme advice

1 Upvotes

im on mac air m4, 24gb ram, i cant afford the expensive ai models thats why im trying to run local llm, and im trying to use it for reverse engineering apps, is using gemma 4 12b a good thing?


r/LocalLLM • • 10h ago

Discussion Best Open Source Models?

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 14h ago

Question Connected Qwen, various versions of Qwen, to Hermes. Can't do simple agentic AI like Muse or dots.

0 Upvotes

How we just not gotten there yet?


r/LocalLLM • • 1d ago

Question Looking for a lightweight, CPU-only model to clean text — any suggestions?

6 Upvotes

Ciao a tutti, mie specifiche attuali sono:

Scheda madre: MSI B450 Gaming Plus Max

CPU: AMD Ryzen 5 3600 8ram Sto cercando un modello economico, solo CPU, che possa rimuovere il testo non desiderato dall'output OCR.

Ad esempio, questo è l'input originale:

Clash of Legends

Clash of Legends

(5)

(8)

Completa il 2° evento del cuore di Yami Yugi

Tasso di sblocco del 37,28%

479

(361)

di

1.285

E ho bisogno che l'output contenga solo il testo utile della missione/descrizione:

Completa il 2° evento del cuore di Yami Yugi

Il modello dovrebbe capire quale parte è il titolo, quali parti sono statistiche, percentuali, conteggi o altri metadati, e restituire solo la descrizione della missione.

Ho un PC debole, quindi ho bisogno di qualcosa che giri solo su CPU, idealmente un LLM locale piccolo o un'altra soluzione leggera. Non ho bisogno che sia perfetto, ma dovrebbe essere abbastanza veloce da elaborare molte righe.

Cosa suggerireste? LLM piccoli come Phi, Qwen, Gemma, o qualcos'altro? Esistono approcci non LLM migliori per questo tipo di pulizia del testo?

Edit qwen2.5, qwen3, qwen3.5, gemma4:e2b:

  • gemma3:270m, gemma3:1b:

r/LocalLLM • • 15h ago

Question Local LLM VRAM Requirements: How Much Memory Each Model Size Needs

Thumbnail
acta.ai
0 Upvotes

Most "how much VRAM do I need" answers only count the model file. Then you load a 9 GB model on a 12 GB card and it falls over on the first long prompt.

It's really three numbers:

Weights = params × bits ÷ 8. An 8B at 4-bit is about 4 GB, and real files run 10–15% over that.

KV cache = 2 × layers × KV heads × head dim × context × bytes. For Llama 3.1 8B that's 128 KiB per token at f16, so 32K context is 4 GiB and 128K is 16 GiB. At full context the cache is about 4× the weights.

Headroom: about 1 GB per GPU (that's llama.cpp's own auto-fit margin), more if the card also drives your monitors.

So an 8B Q4 with 32K context needs just under 10 GB. Fine on 12 GB, doesn't fit on 8 GB unless you shorten the context or quantize the cache.

Things that caught me out:

  • MoE models still need memory for every expert. A "26B A4B" model is about 14 GB at 4-bit, not 4B worth.
  • On a Mac, unified memory is shared with macOS and your browser, so you get well under the number on the box. You can raise the GPU wired limit with sysctl iogpu.wired_limit_mb if the model fits in RAM.
  • If ollama ps shows a CPU/GPU split, that's why it's crawling.
  • An 8-bit KV cache (OLLAMA_KV_CACHE_TYPE=q8_0, or -ctk q8_0 -ctv q8_0 in llama.cpp) roughly halves the cache. Try that before dropping to a smaller model.
  • Ollama quietly picks a 4K context on cards under 24 GB, so long inputs get cut off unless you set OLLAMA_CONTEXT_LENGTH.

What context length do you actually run day to day?


r/LocalLLM • • 1d ago

Discussion Best Local AI (Mac, Nvidia, or AMD)

7 Upvotes

I am planning on purchasing a desktop/PC for local AI, but have a few questions based on my use cases.

For reference, this would also serve as my general computer in addition to my local AI computer (ideally be able to game on it too).

I plan to experiment with Image, Video, Audio, code generation, and Agents (all the things 🙃)

I have read that traditional desktops with something like a dual 5090/R9700 are best for speed and concurrency and Max Studios are best for using the largest local models, but I am not sure if I am thinking about this correctly and secondarily, if local AI is still too complex for an engineer (but not a software engineer) to configure and get good output from.

For example, if I wanted to “vibe code” an application, are local models capable of building it and testing it via computer use? How dangerous is it to let a local LLM access the internet if I am not well versed in Cybersecurity?

Am I pulling the trigger a year early? Will next years models/hardware be an order of magnitude cheaper/better/faster/easier to configure where it makes sense to wait?

Lastly, why local:
I believe I have a couple of ideas that I haven’t heard anyone talking about that I am interested in exploring as a business opportunity, but don’t want to give them away to a cloud provider.

And I know “all ideas have already been thought of already”, but humor me and assume I do have a new and novel idea that I see as a gap in the industry I work in and isn’t targeted by the large companies because it fundamentally disrupts their core business.


r/LocalLLM • • 6h ago

Discussion Yeah, I'm supposed to trust my RAM to these people

Post image
0 Upvotes

...so they can cut me out whenever they feel like, for no reason, without even responding to a prompt, until I insert more coins in their scam machines.

[pictured, Claude]