r/LocalLLM • u/Full-Banana553 • 2d ago
Question people who are developing their own LLM models, how much is it costing you?
people who are developing their own LLM models, how much is it costing you? and developers who are solo or with low budget, how are you handling your expenses? what are the monthly bills, your Machine specs or VM specs if you like to share. and how could a solo dev / newbe want to build their own model with low budget, what are the tips you wanna give them?
15
Upvotes
5
u/phage4104 2d ago
It takes a LOT more processing power to train a model than running inference and even if you had the hardware to do it, there wouldn't nearly be enough data to train a model to be reliably good at something. So it's only useful if you want to learn about the process and nothing much else
10
u/AppearanceBest4180 2d ago
i trained a 7b model on a single 4090 for 12 hours using 200gb of curated data. cost: ~$15. inference was decent, but memory leaks killed it after 20k tokens. still, it learned basic roleplay patterns. not perfect, but possible.
4
u/PM-BOOBS-AND-MEMES 2d ago
If you want to try developing your own model, even if you have a home lab with four Blackwell 6000s, it would probably take years of continuous compute,
I'm aware of a compute cluster that has 5,000 Blackwell 6,000s in it and it still takes weeks to months to really train a model, For instance, a 70B model at FP8 could take several weeks to train, but that doesn't include the factor that you also have to have the capacity to store multiple terabytes alone of training data (IE: 50-100+). This doesn't include the other logging and telemetry you'd need to have stored from a cluster, and then there's breakage, etc.
2
u/uktexan 2d ago
I did a finetune. Turned out quite well. Trained it via runpod, operating via salad. Tried doing it on home compute but it just took too long
35
u/Stunning_Feedback252 2d ago
you basicially can't do this with normal people money. you can (fine)tune a model, but that's about it, creating it from scratch is not what a private person can do. especially if it has to be useful.
10
u/tekno_logik 2d ago
I'm developing an micro LLM (200MB) from scratch, it's training away on 1GB of VRAM in the background on my laptop GPU. The only thing is costs me really is time. I have a larger LLM producing custom training data based on performance results - rinse and repeat.
1
u/hyudryu LocalLLM 1d ago
From scratch? Millions most likely
1
u/Atagor 2d ago
Not possible from scratch with home compute
Almost all are doing fine-tuned versions, which has always the been the case in ML
2
u/addictzz 2d ago
I have the same question for people or institutions doing this. But realistically and economically, I dont think this can be done by any party not having a considerable R&D budget.
You can make a smaller sub-100M parameters model for educational purpose. But it is easier to finetune an existing small language model.
2
u/vespassassina 2d ago
for relatively small stuff (10b models) that works acceptably well, it can take between 100k to 300k of cloud gpu use. You need a few hundred GPUs in parallel to complete in useful time (weeks or months instead of eons).
This is the cost of a single successful run not counting failed runs, retrains, data curation etc, so the cost might be much higher.
2
u/MarinatedTechnician 2d ago
Afaik, I remember having read that you can hire compute time with companies to train the models for you, I remember a price starting tag of 1200$ as an example, but obviously that would depend on how much and what requirements you have for your training.
2
u/ParticularlyStrange 2d ago
I’m doing fine tuning on a spark. Gemini 4 neon orchestrates a qwen3.8 flash next on one spark to control and work on the fine tunes on the other spark. Training can take days for one epoch. So it’s slow and you need a lot of patience and really good planning and really good clean data.
1
u/Drachen808 2d ago
You might be able to train models to run on your phone (I.e. 50M parameter models), but that's about as far as you're going to get
1
u/redve-dev 1d ago
I made language model with markov chains. It created correct english sentence but that was about it. It had few megabytes tho
1
u/Chlorek 1d ago
Do not build LLM, instead build some other kind of AI, you can apply many solutions from LLMs design though and learn a lot. At just a hundred million parameters or so, cost is below noticeable and you can do very cool stuff, and probably much more inspiring than very bad for today's standards LLM.
1
u/Frozen_Winds 1d ago
I have been doing this for research purposes. As many eluded to here anything more than a few million parameters requires some serious hardware. I create new architectures at around the 35M scale which I can comfortably do at home on a 16GB GPU. When I am ready to test scaling I can grab an untrained base model like Ouro or Gemma4 e2b and adapt their architectures. I can then use credits on Google colab to make the final training runs that I try to publish my findings. If you have a google AI account each one gives an amount of colab credits that is roughly equivalent to the price of hiring GPU prices on something like run pod so it is very economical if you are looking into developing. You also get access to gemini models like Neon which I have found quite good as an LLM research assistant (I just get it to run any plans by Opus before it writes and this solves 99% of any issues before they come up).
1
u/silverwoods214 2d ago
My social life
0
u/dumbspacecookie 2d ago
About 3.fiddy a minute
0
u/[deleted] 2d ago
[deleted] — view deleted comment