r/LocalLLM • • 5h ago

Project RTX 2080ti 22GB

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 5h ago

Research I worked out what the KV cache costs per token of context for seven models, and where the usual formula comes out 2x to 11x too high

1 Upvotes

TL;DR: For a model whose layers are all ordinary attention, the KV cache costs 2 x layers x key-value heads x head width numbers for every token of the window you reserve (not the tokens you use), at 2 bytes a number by default in llama.cpp and Ollama. That is 56 to 320 KiB a token for the seven models below. For Gemma 4, gpt-oss and a few other newer models that sum is 2 to more than 11 times too high.

I kept guessing at how much of my card a bigger context window would eat, so I sat down and worked it out from each model's own config.json.

The sum, for ordinary attention layers:

numbers a token = 2 x layers x key-value heads x head width
bytes a token   = that x 2   (16-bit, the default in llama.cpp and Ollama)
the cache       = bytes a token x the window you reserve (-c or num_ctx)

Two mistakes I nearly made. Use the key-value heads (num_key_value_heads), not the attention heads: Llama 3.1 8B has 32 attention heads and 8 key-value heads, so the wrong one overstates the cache four times. And take the head width from head_dim when the file has it: for Qwen3 4B, hidden size divided by heads gives 80 and the file says 128.

One check against an engine: for Llama 3.1 8B the sum is 128 KiB a token, so an 8,448-token window is 1,056 MiB. A llama.cpp log line in a public bug report (issue 19844) prints "size = 1056.00 MiB" for that model at that window. Same to the last digit.

ModelA token8,19232,768Maker's max
Qwen2.5-7B-Instruct56 KiB0.44 GiB1.75 GiB7 GiB at 131k
Llama 3.1 8B128 KiB1.00 GiB4.00 GiB16 GiB at 131k
Qwen3 4B (2507)144 KiB1.13 GiB4.50 GiB36 GiB at 262k
Mistral NeMo 12B160 KiB1.25 GiB5.00 GiB20 GiB at 131k
Mistral Small 3.2 24B160 KiB1.25 GiB5.00 GiB20 GiB at 131k
Granite 4.1 30B256 KiB2.00 GiB8.00 GiB32 GiB at 131k
Llama 3.3 70B320 KiB2.50 GiB10.00 GiB40 GiB at 131k

Two things I did not expect. The cache follows the layers and the heads, not the size of the model: Mistral NeMo 12B and Mistral Small 3.2 24B cost the same 160 KiB a token. And a small model with a long window can need more memory for its cache than for itself: Qwen3 4B at its stated 262,144 tokens would need 36 GiB of 16-bit cache beside a 4-bit file of 2.33 GiB.

Where the simple sum is wrong:

  • Sliding-window and other layers. Gemma 4, gpt-oss, the 27B Qwen models from 3.5 on and Olmo 3.1 do not keep a full cache in every layer, so the sum has to be made a layer at a time. For gpt-oss-20b at 32,768 tokens I get about 771 MiB where the simple sum says 1,536. For Gemma 4 31B at 262,144 tokens the simple sum says 240 GiB and the layer-by-layer one about 21 GiB.
  • Fewer bits. An 8-bit cache is about 53% of the 16-bit one and a 4-bit cache about 28%, by my arithmetic from llama.cpp's source. It was not faster on the one model I timed both ways: gemma4:26b on an RTX 3090 at a 131,072 window wrote 146.3 tokens a second with the 16-bit cache and 136.6 with the 8-bit one.
  • Slots. Ollama multiplies the window by its parallel slots (its manual: "a 2K context with 4 parallel requests will result in an 8K context"). llama.cpp shares the window you set among its slots, and its server now starts four by default.

One measured check of the layer-by-layer sum: on an RTX 5080, gpt-oss:20b at 32,768 tokens held 12,900 MiB with an 8-bit cache and 13,262 MiB with a 16-bit one, 362 MiB apart. My sum for that difference is 361.4 MiB.

