Brandon: Welcome back to another episode of the Registers Kettle podcast. I'm Reg reporter Brandon Villarolo and with me this week are systems editor Tobias Mann and senior reporter Tom Claiborne to talk about some experiments they've been doing with AI coding assistants, but not just any AI coding assistant mind. You were talking about local ones that live right on your own machine. Guys, thanks for joining me this week. Yeah. So before we jump into, you know, what you learned.
Tobias Mann: Good to be here.
Thomas Claburn: Thank you.
Brandon: during these experiments and how effective local large language models actually are as coding assistants. Let's talk a bit about why we're having this discussion in the first place. And I understand that AI coding assistants are about to become way more expensive. And I think, Tom, these were stories that you wrote recently. So can you walk us through a bit what's going on with the current cloud hosted ones?
Thomas Claburn: Yeah, well, I mean, you know, lot of this sort of began with the... I mean, back in November, there was, I think around Opus 4.5, pretty much all the developers started to realize that these models were actually getting pretty good and there's no longer, bad coding was less of a joke and more like, ⁓ you know, maybe this will work. And then by the time, you know, around February with the open clock craze, was a lot more demand for sort of coding agents and people would start running these for long periods of time. And it sort of caught, Anthropic and others unaware and, they
Brandon: Mm-hmm.
Thomas Claburn: Google and open AI as well. There was a lot of capacity constraints for a lot of more people were trying these things out and they ended up having to find ways to limit demand through you know session limits and made a lot of people unhappy but they basically just didn't have the compute available to serve. capacity and on top of that, they're serving a lot of these at a price that is loss leading. They're trying to get people into the business, but these are unprofitable workloads for them. And ⁓ if you look at something like Mythos, which came out, is their big ⁓ security model, it was too good for anybody, but large companies with expensive payrolls to run.
Brandon: Right, right.
Thomas Claburn: It's clear that they're looking for ways to increase their revenue because they're investing a lot in the infrastructure to make this run, but they don't yet have the recurring revenue that justifies all this. The ramps look good. They're bringing more people on, but they invested a lot of money in this.
Brandon: ⁓ yeah, mean, well, what? OpenAI famously has never actually turned a profit in its history. I don't know about Anthropic ⁓ personally, but I can't imagine they're doing a whole lot better. And so I understand the two specific examples you had was that Anthropic recently, right, is Anthropic yanked Claude code from pro plans, but only for some people. Is that correct?
Thomas Claburn: Yeah, well that was, and they wrote that off as an AB test. mean, basically they were doing live AB testing and people noticed and they were saying, oh, well, no, that's not, apply to everyone. We're not going to change or take away from existing pro-users. But clearly there are someone there saying, hey, can we get away with charging this much but providing less service? And that doesn't happen unless you're trying to figure out a way to increase your revenue and reduce the demand on your services.
Brandon: Okay. Totally. Did they backtrack on that at all or is that still, is that A-B test still going on?
Thomas Claburn: I don't think it's still going. I think it's.
Tobias Mann: Yeah, they do really do do a lot of A-B testing. I think I have ⁓ a, Clot Code Max subscription that is about, has a 50 % discount on it right now. So I'm a little hesitant to give it up because yeah, it's a hundred bucks a month and I don't use it nearly enough to justify that. But also if I cancel and decide I wanted it back, it'd be 200.
Brandon: Sure, yeah. Right. Yes, the reason I'm still an Nvidia GeForce Now gaming cloud subscriber, right? Because I was there in the beta test and I've never given that discount up, even if I haven't used it in a while. ⁓ So I understand. Claude did that, Anthropic did that, and then GitHub also has just straight up jumped to metered billing for AI, think. Correct?
Thomas Claburn: Yeah. Yeah, and they were taking a huge loss on things because they would give you a flat rate, but then people would use the most expensive models. And of course, those things are billed at different rates and offering a flat rate versus these very inflated Opus 4.7 models, which also take a lot longer to process stuff, even if they're a little bit more efficient. ⁓ They'll think for longer periods. It's just they're losing money. So everyone has to go to meter billing. And once that happens, ⁓
Brandon: Mm-hmm.
Thomas Claburn: you it's going to cost people a lot of money. I you you can look at it now, even on a subscription plan, you'll write up a little widget and you look at the thing and it's, you know, $2 worth of whatever. you think, well, is that worth it? Maybe. And then if it's a more substantial project, you know, people spend, you know, hundreds of thousands of dollars on stuff. And if that's not returning you any revenue, are you still going to do that? So it's going to be interesting to see how this goes.
Brandon: Yeah, that could be the sort of maybe local LLMs like what we're here to talk about today are kind of the market control, right? I'm sure there are gonna be people who are using these paid services or were at least that are gonna say, I don't care what the justification is, whether they're trying to make more money, sure, they might deserve to, or whether they just need to reserve compute resources. Either way, I can't afford to pay for this, so I'm going local. ⁓ maybe that'll be the cost control, right? Maybe there'll be some balance that kind of equals out there between we're losing customers, so we got to make this cheaper versus we need to actually get some return on our investment someday. But I guess either way, right, this discussion is kind of is indicative of why we're talking about using local LLMs, specifically, I believe, coding assistants, which is what the two of you have been kind of spending some time working with. And I understand you've both had success in various ways with this. Let's talk a bit about... I guess the one large story you wrote this week about local LLMs and just kind of more broadly ⁓ what you guys think of them.
Tobias Mann: Yeah, the, you know, I think we've, many of us on the team have been playing with local LLMs in some shape or fashion for a couple of years now. and probably within the last year, certainly in the last six months, it's the models that you, that are small enough that you can run on consumer hardware. And I'm not talking cheap consumer hardware. I'm talking about high end consumer GPUs. ⁓ you know, quasi, ⁓ workstation, mini PCs, ⁓ higher end MacBooks and Macs. ⁓ The quality of those models have jumped from being kind of like toys, know, tech demonstrators to being really rather competent. At the same time, we've also seen ⁓ the rise of these agentic coding frameworks. That's the other part of the equation. These are things like quad code. Quad code is a framework that
Brandon: Mm-hmm. Right.
Tobias Mann: connects to models running in Anthropix, various ⁓ data centers, cloud providers, and is what's actually orchestrating the generation of the code, the testing of the code, the validation of the code, and allowing developers to kind of ⁓ use these as actually useful tools rather than just getting a code snippet that may or may not work out of a model as you might have done with. chat GPT four years ago. And so we, in the last, right around the time that, you know, Microsoft was going to use his base billing and Anthropic was, you know, toying around with kicking the $20 a month pro users off of the cloud code entirely to save on compute. Alibaba's Quinn team popped in with a relatively small 27 billion parameter
Brandon: Relatively small. I just think it's funny how quick the parameters have grown over the years. ⁓ it's small. It's only a few billion, you know.
Tobias Mann: Yeah, it's only 27 billion. ⁓ You know, they popped in and they presented this as being ⁓ frontier quality coding out of a pretty small model. ⁓ And so with all of the agent harnesses you need to do this and now a model that is supposedly competent, it was just kind of the perfect storm. so to speak, to start looking into whether or not these small models could be a replacement for some part of the development flow, for the entire development flow. And it's surprising just how good these small models have gotten.
Thomas Claburn: Yeah, yeah. I mean, I've was experimenting just recently with the QNX 3.6 and it's like a, whatever, 35 billion parameters and.
Brandon: Yeah, there's a 35 and a 27 billion.
Thomas Claburn: It's 35, but it's like a mixture of experts. So it's actually only like 3 billion, I think, when it's running. And it's an 8-bit quantization. And it's actually, it's working pretty speedily. And I was doing a sort of comparison test to see whether it would do a drag and drop metadata removal app on a map, which is like a very particular kind of thing. And initially it kind of suggested some things that were wrong. And I sort of cross-checked. that with Claude and Claude and OpenAI and they both came up with things that were like not really right either and ⁓ it then when I sort of rephrase the question to it ⁓ more carefully, came up, they basically came up with the same answer with Claude. And what it tells me is to your point about the harnesses, I think a lot of the things that make these, that makes local coding work is how good the local harness is. And this was a point that came up yesterday in a piece I was working on about ⁓ Mozilla when they were talking about all the bugs they fixed with Mythos. One of the people I... talking to Davy Ottenheimer, you know, argued pretty strongly that you can do, you know, mythos quality work with a much smaller model as long as you have a good harness and unfortunately, you know, a lot of the setup of that is very kind of, you know, just There's not like a standard way to do it. So people will either figure out a way that makes it work or they'll set something up and it just doesn't work. But it's not really clear why that happens. And there's a lot of sort of just sort of arcana about like what skills you have and what the pipeline looks like. It's people are still figuring it out. But I think that local is where it will go because you know, there's nothing that, you know, beats the price of being able to run this for, you know, next to nothing, excluding your very expensive hardware.
Brandon: And it's improving to the point where it's not something that it would have like a while ago, was like, ⁓ this doesn't really work. Now we're reaching the point where these local models are viable, right? Well, like you said, you've got to word things carefully. I mean, that feels like anything that was the early days of AI, right? It's like, OK, you got to word it carefully. But eventually, it's going to get better to the point where it's not going to have to be so particular. And you get the same results, hopefully.
Tobias Mann: Yeah, there are two key technologies that I think have really helped these smaller models compete. The first is, as Tom mentioned, is mixture of expert models. They only use a subset of the total parameter account for each token generated, which reduces the barrier to entry for hardware. The larger the models get, the more memory bandwidth you need in a consumer or even workstation class of product. it gets absurdly expensive as your memory bandwidth requirements increase.
Brandon: Yeah, I mean, even for doing some of the basic ones here, I think you wrote in your story that the things you need, you need an M5 Mac with 32 gigabytes of memory, Or 24 gigabytes with multiple GP, like you need a beefy machine from the consumer perspective to run this stuff. I I've got a 16, I was looking up like, ⁓ I've got an M1 map. I wonder if I could run some of these. And I look up like my Mac's pretty fast. I haven't needed to think about upgrading it in several years. And I looked at them and I like, ⁓ yeah, there's no way.
Tobias Mann: So yeah, older Macs can do it. You will run into issues where the prompt processing side of it, that's the, hit enter on your prompt and then you wait. It gets to be problematic. Like you're talking several minutes of waiting for it to start generating a response because older Macs lacked the matmul.
Brandon: Mm-hmm.
Tobias Mann: acceleration necessary for this. So they were brute forcing a lot of the compute on the GPU. Starting with the M5 Max, they integrated the matmul acceleration into the GPU. It makes a huge, huge difference in terms of performance. that's why we recommended newer Max. Tom and I, I think we're both testing on older M series on Max.
Brandon: Mm-hmm.
Tobias Mann: Yes, it can work and especially with the 35 billion parameter mixture of XRMODEL, it's a little bit better, but the quality is generally worse than the dense 27 billion parameter model.
Brandon: Yeah, I mean, I guess I can understand that, right? mean, the more processing you can get done, the faster the better the response is.
Tobias Mann: And that's a really important part of this because the other piece, the thing that has changed that the models are that small models can be this competitive is something called test time scaling. We saw this first with deep seek and ⁓ open AI 01, which is this, you you hit enter on your prompt and then you see the model thinking and ⁓ the model can work through different paths and then choose which path it wants to present to the, to the user.
Brandon: Mm-hmm. Right.
Tobias Mann: at the end. So you can, the idea behind test time scaling is that you can take a smaller model and have it think for longer in order to make up for the lack of parameters in that model. And so we have both of those things coming together in models like QN3.627b or QN3.635b.
Brandon: Okay, cool. Now, I mean, for those who are interested in setting this up and go, okay, I've got some hardware that's beefy enough and I think I'm willing to give this a shot. I mean, this has also gotten a lot easier. Like, I think in the past year, year and a half, two years, it's also gotten multiple factors of simplicity easier to actually set up one of these things and run them locally. Is that accurate to say? It seems like it's gotten a lot simpler to configure this.
Thomas Claburn: Yeah, yeah, I they're definitely I mean, people often use Olamma or, you know, was it onslaught or I'm using OMLX, which uses the Mac MLX acceleration. And these are basically the model serving platforms. you can get your model from a variety of places. Hugging face is a very common one. But a lot of the model platforms like Olamma will fetch the model for you and handle all the installation stuff. The trick is a lot of them have different formats. And if you're using Olamma CCP directly on your computer, which is the CCP,
Brandon: Mm-hmm. Mm-hmm.
Thomas Claburn: based model runner, it's going to have a different format than say something else. And they'll all talk to each other, but it tends to lock you into one. particular way of doing it and you get used to it and there's not really a right way of doing it right now and that's part of the problem is everyone's kind of figuring out like what's the right way to do this which one do I want to use how do I configure it and even just looking at the model and trying to decipher the quantization and the features it has isn't always clear to everybody and That I think hopefully will become more standardized as you get sort of more common knowledge about, yeah, this one works really well for me. mean, forums every week there's someone saying, ⁓ yeah, this model is great for XYZ and we'll try that out. I mean, that's really the experience you have to have is figure out what you're gonna use it for and try it and see what other people are doing. And you can probably arrive at something that's useful locally.
Brandon: Yeah, useful locally, I guess, also implies the need to do some probably some security like work. Right. I know when we first started writing about local LLMs, things like open claw, right. I mean, the the going headline for any of those right was, this this local LLM has caused chaos for somebody again. Right. Is that I think, Tom, you wrote a couple of stories recently about ⁓ running local LLM safely. mean, has it gotten to the point where it's easier to do that safely or is that still going to be a big concern for anyone doing this?
Thomas Claburn: It is easier to do. ⁓ mean, the setup can be pretty complicated for these anyway. ⁓ I mean, I just spent an evening building a sandbox for the Py agent because Py is ⁓ sort of a very permissive agent that comes out of the box in YOLO mode. can sort of do anything. It has very limited command set, but it has very few limitations. And that's by design. It's sort of like in the same way Flask is a very open Python framework. It's not this sort of batteries included thing, know, compared to Django. you ⁓ know, something like Claude will come with a bunch of sort of predefined ways to do things. Claude has its own sort of sandboxing system and you can add a lot of safety through things like hooks. You know, there people who will write the way, know, hooks that will intercept dangerous commands like, you know, RM. ⁓ So there's a lot of ways to do it. Docker has a sandboxing system. That's what I tried to build on is basically figure out a way to do a Docker sandbox that runs Pi and It protects the local file system but leaves the internet space open and those are kind of the security decisions you have to make because if this thing is totally enclosed in a know, VM and there's no way out it can't really do anything I mean you can do anything that you stick into VM but if you want to like work on project on your own system, know You have to break that boundary somehow to get the file across and give it access and then you know if you need to update something how we have to open it up to a Code we put somewhere so there are a lot of security decisions you have to make and for me biggest one was just like making sure it doesn't mess with my local files and that gives me little bit more confidence to run a model that you know I don't really know how well it will perform. mean having my cloud for a long time I'm a little bit more confident that you know is behaved behaves well but the risk is there for all of them.
Brandon: Right. Yeah. Yeah.
Tobias Mann: So we looked at, I think, three different ⁓ agent harnesses in the piece. ⁓ Cloud code, which you would think is for work with anthropic stuff, but it works just fine with local models. It's two additional commands and you're up and running. ⁓ It's very heavy. The system prompt is enormous. And so if you have lesser hardware, you might struggle a little bit with it. We also looked at... ⁓
Brandon: Mm-hmm.
Tobias Mann: which is a VS code extension ⁓ that is very easy to install, pretty fast to configure. ⁓ And then we looked at PyCodingAgent, which Tom had suggested that we discuss as well. with out of the box, ⁓ Cloud Code and Klein both default to user in the loop, of deny by default kind of situations where I'll ask for permission before... you know, performing any commands or writing any code. It'll say, I want to write this code. What do you think? Do you want to proceed? ⁓ And they, but they can be made to go fully automatic and just say, you know, I'm not worried YOLO, let's go. ⁓ And so that, that, that model is a different security model than what we saw with like PyCodingAgent, which to Tom's point is just pure YOLO mode out of the box. And so the security models, differ wildly depending on which agent harness you're using or which sandbox that you're trying to play in, so to speak. You know, there are several kind of agent sandboxes that have emerged that default to blocking all outbound network activity, which really limits the capabilities of the agent and forces you to be deliberate about what you do and don't want it talking to.
Brandon: Mm-hmm. Thank ⁓
Tobias Mann: Others are just, you know, they're focused on isolating, you know, doing kind of limiting the blast radius if the agent decides to go AWOL and do RM, RF, you know, the root file structure and just take the whole thing out. That's fine if it's in the container and it destroys the container because you run two commands and you're back up and running again. ⁓ It's less okay if you're running bare metal.
Brandon: Yeah, I mean, guess, right. So security considerations, seems like the core is basically just know what you're working with, right? Like don't deploy an agent that you don't at least have some idea how the security apparatus built into it functions by default, right? ⁓ And just what you can do with it. But I guess whether we think about security or not, a lot of the conversation around the need to run LLMs locally seems to boil down to compute resources. and ⁓ the cost to maintain them, the cost to operate them, the cost to serve them. ⁓ And I guess, Anthropic, speaking of Claude, right? Anthropic's big ⁓ long shot this week, I guess, was a plan or a partnership they signed with SpaceX to occupy some space on the ⁓ fleet of orbital data centers that Elon Musk seems intent on building. ⁓ Tom, ⁓ so is that gonna happen?
Thomas Claburn: I mean, I don't know. I I would think that they would put them in the ocean before they would put them in space. And, you know, they talk about data centers, but, you I think that it's I'll wait and see if they actually build them on land first, because there's a lot of ⁓ terrestrial construction that is planned and hasn't happened. And we'll see.
Brandon: You'd think. Mm-hmm. Yeah. Yeah.
Tobias Mann: Yeah, the whole idea is that in space, you put the satellites in a sun-synchronous orbit, then they have basically unlimited power. The problem is that you have to get them there in the first place, which you need a launch vehicle for, which, I checked, Starship still does not work.
Brandon: I was gonna say this seems awfully familiar to me if we just change orbital data centers to Mars colonization, right? Like same problem here. We gotta have a vehicle that can get us there yet and we do not.
Thomas Claburn: The Hyperloop will be the way they'll take it out there.
Brandon: You Yeah, right.
Tobias Mann: And once we get the orbital cluster in place, Elon wants to put a mass driver on the moon so that we can put even more of these things into deep space for reasons I guess.
Brandon: Yeah, it just seems like there's a lot of, I don't know, it feels like the idea that Anthropic is gonna get on board with these SpaceX data centers in orbit. And it feels to me a lot like when a data center company is like, hey, we just signed a huge deal with this company that makes nuclear reactors that don't exist yet. And it's kind of like, cool guys, well, let us know when we've actually got a real solution for the compute crisis that you guys are dealing with right now that you caused. ⁓ It's just, yeah.
Thomas Claburn: Yeah, kind of interpret the whole space thing as like, we made a deal with SpaceX and we have to say something nice about their future plans.
Brandon: Right. Yeah.
Tobias Mann: this really boils down to Anthropic is getting access to Colossus One, this massive, what, 150 megawatt AI factory, know, purpose built for GPU training and inference. so I think really what they need is compute and they cannot get enough of it. The inflection point has hit and we're
Brandon: Right. Mm-hmm.
Tobias Mann: we're seeing adoption, means we need compute for inference and we need more compute for inference than we've had in the past. And so I think really what this is is we'll say whatever you want. We will say that we will ride along on your Starship into the heavens and live in your space data centers. Just give us access to Colossus, please, because we're dying for.
Brandon: We need it now and it'd be great if it happened someday in orbit, right? So in the meantime, I guess, basically, you know, ⁓ have we reached the point where localized AI, local LLM coding agents, right? ⁓ Are we at the point now where they might be able to ease some of the compute stress that these companies are feeling or is this still early days something that's going to have to be developed, you know, not worth it for the average developer?
Thomas Claburn: Yeah, mean, yeah, they're going to be useful for, you know, sort of prototyping stuff. One of the things I've done is, you know, I'll run it through the local one and then I'll have Claude check it. you know, that you often get a lot of, you know, code fixes that way. So it is a way to offload some like less important jobs. I mean, you don't need a frontier model for everything.
Tobias Mann: Thank you.
Brandon: Mm-hmm. Mm-hmm. Right. Right. I think that was kind an argument you made to bias about, you know, using a massive data center to build an HTML page is not a good use of resources.
Tobias Mann: Yeah, so. Right, Using the biggest, baddest model to write some HTML is probably not the most efficient thing to do, and it's certainly well within the capabilities of these small models. The other thing I'll say is, if you look at how GPT-5 works, if you go to chat-gpt, not codecs, ⁓ when you first enter a prompt, it gets routed to one of three models based on the complexity of that model.
Brandon: Mm-hmm.
Tobias Mann: Conceivably, we could do the same thing with local models, where you sign into Codex, it does a check. If you have sufficient hardware, it will run some portion of that query through the local model, do a yes-no check on the big model in the cloud, and decide whether or not, at that point, whether or not it needs to be regenerated via the API, or it can move forward with what's generated locally. So there's definitely a path forward for ⁓ for local playing a bigger role in reducing the amount of compute required to scale it in print.
Brandon: Yeah, I guess the only key caveat there would be that if you're gonna install local LLMs on people's machines to split your compute load, you should probably let them know first, right Google?
Tobias Mann: You probably should.
Brandon: Probably. Or you can just do it and ask for forgiveness later on. Who's gonna uninstall Chrome? You? ⁓
Tobias Mann: Yeah, the other thing I would point out is that, you know, while a 24 or 32 gigabyte GPU is very expensive, we're talking anywhere from a thousand to, you know, $4,000 ⁓ plus for GPUs with that memory, ⁓ those GPUs could serve that model to an entire team, realistically. And so if you were thinking about this from an enterprise adoption standpoint, you could buy one machine that sits in the corner, basically silent, that could serve an entire dev team with this smaller model. Or you could spend a whole lot more, but still something that fits on a desktop in the corner that runs a big model, like a trillion parameter model locally on that system and for that team. We're not just limited to these small models. You and I might be, but from an enterprise standpoint, ⁓ a $70,000 DGX station, for example, is capable of running very large models, ⁓ trillion parameter scale models. And that's less than the cost of one developer for a year.
Brandon: Yeah, so maybe that's the case now, right? Maybe we've just reached a point where there's enough value in these local models as a sort of, like you say, as a prototyping testbed, as a entry level dev replacement to do the first work before someone more experienced or with more parameters reviews it. Yeah, so it might be there. That's interesting. I will be interested to see how the evolution of AI models and like you said, the kind of linking between. cloud-based versus local. I'll be interested to see how that develops. Yeah, it could be the next phase of the AI industry's evolution. We'll see. We'll see. Something's got to give with compute, right? No matter what it is, we are going to be sure we're here on the register to write about it and here at the kettle to talk about it. And until then, we will see you next week on the next episode.