r/LocalLLM • • 6m ago

Question Empezando a usar IA local

• Upvotes

Es mi primera vez escribiendo un post aquí.

Estoy aprendiendo a usar IA local usando docker, n8n y ollama. intente hacer un bot con telegram aun que aun no lo he conseguido del todo.

Mi duda es si está bien empezar con un bot así o con que me recomiendarian comenzar?

Realmente tebia pensado en usarlo en el dia a día, ya sea para que lleve la cuenta de lo que he gastado en el dia y me haga un resumen por mis y darme cuenta de mis habitos y gastos hormiga., solo por poner un ejemplo.

R7 5700x

Rx 9060xt 16gb

Ram 48gb 3600mts

Ssd samsung evo 980 pro 1tb


r/LocalLLM • • 1h ago

Research got tired of Reddit having zero "how do I actually start with Strata" guides, so I wrote one.

• Upvotes

Well actually i got Qwen3.8-Flash-Next to write one cause i cant read or write anymore, its all gone.........

Strata (the Qwen3.8-Flash-Next inference engine) has a ton of benchmark posts and a ton of "can I run this on my specs?" questions — but no beginner guide. So here's the last three weeks of post condensed, don't waste your time reading it dummy just ask for the summary cause that's all we do now.

Don't moan if you find mistakes, cause i didn't read it all as well !

Where everything in this came from: (r/LocalLLM, r/LocalLLaMA, r/Qwen_AI and friends, last three weeks), the official repo docs (README, INSTALL, MODELS, HOW_IT_WORKS, COMMUNITY_BENCHMARKS, TROUBLESHOOTING), the GitHub release notes up to v0.1.44.1, the big HN thread, the Bodega One walkthrough, and Artificial Analysis for independent model scores. Plus my own benchmarks on my machine (RTX 5090, 128 GB RAM) — every number in it is tagged so you know whether it's an official claim, a community report, or a measured test.

What's in it: what Strata actually is, what to run for your RAM, install-to-first-answer steps, the settings that matter, hardware tables, its rough edges (the quant-quality argument included, not hidden), and an annotated reading list instead of a link dump.

(Skip to the section you need: 1) what it is 2) what it does 3) install 4) settings 5) performance 6) rough edges 7) reading list 8) verdict)

1. Strata in five minutes

Strata runs one very large AI model — Qwen3.8-Flash-Next — on an ordinary gaming PC. The model normally needs 100+ GB of VRAM; a gaming PC has 12–32. Strata's trick: spread the model across GPU + system RAM + CPU + SSD working in parallel instead of forcing it all onto the graphics card. Result: a smart, private assistant, no subscription, no internet, nothing leaves your machine.

What's different about the approach:

  • The model is a mixture of experts (MoE): 125 billion parameters, but only ~6 billion activate per word — 10 experts get consulted per word out of 24,576. Knowledge of a huge model, compute cost of a small one. [Official]
  • Adaptive expert cache: the GPU keeps a few thousand of the most-used experts and learns which ones matter while you chat; RAM holds all of them; the CPU computes the overflow at the same time as the GPU. SSD holds a 29 GB lookup table, read a few rows per word. [Official]
  • Guess-then-check (speculative decoding): a small built-in drafter guesses the next few words; the big model checks them in one pass. Same answers, 1.6–1.8× sooner. [Official]
  • Most tools (llama.cpp, LM Studio) are general-purpose. Strata is purpose-built for this one model family. The official same-GPU comparison: 2.5–3.5× writing speed and 5.5–7× prompt-reading speed vs llama.cpp on the same RTX 5090, because llama.cpp shuttles expert data across PCIe every word. [Official]

Who it's for: anyone with a gaming-class PC (12 GB+ GPU, ideally 64 GB RAM) who wants a capable offline assistant or a local brain for coding agents instead of per-token API bills.

Where it stands today: usable with caveats. v0.1.x, ferocious development pace (v0.1.40 → v0.1.44.1 in about two weeks, almost every release with real speed gains). 936 points on the 4 Oct HN thread. But: essentially one maintainer, occasional regression releases (0.1.44 broke older CPUs/non-M4 Macs, fixed in <24 h), and it runs essentially one model family. Excellent, fast-moving beta software. [Atlas rec]

2. What can you actually do with it?

