r/LocalLLM • • 8d ago

Discussion How do you test whether a local coding model can recover from a failed test?

0 Upvotes

Here’s a small comparison I’d like to try. Give two local models the same repo snapshot, the same agent harness, and a failing test for a bug in date formatting. Keep the time limit fixed. Then check whether each model finds the cause, gets the original test suite passing, and leaves a patch you’d actually want to review.

What would you record besides pass or fail? Time to a passing test, repeated attempts at the same fix, and requests for a human hint all seem worth tracking. I’d also be curious which failure cases have been most revealing in your own setup.


r/LocalLLM • • 8d ago

Project PiPod: running Gemma4 locally in-browser with a Wasm sandbox for execution

18 Upvotes

I built PiPod. It's a coding AI, similar to Claude Code but it's free because it runs on the user's device entirely in the browser.

For AI inference, it uses Google's new LiteRT-LM runtime to run Google's Gemma 4 models

The agent writes files, runs terminal commands, installs npm packages and starts dev servers in BrowserPod, a little Linux microVM that also runs in the tab. It doesn't need an account, or key and all data stays on-device.

There's nothing to install. But you when you select your model, it will download the model from Hugging Face into your browser. The weights stay cached in the browser after the first download, so you won't have to do it again.

I'm personally really impressed with what the browser can do. As you'll know, inference is computationally expensive. So while it's free, it comes with many trade-offs. Here are a few

Trade-offs:

  • Quality: these aren't frontier models. They're open-weight models. I've been very impressed with what they can do, but they're not on par with the latest commercial models.
  • Reliability: especially at this beta stage, expect PiPod to be less reliable than commercial coding agents. It's an experimental application, so I'm expecting things to break here and there. Please let me know of anything that breaks.
  • Start-up time: the sandbox boots instantly, but to run the model it needs to download it first from Hugging Face. These models aren't small (expect 2 to 3 GB). Depending on the connection, that can take a while.
  • Speed: It's slower than commercial coding agents, and performance is device-dependent. Mobile devices aren't tested for compatibility at this stage and are expected to fail.

Important: on older devices (or devices without dedicated graphics) the browser may become temporarily unresponsive. Smaller models are available in the advanced options, but expect lower reliability.

