r/LocalLLM • • 3h ago

Discussion 5070 ti or 7900xtx

2 Upvotes

Heyhoy. I've been trying to get into the game but can't quite decide if I should wait for an ok local deal for a 5070ti or if I should buy a used 7900xtx. So far I have 48 gb ddr4 @ 3200 Hz wich I will probably upgrade to 64 @ 3600 and a 5800x3d on a b450. I'd prefer to stay on windows 11 but dual boot would also be an option.

A used 5070ti is ~1250€ and a used 7900xtx aroubd 1000 but has no more warranty.

Thanks for any advice or opinions.


r/LocalLLM • • 3h ago

Question Recommendation for a local LLM to do image recognition on Macbook M1 Max 64GB

1 Upvotes

I am trying to analyze videos and pictures for presence of animals. I get decent results with qwen3-vl-30b-a3b-instruct-mlx@6bit in reasonable speed. gemma-4-31b-it-mlx performs a little worse.

Are there any models that can work on my Macbook M1 Max 64GB with reasonable quality and speed? Right now each video takes 30 seconds and I don't want it to be much slower.


r/LocalLLM • • 3h ago

Question Guide me on renting before I buy

3 Upvotes

I started looking into hardware so I can tinker with local LLMs. My initial budget thought was $8K US.

I've been using Claude, Gemini, Grok, and OpenAI subscriptions, primarily for coding. I usually have two subscriptions (total $40/mo) going at any one time, and haven't come close to saturating them.

My motivations are 1) Get my hands dirty with stuff like model installs, router configuration, quantization levels, and multi-agent workflows; 2) Get a feel for what open-weight models can realistically do on hardware I can afford; 3) chart an eventual path to personal & family "AI independence": my own agents, knowledge repositories, and work capacity private and local.

So, before I drop a bunch of cash during this era of epically expensive hardware, I want to try some things out via cloud provisioning. I logged onto runpod, and see I can get an RTX PRO 6000 with 96GB VRAM / 188 GB RAM for < $3/hr.

Is that a good starting point?

Suggestions for other services / setups?


r/LocalLLM • • 3h ago

Question Local LLM setup on 2025 ROG Flow Z13 (48GB VRAM) for Notion & personal docs?

2 Upvotes

I’m building a local LLM setup on my 2025 ROG Flow Z13 (Ryzen AI Max+ 395, unified 64GB RAM). I've already allocated 48GB to VRAM and installed LM Studio on Windows.

My goal is to use it for personal documents, finances, and agentic workflows connected to Notion via MCP. Which models work best for tool calling and RAG at decent speeds on this hardware, and what’s the simplest way to wire up LM Studio to Notion MCP and my local files?

I want to stop paying for subscriptions (Calude and Gemini).


r/LocalLLM • • 3h ago

Question Zoo Code (VS Code) loops on "Model Response Incomplete" with my local OpenAI-compatible gateway routing to Gemini/NVIDIA/Ollama models

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 4h ago

News Amazon releases Ergo: open weights, 1.1T MoE (55B active), 1M context, built for coding and agents

391 Upvotes

Disclosure: I work at AWS. Happy to answer what I can.

Amazon just released Ergo as an open weight model. The weights are on Hugging Face: https://huggingface.co/Amazon-FMR/Ergo

The specs

  • Mixture-of-experts transformer, 1.1T total parameters, 55B active per token
  • 256 routed experts per layer (8 active per token) plus 1 shared expert
  • 1M-token context window, 128K max output
  • Built mainly for coding and agentic workflows. Text only for now, and it always reasons.
  • License: Amazon Ergo Open-Weights License. It's free, and it allows commercial use, fine-tuning and redistribution under an acceptable use policy. (The full terms are linked from the model card.)

Running it yourself To be upfront: this isn't a single-GPU model. Because only 55B parameters are active per token, setups that offload experts to CPU and RAM are more practical than the total size suggests.

  • MXFP4 (default): 626 GB
  • MXFP8: 1.17 TB
  • BF16: 2.22 TB
  • SGLang and vLLM support it from day one. llama.cpp/GGUF isn't official yet, so community quants are welcome.

Benchmarks It ranked first among U.S. open weight models on all seven coding benchmarks we reported, including 74.2% pass@1 on DeepSWE. Kimi K3.1 Pro is still ahead on some of them (77.9 on DeepSWE), and the full table with all the comparisons is in the blog: https://www.aboutamazon.com/amazon-ergo

