I Was WRONG About Local LLM vs Claude on M5 macbook pro — TESTED | qwen 3.6 35b, 27b, and gtp oss

18 May 2026 · 14:57 · 3,450 views · by Vikramjit Sarkar

Watch on YouTubeSubscribe for the next test

Can a $2400 MacBook Pro M5 actually replace Claude? I put three local LLMs — Qwen3.6-35B-A3B, Qwen3.6-27B, and gpt-oss-20b — head-to-head against Claude Sonnet 4.6 inside VS Code. The results were not what I expected.

Key numbers from this test

Qwen3.6-35B-A3B (Apache 2.0, Alibaba)
Qwen3.6-27B (Apache 2.0, Alibaba)
gpt-oss-20b (Apache 2.0, OpenAI)
Claude Sonnet 4.6 (Anthropic)

Measured on my own machines.

Chapters

  1. 0:00Introduction and setup
  2. 0:34LM Studio configuration
  3. 2:27Testing Qwen 3.6 35B model
  4. 6:00Testing Qwen 27B model
  5. 8:34Evaluating GPT-OSS reasoning
  6. 9:47Building a solar system website
  7. 12:13Tools installation and conclusion

0:00 Introduction and setup

Hi, I'm Vikramjit. Today, we are going to see local LLM on MacBook Pro M5 23.6. Are local LLM better than Claude? Before we dive into today's content, make sure to hit that subscribe button for more exciting videos like this. I'm dropping new content every week covering everything from AI programming to my personal vlogs. If you enjoy this video, don't forget to like, share, and subscribe. Let's get started.

So, I have already downloaded LM Studio.

0:34 LM Studio configuration

Later on this video, I will show you how you can download it and from where you can download it. Well, this is the interface of LM Studio. You can see I have already tested, you know, a few models. I have downloaded GPT-Neo uh 27B and 35B. Okay. Now, you can see there is MLX, right? MLX is basically made for Apple. All right. Now, you can download the models from here. It's very easy to Uh you can see I have already, you know, selected MLX. I was testing with the MLX models. And there is GGUF models, okay?

You can take, you know, the most liked models or most downloaded models from here. You know, you can see 2, Gemma, and GPT-Neo are the first, all right? Now, if you select any models, you can see from drop-down list out here like which to download, which you can download in your machine. Like it will give you, you know, partial uh you know, offload, uh which is this very large model you should not download.

So, from here you can configure your models which you have downloaded. Now, you can see these configurations you can do for each models. Let's check out 23.6 35B. So, it's mixture of expert models. You can see the context length you can give. You can see GPU offload, like how much uh of the model you want to up- upload in the GPU. Then, there are number of expert, okay?

So, you can choose how many experts you want to run in the model. And there is KV cache optimization. So, this is something very new. Uh it actually optimize your model to give you best results, okay? The faster results, specifically. So, let's load the LLM models. So, first

2:27 Testing Qwen 3.6 35B model

We will try this 5 3.6 35B A3B. All right. Uh before that, let me start the activity monitor. You can see, you know, how much RAM it's consuming. Uh how much, you know, swap memory we will use and the, you know, cache data, everything, okay? So, there are 32 GB physical memory. You can see right now. let's start Let's load the model first, okay? The model is loading. It will take a little bit of time. And you can see right now how much physical memory will increase immediately in activity So, let's see. Yep, it's started to increase. You can see the memory used is getting increased like uh to 29 GB. So, we have 32 GB of unified memory.

Uh let's say hi. The simplest uh prompt Let's see what it gives. So, as you can see, it's pretty fast, right? So, it's it's pretty fast. It's just given the context, you know. Uh it's given the answer pretty fast. And you can see the token is also around 40 tokens. Uh 48, 40 tokens. You can see the, you know, uses of the GPU of the unified Uh we are not using any swap Yes, yet.

So, let's give it a new prompt. Okay, so what can we do? Uh you can see it's again using too much of memory and uh lines are showing yellow now. From green, which is bad, which is bad. Now, you can see it's pretty fast. It's like working super fast right now. It's very workable. It's a thinking model. So, it takes a little bit of time to think. And you see the answers are here.

It can what it can do for me. As again, you can see the tokens are now 30 32 tokens per second, which is pretty good. Now, let us see if we can increase the tokens per second a little bit. Okay, let us go to the model configuration again. Now, we can offload a little bit of expert like two Uh and uh we can use six experts right Uh which is actually good also. Uh it's not that bad. And uh you can see the activity monitor is again rising. The model has been loaded.

Uh we can start with a new chat. All right. Let's start with a new chat. Let's say hi again. Uh yep, it started thinking. And the prompt is processing. Ah, it's done. So, we got 32.5 I see like which is 32 33 tokens per second. Let us offload this. Uh yep. You can see the memory usage. Now, I was uh doing some testing earlier. Okay. Let me go ahead and delete those files.

Here, I can show you. Okay, I was getting 40 tokens per second on first Right? And yeah. So, let let's check this out. Yeah. Yeah, here here we can see there is 42 token on 42 tokens per seconds I was getting on this same model. Now, let us check out 127B. So, this is

