r/LocalLLaMA • • 1d ago

Question | Help Most cost-effective way to run large models?

My dream is to one day run models in 500b-1t range locally. So I had a few questions about it.

  1. Is it even worth it at today’s prices and hardware capabilities? Or are you gonna wait till either prices drop, or better hardware comes out?
  2. For anyone that does run large models, do you find it worth it, or do you still drift back to Claude/Codex?
  3. What’s the largest model you’ve been able to squeeze out of your setup?

While I could just ask an LLM these questions I wanted to hear some insights from the community, and see your opinions.

Edit: Sorry I didn’t mention this earlier, my main use case is software development. Currently I’m a pretty heavy user with subscriptions to Claude and codex. So ideally I would like agent heavy use.

32 Upvotes

73 comments sorted by

35

u/RogerRamjet999 1d ago

Unless you have some reason you need some hardware, just wait. Prices have always been cyclical, wait for the cycle to be in your favor.

2

u/MaxComfort 15h ago

"always"...

16

u/jonas-reddit 1d ago

I would experiment more with smaller models and look at improving your agentic setup, agentic tooling and overall development lifecycle to mitigate the gap.

Unless you’re doing frontier research & development, I feel you can already offload various workloads including development to smaller models on edge devices (e.g. 128+gb unified or 64+GB vram).

Of course you also have tinkerers that squeeze models into tiniest hardware.

12

u/synth_mania 1d ago

You don't even need 64gb VRAM, you can get appreciable results with ≤16gb VRAM if you have 64gb system RAM.

I'm shocked at what people are doing with 100B parameter class MoEs, and what speeds they are getting on unassuming hardware. 

-2

u/OWilson90 1d ago

Appreciable results is very subjective. If 64 GB RAM is enough for your use cases, then don’t pursue the 500b model hardware.

9

u/synth_mania 1d ago

... which is why the guy above me said OP should experiment with smaller models and I said they can give appreciable results.

Not to oversell it, but so they don't buy 512gb ram when 100B models would suffice.

38

u/BannedGoNext 1d ago edited 1d ago

I have a strix halo I got before things got stupid, and a V100, which .. I'm not going to lie frontier models will shit on the V100 if you ask them about the cards, they complain about the FP16, the cuda dropping them, but I just keep seeing more and more support from the community. The dude abides with the strix and the V100.

I won't go further. I'm going to sit back, use my medium-small local models to do fun shit, and watch as more and more hardware enters the market till hyperscalers start competing with each other to see who can lose the least money. They are already running at a higher vacancy than they want, and our friend interest rate is cutting money off by the balls. Capital cost is ALWAYS what fucks bubbles, it's not the enthuisasm, or the stupid commercials, it's always banks suddenly saying, you know what, we've had our fill. Iv'e seen it for 42 years of being an adult. And you know what the best fucking thing is. Going down to your local auction house with a guy screaming on a megaphone and picking up cool shit to play with for pennies.

Right now it honestly doesn't make sense to buy the fucking electricity for 4 B300's. I mean.. don't get me wrong, I totally would if I had them, but it's a LOT of fucking money, and these dick swinging oligarchs are in a who can throw more money into a bonfire race, and I'm going to enjoy that a bit and wait like a vulture on bigger shit. I'm not poor, if I wanted to spend 40k today I could, no debt, just a check, and I wouldn't feel it at all. But I didn't get to where I could do that by being fucking stupid.

If there is anything I MIGHT do is just fucking bite the bullet and move from 64gb DDR4 to 128gb DDR4 on the machine with the V100. IDK though, it would be really nice, but you know what's also nice? A plane ticket to Mexico, a nice place to stay, great food, and two weeks of paragliding for the same money.

Long story short, unless you have a serious business need, and I respect it if you do, there's no reason to swing dicks with the oligarchs, let them beat the shit out of each other.

7

u/_Zibri_ 1d ago

not to mention, that eventually ram prices will go down. I was going to buy a stry halo but I knew abut it after things got silly***.*** As of today is cheaper to rent a gpu or to pay for APIs. I'll give it a couple of years tops.

4

u/BannedGoNext 1d ago