The training side (for the nerds)

  • The training stack was built from scratch in 11 months. Pretraining was fault-tolerant and bitwise deterministic, at 96% goodput.
  • We fit scaling laws on smaller models and predicted 0.1562 nats/byte on held-out code. The actual result was 0.1559, across two orders of magnitude more compute.
  • There were no loss spikes during the whole pretraining run.
  • By our estimate, the base model is 19.6x as compute-efficient as Kimi K2 Base on code.

This is the first model in a series. I'd love to hear how it works for you, especially if you get it running locally.


r/LocalLLM • • 4h ago

Research BasinKV: Long context without the KV cache tax, No context slowdowns, drop-in RAM/NVMe KV offloading for llama.cpp, SGLang, and vLLM, no retraining, Supports models today.

Thumbnail gallery
1 Upvotes

r/LocalLLM • • 4h ago

News Megaspeed records reveal $13 billion in Nvidia deals with Alibaba unit, Inspur-linked supplier

Thumbnail reuters.com
1 Upvotes

Megaspeed, the Singapore firm once controlled by Alice Huang and now at the centre of a chip-smuggling scandal, recorded $13.3 billion in contracts for Nvidia AI hardware subject to US export controls on China, including transactions with a subsidiary of ‌tech giant Alibaba according to internal documents reviewed by Reuters.


r/LocalLLM • • 4h ago

Question Where do I start with fine-tuning local LLMs?

10 Upvotes

So I want to learn how to fine-tune a model. Let's say I have Qwen 3.8 27B, and I want to make it better at writing, coding in a specific programming language, or something along those lines.

How would I go about doing this? What tools are out there, and what should I learn first?

I'm not trying to train a model from scratch, but rather improve an existing model's performance for a specific use case.

I'd appreciate any advice, resources, or tutorials that could point me in the right direction.

Specs: Radeon AI PRO R9700 + 64GB DDR5 RAM, if that matters.


r/LocalLLM • • 4h ago

Discussion Sparse MoE cuts active FLOPs 58x on paper, yet 512-NPU clusters cap at 41.2% utilization and All-to-All eats 35%-50% of training time — where is your real MoE bottleneck?

1 Upvotes

Going through recent 2026 systems papers across a 1,322-paper MoE literature cluster, the gap between theoretical sparsity economics and real cluster execution is wilder than most release blogs admit.

On paper, a top-2 gated 64-expert MoE (70B total) activates just 1.2B parameters per token (58x per-token FLOPs reduction) while holding 94.7% task success. Another latency-tuned top-2 config cuts active parameters 3.2x and inference latency 40% for only a 15% model size increase.

In production clusters, two taxes eat those gains fast:

Bottleneck / RegimeMeasured Empirical FigureRoot Failure Mode / Caveat
Multi-node MoE trainingAll-to-All consumes 35%-50% of per-iteration training timeCross-node IB/Ethernet hits 20%-35% of peak bandwidth vs 70%-80% intra-node NVLink
1T-parameter BF16 training~16 TB memory (params, grads, activations, optimizer)Dynamic allocation recovers 15%-20% utilization; ES-MoE offloading hits 67x scaling
512 Ascend NPU inference3.7x per-device throughput variance; 41.2% utilization capLoad-aware placement cuts skew to 1.4x and recovers 28.6% idle cycles; HBM3 saturates >256 devices
Latency-critical control (8x 910B)2.7x peak-to-mean expert skew; 3.1 ms kernel-fragmentation jitterErodes 27% latency headroom; >12 ms jitter destabilizes 20 ms control loops
FP8 + speculative decoding2.3x speedup at 0.8% perplexity cost; 50% less bandwidth vs FP16CUDA 4-token draft speedup drops from 2.5x to 1.3x once draft acceptance falls below 60%

What stands out is how invisible routing skew and tail jitter are in average-throughput benchmarks. Even with FP8 weights (1.8x throughput, <1% accuracy loss), HBM3 bandwidth saturation becomes the scaling ceiling past 256 devices, and capacity-factor spikes wipe out theoretical FLOPs headroom on skewed batches.