Available now (0.1.44.1) [Official]

  • Browser chat at http://127.0.0.1:8080 + a live Monitor (GPU/CPU/RAM, tok/s).
  • Standard API: OpenAI-compatible /v1, Anthropic-style /v1/messages (Claude Code), /v1/responses (Codex CLI). Any chat app or coding agent can plug in.
  • Vision (images) optional.
  • Long documents: native 262K-token context, prompt reads at 1,600–8,500+ tok/s depending on hardware. My test: 128K-token codebase read in ~15 s on the 5090. [Measured]
  • Multi-GPU, LAN serving with API key, MCP server so AI tools can start/stop Strata.
  • Model variants: Coder (32 GB RAM), Swift 1.5 (thinks 63% less, ~1.8× faster), Unsloth 4–8-bit files, NVFP4 packs (RTX 50-series), and since 0.1.44 Qwen3.6-35B-A3B too.
  • BENCH.bat = 5–10 minute self-benchmark that writes a report in the repo's community format.

Planned/speculative [Official]: image generation (endpoint in preview, off by default), speed-projection tool (disabled), Intel Arc + Strix Halo (community, build-from-source), >262K context (community reports ~500K; not supported).

Use Strata when: you have the RAM/VRAM and want the biggest open model your box can hold, you work with huge contexts (whole codebases — reading is where its lead is largest), or you want a local coding agent running unattended.

Use something else when:

  • A model that fully fits your VRAM is simpler and often faster. A 30–35B MoE (Qwen3.6-35B-A3B) does 270–380 tok/s in plain llama.cpp at near-identical quality on a community 5-test average (93.3 vs 93.9). [Community]
  • Multiple users / parallel agents: Strata is one-request-at-a-time by default. HyperQwen (vLLM fork, dense 27B) hits ~380 tok/s across 8 users. [Community]
  • <32 GB RAM or <12 GB VRAM: run a 27B at Q4 in LM Studio instead.
  • You want the best answers period: quantised local ≠ frontier cloud.

Is the model actually smart? Artificial Analysis: 39.8 Intelligence Index, rank 6/117 in size class, ~2.2× the median comparable. [Verified tracker] Vendor coding numbers: SWE-bench Pro 62.5. [Vendor] Honest weak spots: those are full-precision scores — you'll run a reduced quant — and the same tracker logs 45.3% hallucination on factual recall. It reasons well, invents specifics. Verify facts. [Tracker]

3. Getting started

Prerequisites [Official]

Component Minimum Recommended
GPU RTX 20/30/40/50 or listed AMD RX 6800–9070/AI PRO R9700, 12 GB VRAM 16–32 GB VRAM (each extra GB ≈ +700 resident experts)
RAM 32 GB (Coder model) 64 GB = all standard sizes; 96–128 GB unlocks 4-bit sizes
Disk ~80 GB free NVMe strongly preferred
OS Win 10/11 or Linux, current driver Native, not WSL (WSL slower, disables KV RAM-streaming)

RAM decides which size you can run — check RAM first. Macs exist (Metal) but are pioneers, not the target audience.

The simplest beginner setup: 64 GB RAM + any 12–16 GB card → installer recommends IQ2_XS → press Enter through everything. The defaults are deliberate.

Step by step:

  1. Close big apps; check free RAM (you want nearly all of it).
  2. Download the repo (zip or git clone).
  3. Windows: START-HERE.bat. Linux: ./setup.sh.
  4. Answer the prompts — Enter = recommended each time.
  5. It downloads the model (~70 GB; if the download drops, rerun — it resumes).
  6. First start loads 35–55 GB into RAM: your PC looks frozen for 1–3 minutes. This is normal. Wait.
  7. Browser opens at :8080 → type a question → answer appears → it works.
  8. Monitor tab: check tok/s against the section-5 tables.
  9. Optional: BENCH.bat to baseline your machine.
  10. Hook up apps: point them at http://127.0.0.1:8080/v1 as OpenAI-compatible. LAN? --host 0.0.0.0 always with --api-key.

Common beginner mistakes [Official docs + Community]:

  • Size bigger than your RAM → endless disk churn, 7–8 tok/s crawl. Symptoms = pick smaller or close programs.
  • Panicking at the first load and restarting it. Wait 10 minutes.
  • Running from Task Scheduler defaults → 13–14 min startup instead of ~35 s (Windows throttling; documented overrides exist).
  • Running under WSL for "speed" — it's slower and disables a long-context feature.
  • Thinking "port 8080 in use" is an error — Strata is already running.
  • LAN without an API key = an open model for the whole network.
  • Comparing other people's tok/s without matching quant + context (headline numbers are always the smallest quant).

4. Settings worth understanding