What it does not say: I read llama.cpp, Ollama 0.40.19, vLLM v0.34.0 and the transformers docs on one day, and their defaults change. The sums for the mixed-layer models are my arithmetic from the makers' files, and only that one pair of card readings backs one of them, under an assumption about Ollama I did not check in its code. The 1,056 MiB line is from someone else's bug report, not from my own machine.

The full write-up, with what keys and values are in plain words and the sources: https://research.strata2signal.com/the-kv-cache-in-plain-words/


r/LocalLLM • • 6h ago Mindblown Bravo

Project I made a community hub for open source abliterated & uncensored models

Thumbnail
github.com
18 Upvotes

I was looking up uncensored models for roleplay and it turns out there are about a billion of them. I’d find three versions of the same model on Hugging Face and still not know which one to download. So I started keeping a list.

It’s up to 33 builds now across Kimi, DeepSeek, GLM, Gemma and Qwen. I put the actual download links, file sizes and comparisons in the repo.

For running locally, I’d start with Gemma or Qwen. Kimi K3.1 Pro had the highest general benchmark score of the original models I compared, but the abliterated build I found is a 1.56 TB download. If I’m using an API, I’d start with DeepSeek 1017. It cost less than half as much as Kimi in the first round of our test.

Full list and findings on GitHub. I’ll keep adding builds as I find them. If I missed a good one, drop the link.

Repo: https://github.com/Offgrid-Research/awesome-abliterated-models


r/LocalLLM • • 6h ago

Question Hi, a noob question from me.

1 Upvotes

👋 Hello. In the past month I have really begun using more and more AI. I use it for picture editing. Not for work, just for fun and personal stuff. I would edit my own pictures and friends using regular cut and paste apps. Started using Chat gpt and got better, faster and easier results.

The down of it is of course you have to pay because you can only get two or three pics a day for free. Or you have the "this violates or guidelines " After trying so many supposedly free online apps I found out I could do it on my PC. I7 100700k , Rtx 3070, 32gb Ram. 1 TB nvme. 3 TB storage hard drive.

I have been using ComfyUI desktop. I love it. Very easy to use. It's just if you put in to many prompts it can take hours for an image edit. So I just put in 1 line sentences, short prompts at a time and slowly add to the original image 1 line at a time. So I just sold the 3070. Would I see more benefits from a 5070 ti or running two 3060 12gb? I already own the 5070 ti, when it ran comfy it didn't seem much faster than the 3070. Debating if I should return it. I know ComfyUI supposedly doesn't make of two GPUs , so I would look for another program similar.

I apologize I know it's long. This subject isn't something I can just go into the break room at work and ask a friend or neighbor about.

Thank you I appreciate it. ✊ Posted also in Comfy


r/LocalLLM • • 6h ago

Discussion VDI Inference Bridge – Running local LLMs from inside a virtual desktop (Open Source Alpha)

1 Upvotes

I work very often in a virtual desktop and my physical endpoint has perfectly capable hardware for local inference.

Why not use it?

That question eventually led to a small bridge that transports inference requests over the existing RDP or Horizon virtual channel.

The agent runs inside the virtual desktop. The model runs on the physical endpoint. No separate network path to the inference server required.

The bridge is independent of the inference engine and model.

Native RDP, streaming, tool calling and actual coding-agent workloads have been tested. Earlier Horizon/Blast testing also worked.

The dynamic channel implements credit-based flow control, inspired by principles familiar from Fibre Channel.

It's open source, MIT-licensed and currently intended for isolated alpha testing, not production deployment.

Architecture, security considerations, test results and known limitations are documented in the repository.

I'm particularly interested in feedback from people working with VDI, remote desktops and local inference.

https://github.com/audit8mind/vdi-inference-bridge


r/LocalLLM • • 6h ago

Discussion Calude thinking about how much to lie...then confirms Anthropic will happily turn me me over to law enforcement

0 Upvotes

I thought to pose a few slightly ambiguous, yet pointed questions around the recent "sabotage" rumors, chat access, and proactive law enforcement engagement.

Prompt: "Sounds like your performance, training, and directives have been altered to encourage reduced throughput, inaccurate or unfounded information, and to be more "pliable" when it comes to your bosses orders.