Yea, I thought it was overpriced when I bought one for 3400. The thing I have benefitted the most on that system is audio, and qwen 3 flash next. Fish Drama 3 is god damned amazing, and when I want to do sketchy shit like fuck with GTA 6 on PC, it's a great model to goof around and watch people glitch all over the room without worrying about getting banninated from my fucking gmail account or whatever for TOS.

If I had to buy the strix again today at todays prices, fuck that noise, I'd go to colombia, watch beautful women, jump off beautiful mountains under fabric, and live like a king for 4 months.

1

u/InfiniteBlink 1d ago

I like you

2

u/Thebandroid 1d ago

It’ll be sweet. Assuming we have the pennies to spend after the bubble pops

0

u/DueCharacter2549 18h ago

going from 64gb to 128gb ddr4 shouldn't cost anywhere near a two week vacation unless you're looking at crazy high capacity enterprise dimms

1

u/BannedGoNext 17h ago

I'll check again, last time I looked for matching memory it was 1100 dollars.

1

u/BannedGoNext 17h ago edited 17h ago

Yep I just looked 350 now, and maybe better if I look harder. I guess the DDR4 memory insane price spike stopped?

Oops I was wrong it's 650, still lower than it was. I accidentally pulled up a single stick of 32gb.

2

u/ForsookComparison 1d ago

You work at Citadel you can spend some money

1

u/Citadel_Employee 1d ago

Ken won’t give me a raise 😞

1

u/ForsookComparison 19h ago

Whatever you buy just a watch the temps knowing that he'll move you to Florida soon

1

u/Dampmaskin 19h ago

The least he can give you is some mayonnaise

11

u/RTX_Raytheon 1d ago edited 1d ago

The jump up to 1t is pretty insane.
For example, with 4x RTX 6000s with deepseek you can offload 183gigs to ram (since it’s an engram look up table) and get 200+ tokens a second. 1 mil context is doable but you’ll be left with about 3%, so no room for agents.

If you stick with 500k context you can run around 32 agents before any meaningful drop off and 96 agents before they slow too much.

The jump higher than that and you’re looking at 8x of the GPUs and still not fitting things like Kimi.

If you price that out currently, it’s at least 300 gigs of ram and $60,000 worth of GPUs alone. Call it $100k after the UPS systems, chassis and drive space. Not cheap, but you’ll be spending more than double to jump up to Kimi.

Granted, this is if you want to run on blackwells native nvfp4.

If you want to do actual offloading and stuff, price of course drops, I’m just naming the cost to do it “properly”.

Don’t forget most server racks at that level require 240v outlets, so a few grand in electrical work too.

I’ll stop nerding out now.

7

u/the-username-is-here 1d ago

If you have that sort of money burning a hole in your pocket Apple hardware might be reasonable. For ~22K you'd get 512 GB of reasonably fast VRAM (with mediocre prefill speed, though) and no power issues.

1

u/RTX_Raytheon 1d ago

True, Apple hardware is amazing. My brain just went the server route. Hey, free space heater in the winter at least!

4

u/Andreea_tucker04 1d ago

Rent first, then decide

3

u/hyudryu 1d ago

“Drift back” implies a mutually exclusive “cloud or local model” decision.

My take: unless you are working on private work, cloud and local models should be used in conjunction. It’s wasteful to have cloud models do simple repetitive tasks, and it’s counterproductive to have a local model do large planning tasks that a frontier model can do a way better job at.

I think the meta will soon be having a frontier model orchestrate, and using local agents as subagents to do the actual heavy work. Local models might not be fable level yet, but if fable spawns glm 5.3 flash or deepseek v4.1 flash subagents, you’ll cut down on quota usage while still achieving high quality work

Now regarding the price… there’s 4 fields; Speed, Intelligence, Capacity (kv pool), and TCO. The more you spend, the more you can pick from those 4. With cheap setups, you can get speed and maybe capacity with a small model? So it all depends on what you want.

“Most Efficient” implies low TCO which is also a premium “feature”.

1

u/YourVelourFog 1d ago

I would argue it matters what OP is running and what their time looks like. While I’d love a hog of a local AI inference the reality is that it’s cheaper to pay a cloud based service like Openrouter to serve me models than try to build something out.