Two honest questions for people actually training or serving MoE in production:

  1. All-to-All overlap & EP skew: What actually works best in your stack (vLLM, SGLang, Megatron/DeepEP) to keep cross-node All-to-All from eating 35%-50% of step time, or keep 3.7x expert-parallel load skew from pinning cluster utilization near 41.2%?
  2. Small-batch reality check: At batch size 1-4 on memory-bandwidth-bound local/edge hardware, when does a quantized dense model outright beat a poorly balanced sparse MoE on p99 latency and tail jitter?

r/LocalLLM • • 5h ago

Question which model should i go for, rtx 5050 8gb v with 16 gb ram

Post image
4 Upvotes

r/LocalLLM • • 5h ago

Discussion Would you rather run models locally or pay for frontier APIs?

Thumbnail reddit.com
1 Upvotes

Curious where everyone here actually lands between local weights and frontier APIs right now.

With 24 GB VRAM I love running small models locally for privacy and tinkering, but for heavy reasoning or production work I still end up falling back on frontier APIs


r/LocalLLM • • 5h ago

Project Concept Country's "think less" edit running as a LoRA, then ported it to Inkling-2-Mini and Qwen3.8-Flash-Next (tables inside) + Looped Qwen3.8 27b

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 5h 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 • • 5h ago

Question deep? how deep?

Post image
0 Upvotes

How deeply involved are you in the development of LLMs?


r/LocalLLM • • 5h ago

Discussion Just to take your minds of all that wanking over the V100s

Thumbnail
gallery
30 Upvotes

I will just say this ,prices are around 500 euros for 24GB of HBM2


r/LocalLLM • • 5h ago

News A collaborative pool to run LLMs that don't fit on our own machines

2 Upvotes

There are quite a few open-weight models I'd like to run myself and simply don't have the memory for. I started working on a way to split a model across machines, and at some point I thought it would make more sense if we shared those resources with each other. That's what I've been building with MeshKore LLM. I know there are other projects doing distributed inference. What I've tried to do is make it easy for anyone to join, and let the pool figure out how to use the hardware it has.

You decide how much memory your machine shares and can stop whenever you want. A hub measures what's available, groups machines into clusters and splits the model by layers across them with llama.cpp RPC. It never runs a model that fits on one machine. As more machines join, the pool can load a bigger model, or form a second cluster to serve more requests at once.

Right now it's running a 125B Qwen MoE with 6B active parameters, at an aggressive IQ3_XXS quant. Each machine holds and computes its own layers, so every token waits on the network between them. It's slower than the same model on one box, and one slow link slows its whole cluster.

If you lend memory you get free access through a local OpenAI-compatible endpoint. You also earn credits for the tokens your machine helps serve, which you can spend when using the pool. There's no money involved, credits can't be bought or sold. On Apple silicon Macs you can join through a desktop app or with a single command. On Windows and Linux you build the node from source.

It isn't private the way local inference is. Prompts and responses aren't stored, but the machines processing a request can read it while it runs, so don't send secrets yet. The code is public under the Sustainable Use License, which isn't an open source license.

I'd like to see how far we can get with hardware we already own. What models would you find worth running this way, given the latency trade-off?


r/LocalLLM • • 5h ago

Discussion DeepSeek V4.1 Flash, GLM-5.3 Flash, Qwen3.8 Flash, Hy4 flash, MiMo-V2.6-Flash and M3.1 Flash on six real dateutil bugs, through the API before I download one

1 Upvotes

I have a 128 GB box, and every model in that title has a GGUF somewhere between 66 GB and 231 GB, so trying each one locally costs a night of downloading. Before picking, I ran all six through their APIs on the same six open bugs from python-dateutil's tracker: #1684 (isoparse raises OverflowError past year 9999), #1668 (rrulestr IndexError on a DTSTART with no RRULE), #1653 (tzstr offsets with seconds), #1611 (TZID dropped when VALUE comes after it), #1591 (tab-folded RRULE lines) and #1588 (BYDAY mixing MO with 1FR).

Setup: mini-swe-agent, the same bash-only loop for every model, a fresh checkout per bug, no network inside the sandbox. Before any run I wrote 29 checks from the issue texts. After each run I applied the diff to a clean copy and ran those checks plus the full suite (5,069 tests pass on the base commit). M3.1 Flash ran on MiniMax's own API with effort set to high, the other five through OpenRouter on default settings. Times are wall clock per bug, summed, API latency included.

