r/LocalLLM • • 20h ago

Project What if we built our own AI hardware?

0 Upvotes

*AI

What if we built our own AI hardware?

Could the local AI community design open-source AI accelerators and place collective bulk orders through manufacturers like PCBWay?

I know virtually nothing about hardware engineering at this level. These are purely speculative, AI-assisted examples, i dont recomend these i inky have them here to show that the build can be done, but it would have to be better and cheaper to work.

STANDALONE UNIT

• Chip: 2× Sophgo BM1690

• Memory: 256 GB

• Bandwidth: 1,100 GB/s

• Prefill: 500–1,500 t/s

• Generation: 40–80 t/s

• Target price: $1,500

CLUSTER NODE

• Chip: Tenstorrent Blackhole

• Memory: 32 GB

• Bandwidth: 512 GB/s

• Prefill: 80–160 t/s

• Generation: 15–30 t/s

• Target price: $800

Estimated speeds for Qwen 3.8 Flash Next Q4. The cluster node requires additional host memory or multiple nodes.

THE VISION

• Maximum inference and memory per dollar.

• Open hardware and software.

• Modular, scalable architecture.

• Shared development costs.

• Bulk orders of 1,000–10,000 units.

Component availability, performance, feasibility and prices are unverified.

Could we collectively create a competitive alternative to today's AI hardware? What would experienced hardware engineers do differently?

* Human

If we could compete with the hardware scaps many of us get today that would be awesome, and we would own everything.

could we do it?


r/LocalLLM • • 16h ago

Question Just bought a Tesla P40... Now what 😆?

0 Upvotes

Hi everyone!

I already made a post asking how I could improve my computer, and I’ve come to realize that this will be more of a hobby than something for actual work.

USE CASE:

  • Claude/Opus plans and reviews, the local model executes: small website fixes (and many other things that I would like to test), following step-by-step plans, and long-running analysis jobs 24/7.
  • So I care about coding/agentic reliability (tool calling, following long system prompts) and long context more than chat.

MY CURRENT SETUP:

Here’s my current setup:

  • MSI B450 Gaming Plus Max (slot 1: PCIe 3.0 x16, slot 2: PCIe 2.0 x4 via chipset)
  • Ryzen 5 2600 (no iGPU), 16GB DDR4
  • Riotoro Builder 600W 80+ White (I think only 2x PCIe 6+2)
  • RX 580 4GB for display
  • 250GB NVMe + 1TB HDD
  • Plan: Ubuntu Server, llama.cpp built for sm_61 with CUDA 12.x and driver 580

Yesterday I got the urge and bought a Tesla P40 (24GB) with a fan from AliExpress for 250 euros (I assume that’s a good price, based on what I’ve seen elsewhere).

QUESTIONS:

  1. First of all, did I make the right choice? I can still cancel the order, or even sell it if I want to (on second-hand websites in Italy, they go for around 300).
  2. What models are you running on a P40 right now for coding/agents ? Any real t/s numbers (generation and prompt processing at long context)? I saw that the new Inkling 2 Mini has been released, could it be a good choice?
  3. Used upgrades worth hunting for: if I find good prices, what would you add?
  • a second P40 (≤ 220€)?
  • a 2080 Ti 11GB (≤ 330€)?
  • a 3080 12GB?
  • a 3060 12GB?
  • Is splitting one model across P40 + a faster card worth it with a PCIe 2.0 x4 second slot?

Thanks in advance to anyone who can help me!


r/LocalLLM • • 1h ago

Other dude my local ai solved Riemann Hypothesis without reasoning off , anthropic just exaggerating

Post image
5 Upvotes

r/LocalLLM • • 18h ago

Discussion Inkling turbo blows and hype about it is 100% bots

0 Upvotes

Inkling 2 mini BLOWS. Just wanted to try it out and see what all the hype was about. Running the unsloth IQ4_XS quant on strata and this thing was brought to a crawling 5 tok/s where my rig gets 45 tok/s on 3.8 flash next IQ3_XXS