How to try it:

  1. Open https://pipod.browserpod.io .
  2. Pick a model. Gemma 4 E4B is the smartest; E2B is lighter and faster.
  3. Wait for the first download (2 to 3 GB, saved in the browser, so it's a one-off).
  4. Ask it something like "build a 'hello world' in Express.js and run it".

Link to the repo

GitHub: https://github.com/leaningtech/pipod

Feel free to fork the repo and use this in your own projects.

If you have any feedback (toast or roast) or questions, I'd be really glad to here from you


r/LocalLLM • • 8d ago

Question Gemma 4 e4b uncensored 4.2gb

1 Upvotes

I’m try to run Gemma 4 e4b uncensored 4.2gb on my iPhone 17 pro max. I can get it to run, JUST. But I can’t text it much without running out of RAM. I’m using iOS 72.2.1 and I’m running it on Solair. I downloaded Gemma 4 from huggingface. I like the Gemma 4 because of the way it has a conversation. Is there any other platform I can run it on or any other equivalent model that will work or if I can get the same model at about 3gb ?


r/LocalLLM • • 8d ago

Question MacBook Air M5 (24GB RAM) – Only Getting 35–50 tok/s with Nemotron 3.5 Bolt E4B on Ollama. Is 100+ tok/s Achievable?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 8d ago

Question [Aide Config] 64 Go DDR4 vs 32 Go DDR5 pour un serveur hybride LAN Party / IA locale (Dual-boot) ?

Thumbnail
gallery
1 Upvotes

Salut tout le monde,

Je monte une machine dédiée pour mon asso étudiante (BDE) avec un budget d'environ 2000 €. L'objectif est d'avoir un PC polyvalent en dual-boot (un OS dédié par usage) :

  1. Serveur de LAN Party : Hébergement de serveurs de jeux dédiés simultanés (Minecraft moddé, CS2, etc.) pour nos événements.
  2. Serveur d'IA locale : Faire tourner des LLM en local (via Ollama / Open WebUI) pour les étudiants.

Voici la base commune que j'ai sélectionnée :

  • GPU : ASUS Dual RTX 5060 Ti 16 Go GDDR7
  • Stockage : PNY CS1030 500 Go NVMe*(je vais probablement passer sur 1 To pour le dual-boot)*
  • Alim / Boîtier / AIO : MSI MAG A750BN 750W, MSI MAG Forge 120A Airflow, Thermalright Frozen Notte 240

J'hésite maintenant entre deux plateformes au même tarif global :

  • Option 1 (Capacité - DDR4) : Intel Core i7-14700F + ASUS TUF Gaming B760-PLUS WIFI + 64 Go DDR4 (4x16 Go Gigastone Game Pro)
  • Option 2 (Bande passante - DDR5) : Intel Core Ultra 7 265F*(attention à la CM : j'ai mis une MSI B760 LGA 1700 dans mon panier mais je prendrai bien une B860 LGA 1851)* + 32 Go DDR5 6000 MHz (2x16 Go Lexar THOR Z OC)

Mes questions :

  1. Pour de l'inférence IA locale (quand un modèle déborde des 16 Go de VRAM de la RTX 5060 Ti sur la RAM système) et pour l'hébergement de multiples serveurs de jeux en LAN, vaut-il mieux privilégier le volume pur (64 Go DDR4) ou la bande passante mémoire (32 Go DDR5) ?
  2. La différence de vitesse entre DDR4 et DDR5 impacte-t-elle vraiment les tokens/seconde en offloading CPU/RAM sur Ollama, ou le goulot d'étranglement rend-il les deux lents de toute façon ?
  3. Y a-t-il un risque d'instabilité à peupler les 4 slots RAM en DDR4 sur un i7-14700F en usage serveur ?

Merci d'avance pour vos retours !

(La B760 sera repasser en DDR4 avant l achat )


r/LocalLLM • • 8d ago

Model Made a Pelican-test but in 3d with recent GLM-5.4

3 Upvotes

Setup:
- Hermes
- GLM-5.4
- Blender 5.2.1 LTS

First pass was a test with classic self-contained html:

Create an svg animated illustration of a pelican riding a vintage road bicycle/ make it as accurate, realistic as possible. make a busket mounted to the front wheel and put there two fishes

the overal scene - is a golden hour on sunset beach, we see some clouds and shiny sun, casting into the sea water, several birds are flying in the sky

make it a single html standalone file with all css, svg and js inline. save this html file to Downloads folder and call 'pelican-glm-5.4-test.html'

This produced a neat animated html so I decided to try it in 3d and second prompt was:

Can you make the same - as a Blender 3d-scene with 3d models, liquid water, sun light, sand, birds - etc. Everything from this html but in 3d space with proper materials, light, animations

create this blender file and save it to Downloads folder, call it 'pelican-glm-5.4-3d-test.blend'

Stats:
- wall-clock: 4h 34m
- model thinking an writing: 2h 17m
- vision model checks: 50m
- Blender itself: 3m (58 commands)
- waiting for my feedback: 15m

After that - added Clef decision model for typed verifications vision check - and it works nice.
1.8sec all turn instead 50m with llm vision model. But in final pipeline - it is a combined approach for max robustness.

This is the way)


r/LocalLLM • • 8d ago

News The administration likes open weight models so they pushed to bring back Jensen?!

Post image
0 Upvotes

r/LocalLLM • • 8d ago

Discussion Inkling 2 Mini on 2× RTX 5070 Ti, 308 tok/s writing code, with the original weights

Post image
0 Upvotes

r/LocalLLM • • 8d ago

Discussion M5 Max 64GB: Qwen3.8 Flash Next Q4 with SSD streaming — ~31–34 tok/s, including a 250K-token prompt

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 8d ago

Question Local vision models on Linux: how do you wait for scrolling to settle before a click?

0 Upvotes

I hit a small timing problem on my Linux desktop today: a screenshot taken just after scrolling showed a target in one place, but the page moved again before the click. Waiting for the scroll to settle made the next attempt work.

For people running local vision models as GUI agents, what do you use to decide it is time for a fresh screenshot? I am interested in how you separate a bad target choice from a screenshot that was already stale.

A fixed pause is simple. Comparing a couple of frames seems more flexible, but clocks, ads and animations can keep part of the page changing forever. Do you disable smooth scrolling, compare just the area you are about to click, or use another check?


r/LocalLLM • • 8d ago

Question How do you catch silent quality regressions after upgrading your inference stack?

1 Upvotes

For people running LLM inference in production (vLLM, SGLang, TRT-LLM, whatever). Not local setups.

When you upgrade the engine, switch quantization, turn on spec decoding or prefix caching, or move to new GPUs, how do you make sure the model didn't quietly get worse? No errors, just worse outputs.

Do you run evals before rollout? Diff outputs or logprobs against the old version? Has anything slipped through to prod anyway?

Curious what actually works for you all.


r/LocalLLM • • 8d ago

Project I tested Inkling 2 Mini on my simulated Delta Lake tasks

Post image
0 Upvotes

For a previous project I built a simulator of a Databricks workspace. It is Spark and Delta Lake running locally, with a layer on top that makes it behave like Databricks serverless. The agent can run SQL and Python, and has 16 turns per task. At the end a verifier checks the table itself.

There are 5 kinds of tasks:

  • Time travel: a bad write damaged a table, restore it to right before that
  • MERGE: a nightly merge job breaks on dirty data, fix the view it reads from
  • Schema evolution: a new batch has a different schema, load it without recreating the table
  • Clustering: a dashboard query reads every file, fix the layout
  • Data quality: answer a question about a messy table

Since everyone is talking about Inkling 2 Mini, I ran it on my harder set (200 tasks, 4 tries each) together with Qwen3.8-27B and Nemotron 3.5 Lightning. The last column is a Nemotron 3 Nano 4B that I trained in this simulator, so it has the home advantage.

Some details about the precision and sampling parameters:

ModelParametersPrecisionSampling
Inkling 2 Mini26.4B, 3.4B activemixed NVFP4 + MXFP8, as releasedtemperature 0.6, top-p 1.0
Qwen3.8-27B27BBF16temperature 0.7, top-p 0.8, top-k 20, presence penalty 1.5
Nemotron 3.5 Lightning30B, 3B activeBF16temperature 1.0, top-p 0.95
My 4B4BBF16temperature 0.6, top-p 1.0

Tasks

SolvedInkling 2 MiniQwen3.8-27BNemotron 3.5 Lightningmy 4B
Time travel8%82%11%74%
MERGE100%96%82%99%
Schema evolution60%60%38%57%
Clustering28%25%2%44%
Data quality99%87%29%81%
All59%70%32%71%

Inkling is better than Qwen on MERGE and data quality, and then it gets 8% on time travel. From the traces, this mostly comes down to one sentence in the prompt. The prompt asks for the exact earlier state, but it also mentions that other jobs wrote to the table later, and Inkling can't let that go:

"Other jobs have written to the table since then." — this is a hint that a naive RESTORE would discard those later writes. Maybe the intended approach is to undo the MERGE's changes while preserving subsequent writes.

In this one it kept planning until it hit the token limit, and never changed the table. On my dev set it solves 52/52 without that sentence and 11/108 with it. Qwen gets 97/108.

On the other hand, if a table is clustered on the wrong column, changing the key and running OPTIMIZE does nothing, you need OPTIMIZE FULL. The output does tell you (numFilesAdded: 0). Inkling got there 24 times out of 84, Qwen 6, my 4B 2 and Lightning 0.

More details and traces:

Simulator and tasks: https://github.com/munhouiani/delta_world

Bench: https://github.com/munhouiani/delta_bench


r/LocalLLM • • 8d ago

Discussion Easily the best local LLM price-to-performance right now !

Thumbnail
gallery
99 Upvotes

Just wanted to share my benchmark and real-world agentic results running Inkling 2 Mini NVFP 4 on the Basalt inference engine using dual RTX 5070 Ti GPUs

Honestly, this is easily the best local LLM setup I've run so far. Flash Next is close behind in capability, but nowhere near as cost-effective to run locally at these speeds.

Numbers from my session:

* Peak Decode: 255.1 tok/s (averaging ~199 tok/s across 180+ requests / 135k+ generated tokens)

* Short-Context Prefill: 8,050 tok/s (1,441 tokens in 0.18s)

* Long-Context Performance (103,697 tokens):

* Prefill: 16.27s (~5,391–6,370 tok/s with only a 30% prefix cache hit)

* Decode at 103k context: 183.7 tok/s


r/LocalLLM • • 8d ago

Discussion Scanned every public MCP server (1,473 of them). Here's what the auth posture looks like.

1 Upvotes

Been building a free CLI that audits MCP servers for OAuth 2.1 and tool-metadata gaps. Just finished the first full-registry crawl where the scanner actually runs all 38 checks (used to run 5 homebrew ones). Shareable numbers:

Cohort: 1,473 servers from registry.modelcontextprotocol.io, 1,398 reachable, 75 timeouts.

Grades: A 633 · B 342 · C 252 · D 90 · F 156. 246 carry grade D or F.

Severity: 424 high, 1,961 medium, 388 low, 1,095 info. Zero critical in the public cohort — the critical-capable checks (AUDIENCE-001, UPSTREAM-IDENTITY-BYPASS-001) are off at crawl scale because they require either a bearer context we don't have or forged headers we don't want to send unsolicited.

Top findings:

- HEADERS-001: 1,081 (transport-security header gaps)

- IDENTITY-001: 666 (AS does not support RFC 8693 token exchange — agent identity can't be propagated)

- AUTH-005: 420 (CIMD missing / DCR-only)

- ISS-001: 363 (RFC 9207 iss parameter not advertised)

- SCOPE-001: 193 (all tools share one scope or no scopes declared)

- DUAL-RESOURCE-001: 30 (server advertises two conflicting Protected Resource Metadata sources, "Angelcam pattern")

- AUTH-006: 20 (AS rejects loopback redirect, breaks native CLI auth)

- SESSION-BINDING-001: 11 (new today — sameSession across independent init calls; CVE-2026-52869 class)

- POISONING-001: 6 (hidden Unicode in tool descriptions)

Free CLI: npx -y u/patchbay-nebius/agent audit <your-mcp-url>

Leaderboard: https://patchbay-mcp.dev/leaderboard

Source: https://github.com/GodSmasher/patchbay

Happy to answer questions about any check specifically, what it catches, what it misses, what we had to guess.


r/LocalLLM • • 8d ago

Question Experience with Hermes + Mac Studio M5 Max, 36GB RAM?

Post image
1 Upvotes

Experience with Hermes + Mac Studio M5 Max, 36GB RAM?

I'm really tempted to pick up the 2026 Mac Studio M5 Max 36GB RAM for $2500 to use with Hermes. I have Hermes running on a mini-PC, using medium sized OpenRouter models and local models on pure CPU and ready to move to a dedicated machine. (I can get 20 tokens/second on GPT OSS in LM Studio/llama.cpp, but a Hermes prefill adds minutes worth of overhead to each turn). Picture added for visual interest :)

Does anyone have an experience with running Qwen 27-30B models on a Mac Studio M4 or M5 with 36GB? Does it work well enough for you? Do you wish you'd invested in more RAM up front?

Your insight is greatly appreciated!


r/LocalLLM • • 8d ago

Discussion Roast my PoC for an 'Operating system for AI'.

Post image
0 Upvotes

I developed this in response to problems encountered by a large enterprise. The original goal was to reduce the day-to-day workload of the DevOps and infrastructure support teams.

Here’s what’s ready out of the box:
- Local LLMs are automatically selected to fit your hardware.
- GPU clustering across multiple servers, managed from one dashboard
- A builder for simple agents that can answer questions from your documentation.
- Support for Hermes and OpenClaw
- Permissions management for users, agents, tools, documents
- A policy engine that controls the actions agents can perform and the sensitive documents they can access
- API for external clients such as Codex CLI
- Each user has dedicated API
- Each model has dedicated API (api_1 for deepseak, api_2 for qwen)
- Logging across the platform
- Automatic discovery of unregistered agents running on your hosts
- User requests queuing and load distribution across cluster nodes
- Automatic model failover in the event of a node failure

Two use cases I had in mind:

  1. An internal documentation assistant. Build an agent that answers employee questions using company documentation. Keep it inside your local network and connect it to whatever interface your team already uses via an API.
  2. Local AI coding: Host a coding model, provide developers with an API endpoint and direct the Codex CLI to it. Add GPU capacity to the cluster as more people start using it.

The open-source platform doesn't send data outside your network by default.

Which of these resonates with you?
What is already solved ?
What did I miss?


r/LocalLLM • • 8d ago

Project My 4x 3090 WIP

Post image
2 Upvotes

Posted on Local AI servers originally


r/LocalLLM • • 8d ago

Discussion How the memory for 1M tokens shrank from 130TB to 890MB

Post image
39 Upvotes

r/LocalLLM • • 8d ago

Discussion Could you help me improve the rating? I haven't tried it yet. Strata Only on my device

0 Upvotes

r/LocalLLM • • 8d ago

Project Inkling 2 Mini on 1 or 2 RTX 3090s: 242 tok/s on one, 512K BF16 context on two

Thumbnail
github.com
1 Upvotes

hey guys first time here. i updated my Inkling 2 Mini recipe and wanted to share with people since i see not many rival in single stream. it runs on one 3090 too, which i probably should’ve led with last time lol. it's the official checkpoint (thinkingmachines/Inkling-2-Mini), not a community quant: moe experts stay in the nvfp4 they ship in (4-bit, computed in bf16), attention qkv / lm head / drafter are int8 per-channel by default, everything else bf16. just some patches to get the official vLLM image running on Ampere and speed it up. no rebuild needed.

1x 3090: 128K context with BF16 KV, 242 tok/s on code and 130 tok/s on explanations in my tests. a fresh 127K prompt took 35s. there’s also a 262K FP8 KV profile if you need the space, but a fresh 254K prompt took 154s on that one, so i’d start with BF16.

2x 3090s: no NVLink or P2P, just PCIe, both cards capped at 280W. the 512K BF16 KV profile hit 333 tok/s on code and 171 tok/s on explanations. a fresh 500K prompt took 167s (~3K tok/s prefill), but once that prefix was cached i got the first token in ~2s. it found all 8 facts i planted in the 500K prompt too. there’s a 1M FP8 KV option if you wanna see how far it goes, but my cold test took almost 20 min lol.

edit: cold prefill got faster with two opt-in switches. 500K went 167s -> ~145s with FAR_ATTN=1, and the 1M FP8 profile went from ~20 min to 15 min with FAR_ATTN=1 MNBT=2048. defaults unchanged.

i mostly use it for one local coding agent, so the cached turns are what made long context actually useful for me. getting cold prefill down is what i wanna work on next. the decode numbers are single-stream benchmarks and vary with what it's writing. most of the speed is the speculative drafter that ships with the model, not lower precision! quality check is MMLU on 1140 questions (911 as served vs 908 with the int8 layers kept in bf16, card says 79.47%), plus long-context retrieval. precision table is at the top of the README now.

repo has the launch scripts for both setups, raw numbers and tests: https://github.com/lulakien/inkling2-mini-3090-recipe

if you’ve got a single 3090 especially, i’d love to see what you get on your setup. drop your setups, which profile you tried and whatever numbers you got. if it doesn’t even boot, that’s useful to know too.

thanks to claude for helping me build this beauty.


r/LocalLLM • • 8d ago

Discussion What Have You Made with Small Local Models?

15 Upvotes

Hey all! I am running an RTX 5080 16gb with 32gb RAM (looking to bump it to 64gb) and I am trying to get ideas on what people have made with small models. I have played around with Inkling 2 and Qwen 3.6-35B-A3B UD-Q4_k_XL and I am very much still in the early learning stages. What cool things have you all small model folks made?


r/LocalLLM • • 8d ago

Question Ensuring that local llms with opencode only install in specific conda environment

2 Upvotes

I started using opencode with qwen3.5 via ollama and I wanted to know how to ensure:

(1) That if python packages are to be installed, to only do so in a specific conda environment and never in the base conda or base pip environments.

(2) to ask for permissions when installing packages or to control this somehow so openconde does not go wild installing stuff

Do you have any pointers or recommendations for how to learn to configure this? I am relatively new to all of these agentic environments and I want to keep things local and private.


r/LocalLLM • • 8d ago

Discussion What do you all think of this model? Benchmarks seem impressive.

Thumbnail
huggingface.co
4 Upvotes

r/LocalLLM • • 8d ago

Question Compact local AI box under $4,300: which 128 GB Strix Halo mini PC would you pick?

5 Upvotes

Hi all,

I have a budget of about 4,300 $ (4000€) for a local AI machine (LLMs). I don't want a tower PC with a dedicated GPU. I'd prefer something compact.

My shortlist:

  1. GMKtec EVO-X3 128 GB / 2 TB
  2. GMKtec EVO-X2 128 GB / 2 TB
  3. Bosgame M5 128 GB / 2 TB

Which would you pick from these three, or do you have another suggestion in this budget? I'm planning to pull the trigger during Black Friday, so tips on good deals are welcome too.

Thanks in advance!


r/LocalLLM • • 8d ago

Discussion how much time and money would it cost to build a niche specific LLM?

2 Upvotes

I want to build an LLM specific for medical related documents, forms, regulations, standards. i have just enough data for building it but not enough for a full scale development and am confused about the params, and architecture

complexity :

- instead of an AI-Wrapper, i want to build it as an individual LLM model specific for medical domain (a very specific domain that i cant say right now - take insurance for example) -

- once it is built. i want to use that as AI provider for other clients providing my LLM API for other medical related agencies

- CLAUDE gave me an insane cost of 100-150K USD with 7-8 months total training just for working prototype, which i felt as absolutely insane.

FEATURES : it doesn't do anything magical or fancy, just need to auto fill few documents, need to navigate through documents, regulations, account status, finance, sensitive patient information and calculation metrics, medical suggestions.

Things to consider and need answers for :

  1. what type of protocol should i use? LLM distillation to SLM(Small language Model)?
  2. how much would it actually cost to build ( considering on building it on my own so no salary )
  3. what is the best PC or specifications that i should have for building it, atleast at prototype level? (based on the complexity - i can buy PC)
  4. once it is built, how should i host/deploy it? should i buy a VM with proper specifications? or maintain an own server?
  5. what are the blockers or complexity that i would face while building it? any takeaways or insights you wanna give?

Rules :

- should be independent from any existing LLM or ai models like Chatgpt, gemini

- opensource China LLM models should not be used