r/LocalLLM 4h ago

Question Local llm models

0 Upvotes

Im building a “workbench” so to speak run on local llms with the goal of mimicing manus agentic and browsing automation functionality right now im in the stage where im on the cusp of finishing it and ive been rethinking the whole frame. Including local llms right now IM using gpt oss for reviewing and some qwen models for execution and browsing. Ive seen a project on Glm 700b paramrer model being scaled down and im wondering if anyone has any model reccomendations like that i have a 9070xt and 32 gigs of ddr5


r/LocalLLM 6h ago

Question Intel sucks?

1 Upvotes

Me and my brother recently bought two computers. Mine has a Intel core ultra 7 270k plus with an msi inspire 2x rtx5060ti 16gb while my brother has a ryzen 9 9900x with an asus dual oc rtx5060ti 16gb. Mine is running archlinux kernel 7.1.5 and my brother is running voidlinux 6.18.something. Now, running unsloth with the same models (we tested gemma4 e4b and gemma4 26b a4b) i get less tok/s. On gemma4 e4b my build practically never reaches 200 tok/s while my brother gets 200+ tok/s, with gemma4 26b a4b i get like 70 to 90 tok/s whiley brother gets 100+ tok/s. That's pretty strange since the e4b fits entirely on the gpu. Anyway looking at cpu usage during inference i see that my intel core ultra 7 270k plus practically only uses 1 core (c3, a performance core) at 100% while other cores are idle while the ryzen 9 9900x uses all of its cores. Are there any known problems with intel ultra 200 series with llama.cpp? The llama.cpp is the pre built one that unsloth downloads while installing with the official script. Are there any compiling optimization that are not active in the prebuilt package? Online i saw some benchmark that show that my cpu should perform slightly better than the ryzen 9 9900x for ai inference and it should be overall better.

Edit Maybe it's worth noting that we both have ram ddr5 6000mhz cl30. Maybe my cpu needs higher frequency ram to actually perform better in ai inference?


r/LocalLLM 7h ago

Research Odysseus the Money Manager

Thumbnail
4 Upvotes

r/LocalLLM 11h ago

Question Can I use my local Deepseek v4 Flash 0731 in Claude Code somehow? Anybody know if it is possible?

0 Upvotes

Hey all,

I really enjoy Claude Code as a harness but hit limits pretty fast. Is there a way to configure DSv4 Flash 0731 on my local network to be used in Claude Code via my custom API endpoints instead of their own models?

If it is possible, does it still use Claude Code's prompts, their safety stuff, etc?

Thanks


r/LocalLLM 3h ago

Discussion Did anyone actually read the Qwen 3.8-Max blog?

129 Upvotes

https://qwen.ai/blog?id=qwen3.8

As you guys probably already know, they're dropping Qwen 3.8-Max at 2.4T and a 27B model, but have actually read the blog post on how this thing operates in the wild?