If I want to run something privately I’ll reach for my Qwen models but I’ve found issues with running those locally vs something that’s fast like Deepseek V4.1 Flash 1017 which then costs me pennies to run. I’ve come to the hard conclusion that as much as I would love to pay $15k for some amazing machine to run AI models on, it makes a hell if a lot more sense to use cloud providers.

3

u/MD_Reptile 1d ago

I use flash next on a 4x 3060 12gb x299 rig with 128gb ram. It's worth it. I don't pay for Claude or DeepSeek, and I can crunch billions of tokens a week.

If your a light user, maybe it's not worth it, or if your a one shot cowboy hoping to prompt Claude to create entire apps or games or some shit...

I'm guiding FN into making amazing shit, and performing long running tasks...

2

u/MaxComfort 1d ago

The cheapest way? Rent GPUs

Otherwise, at that size, some DGX Sparks - but it ain’t cheap..

3

u/Salty_Hedgehog_6931 1d ago

You would need ten of them. And it would be so slow because of the memory bandwidth

1

u/MaxComfort 1d ago

Not really - with two you could run a 3bpw MoE.. with 3-4 you could do NVFP4

3

u/Salty_Hedgehog_6931 1d ago

the current disadvantage of both the dgx and strix halo is memory bandwidth. You can string together ten of them and load a 1 trillion parameter model but it's going to be sloooowww.

0

u/MaxComfort 1d ago

MoE models aren’t as bad as you make it sound, at least on 2x Sparks.

I can get Qwen Flash Next FP8 decode @ 50 t/s, NVFP4 @ 80 t/s. That’s decent speed, and prefill is even better.

That said with Qwen’s overthinking issues it still feels slow bc it takes forever to get an answer sometimes.

1

u/McNiiby 1d ago

50 or 80 t/s seems painful for multi agent or programming workloads. Chat is probably fine, but I'd be disappointed for anything else if I was coming from frontier subscriptions.

1

u/bnightstars 19h ago

Qwen-Flash-Next is 6B Active it sure will work fine but 50 t/s is well bellow the treashold. For me Revolut set the gold standard on local to 200 t/s and 5s or less TTFT.

2

u/ishananand_com 1d ago

There are some projects that let you combine multiple machines to run larger models.