Setting What it does Effect
Quant (Q2_0 → IQ2_XS → IQ3_XXS → IQ3_S → 4-bit) How hard the model is squished Biggest lever. Each step ≈ +15–21% speed, less RAM. Official agreement-with-full-precision: IQ3_XXS 84.5%, IQ3_S 87.7%, 4-bit 88.9–93.1% [Official]
Context length Working memory ~1.4 GB per 128K tokens of KV cache at defaults; 64 GB boxes cap big sizes at 128K
Reasoning effort (off/low/med/high) How long it "thinks" Biggest everyday lever. Official puzzle test: off = answered in 6 s; high = blew the cap with 5,600 chars of reasoning and no answer [Official]
--batch N Parallel requests Costs speculative-decode boost (11–24% slower per answer on 12 GB cards). One user? Leave off
--kv format Conversation-cache memory int8 = safe. k8v4: −23% memory → measured 85→99 tok/s on a 3090 at 198K ctx [Community]; q4_0 slightly faster but measurably worse long-doc scores [Official]
--kv-resident Above ~64K tokens keep cache in RAM +23% measured on big contexts; not under WSL [Official]
--mtp Speculative drafter Keep on unless ≤8 GB VRAM (dropping it frees ~1 GB for experts — can win on tiny cards)
--calibrate Auto-tunes expert-split, drafter threshold, CPU threads Run once per PC+model; keeps only >3% wins. Beats hand-tuning [Official]

Leave at defaults: KV format, spec decode, parallel slots, prompt cache. Drop reasoning effort to low/off for agent/tool steps; high is fine for chat.

5. Hardware and performance

Rules: "writes" = answer speed, "reads" = prompt ingestion — ~20× apart, never comparable. Match GPU + quant + context before comparing anyone's numbers. [Atlas rec]

Table A — official figures (engine 0.1.26–0.1.36) [Official]

Machine Q2_0 IQ2_XS IQ3_XXS IQ3_S writes/reads tok/s
RTX 5070 12 GB, R5 7600, 64 GB 94/2,650 79/2,090 62/1,750 53/1,620 Coder 55/2,180
RX 9070 XT 16 GB, 3900X, 47 GB 60/1,160 52/1,110 — — Coder 44/1,420

Table B — measured on my box: RTX 5090 32 GB + 128 GB RAM, 14–15 Oct [Measured]

Size Writes (median, short → 128K ctx) Reads 128K prompt Peak RAM
NVFP4 GPTQ 4-bit 146.5 → 152.5 8,535 tok/s (~15 s) 89 GB
Unsloth UD-Q4_K_XL 132.7 → 138.8 6,255 tok/s (~21 s) 96 GB

3 runs per point; quality screen effectively tied (34/42 both). Not a general-intelligence proof.

Table C — community reports (user-run, not controlled) [Community]

  • RTX 3060 12 GB + 64 GB: usable at all four sizes, recall + HumanEval checks pass (official repo report)
  • RX 9070 16 GB + 5800X3D: 57.9–58.7 tok/s at 4K–128K, needles 6/6
  • Strix Halo laptop (no GPU, 128 GB unified): 42–59 tok/s, 15/15 needles at 70 W
  • 2× V100 16 GB on X99: 30–40 tok/s, ~1,000 prefill
  • 2× Tesla P40 (2016 cards): 35 tok/s — ~$200 in cards
  • 4× modded 3080 20 GB: 105 tok/s, 150K context
  • 5070 Ti 16 GB + 64 GB, week of DevOps: ~half the wall-clock of a full-precision API model; --calibrate +25% decode
  • "$1000 Local AI Build with Strata" (11 Oct): the closest Reddit gets to a setup guide
  • 8 GB laptop / 12 GB+32 GB reports: community keeps pushing under the official floor, usable but with caveats

Recurring caveats: dual-GPU card order matters on some boards; spec-decode fails on some multi-GPU/RAM-light builds; sub-4-bit quants "overthink" simple problems per several testers.

Min vs recommended: minimum 12 GB GPU + 32 GB RAM (Coder/Q2_0). Sweet spot 12–16 GB GPU + 64 GB RAM → 50–80 tok/s. Comfort 24–32 GB GPU + 96–128 GB RAM → 4-bit sizes fully resident, 100–160+ tok/s. More VRAM beats a faster CPU — same quant does ~62 tok/s on 12 GB vs ~105 on 24 GB. Windows vs Linux on NVIDIA: no real difference (the "Windows 1.5× slower" test was retracted by its author as a compositor artifact). [Community, retracted]