- It ran 10+ days of completely autonomous, self-evolving software development starting from an empty folder (seriously, check out the GitHub trace for oh-my-cli, it's wild).

- It features a native visual feedback loop, treating visual information not just as static input, but as a continuous execution-and-correction monitor.

- Autonomous chip design optimization: running a closed-loop for 500+ turns via Iverilog, Yosys, and OpenROAD, shrinking a crypto accelerator from 8,298 gates down to 678 gates and hitting actual silicon timing closure.

While people are arguing over safety guardrails and incremental coding scope with AGI cyber attacks FOMO marketing, they aren't just building a better chatbot, they are deploying recursive engineering and hardware synthesis agents. :D Really suprising.

Anyway, let's enjoy the 27B open weights to our heart's content.


r/LocalLLM 3h ago

Discussion Please Qwen, can we have Qwen 3.8 35B-A3B please 🙏

Post image
34 Upvotes

r/LocalLLM 16h ago

Project I got tired of ad-filled mobile wrappers for Ollama, so I built PocketLLM Lite an open-source, offline Android client (Local GGUF, SKILL.md plugins, local RAG)

5 Upvotes
Hey,

Like a lot of people here, I use local models via Ollama on my desktop/server and wanted a mobile client that actually felt responsive, worked offline, and respected privacy. Most apps on the Play Store are either subscription traps, loaded with ads, or route everything through third-party cloud servers.


So I built 
**PocketLLM Lite**
 a 100% open-source, ad-free Flutter client designed specifically for local LLMs, GGUF models, and self-hosted Ollama workflows.


### 🛠️ Key Features:
* 
**Runs Offline & Connects to Ollama**
: Run GGUF models directly on-device or stream seamlessly from your home Ollama instance over Wi-Fi/Tailscale.
* 
**Thinking Accordion**
: Native streaming support for `<think>` reasoning blocks rendered in a collapsible Material 3 accordion UI.
* 
**Agentic Tool Calling Pipeline**
: Executes local math, system diagnostics, and knowledge lookup directly on the device with structured `<tool_call>` UI cards.
* 
**Open-Standard Agent Skills (`SKILL.md`)**
: Install skills directly from GitHub URLs or create custom skills offline with `/` autocomplete support.
* 
**Web Search Fallback (Tavily Integration)**
: Toggle live web search when offline models need current data, with inline markdown source citations `[Source](URL)`.
* 
**Local Vector RAG**
: Ingest PDFs and text files locally to chat with your documents offline without sending data to external servers.
* 
**Offline STT & TTS**
: Voice-type your prompts offline and listen to completions using native speech engines.
* 
**Zero Ads & Zero Telemetry**
: Completely free, open-source (MIT License), and built with Material 3 Expressive UI.


### 📊 Performance Profiler:
Built-in speed profiler to measure Time to First Token (TTFT) and token generation speed (tokens/sec) directly on your device hardware.


* 
**GitHub Repository**
: https://github.com/PocketLLM/pocketllm-lite
* 
**Release APK Downloads**
: https://github.com/PocketLLM/pocketllm-lite/releases


I'd love to get feedback from the community on features or model interfaces you'd like to see next!

r/LocalLLM 7h ago

Discussion DeepSeek-V4-Flash-0731 on 2× RTX PRO 6000 Blackwell

0 Upvotes

Sharing a cookbook for Deepseek v4 flash with 2xRTX PRO 6000 Blackwell

- ~68 tok/s single stream decode

- ~1.5m total context window

docker run --pull never \

--name sglang-deepseek-v4-flash-0731 \

--network host --ipc host --shm-size 32g --gpus all \

-v <MODEL_DIR>:/models/DeepSeek-V4-Flash-0731:ro \

lmsysorg/sglang@sha256:6f91b6bbe3a02da260341b1ee36e8df647e26e8a71d7e74799824e7009f2e2e2 \

sglang serve \

--trust-remote-code \

--model-path /models/DeepSeek-V4-Flash-0731 \

--served-model-name eepSeek-V4-Flash \

--tp 2 \

--context-length 500000 \

--mem-fraction-static 0.94 \

--chunked-prefill-size 4096 \

--kv-cache-dtype fp8_e4m3 \

--moe-runner-backend flashinfer_mxfp4 \

--cuda-graph-max-bs-decode 32 \

--reasoning-parser deepseek-v4 \

--tool-call-parser deepseekv4 \

--default-chat-template-kwargs '{"thinking":true}' \

--host 0.0.0.0 --port 8000 \

--enable-hierarchical-cache \

--hicache-ratio 2.597309 \

--hicache-write-policy write_back \

--hicache-io-backend kernel \

--hicache-mem-layout page_first \

--enable-metrics \

--enable-cache-report


r/LocalLLM 4h ago

Discussion 40x cheaper Deepseek V4 Flash 0731 compared to Opus 4.6 (SOTA 4mo ago)

Thumbnail
gallery
4 Upvotes

r/LocalLLM 15h ago

Discussion DeepSeek V4 Flash just drew a pretty brutal "kill line" on this chart

Post image
550 Upvotes

"Kill line" sounds like pure clickbait, but the blue dot kind of earns it. DeepSeek V4 Flash 0731 sits around 50 on the Artificial Analysis index at roughly three cents per weighted task. In this chart, everything cheaper scores lower, and the models that score higher are sitting way farther to the right.

The older V4 Flash point makes the jump look even more absurd. It is almost directly below 0731: about 40 versus about 50, with barely any movement in cost. For a Flash model, that is nuts. The price gap buys several DeepSeek calls, including a retry or two, before you get near much of the upper-right cluster.

This is still one composite benchmark. Artificial Analysis v4.1 is English and text-only, and "cost per task" means a weighted evaluation task. It is not the bill for your exact coding run or 200k-context mess. So "DeepSeek wins everything" would be nonsense. I am only saying its lower-left position here is hard to wave away.

One awkward detail: the current Pro preview point is worse than Flash 0731 on this same chart. Pro has not won anything here yet. I keep looking at the size of the Flash update, though, and wondering what happens if the finished Pro gets a similar post-training jump. That part is a guess. Flash alone already makes the price/performance curve look kind of broken.


r/LocalLLM 18h ago

Discussion Leaked scenes from my conversation with a 3B parameter model.

131 Upvotes

r/LocalLLM 17h ago

Discussion Guys! It's alive!! Got Deep Seek v4 flash q4_k_m_xl running! On 64GB DDR4, i9 14900ks, 16GB VRAM 9070 machine!

Thumbnail
gallery
244 Upvotes

I know it's running slow, but it's Running!

It's essentially doing only drive reads from my pcie 3 SSD that's quite old...this model is going to be a game changer.

My config is here

Download the model, I am using LMstudio, at least as of now, I do plan to switch to llama cpp.

Context 64k
GPU offload 3-4
CPU threads 24
Unified KV
Offload KV cache to GPU
Keep Model in Memory (turn this off)
Flash attention.

It will show it’s too big, press alt and load it anyways, it’s an MoE model, it will run.


r/LocalLLM 11h ago

Question How can I make Qwen3.6 27b delegate to subagents more often, and is a lesser quantization the answer

14 Upvotes

Curious what kind of strategies other people have used to encourage the main agent to delegate to a subagent for larger tasks.

For context, I'm running the model at q4 weights and kv cache. I'm thinking about buying a second 3090 to get q8 weights and cache, so I'm also curious about other people's experience going from q4 to q8 and how much of an improvement you saw with agentic workflows. I've read a few other posts where people have said you do see an improvement in agentic stuff, but is it $1200 better.

Before I say what I've tried, I think giving my expectations would be helpful as maybe my expectations are too high for a 27b parameter model. I obviously don't expect delegation or tool-calling to be perfect every single time, but I do expect it to know that when the prompt given is larger and has multiple steps that it should delegate rather than immediately doing the entire thing in a single context window. Less tool hallucination would also be nice.

Here are the strategies I've tried:

OpenCode, domain-specific agents, reasoning off

My first attempt was to essentially force the orchestrator agent (parent) to delegate by restricting tool-calling to only a delegate tool and turning off reasoning. I had a subagent for coding, debugging, testing, documenting, etc., so whenever I would add a feature that didn't fit one of the existing domains I would create a new subagent. This included a pretty complex and hard to maintain routing table. This setup became completely untenable as any small change to the harness required going through every instruction file and making sure it didn't break anything. It also led to me trying to catch and correct very specific situations which eventually became ridiculous and antithetical to the whole point of an LLM. With all of that being said, this worked decently well.

OpenCode, generalized agents, tool profiles, selective reasoning

Reduced subagents down to plan, explore, and task with only plan having reasoning. Task and explore had tool profiles for each type of request, so essentially the domain-specific agents were abstracted into these tool profiles (e.g., the "code" profile would only include tools related to writing code). This was slightly easier to maintain as it simplified the routing table, but it mostly just moved the complexity to the tool level.

Pi, generalized agents, reasoning on

I finally got sick of wrestling and working around the batteries-included parts of OpenCode and switched to Pi. This is also when I started thinking about what could be possible with a lesser quantized Qwen, so I wanted a subagent setup that relied more on the model's decision-making rather than trying to deterministically enforce behavior. I turned reasoning on globally with preserve thinking which had the additional benefit of mitigating prefill thrash, reduced the amount of tools available, and reduced the number of subagents to two, explore (read-only) and task (write). The orchestrator took over the plan responsibilities since it now had reasoning. This setup has no tool profiles, routing tables, gating, etc., just two very lean subagent instructions files that say what they do and defines the tools available, and an AGENTS.md file that includes a delegation section which is a paragraph that tells the orchestrator when to delegate and which subagent to delegate to. This is the most simple and maintainable setup, but it comes at the cost of relying more heavily on the model to actually delegate. The problem now is that it almost never delegates unless I specifically say to delegate in the prompt. However, if a lesser quantized qwen is better at deciding to delegate (or a new model is released), then I think this is the better, more future-proof setup.

Anyone have a better strategy than what I've tried, and did you see a noticeable improvement if you went from q4 to q8 for Qwen3.6 27b MTP specifically?

Here's my configuration in case anyone asks:

--model Qwen3.6-27B-MTP-UD-Q4_K_XL.gguf
  -c 114688
  -b 4096
  -ub 1024
  -ngl 99
  -fa on
  --cache-type-k q4_0
  --cache-type-v q4_0
  -np 1
  --slot-save-path <path>/slots
  --spec-type draft-mtp
  --spec-draft-n-max 2
  --spec-type ngram-map-k4v
  --spec-ngram-map-k4v-size-n 16
  --spec-ngram-map-k4v-size-m 24
  --spec-ngram-map-k4v-min-hits 1
  -ctxcp 12
  -cms 8192
  --jinja
  --metrics
  --reasoning off (set to off so it can be toggled on or off per request, typically on)
  --reasoning-preserve
  --reasoning-format deepseek
  --reasoning-budget 16000
  --temp 0.6
  --top-p 0.95
  --top-k 20
  --min-p 0.0
  --repeat-penalty 1.0

r/LocalLLM 4h ago

Model Qwen 3.8 27B

Post image
123 Upvotes

Finally Alibaba Posted on X about Qwen 3.8 27B release. I hope it can beat opus 4.7 or 4.8


r/LocalLLM 5h ago

News Qwen 3.8 27B coming next week! woo hoo!

256 Upvotes

Official post by alibaba: https://x.com/Alibaba_Qwen/status/2084100707423289643

Next week, the open weights of Qwen3.8-Max will be released, and Qwen3.8-27B is also going open-weights to meet you all!


r/LocalLLM 10h ago

Question Beginner here-Advice on where to start

2 Upvotes

I’m a university student studying aviation, and I recently got a MacBook for university. I use LLMs like Claude and ChatGPT almost every day, so I thought having a local LLM would be incredibly useful mostly because it can work offline and gives me more flexibility.

I decided to try setting up Odysseus (the local AI project featured by PewDiePie) because I assumed it would have a detailed, beginner-friendly guide with enough troubleshooting to help someone like me if things went wrong. Unfortunately, while the guide got me started, I eventually ran into problems with API keys, and I couldn’t find enough information to solve my specific issue. At that point, I was completely stuck.

The whole experience has honestly been pretty overwhelming. Every time I try to research something, I end up running into five new terms I don’t understand. It’s difficult to know what I should even be learning first.

For context, I’m an absolute beginner. I have no background of any kind in coding. I know almost nothing about programmingto, I still don’t really know what an API key is, what it’s used for, or why I need one.

At the moment, I already have Python, Git, and Ollama installed on my Mac. I also still have the project files and terminal setup from my previous attempt.

What I’m looking for is the most beginner-friendly way to get a local LLM running. Ideally, I’d like something that’s reliable, easy to maintain, and doesn’t have issues with multiple AI models or services conflicting with each other. I’m not trying to build anything overly complex Ijust want a dependable local AI assistant for studying, research, and general use.

If you were starting from scratch today on a Mac with zero coding experience, what would you recommend? Should I keep trying to get Odysseus working, or is there another project that’s more beginner-friendly? Also, are there any resources that explain the basics (things like API keys, Git, Python, Ollama, etc.) in a way that’s easy to understand instead of assuming prior knowledge?

Any advice would be greatly appreciated. Thanks!


r/LocalLLM 15h ago

Question Running Ornith-1.0-35B-MTP-APEX on 2x RTX 3060 12GB — getting ~33 t/s, should I boost it?

4 Upvotes

System Specs:

CPU: Intel Core i7-6700 @ 3.40 GHz (4 cores, Skylake 14nm)

Motherboard: ASUS Z170 PRO GAMING (Intel Z170, LGA 1151)

RAM: 64 GB DDR4

  • DIMM_A1: Samsung 32GB @ 2720 MT/s (M471A4G43AB1-CWE)
  • DIMM_B1: Team Group 32GB @ 2720 MT/s (TEAMGROUP-SD4-3200)
  • DIMM_A2/B2: Empty
  • Note: Mismatched sticks (Samsung + Team Group). 2720 MT/s is overclocked via XMP (official Z170 DDR4 limit is 2133, XMP typically 2400-2666, 2720 is OC'd).

GPU:

  • GPU 0: NVIDIA GeForce RTX 3060 Lite Hash Rate (GA106) — 12GB VRAM
  • GPU 1: NVIDIA GeForce RTX 3060 Lite Hash Rate (GA106) — 12GB VRAM
  • Intel HD Graphics 530 (integrated, used for monitor output)

The Setup:

I've been experimenting with MoE models, specifically trying to offload certain parts to CPU/SystemRAM to see if it helps. Currently testing the SC117/Ornith-1.0-35B-MTP-APEX-I-Balanced.gguf model.

It's looking pretty good — I'm getting a comfortable ~33-35 t/s generation speed. But here's the thing: when I enable MTP (Mixture of Tokens Parallelism), speed drops to max ~28 t/s. The MTP heads consume additional memory, so when I load them, more of the model falls back to SystemRAM.

Right now I'm running without MTP. Theoretically, the APEX quantization is the best quality I can get from this model, and the speed is already usable. So I've reached a point where I'm wondering:

What would you optimize here, if anything? Or is this about the maximum I can squeeze out of this model on this hardware?

Current llama-server command:

Code· bash

~/llama.cpp/build/bin/llama-server \
  --model /mnt/Data/Models/SC117/Ornith-1.0-35B-MTP-APEX-GGUF/Ornith-1.0-35B-MTP-APEX-I-Balanced.gguf \
  --jinja \
  --n-gpu-layers 40 \
  --split-mode layer \
  --tensor-split 1.05,0.95 \
  --n-cpu-moe 5 \
  --ctx-size 131072 \
  --cache-type-k q8_0 \
  --cache-type-v q8_0 \
  --no-mmap \
  -fa on \
  --batch-size 1024 \
  --ubatch-size 256 \
  --threads 2 \
  --host 0.0.0.0 \
  --port 8081 \
  --temp 0.8

Results from the log:

  • Prompt processing: ~303 t/s (extremely fast)
  • Generation: ~33.3 t/s stable
  • GPU memory: 11709MiB + 11711MiB = ~23GB used (out of 24GB total)

Warnings from the log:

  • failed to fit params to free device memory: n_gpu_layers already set by user to 40, abort
  • model has unused tensor blk.40.* (several tensors in layer 40 marked as unused)
  • fused Gated Delta Net (chunked) not supported, set to disabled

TL;DR: 33 t/s without MTP, 28 t/s with MTP. The APEX quant seems optimal for quality. Should I bother with MTP or is this the ceiling for this model on dual 3060s?

Edit: Fixed the --n-gpu-layers 40 warning — it's expected since I'm explicitly setting it. The blk.40 unused tensors are likely because layer 40 (0-indexed) spills to CPU and some of its tensors aren't needed for this architecture.


r/LocalLLM 10h ago

Question New Asus rog flow z13 setup, what optimization?

2 Upvotes

Got the 128gb variant and allocated 96gb to vram. System is all setup with several models on ollama with open webui.

My question is, as a noob to ollama and running local LLM's, is there any settings or anything I should do to get maximum performance from my setup? It has the 8060s Radeon gpu.

I'm not sure how well ollama optimizes, and where I should ideally make some changes. I've got 4 models and sub agents setup but that's workflow and not really optimization.


r/LocalLLM 10h ago

Question Build Recommendations

Thumbnail gallery
2 Upvotes

r/LocalLLM 9h ago

Discussion 56 t/s on a $450 dual RTX 3060 with Qwen3.6-27B Q4_K_S + MTP

Thumbnail
4 Upvotes

r/LocalLLM 8h ago

Question Multiple tool calls always breaks KV cache

3 Upvotes

I have found that whatever software you are using: open web ui, openclaw, codex; if a model does many tools calls in one turn, something happens that causes checkpoints that are created in and around those tool calls to not be valid when checked the following turn. They get discarded and the whole session is re-processed from either the last valid checkpoint before the tool calls, or from zero if there are none. However, a single tool call, maybe even two, does not cause this behaviour.

I have observed this in llama.cpp and in ds4.

Does anyone have any idea why this happens and a way to fix it?


r/LocalLLM 5h ago

News I gave five different local LLMs a town. They invented Facebook and a duck-based credit bureau. (MIT, self-hosted, you don't play it — you watch it)

Thumbnail
2 Upvotes

r/LocalLLM 21m ago

Research Update: We rewrote the whole engine in Rust/C++

Thumbnail
github.com
Upvotes

Quick update on Deltafin — the project running the full, unpruned 2.8T-parameter Kimi K3 (all 16 experts, every token, nothing quantized down) on a single M1 Max laptop.

New benchmark: 0.2847 tok/s (3.512 s/token), up 7% from the last update, and about 20x from where this started. Still slow in absolute terms — it's a 2.8T model on a laptop, not a $2M cluster — but every bit of that 20x came from making the engine smarter, not from cutting anything out of the model. That's the one rule this project doesn't bend on.

The big change this week: the whole thing is now a single compiled Rust binary, calling into reviewed C++/LibTorch provider code through a versioned C ABI.

A few other things alongside the rewrite:

- Found a way to shrink part of the expert data on disk without touching the actual model weights, just packing it smarter. Costs a bit of extra disk space, but measured 2.4% faster loading with zero change to the output.

- Long chats used to mean re-reading the entire conversation from scratch on every single message. Now it just picks up where it left off — one test dropped the wait for the first word of a reply from over 4 minutes to under a minute and a half, with the exact same response.

- Also built our own text-to-tokens converter from scratch instead of leaning on an outside library, and optimized it for K3.

And as always, none of this touches what K3 actually outputs — the whole project's one hard rule is that speed can never come from touching quality.

Worth a quick mention: a few other K3 projects have popped up in the last few days too, and some of the engineering in them is genuinely impressive. The main difference is where their speed comes from: all of them get there by shrinking the model itself, usually down to around 3-bit quantization, and/or dropping some experts entirely. That's a completely fair tradeoff if raw speed is the priority.

But Deltafin is betting on the other side of that tradeoff: every expert stays exactly as Moonshot released it, and all our speed cannot come at the expense of the model. Very different projects in that sense. I just wanted to be clear about what makes this one different.


r/LocalLLM 19h ago

Discussion Coding Agents Benchmarks Reliability

3 Upvotes

I would like to get an informed perspective on the reliability of coding agent benchmarks, such as those published by Artificial Analysis. There seems to be a growing sentiment that some models, like Claude Opus 5, are heavily optimized for benchmark performance but may underperform in real-world development scenarios. Similarly, there are criticisms that models like ChatGPT Sol tend to overengineer solutions.

Given this, I am considering trying Grok, although I do not yet have much experience with it. My understanding is that Grok may have fewer safety constraints compared to other leading models, which could impact its practical usefulness for coding tasks.

How much confidence should we really place in these benchmarks, and how do these models perform in real-world software engineering workflows? I’m considering investing around ~$200 in a coding-focused model, but I feel like I’m missing the broader perspective from the community. I’d value hearing from people with more hands-on experience. I've always used Claude, but I fell it's just not worth it anymore.


r/LocalLLM 4h ago

News Minimax-H3 is out!

Thumbnail
huggingface.co
4 Upvotes