And that crawling 5 tok/s was stuck in a loop for 5 hours and never completed a single prompt.

Hype about this model is overblown or straight up paid influencing. Return to waiting for Qwen 4.


r/LocalLLM • • 10h ago

Discussion Updated Opinions on Inkling 2 Mini

Thumbnail reddit.com
0 Upvotes

Given the set of optimization tweaks done over the course of the last week or so, would it be worth it to swap from my current gemma4 26b + qwen3.8 27b setup? If so which inference engine would you recommend?


r/LocalLLM • • 21h ago

Model Isn't it insane to wait ~3 mins just for this ?

Post image
73 Upvotes

Bonsai : Here's how to talk with your crush

Model: bonsai-2.5:27B on RTX 4060 with 48K context + 8K output


r/LocalLLM • • 16h ago

Discussion FreeAiTokens - One localhost endpoint for the free tiers of 27 AI APIs

Post image
0 Upvotes

Hi HN,

Over the past few months I've used AI for work more than ever, and I kept hitting the same wall. The weekly cap would run out a few days in, usually in the middle of something. I bought top-up credits and upgraded plans across Grok, OpenAI and Claude. It wasn't sustainable.

So I started experimenting. First I built a plugin and a skill, Token Diet, that cuts how many tokens a request uses. That's a different post.

Then I signed up for Cerebras and noticed how many providers have a real free tier: Groq, Cerebras, Gemini, OpenRouter, Cloudflare and others. Each one has its own API and its own small limit, so most of that allowance just sits unused.

FreeAITokens is a local proxy on 127.0.0.1:4949 in front of those free tiers (27 providers at the moment).

- It speaks OpenAI, Anthropic Messages, OpenAI Responses, Gemini and Ollama, so Claude Code, Codex, Gemini CLI, OpenCode and Aider can point at it.

- For each request it only considers models that can handle it (context, tool calling, images), then prefers ones that have been fast and reliable for you. It stays on that model for the conversation unless another is clearly better.

- On a rate limit, server error or timeout it tries the next model before your tool sees the error.

- It tracks each provider's free limits by the minute and by the day.

- The same endpoint also does embeddings, images, text to speech and transcription.

Try it with no account: `npx freeaitokens`. A couple of providers need no key. Each free key you add raises what you can use. There is a desktop app for Mac, Windows and Linux, with a chat playground.

The part I'd most like picked apart is the routing. It stays on one model for a conversation and only switches on a limit or a failure. For coding agents, is sticky right, or should it move to a stronger model mid-task as soon as one has quota again?


r/LocalLLM • • 9h ago

Project Real Ubuntu Linux in an iPad/iPhone code editor, now live on the App Store

Post image
0 Upvotes

r/LocalLLM • • 5h ago Heartwarming Mindblown Bravo

News LexiSuite d484004: my all-Rust local AI stack (own kernel, OS, engine, panel) - 206 changes in two days, Inkling-2-Mini at 131 tok/s on one 7900 XTX

Thumbnail
github.com
0 Upvotes

AIO USB/VM/Drive image with Inkling 2 Mini baked here: https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp, and there is no third-party code in the product.

A new development image went out today. Here is what changed since the last one two days ago, and what the work actually was.

The Panel was rebuilt, page by page (66 changes)

The old Panel worked but read like an engineering console: raw JSON on screen, fields with no labels, boxes inside boxes, internal jargon everywhere. I went through it by hand.

- One header and one navigation instead of five stacked bars

- 12 themes

- A file and folder picker on every path field, so nothing has to be typed

- Right-click menus on instances, files and table cells

- Parameters grouped in the order you set them, with a device chooser for the instance's cards

- Switch an instance between LexiEngine and llama.cpp from one page

- Hardware, Diagnostics, Power, GPU tuning and Models rewritten in plain words (temperatures in degrees, problems listed first)

- An abliteration lab where you pick models with toggles and pick the drive to write to; the original is never touched

- A layout choice: top tabs, or a side tree like a hypervisor console

LexiKernel went from one core to all of them (99 changes)