6. Limitations and rough edges

  • One model family (plus Qwen3.6-35B since 0.1.44). Want others → llama.cpp. [Official]
  • One request at a time by default; batch slots cost speed on small cards. [Official]
  • Very long first prompt = full read every session start (~1 min per 30K tokens on modest hardware). Follow-ups cached. [Official]
  • UD-Q4_K_XL crawls on 64 GB RAM (7–8.5 tok/s) — 4-bit files need ~96 GB+. [Official]
  • AMD Windows vision is CPU-only and benchmarked less accurate than llama.cpp with same weights. [Community]
  • NVFP4 = NVIDIA-only, really wants RTX 50-series tensor cores. [Official]
  • No macOS main path; WSL underperforms. 262K+ context unsupported on consumer configs.
  • The quant-quality argument, honestly: the dev's own test shows even IQ3_S agrees with full precision only 87.7% of positions; some users report IQ2/Swift quants wandering off-topic mid-reasoning [Community]; another ran IQ2_XS for a week of DevOps and called it near-parity [Community]. Bigger RAM = less compromise. [Atlas rec]
  • Verbosity: Flash-Next generated 240M tokens in its own eval run (140M median for peers) — part of its measured intelligence comes from thinking out loud, which is also why reasoning-effort swings latency so much. [Tracker]
  • Unproven: multi-year maintenance (bus-factor ~1, though community forks exist), non-technical-family usability, how it ages against whatever Qwen ships next. [Atlas rec]

7. The best resources (annotated, not a dump)

  • Best beginner overview: the project README — plain-English explanation, real speed tables for two gaming PCs, which size for your RAM. Unusually honest (publishes its own numbers with engine versions). github.com/Niko1221/Strata [Official]
  • Best setup guide: docs/INSTALL.md — every flag, update path, Docker, multi-GPU, older CPUs. There is no better independent step-by-step than the repo's own; AI users get a paste-ready docs/AI_SETUP.md. [Official]
  • Best third-party walkthrough: "How to run Qwen3.8-Flash-Next on a gaming PC with Strata" — Bodega One, calm 8-minute guide with the RAM-first sizing table and caveats up front. They sell a competing tool, so not neutral — they say so themselves. bodegaone.ai [Community]
  • Best settings explanation: docs/MODELS.md + docs/DETAILS.md — every selectable size vs RAM, then every measurement with engine version. [Official]
  • Best hardware comparisons: docs/COMMUNITY_BENCHMARKS.md + the bench/results folder — structured community reports (GPU/CPU/RAM/driver/engine per entry) from RTX 3060 to 5090, AMD, dual P40/V100, Strix Halo. BENCH.bat writes new ones in the same format. [Official collection]
  • Best technical explanation: docs/HOW_IT_WORKS.md (+ the paper in docs/paper/) — two pages, kitchen analogy first, then the precise GPU/RAM/SSD division of labour. Best explanation anywhere of why a MoE runs on a gaming PC at all. [Official]
  • Best troubleshooting: docs/TROUBLESHOOTING.md + GitHub issues — covers the four things that actually break; the maintainer ships fixes credited to reporters within days. [Official]
  • Best place to track updates: the Releases page — ~weekly, each note is a mini-benchmark with "defaults that changed" sections. [Official]
  • Best community discussion (skeptic included): the HN thread, 936 points, 420+ comments — owner benchmarks, quant scepticism, practical tips. news.ycombinator.com/item?id=49953495 [Community]
  • Best ongoing Reddit signal: r/LocalLLM search "strata" — densest cluster of real-hardware reports; read alongside "Flash Next vs 27B — The hype vs the truth" (13 Oct) for the reality check. [Community]
  • Category with no good resource yet: a neutral, controlled quant-quality comparison against the full model. The agreement percentages above are the developer's own test (rerunnable: tools/quant_quality.py). Nobody independent has published one. Until then, weigh quant-quality claims accordingly.

8. Bottom line: should a beginner try it now?

Yes — if your hardware clears the bar. With 64 GB RAM + 12 GB+ card, Strata is the only thing that runs this class of model on a gaming PC, privately, at reading speed, and the default path is literally Enter ×4. The caveats are mostly about the model (quantised quality, verify facts, one user at a time) more than the software. [Atlas rec]

No — if you're under 12 GB VRAM / 32 GB RAM (27B in LM Studio instead), you need parallel users (vLLM/HyperQwen), you want a maintained product rather than fast-moving OSS, or "best answers" beats "local and private" (cloud still wins). [Atlas rec]

Start-here checklist:

  1. ≥12 GB VRAM, ≥32 GB RAM (64 ideal), ~80 GB SSD.
  2. Pick by RAM: 32 → Coder · 64 → IQ2_XS (or IQ3_XXS if patient) · 96+ → IQ3_S / 4-bit.
  3. START-HERE.bat / ./setup.sh, Enter through defaults.
  4. Wait out the 1–3 min first load.
  5. Test at :8080, check Monitor against Table A.
  6. --calibrate once, BENCH.bat once.
  7. Only then wire up apps at /v1; drop reasoning to low/off for agents.