6:00 Testing Qwen 27B model

A dense model. Okay, this is not a mixture of experts model. This is a dense model. You can uh choose your context length from there. So, let's drop it down. Now, let us, you know, use KV cache because as a dense model, it will be pretty slow. I can tell you now. Now, GPU offload is full. let's load this model. So, it's taking a little bit of time to Uh yeah, this is a 17 GB to 18 GB model.

But, you know, it's you know, when it loads, it uses around uh 30 GB because of, you know, KB cache and context. And so and so. No, it's not 30 GB, it's 25 GB. Yeah. 25 24 GB. It depends on the context. Like, if you give, you know, 32,000 context, it will take uh around 30 GB space if you, you know, uh make the context uh smaller, uh then it will take less space. Now, you can see it's thinking. It's a thinking It's taking a little bit of time to, you know, give you the results. And you can see the token output is around 6.57 tokens per second.

Yeah, because this is a dense model, it takes time, you know, because all the experts which are there, they all works all together. So, I was telling you that it takes memory according to the context length, right? So, let's increase the context length to 32 33,000. Let's, you know, turn off the KV cache optimization. Now, we'll see how much memory it will use. So, let's load the model again, okay?

So, yep. As you can see, the model is loading. Now, you can see the memory uses is up to 27 28 GB. And let us say hi again. Let's see how much time it takes to reply. So, I did some fast forward, and this is the result. So, it took around 43 seconds to give you the reply, and yeah, the tokens is five to six tokens per second. Now, let us test GPT-OSS

8:34 Evaluating GPT-OSS reasoning

OpenAI. This is the most used model in the world. Uh most of the developer use this model. We can turn on quantization. We can turn on KV cache, but yeah, we we do not have to because it's as a fast model. It's a reasoning model. Uh you guys see it's a reasoning model. It's not a thinking visual model. It's a reasoning model. Let's start. You know, chatting with it is taking a little bit time to load.

Okay, it's loaded, and there you go. Uh super fast. So, here's the answer. It's like 37 tokens per second, which is pretty fast. Let's Let us, you know, give some medium reasoning. Let us what can you do? Uh it's thinking. Still fast. It's still fast. You can see it's a it's a very good model, okay? So, uh most of the developers around the world use this Uh still you can see the tokens are pretty good.

So, as we know this model is the most used model by developers.

9:47 Building a solar system website

Let's make a website. So, let's make a website about solar Let's see how much time it takes. And how good it is. So, as it is working till now, let us open VS code and create a folder where we'll be, you know, putting this code and testing this code, okay? Let's create a folder named solar So, we have opened the folder named solar system. And let's Oh, it's done. Now, let's copy Okay, we have three different pages.

So, one is index.html. So, let's copy index.html. Here, create a new page. Let's copy the code of index.html. Yeah, done. new page. New file. We have to create one more file for CSS style.css. Yeah, come on. Come on. Yeah. Let's copy. Now, creating a new file style.css. Let's copy all the codes from there and paste it here. Save. And there is one more file which is which is So, this is a JavaScript file.

So, yeah. New file. Copy code. Now, paste. Okay. So, I think the website is done. So, let's minimize the VS code, open the folder, and open the website. All right, it's open. Yeah, so this is the solar system GPT-OSS created. Yeah. Okay, this is Mars. Yeah, it's pretty simple, nothing much out there. I'm pretty confused right now. But still, yeah. Yeah, so now let us use Claude Sonnet 4.6.

And it's let's try to make it better. Yeah, that's it.

12:13 Tools installation and conclusion

So, Copilot takes a little bit of time to do the work. Till then, let me show you where you can download LM Studio. So, you can just go to your browser, type lmstudio.ai, and you can see the website out here. Yeah, I can I will give the link in the Now, you can download for your Mac or uh Windows. But I would always suggest take the GUI version. All right, there's nothing exceptionally more you can do on CLI and GUI. GUI gives you more to see, you know, to understand. Okay, easier to use, and you can download VS code from the store. Search. It's just a search away. Yeah.

This is the official VS code download page. You can download for your or Linux. Whichever you prefer, just click on download. Okay, let's show you how you can download Ollama 2. Uh because it's important for the next video. So, we will use Ollama or LM Studio on VS Code and other IDE to code directly like Copilot chat. Uh Ollama is very easy to download, too. you can use local models or you can use uh some cloud models which are hosted on Ollama paying some extra money, but I would suggest, you know, go for the local models only.

Oh, it's still working. So, it takes a little bit of time, but yes, the uh result which you will get will be far more better than local LLM model. Uh GPT-OSS specifically. Um let's give it more time. So, after around 40 minutes, it's done. Uh look at the animation. It's looking so good. Okay. Now, this is This it's so better. Okay, if you click on the planets, it gives you information, too.

Nice. See, it's a pretty good job. Okay, so that's it for today's video. If you like it, please subscribe, like, and share. And very important, this is the first video. This is a testing video, so next video will be better.

Related tests