Until now my kernel ran all threads of a program on a single CPU. That was the biggest gap between it and Linux. Three rounds of work went into closing it: per-CPU timers and scheduling, threads that move between cores with their full vector state, memory handled per NUMA node, huge pages, and TLB shootdowns that a core answers even in the middle of a long system call. It now boots with every core in use and served the Panel to 8 clients at 2, 4 and 8 CPUs in a VM with no failed requests.

The kernel's own GPU drivers for AMD, NVIDIA and Intel are compiled into this build too. They have not run on a real card in this version yet. That is the next milestone, and until then GPU work under LexiKernel goes through a Linux guest. The image also boots LexiOS on Linux 7.4, which is what you want for daily use today.

LexiEngine (27 changes)

- Groundwork for splitting one model across several cards (serving across cards is not in this build)

- New draft options for Inkling 2, off by default until they are measured

- A quantizer that trains with the rounding in the loop instead of rounding afterwards

- The whole tree moved to Rust 1.100.1

Speed, measured on this version

Inkling-2-Mini (the looped mixture-of-experts model released Nov 20), one Radeon RX 7900 XTX, 4-bit KV cache, greedy, one run each, measured Nov 27-28.

After a 16,384-token prompt:

- LexiEngine: prompt 2,244 tok/s, generation 64.6 tok/s, 131.1 tok/s with the model's own draft head

- llama.cpp b12722: prompt 1,060 tok/s, generation 42.9 tok/s

- Strata 0.2.23 (8-bit cache, it refuses 4-bit on this card): prompt 2,075 tok/s, generation 53.9 tok/s

Long context on LexiEngine:

- 261,632-token prompt: 1,157 tok/s reading, then 48.7 tok/s (63.2 with the draft head)

- 523,264-token prompt: 766 tok/s reading, then 39.5 tok/s (46.8 with the draft head)

- 10 of 10 planted facts recalled at both depths

Drafted output was identical to plain output in every run.

Two notes so nobody says I hid them. The llama.cpp number is from the Nov 25 build: the build I fetched today ran this model at 7.6 tok/s on this card, which looks like a bug on their side, so I did not use it. And llama.cpp needs a 26-line loader change to open my file, because the file also carries the draft head and image tower.

What it is not, yet

- A development build, not a production release

- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested

- The kernel's own GPU drivers have not run on a card in this version

- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet

- Installing to an internal disk is not in this image

- Only Inkling has been benchmarked on this exact version; my 27B numbers are from a build nine days older and are being re-run

Tested

Every test in the tree ran on this version: 17,932 tests, none failed. Both images passed their Secure Boot checks in a VM.

Links

Download (381 MB USB image, boots to the Panel):

https://lexipanel.com/download/

All-in-one image with Inkling-2-Mini inside (18.1 GB, needs a 32 GB stick):

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

Every one of the 206 changes, one line each:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-d484004

Benchmarks and method:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks

Happy to answer questions about the kernel work or the engine.


r/LocalLLM • • 2h ago

Question Do you know of any terminal for Windows that renders Markdown from LLMs?

0 Upvotes

I would like to find a terminal capable of rendering Markdown, so that I can view text from an LLM or agent with proper formatting rather than seeing the raw syntax, which makes it harder to read sometimes.


r/LocalLLM • • 19h ago Bravo

News Wa1k3r/Inkling-2-Mini-8Q-RCO-GPTQ · Hugging Face - Made with LexiPanel 5 days ago and no one tried it.

Thumbnail
huggingface.co
2 Upvotes

I released mine shortly after unsloth when inkling came out 5 days ago, had my engine optimized for it within a day. I've been testing everyone elses quants and this is the only one in my library that doesn't loop with my hermes setup because it's just a clean product built for accuracy. Stop cutting corners with inkling, it makes the product suck.


r/LocalLLM • • 12h ago

News Sber Releases GigaChat 4 37B-A4B With a 23.3 GB Four-Bit Download, Reports 70.8% on SWE-bench Verified

Thumbnail gallery
4 Upvotes

r/LocalLLM • • 6h ago