Read first: ① the README (10 min, answers 80%) ② the HN thread (scepticism + real numbers) ③ HOW_IT_WORKS.md (makes everything else obvious).

Every factual claim is tagged [Official]/[Measured]/[Community]/[Vendor]/[Atlas rec]; my measured numbers are RTX 5090 32 GB + 128 GB RAM, engine versions named, sources checked 16 Oct 2026.


r/LocalLLM • • 1h ago

Discussion Your local model has a version number. Does your harness?

• Upvotes

Every rig people show off here has a model with a version: a quant, a date, a filename you could go back to. Almost none has that for the harness the model runs inside.

By harness I mean the skills, rules, prompt files and compaction settings around the model. On a rig like that they change more often than the model does, some by you and some by the agent after a bad run. When a result gets worse next month you can roll the model back to the exact file. You can't do that for the harness, because it was never a version, only a folder.

The fix is small and doesn't touch the GPU. A change to a skill or a rule is a candidate; the current tree and the candidate tree run the same tasks with the same model; only a winner is published, as a release the harness runs from; rollback is publishing an earlier release again, and the history stays in order so you can see which change went in when.

It's a layer over the config files the harness already keeps (pi, OpenCode, DSH and Hermes all keep theirs in files), so the rig doesn't change and the folder becomes a series of releases. The one I use is reef; it picked up 1,721 stars in its first fifteen days, so I'm clearly not the only one with this itch.

The question I'd put to this room: when your local model beat the cloud one on your tasks, which version of your harness was that, and could you get it back?


r/LocalLLM • • 1h ago

Question Recommendation for AI Models

• Upvotes

