$2,400 MacBook vs $20 Claude Code — The Honest Local AI Math

25 June 2026 · 6:30 · 147 views · by Vikramjit Sarkar

Watch on YouTubeSubscribe for the next test

Here's the uncomfortable truth nobody in the local AI hype wants to say out loud. I spent ~$2,400 on a MacBook Pro M5 (32GB) to run local models — and a $20/month Claude Code (Opus 4.8) subscription does serious production work my local 4-bit 35B model just can't touch: big codebases, multiple apps, APIs, databases, server-side.

Key numbers from this test

So, and the memory usage 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.
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 32 GB of RAM unified memory uh to run a good models in nowadays, okay?
Those models are you know, pretty big like I don't know 20 GB, 22 GB and you have to load the whole model on your VRAM.
This 20 GB or 22 GB of VRAM, you know, big models.
So, you need 32 GB of RAM.

Measured on my own machines (quoted from the video).

Chapters

  1. 0:00Cloud vs. local LLM workflow
  2. 2:59Hardware and performance
  3. 4:33Real-world viability

0:00 Cloud vs. local LLM workflow

See, the problem is that I have a MacBook Pro M5 right now, okay? So, it's cost me around $2,400 in India, okay? $2,400, just think about it, okay? I How much RAM I'm having? 32 GB only, okay? Which is unified memory, okay? Uh local for if I'm using this for local LM, you know, workflow with device coding uh I am using some small model which are 4-bit quantized, okay? Now, if you guys use any cloud subscription, which is maybe $20 a month okay? For example, if you use uh Claude Code uh which is $20 a month and you work on a full project uh with Claude Code Opus 4.8, which is newly launched, It works tremendously good.

It have good context. Yeah, the only problem what I faced uh is that, you know, every 2 3 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 by coding again, but whatever it does in those 2 to 3 hours, you know, of the limit it could 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 uh uh 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 uh understanding your big code base uh with uh maybe two different mobile apps with iOS, Android, uh a web app with admin and APIs and database structure including uh maybe your server side MongoDB or SQL and maybe on some cloud structures as Firebase or Superbase, whatever you are having. Like it understand properly. The problem is it cost you money. So, it's like guys, it's $20 a month, okay? And the rate limit is pretty good. If you are using it properly, you will not be ending your tokens or your rates or limits, you know, soon. But if you are using stupidly, like if you are using it for some kind of stupid things, like uh open claw or using Hermes or 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?

2:59 Hardware and performance

So, let's see what it what are Yeah, it must Okay, so you can see it's already generating it's spelling. Uh but it's again generating. So, and the memory usage 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 currently it's at on average it's uh giving us 26.4 tokens and 18. uh three tokens per second. Yeah, it's all because of the OBS we are running. So, the token generation is a 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 32 GB of RAM unified memory uh to run a good models in nowadays, okay? Which the models which are there, which are at least you can use at least at least usable for you know, our development purposes or structures. Those models are you know, pretty big like I don't know 20 GB, 22 GB and you have to load the whole model on your VRAM. This 20 GB or 22 GB of VRAM, you know, big models.

So, you need 32 GB of RAM. And with 32 GB of unified memory, it's not only you will be loading model, you have to open any kind of IDE, maybe plot code or write code or anything you think of. That will take around 2 to 3 GB of RAM, right? And there is context window which will increase the memory which will increase. it is not feasible for me at this point of time like what from my point of view. Yeah, if you are

4:33 Real-world viability

Having some kind of fun doing experiment with the local LLM 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 life? I don't think so because if you want to your secrets I mean secret as in the 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 LLM locally, okay?

You need some good hardware. And right now in 2026, it's already mid of 2026. 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,200 to $10,000, okay? To run some local LLM model in your system paying some good amount of electricity bill. where you can use 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 And I think it's secure as long as you do it the way I honestly say. 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? like it's same time you will pay for this MacBook Pro M5 what I'm using right now. Uh where I'm running this local LLM model which is only 35B and 4-bit quantized. And it's it goes it goes hot, it goes warm with this much of RAM and energy usage. Okay, it's done.

Related tests