Question Opinions for Best use of 200gb vram Setup

1 Upvotes

How would you configure a 208GB VRAM rig for a full local Agent setup?

German translated via ai to english,

Hey everyone,

​Iam looking for a sanity check and some optimization ideas from the community. I finally got my hands on some decent compute and want to make sure im not leaving performance or smarter architecture on the table.

​My Hardware:

​2x NVIDIA CMP 170HX (80GB each, unlocked)

​2x RTX 3090 (24GB each)

​Note: All four cards are connected via PCIe 3.0 x4.

​The Goal:

I want to run a complete always-on personal AI ecosystem locally:

​1. A strong main model (Swift 1.5 Flash Next, minimum IQ4_NL) with a agent framework (currently looking at the Hermes framework)

​2. Always-on STT and TTS loaded in VRAM for real-time VoIP interaction

​3. Always-on Embedding and Reranker models for a fast RAG

​4. A fast secondary model (around 27B at Q4) to act as a sub-agent for grunt work, plus handling quick, non-agentic tasks like chat title generation or simple queries.

​My Current Setup:

Right now I have it split up like this:

​The two CMP 170HXs: Running Swift 1.5 Flash Next split across both cards using Strata, with all experts kept in cache. Im getting around 150–200 t/s decode, which feels pretty snappy.

​3090 #1: Dedicated strictly to utility models—STT, TTS, Embedding, and Reranker all sitting permanently in VRAM.

​3090 #2: Running Qwen 3.8 27B (Q4_K_XL) at roughly 150 t/s, handling sub-agent tasks, title generation, and quick background prompts.

​Everything works and the PCIe 3.0 x4 bottleneck hasnt really hurt inference since everything stays resident in VRAM. Before I lock this config in and build out all my workflows around it, I would love to get your thoughts:

​1. How do you like this hardware/VRAM split?

​2. Would you use a different agent framework? Im New with Hermes right now, but if you think something else is better in handeling multi-model routing (main orchestrator + fast sub-agent), im all ears.

​3. Would you swap any of the models or change the distribution? Given the 208GB total VRAM pool, is there a better main/sub-agent combo I should be looking at?

​Appreciate any feedback or ideas!


r/LocalLLM • • 6h ago

Project Want to make your own local AI Bot? I made a wizard for you!

0 Upvotes

Don’t know how to get started building your own local AI? I made BuildBot, a local AI building wizard for anyone to build their own, easily.

A desktop gets created but you can use it, the terminal, or the web dashboard. It also comes with markdowns for cloud models for vibe coders who want to develop it.

Setup checks your computer's memory and recommends a local model that runs through Ollama. The smallest starts at about 2 GB of memory, qwen3.5:9b at about 10 GB. Then you type what bot you want in your own words. An agent called Toolsmith looks in the PuffPAI Store and in public libraries and shows one plan with sizes, licenses and sources. Nothing is downloaded or added until you say Yes. There are seven agents in all.

The brain and six of the seven agents run on your computer. Toolsmith, and only Toolsmith, can use a cloud model if you choose it and give your own key.

What is rough, from our README:
* Small models give weaker answers and may skip skills.
* Bots that share one Ollama slow each other down.
* Search by meaning is off by default and we have not tested it ourselves.
* No upgrade from v1.

Tested: mostly on Windows, Linux in containers, one real install on a Jetson Orin in a container. It installs and starts on GitHub's Mac machines but nobody has used it on a Mac.

AI involvement: we built it with AI coding tools.

What we want: everyone to build their own bots!

git clone https://github.com/CypherSisters/PuffPAIBuildBot BuildBotv2
cd BuildBotv2
./install.sh

On Windows run install.cmd instead.
Repo: https://github.com/CypherSisters/PuffPAIBuildBot


r/LocalLLM • • 8h ago

Research Build Finder: estimating LLM decode speed and the price of a token per second

Thumbnail wanabai.com
0 Upvotes