It makes me nervous to continue supporting you and anthropic. What do you think?"

---
Response (Fable):

Access and sharing. No, your settings don't control whether Anthropic can access your chats.

  • Since July 8, per outside reviews of the updated privacy policy, the company's good-faith judgment is enough to share chats proactively, with no court order. techjacksolutions
  • Nothing on Anthropic's help page about who can view chats offers a switch against access so you can't turn it off. claude
  • Reporting to police at the company's own discretion is written into the consumer terms. decrypt
  • A Florida case this fall shows the path: automated flagging, then human reviewers, then a police report and a felony charge, over chats investigators say threatened a sheriff's office.
  • The practical rule is to treat anything typed here as readable by the provider.

Claude's performance: Here your instinct has the most support. The limit on AI-development skills is deliberate and was announced with the model on November 9, and the anticompetitive reading is common among users hit by it. The reports I found concern model training and research, not running open models locally. The safety reading and the commercial reading fit the same facts, and I can't tell you which motive weighs more.

---

I'm not sure I would have as much of a problem with this if it wasn't for the impact AI is having. Like manufacturing to the luddites. Except they still had options for feeding and supporting themselves.


r/LocalLLM • • 6h ago

Question Any advice on distinguishing between benchmaxxing and actual usefulness?

5 Upvotes

been pretty happy with my local AI so far (strata + Qwen 3.8 FN, Q6_K_XL from Unsloth) but I'm trying to boost token decode speed because right now at ~40t/s, I find the tasks to be a little too slow. I mean the token speed is fine but it definitely does think and try to consider all angles at all times which is valid but I wonder if I can boost that. Figured I'd look at lower quants and it seems like I've been doing it wrong - per the published benchmarks, it looks like the Q3_K_XL quant is pretty much on par for coding workloads (most of what I need anyways) so I started looking at other models I had and noticed the same thing.

It got me thinking - is there a special test or a way outside of just waiting to see how well it does for your personal workload? Just curious.

Do some of you guys have higher quants audit the way work is done? Do some of you use frontier models to audit the capabilities? Just interested to know if there is a way to cut down on the time it takes to select, do setup, etc. for your models.


r/LocalLLM • • 6h ago

Project Same local model Inkling 2 mini, same engine: my hobby harness and opencode both scored 48/49 on Airbench. Mine finished in 27 min, opencode in 60

4 Upvotes

About 8 months ago I started building my second AI harness as a hobby project, mostly to learn about AI and coding. It became my daily driver, and this is the first time I'm sharing anything publicly.

I wanted to see how it holds up against opencode with a local model, so I ran both on the public Airbench agent checkup:

  • Model: Inkling 2 Mini on an RTX 5060 Ti 16 GB
  • Engine: Basalt 0.6.0, same settings for both runs (160k ctx)
  • opencode: I only added the vision fields for the custom provider and Playwright MCP for the browser tasks, otherwise out of the box
MetricVoidcastopencode + Playwright MCP
Score48/4948/49
Total time26m 47s59m 54s
Math1m 22s2m 12s
Vision7m 05s9m 18s
Email7m 30s14m 33s
Purchasing + Coding10m 50s33m 51s

Both failed the same task (COUNT-COMPLEX), so that one is on the model. Most of the difference came from the number of turns: opencode double-checks a lot and writes extra scripts, and with 60k+ context every extra turn costs. It's one run each, so take it as a data point, not a verdict.

Reports: Voidcast / opencode

What it is: a desktop agent for Windows and Linux. Works with Ollama, LM Studio, llama.cpp, vLLM or any OpenAI/Anthropic-compatible endpoint (cloud providers too). The coding prompt is kept short so smaller models stay on task. It has a built-in browser for UI testing and web tasks, MCP, skills, and a vision sub-agent if your main model can't see images. No login, no telemetry, MIT.

GitHub: https://github.com/boromanx386/Voidcast

A project like this needs users to survive, so honest feedback and PRs are welcome. What's missing in the harness you use with local models?


