0:00 Intro – can a local LLM build a full app?
Hi everyone. So today we are going to see if a local LLM model, a local AI in your MacBook Pro M5 can fully create a production level application. So we will do the whole planning in the local ALM and we'll make a full app in the local LLM maybe on VS code using continuive or OpenCode AI. So I have my coffee ready. I am Vikramjit. Let's get started.
0:35 The rig: MacBook Pro M5 (32GB / 1TB SSD)
So uh you can see this is my MacBook Pro M5 32GB RAM and 1TB of SSD. Uh let me
0:46 Why I dropped Ollama & LM Studio for MLX
Tell you first uh why I am not using Ollama or LM Studio and I am using uh oMLX. Okay. So this is OMX I have downloaded. You can get it easily from the internet. So this is where you start the server let's go to settings. Okay, I start the Okay, here let's go to admin panel. So this is oMLX. Okay, it is very different than O Lama. I have O Lama 2 uh installed and I also have 3.635b.
635B MOE and I have LM studio installed to LM studio can see LM studio and I have this many models out here from co-enccoder 30B to GMR 4. Uh so this all these models are good. Okay, if you are in chat doing some kind of chat or something. Uh but let me open the activity monitor. You can see when we load the model uh it you know goes out of RAM memory even though we have 32GB of RAM. So let me close all these things. Uh wait studio. problem I faced using Ollama and L studio is when you are uh making a prompt you know after four five prompts uh your uh uh AI crashes uh either it goes out of context memory or you know it stops making any changes uh it crashes basically the AI model crashes totally because it goes out of the RAM uh so what I found out in MLX OML X okay that uh the model stays you know it works properly And uh the model I am using today like
2:34 The model: Qwen 3.6 35B A3B (4-bit, 19GB)
Will be this one coen 3.6 6 35B A3B coded uh which is 19 GB in size and uh yeah let's start the VS code say okay so we have VS code opened here and uh before you know doing okay okay so as you can see we have OMX already loaded here. Uh let's go to chat
3:09 Planning the app – a platform for vibe coders
Let's plan let's plan some idea about uh the project we are going to do today. So my plan is we can do some good uh app which will help which may help developers or people like us to you know showcase their work and uh get some client out of it and which will be low cost. Okay. So it will be something like social media uh and uh other job seeking platforms for AI by coding developers.
Okay. So let's plan. Okay. So, so let's plan for our app for by by coding developers where can create their account, show their Uh clients can sign in, sign in and uh developer to do their work, play their work. Okay,
4:33 Memory use & tokens/sec while it thinks
You can see the model is already loaded and we are using around 27 GB of memory right now and swipe memory is around 1 GB which is okay which is fine because in Mac uh it's pretty natural it's pretty normal okay swipe using swap okay because uh it keeps some of the data you know some of the uh data which uh on still or stall data in the uh SS SD rather than on a memory.
Okay. So, it's thinking. It's still thinking. It's making the plan. Uh well, while it's making the plan, let's have a cup of coffee. Okay. So, it's done. Now, you can see it was thinking for a long time and then it gives me a whole plan to make the app. So rather than doing it okay uh I think it is capable of doing its work. So let's see how much token we got like it was generating 33 33 tokens per second and promping was 9 token per
5:40 Why this is my last time with GitHub Copilot
Second. Okay. So let's go to visual open. Now on desktop let's make a folder uh app for folder. Okay. So you can see we have opened the F4 coder here. Okay. And this is my copilot. So copilot made a big change. So you can see it made everything credit based. Okay. So I have this plan. I have this you know 30 no copilot pro plus plan with you know which is $39 per month. uh you know uh after 4 hours or you know 2 hours of use 2 to 4 hours of use yesterday I already you know ended 1500 tokens uh which is very stupid and I don't know why it's still there I think this is my last month using copilot uh okay let's start a new
6:39 Going 100% local: Continue.dev + MLX server
Session okay this is the folder and let's you can see go uh this is already already taken I have already uh added or customized uh continue.net with uh this OML server so that we can start working. So yeah, let's get started with it and you can see the memory usage out here which is still 29 GB we have spared you know of 2 GB. Uh okay so then 15 second 1.5 second ADK for give the answer is 33.2 tokens per second till now. Uh let's get started with the same thing uh same plan. Okay.
Uh here okay let's copy it and uh as it's an agent let's paste. So now everything you can see is happening on my local model. Okay. Uh we are not using any kind of cloud LLA Uh okay, it's processing everything and we'll try to make it we'll try to make it good with local model. Uh we can see we still have 28 you know around 29 GB of memory getting used right now uh in this MacBook M5 and uh I have physical memory of 32GB.
Uh if we are continue to monitor uh the this dashboard of oMLX you can see when it's generating it's generating tokens right now and how many tokens is generating per second okay and from uh how many seconds is there and you can see this graph will you know increase and decrease automatically so when it's done it will decrease let's see what it does it's already
8:36 First errors & the context-window problem
Throwing error that it tried to call scale But it was not possible. Let's see if it can you know start making the app. Okay, it's making the plan. Okay, right now wife coding app plan MD. Let's see how it works. Memory is okay right till uh it's around 30 GB and uh we have a cache of 2.18 GB. Sp memory is fine. Okay, so we are not worried about it.
I think it's going slower because we have this OBX running on the background. So this might be the reason you know it's uh working slower and we have more you know RAM usage right now uh because of OBS. Yeah, see OBS is uh itself is using 1.6GB of 1.06 GB of memory right now. And okay, it's done. Hey, it's good. See, nice. Okay. So as I will be working as a V coder right now. Okay. It's still generating and is still thinking. So let's not you know stop it right away.
Uh start coding with co MVP design the US Figma set up set up project repository refine specific section for this plan blah blah blah blah blah blah blah blah blah and blah blah blah more blah blah blah blah. Okay. So I am uh wife coder today. So uh let's not get into in this in all this technical stuff. So I will be uh working as total I will try to work a total you know uh not knowledgeable person in coding and let's see how you know it can generate and it will work. So it's giving me too many details. Database schema uh I can see uh development phase 1 2 3 blah blah
10:29 It starts building the app
Blah would like to start coding phase one. I can help project. Yes. So yes let's start. Let's start. coding. I am so flattered right now, you know, seeing a local NLA model doing this level of work doing architecture uh let's see what happens. Uh okay, one more thing uh if you're thinking that it's taking too much time to do the work or to think uh I was using some you know uh big LLM models like you know Opus 4.8 or uh sonet 4.6 six uh you know GitHub copilot I also have claude you know on here [snorts] but the uh but the problem what I saw is that you know they all think they all takes time to think and understand and then process the prompt okay the problem with these small L models are you know the memory and the context are very lush so it can hallucinate so today we are going to see like how much time you know how it makes it see we all know if you use 4.8 OPOS or you know different uh kind of uh different uh AI models it will be good but uh it can create something good but I want to see you know specifically how a local model generate a full production ready app can it or it cannot cannot so it's basically web based applications not big okay not too much big thing but let's see how it works so if it also if you know if this project also works then I would suggest you guys you know to go ahead because this is also an experiment for me. I will suggest you guys to go ahead you know use some uh my book or unified memory uh use local for you know project and coding but if it does not work at all then honestly guys localm models are fun to test but it's not ready yet to make production level works. Okay. See, the problem is that I have a MacBook Pro M5 right now. Okay.
12:43 The honest math: M5 (~$2,400) vs $20/mo cloud
So, it's cost me around $2,400 in India. Okay. Uh now $2,400 just think about it. Okay. I spent how much RAM I'm having? 32GB only. Okay. Which is unified memory. Okay. Uh look for if I'm using this for local ALM you know workflow with W coding. Uh I am using some small model which are 4 bit quantized. Okay. Now if you guys uh use any cloud subscription which is maybe $20 a month. Okay. For example, if you use uh cloud code uh which is $20 a month and you work on a full project uh with clot code opus 4.8 which is newly launched. Okay. It works tremendously good.
It have good context. Yeah. The only problem what I faced uh is that you know every 2 three hours uh of work it stops and again uh the rate limiting is there. So you have to wait for more 2 hours or 3 hours to start white coding again. But whatever it does in those two to three hours you know uh of the limit it good like it does a great job. Okay. from handling your report to understanding your uh VPS or whatever server side you are having the whole architecture if there is uh um any malware or any virus it can clean it it secure your server it connect uh the APIs properly. So basically uh these cloud models you know work like charm you know handling your repo uh understanding your big code base uh with uh maybe two different mobile apps with iOS, Android uh web app with admin and APIs and database structure including u maybe your server side MongoDB or SQL and uh maybe on uh some cloud uh structures as Firebase or uh superbase whatever you are having like it understand properly. The problem uh is that it cost you money. So it's like guys it's $20 a month. Okay. And uh the rate limit is pretty good. If you are using it properly, you will not be uh uh ending your tokens or your uh rates or limits you know soon. But if you are uh using stupidestly like if you are using it for uh some kind of stupid things like uh open claw or uh using harness or uh experimenting with different skills and architecture and so much you know multiple operators obviously it's going to end pretty fast but if you are doing some real work okay making a proper application with you know understanding on it like what to do next and why it should happen it was pretty fine.
All right. So let's see what it lowered our emors. Okay. So you can see it's already generating. It's failing. Uh but it's again generating. So and uh the memory uses is still around 30 GB because we have OBS which is still running out there. Or else it's it's it goes around 28 to 29 GB. Yesterday I was testing it at night and
16:00 Real token speeds with the MLX dashboard on
Currently it's at on average it's giving us 26.4 four tokens and 18 uh 3 tokens per second. Yeah, it's all because of the OB we are running. So token generation is little less right now. Uh yeah. So where we are uh we were so now you are spending $2,000 or $2,400 or $2,500 because you need minimum 32GB of uh RAM unified memory uh to run a good models uh nowadays. Okay, which the models which are there which are at least you can usable at least usable for you know development purposes or structures those models are you know pretty big like around 20 GB 22 GB and you have to load the whole model on your VRAM this 20 GB or 22GB of VRAM you know uh big models so you need 32GB of RAM and with 32GB of unified memory it's not only you will be loading model you have to open any kind of IDE maybe uh plot code or V code or anything you think off that will take around 2 to 3 GB of RAM right and there is context window window which will increase uh the memory which will increase uh so it is not feasible for me at this point of time like what from my point of view yeah if you are having some kind of fun doing experiment with the local ALM models like with AI AI AI everywhere like you want to do experiment it's fun okay go ahead have some fun but does it matters in real Uh I don't think so because if you want to keep your secrets, I mean secret as in the uh secrets of your project like right like the API keys and uh so and so things. Okay. So to be on your system and you want to work with some local ALM locally, okay, you need some good hardware. And right now in 2026, it's already made of 2026. Uh it's kind of crazy because what you will be spending is tens of thousands of dollars. Uh minimum will be around $2,500 or $2,000 $200 to $10,000, okay, to run some local LLM model in your system, paying some good amount of electricity bill. uh where you can use uh the cloud models not sharing your API keys with the model and putting them properly on some ENV files or in the terminal in your terminal. Uh nothing is CQ honestly saying so whatever you are doing so it's like you are paying $20 a month so in $20 if you are doing the same thing for a for a year how much is going to cost you? $240 $2 to $50 guys like same time you will pay for this MacBook Pro M5 what I'm using right now uh where I am running this local model which is only 35B and 4 bit quantized and uh it's it goes it goes hot it goes warm with this much of RAM and energy uses okay it's done and this is what you get like yeah so there I can see there are many you know red lines out there. So let me ask it to continue as it's continuedev. Yeah let's see what it does. Use cloud models like claude they are you know keep on uh releasing new models every day like oo 4.8 8 released just few days back two three days back and uh there are new models which are coming now the open source models you need you know extremely good architecture guys to I to mean extremely good architecture is like huge architecture okay for example I tried to use this you know 35B model uh open uh coin 3.6 6 35B model in Ollama uh LM studio when I was chatting there it was generating good token when I'm chatting in OMX it's generating good token it's giving good answer it's like using a chat GPT four five years back on your uh on your browser uh you can do it locally on your uh system but if you are doing some serious like serious work I don't think this local LLM models are that much good enough to do them. So if it's good enough we will see today itself okay like I am doing by coding and I don't want to go on you know plan the architecture do this do that you know get the skills uh okay big big skills no I am a newbie I am I don't know how to make an app I do not want to know the skills I am a very much newbie who will only chat and try to make it done so let's find let's find out how it was.
Hope it works good. I forgot to have my coffee also. Uh what I am seeing guys if you want me to experiment on all the newly launched models, okay, please subscribe my channel. Uh this is a very new channel and uh there is no filter on this channel. So what I see, what I say, I talk to you guys directly. I do all the experiments. So I was planning to use you know this model out here you know when 3.527B claw 4.6 OPOS distilled MLX 4bit model next or this GMA 426B model next okay from oMLX. So if you want if you guys want to see that also uh please subscribe my channel uh let it grow so that I can bring some more interesting uh experiment on the next video. Maybe I can do some gaming on this MacBook Pro M5. If you want to see that also, uh please subscribe. You can like it will be proper, you know, a natural gaming scenario. Not like I will be showing, okay, this is the stat. We can rank this, this, this games and do that and no, simple. We'll download a game. We'll run the game. We'll see how it works. I have a PS5. I can use the PS5 remote uh to play the game here. So, uh we can see how it works. Basically, it's working. I think I will take my quotes back because what I can see is working pretty good.
It's generating codes but I don't know the you know how the code structures are right now. I do not want to know how the code structures are. I do not want to you know do any kind of edit or audit on the codes because I want to do all these things as uh not a knowledgeable person about codes and uh let's see how it works. Yeah, I think we are chill with the memory till now. Okay, one more thing I would like to show you. So this
22:50 M5's Low Power Mode + speed after closing the dashboard
Is you can see we have low power mode only on uh MacBook M5 Pro and Max you can have uh you know high power mode. So that high power mode is not present in MacBook Pro M5. Uh it's only low power mode which can which you can see out here. So you guys can see I have stopped the OBX for a little bit and the token generation increased to around 35 tokens per second and uh the memory uses is top down to 28. So I was I told you that you know normally takes around 29 GB and uh it's still okay it's 30 31 tokens you can see and uh it's on 82% prefix rate and the promping is 2 62.2 tokens per second right now. Okay, exclude king cach and it's generating code. I can see it's generating code.
Uh let me see like what you like to build. Uh next phase next day for phase one developer creation. Okay, do it. Let's say okay let's do it. Okay. So here it is. Finally we got an error. Uh let's see what it says. New logs unable to log blah blah blah blah blah blah blah. So basically token ex max contest window. Yeah the same thing again and again. So can we do it again?
Like we submit the last message. Let's see what it Okay, it's not working. I tried the second time. Let's see what what it does. Is it working again? I don't know. So there you go. We got one error about the context window. I was telling you guys that it have a context window. So when it uh fills up it crashes. So but still it's going on. Let's see how many times we get this problem now.
It's been hours after you know lots of hurdles and struggles. I think uh we were able to run the app and this
25:05 The app finally runs (and keeps crashing)
Is what it look like. Uh let's create account. Wow. Sign in error. Nice. Uh it's still working. Let's see how it hits like. Okay. So I have to change a new session because it was continuously you know uh getting crashed. The model was getting crashed because of the context size and it was pretty continue you know. Uh I tried multiple times and I spent lot of time after that. Then uh I remember you know someone told on internet that you know uh for uh small models to run on your uh native computer you have to open new sessions and you know that that's what that's how you know the context size uh stays proper.
So I opened a new session and I started uh let's see how it works now but the UI looks uh not up to the mark at all. So I don't know we should you know continue this this anymore uh because uh it's not something feasible to uh go ahead and work on it. So yeah uh a little bit of disappointed you can say uh but uh I remember you know doing a test on the the chat chat UI on Llama on Lama LM studio on the chat window when I asked to create you know a game or some application you know so it created uh one page uh one page of apps uh with index html uh games okay which were running pretty good which are pretty good to work with but you know yeah if you are using something like V coding stuffs yeah it's not that much visible so this is how it looks you know uh start V coding you know sign in let's sign in see okay we are getting some kind of error so I don't want to go ahead developer mode like I don't want to be you know on a developer mode right now so I want you to test as other five coders and it's But uh up to the mark if anyone
27:14 Final verdict: is local vibe coding worth it?
Have any suggestions for me uh please do let me know but here is the verdict. So this is the final verdict. If you remember uh when uh all this AI you know when tagg was pretty new cursor was pretty new uh like 2 4 years back uh you remember like when I used to see you know people used to get stuck in my office like I used to get stuck and uh suppose I'm coding something and somewhere I'm stuck because it's a very big you know um around 200 300 lines of code not big lines like not thousands and thousands of lines of code in one page. So it was like two 300 lines of code in one page. So we have to copy those codes you know put in charge ask like you know uh this is not working that is not working or you know upload the pages on chargity and you know ask the fix and it is to give us you know page by fixes or a function fixes you know like okay this function is wrong so this is the correct function you just copy it and put it on paste and run it so that what you can do with this you know models running locally on your PC ss app is ready to use okay let's see I cannot see the app ready to Ah, so we need to run the app, right?
Uh, shall I ask to run the app or shall I use terminal to run the app? I don't know. Okay, got it. So, there we go. Let me copy it. Uh, I don't know like I'm not that happy with it. Uh, but yeah, it is good. Like yeah if you are comparing with chat GBT 4 years back you used to upload your code on chat GBT copy and paste there and then used to fetch uh uh when Chad used to give the code on their chat and used to copy that and paste it on your u app source code run it is good for that
29:02 What I'm testing next + subscribe
But it is not that much feasible to go with local models on your laptop specifically right now that's it guys so after so many hours of struggle like if If you are if you want to see more video like this, you know, uh testing local ALMs like I want to test GMAR 4 uh Quinn Coder 30D or GPT OS 2020 20 billion parameter model. So if you want to with the same kind of ROM.
Yeah. So if you want to see all those videos also please uh let me know comment down below and please do subscribe this channel because I really uh do full this kind of testing a lot. So I I can I want to share with you guys and if you subscribe more it will help me uh to you know go you know deep into all these things and u thank you for watching me and I'm Vikramjit. See you on next video. Bye.