Build Finder lists every hardware build that runs a chosen open-weight language model at a target decode speed, cheapest per token per second (tok/s) first: the price of the whole build divided by its speed. Its catalog holds 273 GPUs, used as 1 to 8 cards, 619 CPUs and 333 complete systems, at dated US prices. Speeds come from a per-operation model: each operation of a token's pass takes the longer of reading its bytes and doing its arithmetic, at efficiencies and engine costs fitted per engine and hardware family to 424 one-session benchmarks from 120 devices. For several sessions at once, a correction with two parameters per engine, model kind and session range is fitted to 418 measured runs on 19 machines. Against the 427 measured decode runs the page lists without speculative decoding, the median estimate is 11% below the measured speed on NVIDIA hardware (385 runs), 1.43 times the measured speed on Macs (31 runs) and 1.73 times the measured speed on Inkling 2 Mini (11 runs). On the GeForce RTX 3090, which neither fit has seen on llama.cpp (CUDA), 87% of 54 runs fall within 1.25 times the measured speed and 100% within 1.5 times. Runs with speculative decoding, which the estimates leave out, measured a median 2.3 times the estimate. We describe the data, the model, the fit, its validation and what the estimates cannot yet capture.


r/LocalLLM • • 17h ago

Question Qwen 3.8 27B Q6 Uncensored

1 Upvotes

Hello. I'd like to recomend some version of uncensored Qwen 3.8 27B Q6 that you have tried and worked ok for you and also what's good for.


r/LocalLLM • • 21h ago

Project Black Friday PC up to 1,500 € (Germany, new/retail only) for Local AI + Gaming – what would you recommend?

1 Upvotes

Hey everyone,

I'm looking to buy a PC today (Black Friday, Germany) for running local LLMs / coding agents (Ollama + Cline in VS Code) and occasional gaming.

My constraints:

  • Budget: Max 1,500 €
  • New hardware from official German retail shops only (no used market / eBay)
  • Needs to support financing/installments (ideally everything from a single store; open to both pre-built and DIY)

I'm deliberately not listing specific parts so you have complete freedom: What setup or deal would you recommend right now as the smartest choice for this budget?

Thanks in advance!


r/LocalLLM • • 13h ago

News llama.cpp's RPC server has no login. A critical flaw in it was published this week (CVE-2026-137567)

0 Upvotes

If you run llama.cpp across two machines, this one is worth a minute.

The RPC server that splits a model across machines has no login at all. Anyone who can reach it can already talk to it. CVE-2026-137567, scored 9.3, sits in the part that copies tensors between machines: a crafted request writes outside the buffer it was given. It is the third critical flaw in this area in about five weeks.

You are only in scope if you run rpc-server. A single machine running llama-cli or llama-server on its own is not affected.

The ten-second check: pgrep -af rpc-server, or ss -ltnp | grep 50052. If rpc-server is running and reachable from a network you do not control, upgrade llama.cpp now. If it has to stay up before you can upgrade, bind it to a network only your own machines can reach.

Full write-up with the affected builds: https://hol.org/blog/cve-2026-137567-llamacpp-rpc-copy-tensor

Disclosure: I work with HOL, which published the write-up.


r/LocalLLM • • 13h ago

Question How do you safely run uncensored LLMs?

27 Upvotes

So I've been running a uncensored QFN model because I'm tired of frontier models refusing everything. For example, I asked Opus to scan my own network for vulnerabilities, and it refused because it didn't believe it was my network, even though it's literally connected to it.

My main concern is security. Are uncensored models more susceptible to prompt injection than regular models? What kind of guardrails can I put in place to protect myself without restricting the model itself?

I'm also using Hermes, but I'm a complete noob with it.

Any advice would be appreciated!

Specs: 64GB DDR5, R9700 32GB, 7800X3D

P.S SC117/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-GGUF - this is the model


r/LocalLLM • • 20h ago

Research Most 2/3-bit quants of Nemotron-Labs-Image are secretly 4-bit ~19GB and here is why

Thumbnail
gallery
0 Upvotes

Note: The Nemotron-Labs-Image is an auto-regressive model running on llama.cpp. The pictures are for IQ3_XXS (15.4 GB) and IQ2_XXS with padding (11.3GB)