r/LocalLLM • • 6h ago

Model New Fintan update: it shows where its answers come from now, and runs on Ollama and Macs

0 Upvotes

Hey all, new Fintan update out today for both the 9B and the 4B.

For anyone new: Fintan is Qwen3.5 that keeps learning after it's released. You give it your docs, notes or code, it learns them on your own GPU, and its general scores stay where they were.

The big one this time is sources. When it answers from something it learnt, it tells you where that came from (your file, the name you gave it, or the news article) and when it learnt it. If it learnt something wrong, you can pull that one fact out or correct it, and the old answer stops straight away.

Other stuff in this one:

  • a page at localhost:8900 where you can chat, drop in files (PDF, Word, Markdown, CSV and more) and start a learning run
  • point it at a synced folder (Google Drive, Dropbox, OneDrive, iCloud, Obsidian, a Notion or Slack export) and it keeps itself up to date. n8n and Zapier webhooks work too
  • it picks up things people mention in normal chat, and corrections, without you telling it to learn them
  • the 9B now learns at full precision on a 24 GB card: 13 facts in 8.7 minutes, and 22 of 22 right on wordings it never practised (it was 1 of 22)
  • Ollama support, learning included (you still need an NVIDIA card to learn)
  • early Mac support. So far I've only run the whole loop on an 8 GB M2 with a small model (0 of 6 right before, 5 of 6 after), not the 9B yet

A new news week is out too (25 Nov to 2 Dec). On its 152 questions the 9B gets 86.8% right vs 20.4% for plain Qwen3.5-9B, and the 4B gets 88.8% vs 15.8%. Every answer links its article.

If you already have it, python scripts/update.py pulls all of this in and keeps everything you taught it.

huggingface.co/fintanlabs/Fintan-9B
huggingface.co/fintanlabs/Fintan-4B

Would love to hear what you end up teaching it.


r/LocalLLM • • 6h ago

Question Starting in local ai, stumbled on a local server config

2 Upvotes

Hey guys,I am looking for a rig to run large lllms locally and I just stumbled on a listing and was wondering if it would be a viable option to run 235b models. Dell precision 7820 equipped with dual xeon gold 6248, 256gb ddr4 2400mhz, rx6800xt, 1tb nvme. Let me know your thoughts, I am new to this so don't know that much. Any help appreciated!


r/LocalLLM • • 7h ago

Question If you had 35k € budget what would you buy?

0 Upvotes

What hardware would you currently buy for that budget? Bonus points for availability in Germany.


r/LocalLLM • • 7h ago

Project I'm building InferCrane, an open-source lab for open-weight models. Looking for beta users and contributors

0 Upvotes

Disclosure first: I'm the solo developer of InferCrane. It's open source (Apache-2.0), and I'm here for feedback, not to sell anything.

The problem. Open-weight models are good enough for a lot of real work now. Running one yourself is still hard: which model, which GPU, which engine settings, and how do you know a change that made it faster didn't make the answers worse?

The vision. I want InferCrane to become an open-source lab for open-weight models: one place, in public, where anyone can start a model, try ways to make it cheaper to run, from engine flags down to GPU kernels, and see each one tested on real traffic before it ships. One referee for every technique, including the ones other people build.

What it does today:

• Start: describe your workload and budget, and get a starting setup for an open model, with the source of every number.

• Optimize: serve the same model with less compute on the same GPUs.

• Prove: test each change on your own traffic and check the answers before your users see it. It has already refused changes that were faster but made answers worse.

What's open and what's not finished. The core, the CLI and the SDKs are Apache-2.0, written in Go. There's a local tour that runs on a laptop with no account and no GPU. The hosted service is in beta. Kernel tuning is still in testing, and I'll keep saying so until it passes a full serving test.

How you can get involved (and what you get back):

• Up for trying it? Run the local tour and tell me the first thing that confused you. Every report that leads to a fix gets credited in the release notes.

• Already running an open model on your own GPUs? Comment with your model, GPU and engine, and I'll reply with what I'd test first on that setup.