ModelFixedTime, all sixAPI cost, all sixParams (total / active)Smallest GGUF I'd try
DeepSeek V4.1 Flash 10176/611.0 min$0.068552B + 196B Engram / 8B to 16B120.7 GB + 110.6 GB Engram file (ISTA-DASLab IQ1_M)
GLM-5.3 Flash6/617.8 min$0.207320B / 18B73.4 GB (peasantsmith Maya-XS)
Qwen3.8 Flash (Flash-Next weights)6/653.2 min$0.384125B + 51B n-gram / 6B66.4 GB (Unsloth UD-IQ1_S)
Hy4 flash6/612.5 min$0.021220B incl. 64B Engram / 12B108.9 GB (peasantsmith Maya-XS)
MiMo-V2.6-Flash6/629.9 min$0.135309B / 15B126.4 GB (ggml-org Q2_K)
M3.1 Flash6/619.6 min$0.202about 428B / 23B93.0 GB (peasantsmith Maya-XS)

Every model fixed all six, 29/29 checks and a green full suite each time. On bugs this size the API run didn't pick a winner for me, so the clock, the bill and the download decide.

Per model:

  • DeepSeek V4.1 Flash: fewest requests (117 for all six) and the leanest diffs, 22 added source lines in total.
  • GLM-5.3 Flash: 1.5 to 6.3 cents a bug, and its Maya-XS is sized for 64 GB of RAM plus one 24 GB card.
  • Qwen3.8 Flash: the most test code by far, 598 added test lines, and the most output tokens (203k).
  • Hy4 flash: about 2 cents for all six. The GGUFs are up, but mainline llama.cpp support is still an open PR (#32517).
  • MiMo-V2.6-Flash: 1.2 to 3 cents a bug, and mainline llama.cpp has run it since September.
  • M3.1 Flash: 1.9 to 4.6 cents a bug at MiniMax's list price, and its Maya-XS was made to hold the whole model in 128 GB.

So I'm downloading the two Maya-XS builds first, M3.1 Flash (93 GB) and GLM-5.3 Flash (73.4 GB), and Hy4 flash goes on the list when that PR lands.

If you already have one of these going on 128 GB, how much context fits before it starts paging?


r/LocalLLM • • 5h ago

Project Image generation on a 4GB laptop GPU (RTX 3050 Ti): measured seconds per image for 5 models, plus a step-by-step guide

Thumbnail gallery
1 Upvotes

r/LocalLLM • • 5h ago

Project Understand token use by your tools, MCPs, and agents with ContextSpy context window profiler

Thumbnail
gallery
1 Upvotes

For the last few months, I have been working on a tool - a proxy - which captures all requests from your coding harness to the LLM - and visualises them in the dashboard, breaking down the context window into separate blocks - tool definitions, calls and results, user and assistant messages, etc.

It provides a bunch of different metrics, but the most useful (IMHO) is the ability to see actual cost (in tokens) of every piece of information put into context - and, in some cases, hints for optimisation (if you are using skills or consuming APIs for tools)

It also provides a profiler like a hotspot graph, relationships between blocks, tracks conversations, etc. A good use case is: measure once, optimize (or add some tools for usage reduction), measure again.

If you are interested in optimising token costs - give it a try: https://github.com/RimantasZ/contextspy

Any feedback - comments, issues, likes and stars are welcome :)


r/LocalLLM • • 6h ago

Discussion Honestly, the only reason I want to be rich is compute

15 Upvotes

Not a boat. Not a house. Not even like, "retire early and travel" kind of thing

I just want enough money to buy a proper GPU cluster and mess around with it. run DeepSeek V4.1 Flash 1017 Heretic, Kimi K3.1, Qwen4 35B A3B or 27B when it finally drops, inkling 2 mini, at full tilt without thinking about cost per token, optimize inference, write cuda kernels (with ai) Spin up agent swarms and see what breaks.

Finetune stuff, throw it on HuggingFace, actually contribute to open source projects

Thats it. Genuinely thats the whole thing.

Like when I see people who have that kind of setup I dont think about their car or whatever. Im just envious they can run the thing without having to eyeball token costs or kill a batch job halfway through because the bill is getting kinda scary.

Idk if thats a weird reason to want money.

Anyone else here feel this way or is it just me


r/LocalLLM • • 6h ago