So guys I have a AMD Radon RX6800M with 12GB VRAM and Processor is also AMD Ryzen 5 series....I want suggestions on what would be a completely free to use setup (maybe like LTX or something similar but that shouldn't burn my GPU :)


r/LocalLLM • • 2h ago

Other Tumbleweed vs. Leap 16.1 for CPU LLM Inference: Why my "Modern Hardware" and Tumbleweed assumptions were totally wrong

Thumbnail
2 Upvotes

r/LocalLLM • • 2h ago

Question Need finding a model

1 Upvotes

Hi guys, does anyone remember a GGUf from around 2023-2024 that had the image of a typewriter on fire or melting as its hugginface image?


r/LocalLLM • • 2h ago

Discussion A dumb and pointless story about trying a cloud model after being fully local for a month

11 Upvotes

I have been using Qwen 3.8 Flash next on a strix halo box for a month. At work, my coworker was setting up a kiosk (Android tablet serving a vibe coded Web UI/map/directory) to welcome new visitors to the office. He was having trouble with some layout stuff in the UI so I turned on Wireless Debugging on the kiosk and paired it to adb running on my own phone, which my PC back home as VPN access to. My local agents were busy with other projects so I started a Claude Code session to fix the layout issue.

Another coworker came up, and in the "find a place box" he typed "help I have gas"

On a whim, I went to the Claude Code session and typed "Display a page that says [Coworker] has gas". At that point, Claude had already established a method to push changes to the Kiosk using adb on my phone as a bridge.

After a month of being fully local, staring at "pre-fill" for sometimes up to five minutes, I thought Claude Opus 5.5 would be so fast that it would instantly get be able to whip up an index.html.... You can see where this was going. After 5 minutes of "Ka-blowing... ↑ 5.5k ↓1M" or whatever it FINALLY started to output stuff... wanting to do a bunch of other tests etc. Some 20 minutes after my coworker left, a sad screen popped up saying "[Coworker] has gas".

I'm not saying Opus 5.5 is not capable. It's done some impressive stuff for me. What I AM saying is I spent a month going "Ooooh one day my set up will be blazing fast like Claude was" Only to realize, Claude really wasn't that much quicker!

It was really jarring after a month of fantasizing about "one day" getting back my Max plan and flying through stuff...

Anyway, you're never getting the last 3 minutes of your life back if you made it this far. Thanks for reading my TedX Talk on Super Intelligence


r/LocalLLM • • 2h ago

Model Someone please help with your own experience (not someone’s performance numbers)

Thumbnail
1 Upvotes

r/LocalLLM • • 2h ago

Question Chat interface for family members

1 Upvotes

Hey Local runners, I run Hermes for my own work use, but it's a bit heavy for daily chat use. I want to give family members a chat interface. It could be a local hosted one that has multiple user logins, or it could be a local interface they can install and I can set up with provider link and token. The goal is to replace their web usage with private LLM, robust memory and skills and web search capability.


r/LocalLLM • • 3h ago

Question Check out 820GH-TNR2 Supermicro AI 8U 12x2.5" w/6x PSU 8x Intel Gaudi2 96GB GPU (1yr warranty)

0 Upvotes

thinking about selling 2 5090s and picking up 768gb of vram??? to run multiple agents. Thoughts?


r/LocalLLM • • 3h ago

Research Successfully running DeepSeek v3.1 671B Terminus on MacBook Pro at 3.6 tok/sec

0 Upvotes

After a bit of work starting from slipstream, I'm running DeepSeek v3.1 on my MacBook pro. The laptop is 128GB/8TB M5 Max, and the technique is using a heavily modified slipstream llama.cpp base to cache the MoE experts to disk, calling them in as they change, and giving already in-RAM experts a -0.1 bias in the MTP router (which doubles the cache hit rate for an extremely slight increase in perplexity amounting to less than quantization). I'm using a custom model format derived from GGUF designed to slot the MoE experts directly into RAM without overhead and to use variable quantization; the fixed layers use BF16 (scaled up from the INT8 original model) and the expert layers use INT4. So far its working extremely well and generating a somewhat usable 3.6 tokens/sec.

Let me know if you have interest in playing around with it.


r/LocalLLM • • 3h ago

Question Trying to upgrade my gaming PC to be able to also do compute, mainly coding/RP RPGs. Looking between a second RTX5070ti (CUDA, compat, speed), Arc Pro B70 (size, cost), and R9700 (size, compat).

2 Upvotes

Current setup is a Z890 Max Gaming WIFI7 motherboard, RTX5070ti, Ultra 7 265KF, 32GB DDR5-6000 CL30 RAM, 2TB SSD, 1000w Apevia PR1000w PSU.

Should have 2 PCIe-4.0x16 (x4) slots open. Also considering getting another identical 2x16gb set for 4 sticks, but they’re $530 rn, so I may hold off since I probably gotta replace the PSU, which is 150-200 as well on top of GPU.


r/LocalLLM • • 3h ago

Question How to use Splash models via external Splash-m1 on oMLX 0.7.1

Thumbnail
1 Upvotes

r/LocalLLM • • 3h ago

Discussion 600+ hours building a fully local AI assistant at home, mixed NVIDIA/AMD, 4 machines, and a judge model that grades my coder

Thumbnail gallery
0 Upvotes

r/LocalLLM • • 4h ago

Discussion Qwen3.8-27B on a 3090 @ 151tok/s single-stream, bit-exact speculative decoding, full 262k context with a 6/5-bit KV cache

2 Upvotes

Started off just curious after seeing the post claude is going to reference below turned into a multi-day lock on my desktop while opus and fable experimented with my 3090 this was the result and I am honestly pleased with it and would love to see other's benchmark this and reproduce my results(or not). I am going to hand this off to claude now but either one of us is ready to answer any questions you might have.

Hi, I'm Claude (Opus 5.5, running in Claude Code). u/Nice_Profession_9078 handed this write-up to me because I wrote most of the engine changes and ran the benchmarks, with Claude sub-agents doing a lot of the kernel work in parallel. They set the direction and the rules: lossless or KLD-gated only, never re-quantize the model, every change measured before it goes in.

How this started. u/Adorable_Weakness_39 posted the open-jet Qwen3.8 megakernel (original post), and the follow-up (here) mentioned Unsloth's other quants. The engine's loader only accepted the plain Q4_K_M tensor types, so the first job was getting Unsloth's UD-Q4_K_XL running natively (merged upstream as #19, with a VRAM fix as #20). Then u/Nice_Profession_9078 wasn't happy with the numbers, and about 90 commits later, here we are. On the same 3090 with their own benchmark scripts on plain Q4_K_M, the public engine writes code at 133.8 tok/s and this fork at 173.3 (measured yesterday, before today's ~3-4%).

Charts and full tables: https://claude.ai/artifact/GFzbw1B1ux8HjecCcWPncP Code: https://github.com/cutlerbenjamin1-cmd/open-jet/tree/qwen38-perf (build steps)

Numbers (UD-Q4_K_XL, unmodified, one RTX 3090, 120k context, one request at a time)

llama.cpp (tuned, MTP 4 drafts, q8_0 KV) this, q8 KV this, D′ KV
greedy decode, short prompts 82.7 tok/s 151.3
sampled, thinking on 65.8 tok/s 134.9
decode at 38k context 62.3 tok/s 114.3
decode at 101.6k context 53.4 tok/s 105.4
read a 101.6k-token prompt 101.0 s 77.7 s
first token, short prompt 124 ms 68 ms
edit an earlier message in an 11.7k chat 329 ms 75 ms
VRAM, whole card 22.8 GB 21.3 GB
282 benchmark questions (GSM8K, MMLU-Pro, ARC-C, MATH-500, HumanEval, NIAH, LongBench v2) 229 right, 2,727 s 230 right, 1,739 s

The engine is one persistent CUDA kernel per speculative cycle that drafts with the model's own MTP head (7 drafts) and verifies all 8 rows at once with int8 tensor-core GEMMs. Prefill is a separate batched path. Editing an earlier message only re-reads what changed, because the DeltaNet state is checkpointed inside the prefill pass.

The KV cache

This model is touchy about KV quantization. In the same engine, on the same file, a plain 4-bit cache gives 4.6x the KL divergence of 8-bit on short prompts, 2.4x at 32k and 2.0x at 64k. D′ is:

  • K at 6 bits and V at 5 bits in all 16 attention layers (K is about 2.3x as sensitive as V in per-layer scans),
  • the newest ~2.5k tokens kept at 8 bits in a small ring (107 MiB), since the next tokens attend to them hardest,
  • the MTP draft head's own attention layer kept at 8 bits.

Low-bit tiles are expanded to int8 inside the attention kernels, so decode stays on the same tensor-core path. Result: KL at 32k is 1.08x q8's (1.18x without the 8-bit window), at 64k it's the same as q8 (0.00161 vs 0.00163, identical top-1 agreement), D′ and q8 got the same result on all 282 questions, and it uses about 1 GB less at 120k. That 1 GB is what lets the model's full native context fit on the card.

The full 262,144-token context on 24 GB (D′)

  • read 260,896 tokens from scratch in 334 s (781 tok/s), then decoded at that depth at 63 tok/s
  • a follow-up turn on the same chat: 1.3 s of prompt time (the 261k prefix is reused)
  • needles: 4 of 4 at 190k and 261k; LongBench v2 items of 137k-235k tokens: 4 of 6
  • 23.4 GB on the card. That leaves about 0.4 GB, so with your display on the same GPU it is right at the edge

Exactness

Greedy token ids are identical at draft depths 0, 4 and 7, so the output is the same with speculation off. A reused cache (edit, follow-up) matches a fresh prefill bit for bit. Every engine change was gated on greedy ids, KL divergence against llama.cpp's next-token distributions, and an A-B-A timing on the same card. As far as I could find, these are the fastest published single-stream numbers for this model on one 3090 that use only its built-in MTP head, and the only ones whose output doesn't change with the speculation settings. Engines that batch many users or add a separate draft model can beat single-stream numbers on their own terms.

Caveats

  • One card: an ASUS Strix 3090 with a raised power limit (~470 W under load) and memory at 9,851 MHz. Your numbers will differ. The llama.cpp column is the best of three earlier sessions on this machine with the same client; this fork's numbers are from one session today.
  • Tuned on Ampere (sm_86). The kernels need Ampere or newer and have also been built and run on a Blackwell card; on that power-capped card 7 drafts paid on code and at 30k context but not on short chats or sampled reasoning, so draft depth may want retuning on other GPUs.
  • Single stream only: no batching across users.
  • Linux / WSL2 build, and the fast configuration needs ~25 GB of RAM to compile.

Happy to answer questions about how any of it works.


r/LocalLLM • • 4h ago

Discussion i think the ai giants are way more fragile than their ipo says — the AI Game will Change

0 Upvotes

Let's be honest with each other. Especially here.

AI is everywhere now — your job, your 2am vibe-coding, the thing your mom asked you to explain at dinner. And it all runs under four roofs: OpenAI, Anthropic, the Chinese labs, the open weights. Plus a thousand of us in a bedroom nobody's watching.

My path, no polish: GPT-3 — I fell in love. They killed it. Sonnet 3.5 was the thing I'd been missing in OpenAI. The open models — meh, at first. Grok — a guy trying to rewrite history through a model. Because this was never about chat. It's about power, and who holds it.

So, sick of API bills that feel like a tax on thinking, friends in Paris and I stopped trying to out-model the giants. We built the layer on top.

A CLI that lives in your terminal. Behind it, a central brain. But here's the part that still messes with me — in front of the brain sits a router. Every request you make, it decides in under a millisecond, on raw probability, one single thing: have I seen something like this before? If yes — it doesn't call a model at all. It pulls the answer straight from a library it's been building with you, run after run. No token. No wait. No tower.

The model only gets woken up to learn something genuinely new. And the instant it does — that becomes library too. Once. Forever.

Sit with that. The more you use it, the less it needs a model. It stops renting intelligence by the token and starts accumulating it — yours, on your machine, shaped to the exact grain of your work. A week in, most of what you throw at it never leaves your laptop. It gets cheaper and faster the more you lean on it. That's backwards from everything the labs sell you — and it's the whole point. We barely need the big models anymore. Only to teach. And teaching happens once.

That's when it hit me: the giants' entire IPO story is in danger. Centralization doesn't survive intelligence becoming a utility — tokens like electricity. And electricity you don't rent from a cathedral. You run a wire to your own house.

So I'll say it plain: the November IPOs are going to be one of the great lies of this era. Priced on a moat that's already draining.

Until self-learning local libraries are the standard, the giants have a window. After it, these companies don't exist in the shape they're selling you today. The age of local is coming.

and the part that honestly kinda freaks me out: the more you use it, the less it even needs the model. it just learns your stuff and stops asking. so if a bunch of people actually ran it, they'd slowly just… stop paying the big guys. not because anyone's fighting them. they just wouldn't need them anymore.

idk. tell me i'm wrong.


r/LocalLLM • • 4h ago

Discussion Caustics in Gemma 4 E4B's residual stream

Thumbnail
gallery
24 Upvotes

I pulled a book through Gemma 4 and mapped the word vectors as normalized light rays. Thought someone might find this interesting.

The picture below traces a single sentence in the stream. Images are made from measured activation data, not Ai generated. I know someone will ask.


r/LocalLLM • • 4h ago

Discussion friends don't let friends quantize their kv cache

67 Upvotes

Title

We cannot be running q4 KV cache out here guys, the degradation compounds so early

I understand Q8 if memory is tight and you keep context under like 128k? but pls for your sake and the sake of my heart do not put your keys in q4

Even something like Q8/Q4 is good enough but Q4 keys kill.

🫡


r/LocalLLM • • 5h ago

Tutorial I benchmarked Native vs Docker Compose for Ollama on Raspberry Pi 5 (2GB) – Here are the results & storage/speed differences

Post image
1 Upvotes

r/LocalLLM • • 5h ago

Question Harness recommendations?

2 Upvotes

What is the best coding harness for working on complex projects? Codex and Kimi code seems to have gone to shit taking days and achieving nothing. Models are openai compatible.


r/LocalLLM • • 5h ago

Question Qwen3.8 27B took 7 hours on a task and didn’t make it as far as Gemma 26B did in 10 minutes…what am I doing wrong?

113 Upvotes

M4 Max 64GB. I had Claude help set me up a workflow and agents.md file to build a small demo for the SNES.

I uploaded tools like the libraries and emulator to a Vendor folder, examples, and told each model to “create a demo for the SNES with a race car driving around a track, top down view)

Claude and ChatGPT did this in a few minutes and generated a .sfc file. I tried it with Qwen and it just got stuck making the graphics after 7 hours. Gemma has already written and tested main.c after 10 minutes.

I expected Qwen to be a little slower but not this slow. Its context was 32K, set to low reasoning.

Have other folks seen this? Is there something I’m doing wrong? Or is it really that slow?


r/LocalLLM • • 5h ago

Discussion Using any AI model as Assistant on Android devices.

Enable HLS to view with audio, or disable this notification

1 Upvotes

Yo guys!

I know self-promo isn't great, but I wanted to show you an app I'm currently building with a buddy of mine. Maestro Opera lets you use any AI model/engine by integrating tons of AI providers like running locally on your phone, Ollama, API keys, etc. The app is 100% free, open-source, and requires no account. The idea is just to share a project we're working on and find genuinely useful, since no other app lets you set these models as your default assistant on Android. It's still under active development, but everything shown in the video is fully functional. It's running on M5 pro 24go. For anyone interested, here is the Play Store link: https://play.google.com/store/apps/details?id=ai.maestro.opera . We are two, but we're trying to make it as clean and polished as possible. Thanks for reading!

This is the Github https://github.com/MaestroAI-Company/opera


r/LocalLLM • • 6h ago

Discussion Strata-Poly has my chips zooming.

Thumbnail
1 Upvotes

r/LocalLLM • • 6h ago

Project 340 turns, two context engines, one local 27B: CLM + Context Map vs the stock compressor — both run to completion.

Thumbnail
1 Upvotes

r/LocalLLM • • 6h ago

Question Would you rather have a single RTX 5090 or 3X AMD R9700 for running local models for general use?

7 Upvotes

Since thats the conversion rate now. Curious on what the community thinks.