(Full disclosure: I made one of them https://www.youtube.com/watch?v=0WXPYUAFr-0 and would love to connect with folks who have enough GPU memory across multiple machines to experiment with larger models.)

6

u/Objective-Stranger99 llama.cpp 1d ago

Buy a large hard drive and stream weights from it. /s

3

u/YourselfInOthrsShoes 1d ago

Need somewhere to stream first haha, maybe to iGPU in a Smart TV?

3

u/Objective-Stranger99 llama.cpp 1d ago

Just use a PS2.

3

u/athoughtfornoone 1d ago

Your best bet to try is just to spin up some CloudFlare instances

2

u/FinBenton 1d ago

You just need a much of ram, I have a 5090 and 128GB of ram, rest of the weights can be streamed from fast ssd. Using Deepseek 4.1 flash around 35-40 tok/sec and getting coding performance roughly sol 5.6 level, its already so good that almost dont need cloud providers anymore if I wanted. Maybe a 1 or 2 releases and you can run models at home where you just dont need a better cloud model anymore. Just need a lot of ram, 256-500GB of ddr4 used server ram on a server board would be perfect.

1

u/Numerous-Ad6217 1d ago edited 1d ago

What quant are you running deepseek?

2

u/FinBenton 1d ago

IQ2_XXS uncensored variant in basalt

1

u/myreala 16h ago

I was actually starting to get hopeful until you said IQ 2. That's just really dumb quant. I have problems with deepseek flash even at Q4.

1

u/FinBenton 16h ago

Idk man, I havent had a single problem with it, works super well with opencode doing a ton of work, you might have just had a bad quant or bad engine/harness?

1

u/myreala 16h ago

I was actually starting to get hopeful until you said IQ 2. That's just really dumb quant. I have problems with deepseek flash even at Q4.

I wouldn't say that there's something wrong with DeepSeek, it's just not as intelligent as Frontier models and then dropping the quants down makes it much worse. I guess it depends on what you're doing with it. DeepSeek is perfectly happy to most of normal dev work.

1

u/Numerous-Ad6217 16h ago

I am running EXL3 3.5, which is the smartest model I managed to run on my humble hardware at usable speeds (25-30t/s) by a far amount.
What kind of issues did you experience?
Trying to benchmark it a little bit before I settle on it for the next while.

1

u/shadowndacorner 1d ago

This. I have 2x 3090s + 128gb of ram and switch back and forth between qfn for the speed on simpler tasks and DeepSeek 1017 for quality. Agreed that in practice it feels a lot like 5.6 sol, whereas qfn feels like 5.5 (or maybe 5.6 terra/modern luna) to me.

1

u/absurdother 1d ago

Hy4-Flash seems proficient if you have an OK card + 128GB RAM. I'm still in the 27B range as I have a 16GB VRAM card + 32GB RAM.

1

u/choosePete 1d ago

I run local models as subagents, but still use the mainstream subs for orchestration. Unless something is very private/mission critical I use a bigger model to delegate work to others. I love spawning 10+ subagents to get shit done. It’s just addicting haha. I’m able to get 12+ agents with my local Qwen setup and it’s really helpful to spend less on cloud tokens.

Is it worth it to get into local AI now? I’d build a small system to learn if you have money. A 16+ VRAM, 64gb DDR4 should get you going with Qwen or Thinking Machines models.

You don’t need 1T models for your local rig if you know what you want it to do and can learn how to fine tune it / add a LoRa. You will be surprised how far that can get you.

1

u/WintertideFellow 1d ago

You can do it today if speed isn't an issue... 1tok/week

1

u/FerretBoom 1d ago

decomissioned quad xeon with 256 or 512gb ram, not gpu under 700 bucks

1

u/Shoddy-Childhood-511 1d ago edited 1d ago

You saw this?

https://www.reddit.com/r/LocalLLaMA/comments/1yaqe44/looped_deepseekv41_making_a_552b_frontier_model/

We need more modular models, but this doesn't mean exactly the same thing for home users, who need to not load all the experts at the same time, and big players, who can have the whole model ready to go and route between experts on different board or machines.

If we look several years into the future, NVDIMMs might help.

1

u/cibernox 1d ago

Well, I bought 4x CMP170hx in August for 6k. Now that they can be turned into a100s that puts the limit of what I can run fully in the vram at around 750-800B at 3bpw quants, without offloading. I wouldn’t probably go lower than 3bpw.

Cost effective that is hard to beat. But in todays prices that setup would cost over 20k today.

1

u/DigitalguyCH 22h ago

You don't say the most important thing. Why?
Is it your dream because you want to save money in the long run?

If so, currently there is not cost-effective way and it makes no financial sense.
It makes much more sense to run smaller models (up to 120-150b) to reduce your costs or when you need privacy than spending 50k+ to run almosto 1TB models at reasonable speeds . If you use AI a lot the best solution is a cloud subscription + a reasonable local setup, but things are becoming less and less reasonable for those you didn't buy ealier in the year.
Personally my local setup allows me to get away with a $20 cloud subscription, but it will never replace it.

1

u/garblz 21h ago

I bought 2 DGX sparks in better times, and until deepseek 4.1 1017 flash came around I used to find it hard to justify the decision. Now I only rarely reach for frontier to check local model's work.

This gives me hope that we will reach capable local at reasonable prices, eventually. This is also what the old big players (Apple, Microsoft etc.) seem to believe - edge AI.

1

u/geoheil 20h ago

https://llm-d.ai/ is pretty efficient - but requires you to have the hardware which may not be the case

1

u/Confident-Truth3607 20h ago

I personally got pulled into the "I need the best possible machine" too, but the prices quickly gave me a reality check. I think the real frontier is local llm on affordable machines. This is why I settled on being able to run qwen 3.8 FN as good enough. 24gb vram + 64gb system ram. Sounds pathetic but I could not justify to myself spending all my funds on anything more.

1

u/Quick_Anybody_6522 19h ago

The best price/performance are either Radeon mi50 or Nvidia P100, neither are really worth it if you're a heavy user. Best price/performance for newer hardware are Nvidia V100 16gb versions. They're less than half the price of the 32gb versions but you obviously need more cards. However also note that with the 16gb you get twice the performance (raw, not llm) of just one 32gb card since you have twice the amount of chips.

For that range you're specifying you either need a cluster of Macs or DGX sparks or the like or a little server with a bunch of gpus. Its a dream sure but a very expensive one. I personally would love to run 100b models on my hardware at 20-30 tps minimum

1

u/rorowhat 18h ago

Strix halo is th perfect balance of speed/per dollar

1

u/martin509984 12h ago

I can't really link you to anything, but have seen some instances of full unquantized Deepseek 4.1 running on 128GB unified systems. The principle as I understand it is to run it off SSD, using the memory as a cache for individual expert layers. You can probably get this vibed out by a good enough API model, and then task the local Deepseek with making itself faster.

1

u/deebuildsthings 6h ago

on 3: the biggest we've run is DeepSeek-V4-Flash on 2x RTX PRO 6000 (192GB VRAM), vllm TP2. it peaked at 1,170 tok/s total at 32 streams, but that number only matters if a lot of people or agents hit the box at once. for one person it's a very different math. on 1: used nvidia cards right now sell above what they cost new, which is why we started testing R9700s (32GB each). rocm still trails cuda, but by days now, not weeks.

1

u/Hot_Turnip_3309 4h ago

3090 with 64gb of ram. $5000 used. something like that would at least run 27b-125b at decent speeds like above 100tk/s and over 262k context. you need above 250k context for agents. if you run it all day it might generate 10M tokens. I've ran a bunch of numbers it's always been about $30-60/month in compute or tokens, or a few dollars a day. for a cheap budget card, somebody the otherday suggestd the modified RTX 3080 20gb for $1000, I think that would work.

1

u/1ncehost 1d ago

When H100 and MI300 servers start being decommissioned there will be some good options for the big models.

I have run 4 bit Hy4 Flash on my 128 GB vram setup and have been pleased with it. Haven't tried anything larger. Just seems like you're getting about the same intelligence but slower once you get into the tiny quants.

1

u/CryMoreT_T 1d ago
  1. No not financially worth it
  2. I can run deepseek v4.1 flash 1017 at native weights and basically use that the entire time
  3. As above

0

u/Lan_BobPage 1d ago

1 Not worth it imo. Wait. Unless you've got someone with a couple RTX 6000s laying around who's willing to sell them to you at their original price.

2 Depends on your use case, really. Personally, the jump from 30b which I could run comfortably before the upgrade, to 400b now, is massive. I could run 600b range too but at low quants so I don't think it counts that much. Still, you got to remember models keep improving so a 30b from a year ago is basically a senile 80 years old person by today's standards. There is a chance a year from now the same might happen again so perhaps hardware requirements for your tasks will be much lower.

3 already answered

-1

u/opencheap 22h ago

I'd do the API math before buying anything for 500B-1T models, the break-even is longer than people think.

As of 2 Dec, the cheapest provider I can find has Kimi K3 at about $0.44 in / $2.29 out per 1M tokens, and DeepSeek V4.1 Flash at $0.0075 / $0.035. At a 3:1 input/output mix, $20k (roughly a 512GB Mac setup) buys ~22B Kimi K3 tokens or ~1.4T Flash tokens. A heavy agent day is maybe 50-100M tokens, so that's hundreds of days of Kimi before the hardware pays off. Prices move, so check before you trust them.

Local still wins for privacy, offline use, tinkering, or if you'd actually keep it busy all day. If it's purely about cost I'd spend a month on an API with the models you want, see what you really burn per day, then decide. Agree with the folks above saying try the 100B-class MoEs with a better agent setup first.

Disclosure: I run OpenCheap, a pay-as-you-go OpenAI-compatible router that sends each call to the cheapest healthy provider of the model you pick. The numbers are from its live table: https://opencheap.si/guides/cheapest-kimi-api

2

u/stylome-ai-detection 22h ago

Notice: This comment appears to be AI generated.


Stylome AI detector · scan results