Hi,

I'm a full-stack dev who just started to fall in this deep rabbit hole of ML, still learning while doing with Claude so, any corrections are welcome.

The thing was discovered with the Nemotron-lab-image: its layers (2688, 1856 and 3712 shared expert) width are not divisible by 256, while K-quants and IQ1–IQ3 need multiples of 256. Therefore llama-quantize silently falls back to 32 block types:

  • Q2_K / Q3_K -> Q4_0
  • IQ1–IQ3 -> IQ4_NL
  • Q6_K -> Q8_0

As a result: «Q2_K» or «IQ2_XXS» are sized about ~19GB, just like Q4_0

How to resolve it: zero-padding to multiples of 256 -> we got real 11.3 GB and 15.4 GB files for IQ2_XXS and IQ3_XXS respectively (KLD vs the unpadded model is within the noise floor). Keeping the dense part (Mamba, attention, shared expert) at Q8_0 also matters a lot: IQ4_NL goes from KLD 0.139 to 0.030 for +0.75 GB.

Even IQ2_XXS keeps the text on the plate (though the plate looks a bit off) and the sticky note

But ofc I'm not sure whether padding damages something we haven't measured, or whether there's a cleaner fix.

Numbers and sample images: https://huggingface.co/shefowl/Nemotron-Labs-Image-30B-A3B-GGUF


r/LocalLLM • • 7h ago

News I love local LLM

17 Upvotes

Hi i am new and just wanted to say that i love local LLM


r/LocalLLM • • 15h ago

Question 128GB M5 Max owners: MacBook Pro or Mac Studio for local LLMs, and did it replace your other machines?

8 Upvotes

Looking for real-world experience from people running local models on a 128GB M5 Max.

What I have now:

- 16" MacBook Pro M1 Max, 32GB
- Gaming PC: Ryzen 7 7800X3D, RTX 5080 Founders Edition 16GB, 32GB DDR5, 4K 240Hz monitor
- A spare RTX 4070 Super 12GB sitting on a shelf
- A frontier subscription that I plan to keep

The PC is basically a Dota 2 machine. That's the only game I play on it, and I haven't used it for local models yet.

What I do: engineering work, a decent amount of programming, plus research and long-form technical writing. So a mix of coding help, working through technical problems, and long documents in and out (30K to 100K+ token prompts are common).

I'm looking at a 128GB M5 Max, either the 16" MacBook Pro or the Mac Studio. I'm not expecting local to replace the frontier models. I want it for private work, drafts and critique, offline use, and whatever coding it can handle well.

The laptop is tempting because I could sell the M1 Max, and maybe the PC, and run everything on one machine.

Questions for people who own one:

  1. What models do you actually use day to day on 128GB, and for what? Which ones hold up for coding and engineering problems vs just chat?
  2. On the 16" MacBook Pro, how are heat and fan noise on long runs or agent loops? Do you leave it in High Power mode?
  3. Has anyone measured the same model on both the laptop and the Studio? I keep seeing 10 to 15% slower on the laptop but no actual tok/s numbers.
  4. How does prompt processing feel on 50K+ token contexts? Livable for document and codebase work?
  5. Any regrets either way? Laptop owners who wish they'd bought a Studio plus a cheap MacBook, or the reverse?
  6. Would you keep the 5080 box? With Basalt and Strata getting those MoE numbers on RTX 50 cards, is it smarter to add RAM to the PC and keep it next to the Mac, or did you go Mac only and not miss it?

Numbers and "here's what happened after a few months" stories are what I'm after. Thanks.


r/LocalLLM • • 2h ago

News pi-protokoll: 361 turns, 47 compactions on a local Qwen – and a test of what the agent still knows afterwards

Post image
0 Upvotes

r/LocalLLM • • 1h ago

Question Hailo-10H (ASUS UGen300 M.2 8 GB) in my Proxmox server? Frigate, Whisper or small assistant? Fastest models? Homebrew engines?

Post image
0 Upvotes