| Post Reply | RetroFed Forums Forum Index
» Selfhosted
Page 4 of 4 Goto page « First Previous 1, 2, 3, 4 |
| Author | Message | ||
|---|---|---|---|
|
kensand
sopuli.xyz
kensand@sopuli.xyz Joined: 2023-09-10 |
Can you elaborate on LLMs using CLI more effectively than MCP? Do you have any sense of how likely it is just your domain or the MCPs you're using? Do you have any theories about why that may be?
MCP in general:
CLI in comparison:
CLI does of course have its own downsides, I think the biggest being security. Give an LLM an MCP server, and all it can do is what that MCP server supports. Give an LLM a Turing complete shell, and it can do anything. MCP also tends to be harder to set up and harder still to fix when it doesn't work. I've watched Claude fall back to curl commands when a connector doesn't work many times. I've never seen it try curl commands, fail, and then try to set up MCP. I think this is all fairly domain dependent, but I think my domain (software development and general agenetic assistance) is very common. If you're using an LLM in a product that you're selling with a fixed range of features, MCP is probably the way to go. If you're using an LLM for dynamic functionality with expanding capabilities, I think CLI might fare better. My main reasoning for all of this is flexibility. In the history of computing, a program has always had a fixed output for a fixed input. LLMs are at the point where they can handle what is effectively an arbitrary input and give an arbitrary output. Giving an LLM a fixed set of tools negates that newfound ability to process the unknown. It's like giving someone a sledgehammer to bust rocks, but tiring one hand behind their back; the work might get done, but not as efficiently. |
||
| 2 | |||
carrylex
lemmy.world
carrylex@lemmy.worldJoined: 2024-04-05 |
No, I prefer using my brain or other things that usually work 100x more efficient without hallucinations and don't required a shit ton of RAM that are way to expensive to buy right now. |
||
| -1 | |||
|
ikidd
lemmy.dbzer0.com
ikidd@lemmy.dbzer0.com Joined: 2026-04-23 |
I don't want to create an extra post, so I ask here. Where do you guys get your hardware from, for an affordable price? I'd like to run at least a 27b model but my hardware is too weak. I'm on a 16GB unified mem, M4. Tried running Bonsai 27b (it's Qwen architecture) but I had to close all other apps and it is not in a state that I could work with it.
A Tesla V100 is fairly affordable but older and won't run newer quants like FP8 or attention kernel routines. But it will run a pile of models, even most new models are compatible or usable. |
||
| 3 | |||
mbp
lemmy.sdf.org
mbp@lemmy.sdf.orgJoined: 2023-06-29 |
Yeah, I know how to do that very easily, but I don't want to have my pc running 24/7 just so I can use the llm when I'm out of the house. My heaviest use is at home. It's a large power requirement for minimal use.
Hell yeah. I totally agree. |
||
| 1 | |||
|
xylogx
lemmy.world
xylogx@lemmy.world Joined: 2023-06-26 |
With my NVidia Geforce 3070 card with 8GB of VRAM I can get 40 tokens per second on smallish models such as llama3.1 or qwen 3.8. I use it mostly for NLP processing of game server logs to create match summaries and I use whisper for audio-to-text transcription of videos. While I do not have enough vram to put large logfiles into the LLM directly I was able to have it create a python script that generates a summary file at the end of each match. I feed the LLM the summary file and it generates color commentary that gets posted to Discord. Here is an example: [🌟]Color Commentary: A Display of Skill on dod_napoli_b1! $ollama list $ollama run llama3.1:8b
Considering these factors and the specifications of your GPU, here are some popular AI model examples suitable for an NVIDIA GeForce RTX 3070 with 8 GB VRAM: Computer Vision:
Natural Language Processing (NLP):
Generative Models:
Keep in mind that these models have varying computational requirements, memory footprints, and performance characteristics. You may need to experiment with different hyperparameters or architectures to find To estimate which models will run smoothly on your hardware, consider the following:
For more detailed estimates and comparisons, I recommend exploring resources like:
Feel free to provide more specific requirements or task details if you'd like me to help with model selection! total duration: 13.256527877s |
||
| 3 | |||
|
heyeddi
lemmy.world
heyeddi@lemmy.world Joined: 2026-10-17 |
I'm building toward exactly this, so take it with that bias. The cheap tier works if you lower expectations. An N150 mini PC with 16GB runs small models through Ollama fine, but 8B models are slow on that class of chip, and you'll feel it on anything chat-shaped. Where it shines is async work: summarize this, tag that, answer when it's ready. For phone access I'd keep it LAN-only and use WireGuard or Tailscale to get home rather than opening a port. Disclosure: I'm working on a small open-source home box that bundles local AI with offline Wikipedia and media. What would make you trust a box like that over a setup you built yourself? |
||
| 2 | |||
|
redballooon
lemmy.world
redballooon@lemmy.world Joined: 2023-06-11 |
I run the AI service (OpenwebUi) myself, but buy the compute on OpenRouter. Self hosting models is not an economic viability for me. |
||
| 0 | |||
|
uzername
lemmy.world
uzername@lemmy.world Joined: 2026-03-04 |
What variants? And why two?
For coding with large context: Qwen3.8-27B-GSQ-RCO-IQ3_S-mtp |
||
| 3 | |||
|
Schilling2304
thelemmy.club
Schilling2304@thelemmy.club Joined: 2026-05-11 |
With my NVidia Geforce 3070 card with 8GB of VRAM I can get 40 tokens per second on smallish models such as llama3.1 or qwen 3.8. I use it mostly for NLP processing of game server logs to create match summaries and I use whisper for audio-to-text transcription of videos. While I do not have enough vram to put large logfiles into the LLM directly I was able to have it create a python script that...
What game servers ? MiniCPM5 may be good. |
||
| 1 | |||
|
binaryqueen
programming.dev
binaryqueen@programming.dev Joined: 2026-04-24 |
A Tesla V100 is fairly affordable but older and won't run newer quants like FP8 or attention kernel routines. But it will run a pile of models, even most new models are compatible or usable.
I will ask Santa Claus for that GPU <3 |
||
| 1 | |||
dieTasse
feddit.org
dieTasse@feddit.orgJoined: 2025-02-24 |
I tried, but didn't want to invest into it, so I used my 12-GB-vram gpu but no matter what I did it was worse than Lumo from proton,which is basically only one LLM from 3rd party that I am okay to use on occasions and since it has really good free tier I gave up on self hosted LLM. |
||
| 3 | |||
dieTasse
feddit.org
dieTasse@feddit.orgJoined: 2025-02-24 |
I use Qwen 3.8 27b Q4 with 100k context (llama.cpp and the Mistral AI harness) on a 24 GB AMD Radeon 7900 XTX and it's been great. It can handle pretty much anything I throw at it and I can let it work indepedently overnight / over days on long tasks.
How much electricity does it burn? And how much does it cost to let it run overnight? I feel like this is the same problem that the companies have, its way too expensive to use it on a lots of things and it is way cheaper to use it on someone else's server.. |
||
| 1 | |||
dieTasse
feddit.org
dieTasse@feddit.orgJoined: 2025-02-24 |
No, I prefer using my brain or other things that usually work 100x more efficient without hallucinations and don't required a shit ton of RAM that are way to expensive to buy right now.
Unless your brain is hallucinating this whole reality 😀 |
||
| 1 | |||
|
AceBonobo
lemmy.world
AceBonobo@lemmy.world Joined: 2023-07-02 |
I run the AI service (OpenwebUi) myself, but buy the compute on OpenRouter. Self hosting models is not an economic viability for me.
Does OpenRouter have full access to your prompts? What is their privacy policy? |
||
| 0 | |||
trougnouf
lemmy.world
trougnouf@lemmy.worldJoined: 2023-06-20 |
I have nearly the same setup, except OpenCode for the harness. I run 200k context for anything that doesn’t need vision, or 150k otherwise. Typically get about 30 t/s decode With MTP, starts at close to 800 t/s for prefill and drops to the 200s for a long context. I’d imagine higher decode speeds are possible with some tinkering, but I haven’t gotten around to it.
I get about 45 t/s after some tweaking, getting the thermals under control helped a lot; mainly by reducing the power consumption to 261 W (and downclocking a little bit). What vision model do you use? |
||
| 1 | |||
trougnouf
lemmy.world
trougnouf@lemmy.worldJoined: 2023-06-20 |
How much electricity does it burn? And how much does it cost to let it run overnight? I feel like this is the same problem that the companies have, its way too expensive to use it on a lots of things and it is way cheaper to use it on someone else's server..
It uses 261 W, probably more expensive than getting a 2nd Mistral subscription with the cost of power where I live (Belgium), but it will be free heat once I have solar panels and a battery. |
||
| 1 | |||
|
story
lemmy.zip
story@lemmy.zip Joined: 2026-08-19 |
i run k2 7b, it's delightful! |
||
| 0 | |||
|
plz1
sh.itjust.works
plz1@sh.itjust.works Joined: 2026-04-25 |
Qwen 3.8 27B, running on a RTX 5090. Works so well. |
||
| 1 | |||
|
redballooon
lemmy.world
redballooon@lemmy.world Joined: 2023-06-11 |
Does OpenRouter have full access to your prompts? What is their privacy policy?
They have a flag Zero Data Retention that cones with the promise that after a call no data is kept on any servers. I'm using that. It's contract level trust; I wouldn't bet my life on it, but overall it's a compromise I'm willing to make. |
||
| 0 | |||
|
zorflieg
lemmy.world
zorflieg@lemmy.world Joined: 2023-06-23 |
If you are playing around at home I suggest seeking a MoE model. You get less penalty from having less vram and offloading to normal ram. I run Qwen 3.6 quant 6 on 250k context on a 16gb vram 64gb ram ddr4 PC. I get about 31tps which is enough for my use. After a little tweaking I have put results of it's output into Claude Pro for vetting and it hasn't found any flaws in the simple scripts and things I've asked it to make. I can only run Qwen 3.8 which is a dense model and not MoE. At low quant with not as much context. It spits out accurate short context answers if that's all you need. So I prefer 3.6. Tiel is faster but Claude picked up more errors in what I was doing. Orinith kept getting into thinking loops for me so I stopped using it. Anyway I'm just a little guy. |
||
| 4 | |||
dieTasse
feddit.org
dieTasse@feddit.orgJoined: 2025-02-24 |
It uses 261 W, probably more expensive than getting a 2nd Mistral subscription with the cost of power where I live (Belgium), but it will be free heat once I have solar panels and a battery.
Thank you, that is not as bad as I expected. 👍 |
||
| 1 | |||
|
twilightwolf90
lemmy.world
twilightwolf90@lemmy.world Joined: 2023-07-01 |
A quick glance shows that I'm in the minority. I grabbed a Bosgames M5 with 128GB UMA RAM when I discovered openclaw (at the time claudebot). I'm running Lemonade, which is a wrapper for llama.cpp, sd-cpp, flux, and others. I'm happy to have paid a "mere" $2400 compared to what similar systems cost now, and now I'm toying with fine tuning my own models. Though, I primarily run Hermes Agent paired with Qwen3.6 35b A3B (using a heretic ablitieration for 0 refusals). Hermes Agent does a lot of random stuff for me right now. It manages my calendar and to-do list in nextcloud via MCP server. It created and maintains an llm-wiki based on my Obsidian Vault. Then it creates a report every morning about both and the weather. The server has tailscale installed, so yes I can access it anywhere. |
||
| 6 | |||
|
freedom
lemy.lol
freedom@lemy.lol Joined: 2025-06-30 |
I have nearly the same setup, except OpenCode for the harness. I run 200k context for anything that doesn’t need vision, or 150k otherwise. Typically get about 30 t/s decode With MTP, starts at close to 800 t/s for prefill and drops to the 200s for a long context. I’d imagine higher decode speeds are possible with some tinkering, but I haven’t gotten around to it.
OpenCode recently got hacked and advises changing API keys fyi. |
||
| 1 | |||
|
bier
lemmy.blahaj.zone
bier@lemmy.blahaj.zone Joined: 2023-06-19 |
Unless your brain is hallucinating this whole reality 😀
I wish |
||
| 2 | |||
Jul
piefed.blahaj.zone
irotsoma@piefed.blahaj.zoneJoined: 2025-09-25 |
Even ignoring all of the functional issues with LLMs/"AI" related to their design to never admit to not knowing and preferring to make stuff up instead (hallucinate), I have an ethical qualms about the way they are trained. Two primary issues are that they aggressively scrape data from sources that explicitly do not consent to sharing their work and the data centers which have made hardware impossibly expensive for everyone but them and are so impactful to our underfunded electrical grids that they cause brown outs that keep people from heating their homes among other things, cause major spikes that cause house fires and destroy home appliances, and create an excuse to generate power using the worst polluting generators that we had finally gotten shut down to slow climate change (personally I'm tired of the wildfires and extreme storms from climate change). So, I personally consider it extremely unethical to use the technology for that and several other reasons which are hard to touch on exhaustively in a post like this. |
||
| 2 | |||
|
rumba
lemmy.zip
rumba@lemmy.zip Joined: 2024-09-24 |
I am actually very interested in the news feed thing. How do you find duplicates in the news feeds? Wouldn't you have to pull the actual articles and then have MB of data to shift through which would exceed the window? Do you use a vector DB? Do you just have it use curl or do you pay for an Internet API service?
Pardon the mess, this turned out to be quite a lot of text. No vector DB, no paid API, no full articles. Plain Python pulling free RSS feeds, plus Ollama running on my own 2070 Super. RSS already gives you the headline and a short blurb, so there are never megabytes to sift through. Every Ollama call is one story at a time, so the context window isn't an issue. Llama3.1:8b for summaries and scoring. Gemma4:e4b for clickbate work, nomic-embed-text for headline duplicate vectors. Find duplicates: Python: strip each headline down to keywords (drop words like "the", "says", "update") and only compare headlines that share an uncommon word. Two headlines match if they share enough keywords. Python: sends batches of 128 headlines to Ollama Ollama: turns each headline into a vector using nomic-embed-text Python: compares the vectors, and anything over the config threshold counts as the same story. The vectors just live in memory for the run, no database needed. If Ollama is down, the keyword match still works on its own. Regen short summaries: Ollama: Generate a 2 sentence summary from the feed text if available Get rid of clickbait: Ollama: Detect clickbait from the headline only. Unwrap clickbait and rewrite the headline if possible, otherwise drop the story Ollama: Does the text below explicitly answer that exact question? Mentioning the topi "answer": the answer quoted or closely paraphrased from the text, or "" if the text doesn't give it. Respond only with JSON: {"answer": "", "headline": ""} Headline: {title} Score each headline Ollama: return a summary and an importance score in the same call: SCALE = ("1-3 niche, local or trivial; 4-6 notable; 7-8 major national or inte Python: rank = importance + a bonus for more outlets carrying it - points for age Don't put US articles in World unless they have non-US countries involved Ollama: Respond only with JSON: {"countries": ["..."]} Headline: {title} Python: if the only country is the US, it's left out of World Everything gets cached per story, so each one only goes through Ollama once. |
||
| 2 | |||
|
StateMachine
lemmy.zip
StateMachine@lemmy.zip Joined: 2026-10-06 |
Pardon the mess, this turned out to be quite a lot of text. No vector DB, no paid API, no full articles. Plain Python pulling free RSS feeds, plus Ollama running on my own 2070 Super. RSS already gives you the headline and a short blurb, so there are never megabytes to sift through. Every Ollama call is one story at a time, so the context window isn't an issue. Llama3.1:8b for summaries and sco...
Wow, this is an absolutely wonderful write-up, thank you! |
||
| 2 | |||
|
boudica
lemmy.world
boudica@lemmy.world Joined: 2024-03-09 |
Llama.cpp running qwen 3.8 on a mini PC with 32GB ddr5 ram and 8GB vram. Not the most speedy but it works. I only really access it while at home but I'm also set up with tailscale. |
||
| 5 | |||
|
PeriodicallyPedantic
lemmy.ca
PeriodicallyPedantic@lemmy.ca Joined: 2023-07-13 |
MCP in general: MCP is very verbose (json tool declarations) Every tool incurs a prefix cost, which can be in the thousands of tokens across all tools Tool outputs are usually dumped straight into the prompt. Sometimes they are truncated and dumped into a file with a warning to the LLM, but usually after they reach thousands of tokens Changing any tools breaks your prefix cache. Tool discovery ...
I agree with you for common CLIs that the model will natural have in its training set, but when building your own CLI it seems like the self-documenting nature and progressive disclosure of MCP would have a huge advantage. I don't see how mcp is any more a fixed set of tools than CLI is. It's just presented to the agent in a structured way, which is important for discovery and instruction following. But yeah ease of chaining is certainly useful wrt CLI. That's a huge win for sure. |
||
| 1 | |||
|
Lka1988
lemmy.dbzer0.com
lka1988@lemmy.dbzer0.com Joined: 2024-11-18 |
I wouldn't mind running a model at home, mostly to help document my setup. But I just don't trust it. So no. |
||
| 2 | |||
|
andrewoidxyz
lemmy.world
andrewoidxyz@lemmy.world Joined: 2026-10-07 |
I just bought a 32GB M6 Mac Mini that I'll also use for local ai. Will probably use Qwen3.8-27B. Accessing it from outside my lan would happen via Tailscale. |
||
| 1 | |||
|
andrewoidxyz
lemmy.world
andrewoidxyz@lemmy.world Joined: 2026-10-07 |
I wouldn't mind running a model at home, mostly to help document my setup. But I just don't trust it. So no.
Why wouldn't you trust a local model? I mean sure they are less intelligent but if you dont expose it publicly you should be good to go |
||
| 2 | |||
|
andrewoidxyz
lemmy.world
andrewoidxyz@lemmy.world Joined: 2026-10-07 |
Llama.cpp running qwen 3.8 on a mini PC with 32GB ddr5 ram and 8GB vram. Not the most speedy but it works. I only really access it while at home but I'm also set up with tailscale.
So you're using CPU offloading? Or the model's Bonsai2 variation? |
||
| 1 | |||
|
Lka1988
lemmy.dbzer0.com
lka1988@lemmy.dbzer0.com Joined: 2024-11-18 |
Why wouldn't you trust a local model? I mean sure they are less intelligent but if you dont expose it publicly you should be good to go
I don't trust it to be accurate; I'd have to reference the sources it pulled from. Extra work for little payoff. |
||
| 4 | |||
|
andrewoidxyz
lemmy.world
andrewoidxyz@lemmy.world Joined: 2026-10-07 |
I don't trust it to be accurate; I'd have to reference the sources it pulled from. Extra work for little payoff.
Got it, makes sense. You'd probably have to do some benchmarking first. Depending on how large the source catalog is. |
||
| 2 | |||
|
andrewoidxyz
lemmy.world
andrewoidxyz@lemmy.world Joined: 2026-10-07 |
That 33% downtime though
Downtime is the friends made along the way |
||
| 1 | |||
|
mal3oon
lemmy.world
mal3oon@lemmy.world Joined: 2023-09-07 |
I wouldn't mind running a model at home, mostly to help document my setup. But I just don't trust it. So no.
It depends on your hardware. But right now the "cheapest" hardware you can buy for a usable setup, is the strix halo (128GB), and run gufo with qwen 3.8 flash next (Q4XL). It is sonnet 5 level. Very good speed (both prefill 1000+ and decode 50+), with up to 256k context. I have it set up with omp + searxng. Sometimes with hermes. Really good! It changes the game for local setup. |
||
| 1 | |||
|
mal3oon
lemmy.world
mal3oon@lemmy.world Joined: 2023-09-07 |
A quick glance shows that I'm in the minority. I grabbed a Bosgames M5 with 128GB UMA RAM when I discovered openclaw (at the time claudebot). I'm running Lemonade, which is a wrapper for llama.cpp, sd-cpp, flux, and others. I'm happy to have paid a "mere" $2400 compared to what similar systems cost now, and now I'm toying with fine tuning my own models. Though, I primarily run Hermes Agent pair...
Try gufo with qwen 3.8 flash next. Much much better than 3.6-35B. |
||
| 1 | |||
|
Lka1988
lemmy.dbzer0.com
lka1988@lemmy.dbzer0.com Joined: 2024-11-18 |
It depends on your hardware. But right now the "cheapest" hardware you can buy for a usable setup, is the strix halo (128GB), and run gufo with qwen 3.8 flash next (Q4XL). It is sonnet 5 level. Very good speed (both prefill 1000+ and decode 50+), with up to 256k context. I have it set up with omp + searxng. Sometimes with hermes. Really good! It changes the game for local setup.
googles Jesus christ |
||
| 2 | |||
|
mal3oon
lemmy.world
mal3oon@lemmy.world Joined: 2023-09-07 |
strix halo (128GB) googles Jesus christ
Just get the cheapest OEM, Bosgame M5. I know "cheapest" is in quotes. But again, it is the cheapest 128GB unified vram device you can get right now. I got mine at pre-orders, so yes, more than a year and a half ago, prices were a steal. Also, great desktop (mini) PC overall and very efficient, even if you don't want to do AI. |
||
| 0 | |||
|
twilightwolf90
lemmy.world
twilightwolf90@lemmy.world Joined: 2023-07-01 |
Try gufo with qwen 3.8 flash next. Much much better than 3.6-35B.
How well does it handle concurrency? I could see this as a vast improvement on llamacpp, but I was already speccing out vLLM. |
||
| 1 | |||
|
Lka1988
lemmy.dbzer0.com
lka1988@lemmy.dbzer0.com Joined: 2024-11-18 |
Just get the cheapest OEM, Bosgame M5. I know "cheapest" is in quotes. But again, it is the cheapest 128GB unified vram device you can get right now. I got mine at pre-orders, so yes, more than a year and a half ago, prices were a steal. Also, great desktop (mini) PC overall and very efficient, even if you don't want to do AI.
I have like 150GB of DDR3 spread over multiple 2/4/8/16GB sticks, I wonder if I can get that working for something like this 🤔 |
||
| 1 | |||
wsis
feddit.cl
vsis@feddit.clJoined: 2023-06-18 |
I wish I could. I don't have the hardware for it.
I run Gemma-4 4B. It's not the best model, but it runs with CPU only and with 6 ~ 9 G of RAM. |
||
| 1 | |||
| Post Reply |
Page 4 of 4
Goto page
« First
Previous
1, 2, 3, 4
Back to top |