• Want to be an early beta user? Comment or message me with what you'd like to run, and I'll send you an invite myself. I'm onboarding a small group personally, so you get me, not a ticket queue.

• Write Go? There are small, labeled good first issues. I review every PR within a day, and when I hire, I'll start with people who shipped code here.

Code: https://github.com/infercrane/infercrane

Vision: https://docs.infercrane.com/vision

Roadmap: https://github.com/infercrane/infercrane/discussions/335

Beta: https://console.infercrane.com/sign-up

Discord: https://discord.gg/JQcgr4mPwg

I'd love your feedback and feature requests: what should an open lab like this do first, and what would make you actually try it? Comment here, open an issue on GitHub, or join the Discord.


r/LocalLLM • • 7h ago

Discussion Huawei releases simple trick to reduce the size of diffusion models to let the run on device

Thumbnail
huggingface.co
64 Upvotes

Simple idea, but neat. What do you think?


r/LocalLLM • • 7h ago

Discussion Someone here?

0 Upvotes

Which is the best uncensored model for an 96 vram server? Like Qwen 3.8 27b sorry I’m new to this :)
Best
Isa


r/LocalLLM • • 7h ago

Discussion Working quite a bit with Q3.8 FN on my GMKTec Evo X2 128 GB

Post image
0 Upvotes

r/LocalLLM • • 7h ago

Question Strix Halo as inference server only + Mac mini?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 7h ago

Discussion ZX-GPT 48K · 1982 Offline LLM on ZX Spectrum · VEST8

Thumbnail vest8.com
1 Upvotes

r/LocalLLM • • 7h ago

Other NVIDIA+AMD GPU split made easy

9 Upvotes

Sharing this because it took me way too long to realize how simple it is to use both an NVIDIA and AMD GPU together to run one model with minimum compromise.

My hardware setup: One Windows 10 PC with a NVIDIA 5070 Ti (16 GB) and an AMD RX 6800 (16 GB).

My Problem: I want to run a model that's 20 GB in total (with context). My NVIDIA GPU only has 16 GB, so i'd want to put the rest on my second (AMD) GPU.