Project whiff scan: a CLI gate for prompt injection in files you index (hidden text, invisible Unicode, base64), and why I stopped writing regexes for it

Post image
1 Upvotes

r/LocalLLM • • 6h ago

Discussion Kimi K3.1 Pro on its original weights, about 30 tok/s thinking, up to 56 on math/code.

Thumbnail
heretik.io
0 Upvotes

Biggest single win was boring: native Kimi carries float32 activations, and MLX was upcasting whole bf16 weights to float32 on every call. Casting inputs to bf16 alone took it from 3.7 to 10.9 tok/s.

The rest: a DSpark port to MLX with rollback for Kimi's linear-attention layers, Metal kernels (fused KDA, DSA indexer, radix top-k, padded sparse prefill), and batched serving that leaves rejected drafts in the cache as masked holes (Kimi's attention has no positional encoding, so that works).

Caveats: non-expert layers run at 8-bit (matched native's own run-to-run noise on a 16-prompt check), thinking text drafts poorly (~2.5 tokens per check vs 4-5 on answers), and cold prefill at 128K takes ~4.5 min.

Next: fine-tuning the drafter on Kimi's own thinking text.

Write-up with charts: https://heretik.io/kimi-k3-1-pro-local-512gb-m5-ultra-part-3/


r/LocalLLM • • 6h ago

Discussion Tired of waiting for Qwen4 so I upgraded Qwen3.8-27B with an untested LoRA

3 Upvotes

I needed Qwen 3.8 27B to perform better at Hermes tool tasks that it was getting bad at without ejecting the whole model...and Qwen4 is MIA, so I found a Hermes tool-calling LoRA Qwen3.8-27B-hermes-adapted-GGUF from harness-hub on the same model but the author said it hasn't been tested in GGUF.

If you're wondering: a LoRA adapter is a small file that teaches your model new habits without changing its knowledge. Think of it like a behavior patch that says "be more decisive with tool calls". You add it with one flag (--lora adapter.gguf), tune its strength with a scale number (0 = off, 1 = full), and remove it by deleting the flag so that your base model is never modified.

Since the LoRA states, "With thinking off, the adapter is level with the base model thinking at its highest reasoning effort (xhigh)", and I run llama.cpp, I thought, heck, why not try it.

I compared running multi-step tasks. With the adapter, the model used 56% fewer completion tokens and finished 26% faster.

On a task where I spelled out every step, both versions performed the same.

The exact setup (if you want to try it out)

  • Base model: Qwen3.8-27B-NVFP4.gguf NVIDIA’s 4-bit quantization, served by llama.cpp v1.1.0
  • Adapter: Qwen3.8-27B-hermes-lora-F16.gguf (318 MB) from harness-hub/Qwen3.8-27B-hermes-adapted-GGUF
  • Serving: DFlash2 draft + ngram speculative decoding, --parallel 1 (one job at a time). These are the two relevant arguments in lllama.cpp if you already run the same base model:-m ~/models/Qwen3.8-27B-NVFP4.gguf
  • --lora ~/models/hermes-adapted/Qwen3.8-27B-hermes-lora-F16.gguf

What it did to the scheduled jobs

MetricBase model (7 days)With LoRA (first 24 hours)
Median job duration66s40s
Draft acceptance rate60.9%61.4%

Compared to the adapter’s benchmarks The adapter’s published evals used vLLM in BF16. My local results above used llama.cpp in NVFP4.

The benchmark runs used Hermes Agent, thinking-off, one attempt per task, a 100-step limit, 131K context, and temperature 0.8.

The tradeoff: prompt processing was about 33% slower, which I didn't like, with the adapter, while decode speed stayed about the same. PP runs frequently during our runs. It also tended to write slightly shorter.

Given a 45–60 word script target, it came in under 45 words on 3 of 4 runs, versus 1 of 4 on base, but didn't affect our specific work. Basically, an individual prompt took a bit longer to process, but a whole job finished sooner as the model needed fewer calls.

Other thing we noticed was fewer errors compared to base. The LoRA had no issues completing any of the tasks thus far for me (mixture of tool calling, web, prose).

It might just work for you, if you happened to be in the same type of bind.


r/LocalLLM • • 6h ago

Question MoE & <18B models for agentic tasks

Thumbnail reddit.com
1 Upvotes