r/selfhosted • u/EVJpodcast • 10d ago
Need Help Local AI question
if I wanted to host my own chatbot to help with research and writing on a hobby level, does anyone have a recommendation on which tool to start with?
unless it has to interact with data centers or rely on powered copyrighted materials, the better.
I have quite a few powerful computers around the house that aren’t doing much
11
Upvotes
•
u/asimovs-auditor 10d ago
Expand the replies to this comment to learn how AI was used in this post/project.
32
u/fligglymcgee 10d ago
This is a hobby with a rather high threshold for equipment to get into, do you already have a pc or high end laptop?
If you’re coming from cloud inference, you should prepare to temper your expectations a lot. Not to say you can’t get good results running local LLMs, but the activities that large ai providers claim their models can assist with are extremely difficult to define results-wise. For example, literally any size local llm (from minuscule to any ceiling) will passionately believe it can execute on “research” and “writing” assistance. If you’re expecting the same kind of experience as ChatGPT or Claude where you can ask very basic requests and it infers/iterates extensively before answering with a response close enough to tweak, you will have to build the harness around your smaller model to get a loosely similar result at home.
Really though, it would be unfair to gloss over how almost-necessary it is to already have 12gb-16gb of vram from a gpu (modern Mac machines can stand in, sort of) to get anything close to the kind of inference you’re expecting. Of course, you can find models that will run on minimal hardware but it will take a great deal of configuration and a serious amount of time will be wasted waiting for underpowered models to respond with responses you can’t fully trust.
r/localllama is your friend too.
8
u/Intelligent-Key-8817 10d ago
I'd start with LM Studio on one of those machines and a downloaded local model. You can chat offline after setup. The copyrighted-material part needs a separate check: running a model at home doesn't tell you what went into its training data. What GPU and RAM does that machine have?
5
u/Feisty-Piglet7758 10d ago
Several machines don't help much here, you can't pool VRAM over ethernet in a way that feels good, llama.cpp RPC works but is slow. So pick the single strongest GPU box and ignore the rest. For writing you also need long context, and the KV cache at 32k can cost more than the weights themselves, which is why something like a 30B at Q4 on 24GB is the realistic target and a 12GB card is not, whatever the tool. The tool barely matters at that point, llama.cpp or Ollama, and the front end is taste.
3
u/o0genesis0o 10d ago
Unsloth studio, which is an open source app, made by the unsloth team who makes a lot of high quality quantized models, and they run llamacpp under the hood, which is THE open source inference engine. This app handles the downloading of models, running inference, and supporting fine-tuning as well.
Or you can deploy llamaswap proxy and llamacpp binary on a headless server yourself, and deploy open webui service to access the AI via web browser.
Noted that llamacpp might not be the optimal choice if you want to run certain model on certain hardware as fast as you can. For example, folks with AMD R9700 card would run Radiance, and folks with Nvidia card would run Ninfer to utilise their hardware better. I can see up to 3x speed up on my R9700 using Radiance. But I still keep a llamacpp as fall back since it runs on more types of hardware.
3
u/arahknxs 10d ago
Piggybacking to ask a related question - with a typical gaming pc, local LLMs aren't as good as even free chatgpt.
Having said that, anyone got any cool use cases for self hosted LLMs that don't require that level of inference? Eg, agents checking websites for simple stuff and notifying you via HA, or basic categorisation of images, or something else?
1
u/cibernox 10d ago
There are many right answers and only one wrong one: ollama.
But beware, to get decent results you need decent hardware. I have 256gb of vram, soon 320gb, and I wouldn’t recommend going below 128gb of available memory for AI models.
1
u/Leading-Compote-686 10d ago
Ollama or LM studio if you are okay with command line. Open webui on top if you need good looking interface. I just did a qwen 3.8 27b on ollama and open webui in my local machine. It is a bit slow but that is ok with me
2
u/xewebbe 10d ago
Ollama or LM studio? Both are pretty user friendly. The performance really depend on your hardware. If you don't want instant answers, this may be a good start on "normal" hardware.
2
u/andurux 9d ago edited 9d ago
Big subject here...lets breakdown some items:
The more VRAM you have, the bigger models you can run on memory directly, which speeds up processing.
However, there are solutions like: Strata, Basalt, Polystrata, that can use your VRAM AND your system RAM to load bigger models. The more RAM you have, the bigger the model. Though processing speed is affected since the model is not fully loaded into VRAM but split across VRAM and RAM.
You also need storage space to download the model files. Some models are a couple gigs, but the bigger models can be hundreds of gigs. So plan storage accordingly.
Now, going back to the Backend vs Chat vs Agent. You don't have to have all of these on a single system. For me I have:
I point Hermes and Open WebUI to my desktop via API/API key. I do it this way so I can blow away my desktop at any point and reload it with whatever hardware or models or OS and then reconnect it to my frontend via the new API. I can also do snapshots of my Hermes agent and restore if needed without effecting Open WebUI or my model.
My recommendation(s):
3
u/Thebandroid 10d ago
r/localllama
r/lowendlocalai
1
u/ahorsenamedjeff 10d ago
You're gonna need a lot more compute than you think to do anything useful tbh.
1
u/cawlisseDeTabarnak 10d ago
There project colibri that runs some LLM with reduced memory; I’ve only scratched the surface, don’t know how useful or how well this actually works IRL
1
u/prodigiouspianist 10d ago
How much vram do you have
1
u/shortsteve 9d ago
a lot of people have given their recommendations, but it also depends on the hardware you want to use for AI.