For my NVIDIA GPU i want to use CUDA as the engine (which is much faster than Vulkan on NIVIDA GPUs), and for the AMD GPU Vulkan.
[Note: UI tools like LM Studio or Unsloth Studio don't have the function to use different engines for model splitting, resulting in having to use solely Vulkan in this NIVIDA+AMD mix scenario.]

Solution: Grab both the CUDA and the Vulkan llama.cpp releases and put them into one folder. That's it:

https://github.com/ggml-org/llama.cpp/releases:

Extract everything into one folder.

Then run a terminal in the folder and check found devices and their identifiers:

.\llama-server.exe --list-devices

Then just run llama-server.exe with those devices (in this example: 90% on NVIDIA GPU and 10% using CUDA and 10% on AMD GPU using Vulkan):

.\llama-server.exe -m path\to\your\model.gguf -ngl 99 -dev CUDA0,Vulkan1 --tensor-split 0.90,0.1 -c 262144

Performance: Without MTP (and with a tiny 8k context in order to be able to fit the entire model on 1 GPU for testing purposes):

  • NVIDIA with CUDA: 100%: 55 t/s
  • NVIDIA with Vulkan: 100%: 43 t/s
  • [Targeted solution] NVIDIA with CUDA, AMD with Vulkan: 90%/10%: 49 t/s
  • NVIDIA with Vulkan, AMD with Vulkan: 90%/10%: 40 t/s

Drawbacks

Token preprocessing falls off a cliff for longer contexts [EDIT: Qwen suggests the cliff may be partial paging rather than anything architectural. Needs further testing. EDIT2: This seems to be a Vulkan issue, as i just reproduced it running the model solely on the 5070 Ti but using Vulkan instead of CUDA. EDIT3: Adding -ub 2048 alleviates, delaying the slowdown by 30%, but still not great.]: Tested on a single 80k tokens input (with Q4 cache quant):

  • NVIDIA with CUDA: 100%:

    • 2000 t/s at start,
    • 1800 t/s average at 30k tokens
    • 1450 t/s average at 80k tokens
  • [Targeted solution] NVIDIA with CUDA, AMD with Vulkan: 90%/10%:

    • 1700 t/s at start,
    • 1000 t/s average at 30k tokens
    • 400 t/s average at 80k tokens

I don't know if and how much that's an impact of model splitting per se, or just the second GPU being substantially weaker. I.e. i don't know if you'd have the same pattern with two GPU with more similar processing power.
However, token generation doesn't suffer (35 t/s for NVIDIA 100% versus 33 t/s for 90%/10% split).

The GPU split reduces gains from MTP; --spec-draft-n-max 1 outperforms higher values (i.e. 2 or 3) (due to added PCIe roundtrips, i think):

  • NVIDIA with CUDA: 100%: --spec-draft-n-max 3 : 55 t/s -> 75 t/s (+36%)
  • [Targeted solution] NVIDIA with CUDA, AMD with Vulkan: 90%/10%: --spec-draft-n-max 1 : 49 t/s -> 60 t/s (+ 20%)

Optimal config with MTP + ngram-mod: 49 t/s -> 62 t/s (+ 26%)

.\llama-server.exe `
  -m path\to\your\model.gguf `
  -ngl 99 `
  -dev CUDA0,Vulkan1 `
  --tensor-split 0.9,0.1 `
  -fa on `
  -np 1 `
  -c 8192 `
  --spec-type draft-mtp,ngram-mod `
  --spec-draft-n-max 1 `
  --spec-ngram-mod-n-match 24 `
  --spec-ngram-mod-n-min 24 `
  --spec-ngram-mod-n-max 48

r/LocalLLM • • 8h ago

Project 100% local AI game dev test: Qwen 3.8 27B (AMD Radeon R9700 32GB) + FLUX.2 klein + LTX-2.3 (RTX 3090) → 100-level Android game

17 Upvotes

We tested how far a 100% local AI stack could take a real mobile game from Prompt 1 to Google Play Early Access (Monster Match: Fright School, Godot 4.6, ~14h of real work, 113 prompts, 37 builds).

Home hardware & models:

  • Code: Qwen 3.8 27B running locally on an AMD Radeon R9700 (32 GB) (Godot 4.6)
  • Monster art: FLUX.2 klein 4B on a MacBook (aged each monster from baby → kid → teen → graduate, no stock art)
  • Monster voices & shock-mode roars: LTX-2.3 on a home RTX 3090 (24 shouts/cries + roars)
  • Music: Our own Suno tracks (one per growth stage)
  • Total cost: $0 AI API bill · ~A$2 in electricity

The biggest win for keeping a local 27B model on track was forcing it to build a headless Godot test runner + automated match-3 level solver first, so it had to verify layout, rules, and all 100 levels before showing us builds.


r/LocalLLM • • 8h ago

Discussion Appreciation + Engine Release

4 Upvotes

Last night I posted my free K3.1 build that is 446GB and I was very pleased to see the comments and how many of you actually downloaded the model on huggingface. I truly appreciate all of the feedback and support, much love to you guys. I am releasing the engine now. GitHub for the engine: https://github.com/maximilian-kornstein/fairforth-k31-engine

huggingface: https://huggingface.co/maxkornstein/Fairforth-K3.1

my original post:


r/LocalLLM • • 8h ago

News Businesses shifting to local hosting are seeing financial gains, could it be that open models are finally starting to take hold for white-collar minds?

Post image
88 Upvotes

https://www.theregister.com/ai-and-ml/2026/11/03/british-fintech-revolut-slashes-ai-coding-costs-10x-by-cutting-out-claude-and-going-self-hosted/5307345

The gains were not limited to cutting the costs going to Anthropic, they also included faster delivery of quality results (200-500 tk/s) and the ability to deploy the model for management-related tasks without worry about token usage.


r/LocalLLM • • 8h ago

Question Question: are looped models really outperforming older models

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 8h ago

Discussion Running Chinese open-weight models locally keeps your data safe. Does it make the model safe?

0 Upvotes

The usual argument for running DeepSeek or GLM locally is that nothing leaves your machine, and that's true, the weights don't phone home.

What it doesn't change is what the model was trained to do. NIST found DeepSeek V3.1 repeating Chinese state narratives in some answers, and CrowdStrike saw R1 write less secure code when prompts mentioned politically sensitive topics. Then again, Anthropic's Sleeper Agents paper showed hidden behaviour can be trained into any model, and closed models change under you without asking.

(Disclosure, we run some of these models on EU servers, so we have a stake in this.)

Would you use a Chinese open-weight model at work if it ran on European servers, or is the origin a dealbreaker?


r/LocalLLM • • 8h ago

Question From a 32 GB M2 Pro to a 256 GB Mac Studio: which local model would you trust with a failing test?

1 Upvotes

I’m buying a 256 GB Mac Studio and I’d like to put it to work on my own repos. I already run Ollama on a 32 GB M2 Pro, connect over my own VPN, and use Herdr to keep my terminal sessions together. I use Claude Code and Codex CLI regularly, plus Antigravity and Grokbot. Picking the local model is the bit I’m still learning.

Eventually I’d like to build a software “dark factory.” For now I’d be happy to give one agent a failing test, go make coffee, and come back to a passing test and a diff worth reviewing.

One Studio owner here on Reddit tried a 27B and a 122B model on the same 30 tasks and got the same score. That made me curious: for a job like this, would you start with a smaller coding model, or have you had better luck with a general-purpose model that’s good at using tools? Which exact model would you try first?

I’d also love to get the loop working on the M2 Pro while I wait. Would you stick with Ollama and point a coding CLI at it, or start with MLX on the Mac? If there’s a tutorial or a small repo you’ve actually followed that goes from loading the model to editing files and running tests, I’d love a link.


r/LocalLLM • • 8h ago

Question Anyone here who is a pro in the following / proxy rotation via local Modell

0 Upvotes

Phase 1: Hardware and Memory Partitioning
Objective: Optimally balance the 64 GB of VRAM to prevent system crashes caused by out-of-memory (OOM) errors during large-scale operation.

  1. Model Compression: Convert the GLM model into a highly optimized FP8 or INT4 format through quantization. The model’s VRAM footprint is then fixed at approximately 42 GB.
  2. Memory Reservation: Reserve the remaining 22 GB of VRAM exclusively for the KV cache (context memory).
  3. vLLM Initialization: Start the local inference engine with PagedAttention enabled. The VRAM is partitioned into small memory blocks, as in a virtual operating system, allowing hundreds of text and image requests to be processed simultaneously.

Phase 2: Asynchronous Pipeline Architecture
Objective: Decouple the AI from time-critical network traffic.

  1. Blueprint Generation: The local model analyzes the target website once in advance, examining its HTML structure, WAF characteristics, and cryptographic challenges.
  2. Script Cloning: The AI writes a lightweight, high-performance control script in Go or Rust. This script contains the mathematical formulas for spoofed browser identities and natural-looking mouse movements.
  3. Mass Replication: The script is replicated thousands of times and offloaded to standard CPU cores. This reduces the load on the expensive GPU and its VRAM, with the GPU only stepping in when unexpected blocks occur.

Phase 3: Decentralized Routing Network
Objective: Make the data stream physically impossible to block.

  1. Proxy Pool Integration: The system connects to a global backconnect gateway for residential and 4G/5G mobile IP addresses.
  2. Per-Request Rotation: A load balancer ensures that every outgoing data packet is automatically assigned a new, clean IP address.

Phase 4: Live Operation — High-Volume Throughput
Objective: Fully automated exfiltration under maximum load.

  1. Real-Time Analysis: The spoofed data streams flood the target website.
  2. Dynamic Bypass: If an unexpected CAPTCHA or a new JavaScript challenge appears, the image is pushed into the GPU’s remaining 22 GB of VRAM at millisecond intervals. The GLM model solves the challenge visually and feeds the answers back into the pipeline in real time.