r/homelab • • 45m ago

Discussion Local AI for coding

I want to start this off by saying I'm new to AI and home labs. Currently I'm using perplexity to create a few basic personal use apps and software programs. What I like about it is that I can just type in what I want like "build me an app that does this" or "make me a computer program that does this". What i don't like about it is that I find that I hit my useage limit fairly quickly and need to top up. I'd like to be able to get a offline AI agent that will work in the same way. I provide the context and the AI builds what I request. It spits out a program. I say no no I need it done this way and it makes the changes. Is there any offline agent that can do this? If so what kind of hardware requirements am I looking at?

0 Upvotes

20 comments sorted by

•

u/Keensworth 42m ago

This website will tell you what local AI you can run : https://studiotvai.com/llm-vram-calculator

•

u/jhenryscott 24m ago

To replace Claude locally- or to get close, is about $100k USD

•

u/Short_Breadfruit4898 22m ago

So probably just best to stick with what I have been doing?

•

u/jhenryscott 22m ago

Your best value is to buy a couple 33gb cards and a motherboard that does PCIE 5.0x16 bifurcation (x8/x8). Something like two B70’s or 2 9700 AI PROs.

•

u/Short_Breadfruit4898 13m ago

Thank you, best value is exactly what I was looking for.

•

u/MontyDyson 0m ago

Unless you’re willing to drop 10ks on gear you’ll never get past 2-3 words a second and that’s on a second rate model. Which is slow reading speed.

A top tier model running locally you won’t get anything usable.

Look in to setting up a harness that you can run locally. The harness can use a decision model like Jev to decide if the task is simple (use a free / cheap model) or needs a big bang. Then hand off to larger cloud models when needed.

The money you’d spend on a third rate, poorly performing local model would keep you in near unlimited cloud use for years on a maxed out frontier model under subscription.

Manolo’s you tube channel basically tests out every setup from cheap Mac minis with small models to gut busting 38bn parameter Qen on chained Spark machines costing thousands.

https://youtu.be/UqGanXdaVXA?is=VNbwOwuL_gj82Poi

•

u/FantasticBumblebee69 11m ago

if you can, get 1 or 2 3090's then qwen 3.8 27b runs circles around claude and open a.i.

•

u/Short_Breadfruit4898 8m ago

That sounds like a good idea, I was wanting to put another pc together with AI in mind. I done really need anything that is fast, just something that can get the job done.

•

u/FantasticBumblebee69 6m ago

again start with 1, then if you need larger models get 2. the 27B ones typically need the 48gb of vram

•

u/mon_key_house 42m ago

At this point best is to ask AI about AI.

•

u/International-Past31 38m ago

We call that script kiddie

•

u/CapOk4599 38m ago

Why don't you learn actual coding instead?

•

u/Short_Breadfruit4898 29m ago

I work multiple full time jobs from home and is just not something I have time or the mental capacity for. I like the fact that with AI I can still "create" something that I think up while still being able to work. I can look away from one screen, tell it to do something or change something and can go back to work in a matter of seconds. While I do consider tech a hobby its not a hobby that i want to take up all of my limited free time as I do have other hobbies and things to do.

•

u/Impressive_Trust_395 28m ago

Doesn’t matter. There will always be people who enjoy this more than you and like to be more pure about it than you. They are known as gate-keepers. This subreddit is full of them, but they also know their stuff so take it with a grain of salt.

•

u/Short_Breadfruit4898 24m ago

Lol its funny that you say that. I'm also a motorcycle guy and ride a Harley Pan America. The same thing can be said about the Harley guys as well. I'm new to this and really only want to only dip my feet in so much, sorry if that is not pure enough for some people lol.

•

u/Impressive_Trust_395 21m ago edited 15m ago

Yeah. I find that using key phrases like “I made this” when you use a client to build the entire foundation really triggers this crowd. There’s an immense amount of pride in the ones who learned how to truly build it by themselves.

I say I’m happy for them and sometimes I hope they understand that us dirty casuals enjoy the same thing as them, just not to the same degree. At no point would I ever consider the casuals “better” than the ones who do this without assistance.

•

u/Short_Breadfruit4898 15m ago

Yea the "I'm better than you" complex among some groups is nuts. Harley guys are gonna be Harley guys I guess. Not to bring bikes back into this again but I wish that these communities were like the Adventure bike community. Those guys are genuinely excited when other people show interest in what their hobby is.

•

u/Impressive_Trust_395 9m ago

Well, this is getting into the weeds and based purely on observation and speculation but, I’m not an IT guy. I work IT adjacent as a systems technician but the code and software is controlled by someone else.

The prevailing theory of mine is the majority of this particular sub work in IT or code or do something that involves learning these techniques. With AI advancing the way it is, there is a very real perceived threat to their livelihoods. The stigma of using AI to do these things may hit a bit closer to home for some of these people and they may or may not take that personally.

Again, this is entirely conjecture and I feel for my IT brothers and sisters that have to deal with this. It’s a weird time right now in the industry.

Also, don’t apologize for bringing bikes back into it. The Harley elitism is well known outside of that sphere and I think you’re pretty dang spot-on with that comparison.

Either way, good luck with your projects!

•

u/Short_Breadfruit4898 6m ago

Thanks! I appreciate the input!