Brandon: Welcome back to the Register Kettle Podcast. I'm Reg Reporter Brandon Villiarolo, and you're gonna be absolutely shocked to discover what we're talking about this week. I'm kidding, of course, it's AI. specifically the fact that it seems the world is kind of starting to wake up to how much it costs to actually run these giant models that are supposed to make life easier for enterprises and their employees, but it seems like they're leading to some invoice shocks. With me to talk about the latest panic over AI costs are Reg reporter Lindsay Clark and our contributor Job Jackson. Thanks to both of you for coming on.
Lindsay Clark: No problem, thank you.
Joab: Thank you. Yeah.
Brandon: Yeah. So Lindsay, let's start with a story you wrote recently about the fact that C suite occupants are apparently having trouble getting a handle on new usage based AI costs. What exactly has them so confused?
Lindsay Clark: Well, I mean, get the impression that big companies are diving in with both feet with AI. It's the latest trend. They're using it for a lot of coding and using it for business apps, trying to do stuff in the business with it. KPMG is a massive global consultancy. They do provide IT services and outsourcing services. So they have some...
Brandon: Mm-hmm. And they're the ones who wrote the report, correct? Yep.
Lindsay Clark: That's right, yeah, they read the report and they have some skin in the game. But so they did a survey of more than 2000 senior execs over 20 countries, I think, and found that 29 % of them struggled to understand the operating costs as they scale with enterprise AI deployments. And nearly half of them were also looking to kind of re-phase, they call it. their AI deployments when the costs outweigh the expected value.
Brandon: So what exactly explain rephase. I mean, is that just are they rethinking the deployment itself or are they c you know, changing the scope? What's that mean exactly?
Lindsay Clark: It's like just kind of slowing down and looking at what they're doing is my understanding from the report. They're looking at lower cost models, high fidelity models. Yeah, it's kind of looking for a mix of models to deploy rather than just maxing out on the most expensive ones.
Brandon: Okay. Mm-hmm. Yeah, right, which has kind of been the case. I I mean, you know, usage based billing seems to be I mean, it's a relatively recent development in this space, right? I mean, it was all just come get your get your free samples until we get you kind of in the door enough to the point where you're at least somewhat dependent on this and then we realize, we actually have to make money off this I'm speaking as an AI Frontier lab here, right? And then we're gonna have to charge you per per token because my gosh, we're just not able to turn a profit.
Lindsay Clark: Yeah. Yeah, So Anthropic, OpenAI, GitHub have all moved from, as you say, like a subscription, flat fee, all you can eat kind of model to usage-based billing based on tokens. And, you know, that's, the vendors, both the model providers and the application vendors that want you to use AI agents in their applications, they want people to...
Brandon: Mm-hmm.
Lindsay Clark: as say, jumping with both feet, just kind of use this stuff as much as possible. And then as is typical perhaps for the IT sector, then try to change the commercials as we go.
Brandon: Yeah, right. Which I mean again, it's it's it's a big enough issue that it's like you said, right, more than a quarter of of C suite people are are getting a bit of bill shock here and realizing that they might not be able to afford this. you know, but again, right, they're kind of maybe a little bit hooked in because they're they're you know, their engineers have been using this long enough. I wrote a story recently about, you know, an engineer, like a an open source skill that someone wrote to basic
Lindsay Clark: Yeah. Yeah.
Brandon: Test engineers to make sure they're not losing their edge in this environment, right? Because a lot of them are. I mean, we've written plenty of stories about developers becoming dependent on this, forgetting how to do some of the basic things they used to be able to do, right? it gives these AI companies a big a big inroad to basically say, Well, hey, now we're gonna actually try to make money. But right, it does put them in a in a kind of a precarious position, right? Like if you charge too much.
Lindsay Clark: Hmm.
Brandon: These companies or these these enterprise customers are gonna try to find a way around it, whether it's an open source Chinese model, I think those are on the rise in a lot of businesses, or it's some other solution, like you said, you know, rethinking their deployments and and trying to go with smaller, large scale models. You know, but if you charge too little, you're never gonna make enough money. is this a needle that these AI labs can thread, you think, or is it one that's pointed straight at the bubble?
Lindsay Clark: Well, I mean, just before we get into that, think there's a report from Gartner a few weeks ago that I thought was quite interesting and was, they had done some research about the cost on this topic. And this is for AI assisted coding. And they were really put. That's right. Yeah. Yeah. So it was a researcher called Nitish.
Brandon: Mm-hmm. Right, this is one you covered back at the end of June, right? Yeah.
Lindsay Clark: and yeah, I mean, he was saying that there's a real lack of transparency from the vendors over the costs of their coding agents and they don't have cost optimization tools that you would expect. you that you might get in the cloud. For example, because of this, the costs of the coding agent per developer was going to exceed the actual salary of the developer in 2028. And that's the average salary globally. He was already finding that in some areas of the world where salaries are a lot lower, like India, the cost of agents is actually exceeding the salary of the developer. So that's because the cost of agents is the same throughout the world, whereas developers get paid differently according to where they're located.
Brandon: Yeah, that's right. Right, I imagine it's never I imagine the cost of these are maybe never gonna exceed the the salary a developer in in like Silicon Valley, right? Those guys are making a lot of money. when I yeah, when I think about that, I'm like, my god, there's no way that you could have token costs being in the hundreds of thousands of dollars. But yeah, overall global average, that's still a lot, right? And I can understand that it's probably why you see a lot of companies I mean, obviously there's been concerns about the viability of AI deployments and what have you, causing companies to basically rehire the people they're laying off.
Lindsay Clark: Exactly. Yes.
Brandon: But it's it's another thing that kind of screams, you know, how sustainable is this? You know.
Lindsay Clark: Yeah, yeah, yeah. mean, that research, mean, to your point about the bubble, it means they have to recoup these costs somewhere. I mean, on the macro picture, I think there was a report, I forget which one, it was some big investment house was looking at the capex across the industry for AI data centers, and it was one and a half trillion from over five years until 2030. So that's a lot of money, and it's to come from somewhere.
Brandon: Mm-hmm.
Lindsay Clark: Again, on the Gartner research, they were saying that all the model providers all have kind of different ways of doing the billing as well. There's no standard. So if you're looking at a way to approach this like the model providers are likely to, then it's very hard. Gartner were encouraging to people to take matters into their own hands, to look at
Brandon: Mm-hmm.
Lindsay Clark: look at optimizing their own usage, minimizing their own usage. And one of the things that came out of that call was that there was no direct relationship between any increase in token consumption and an increase in productivity and coding in this case. And that was very telling. It's not the case that the more that you use, the more that you get out of it.
Brandon: Right. Right.
Lindsay Clark: And actually they were arguing that if you are kind of quite careful with how you do this and controlled, then not only do you end up consuming less, but that you're what you get out of it. The quality of the code you produce is also higher as well. You know, that was reflected in the, I had a conversation a few weeks ago with Spencer Kimball, who's CEO of Cockroach Labs. I mean, they, have a database business, they sell databases across the world. But Spencer Kimball is well known in the coding world, spent a long time at Google and he wrote the GIMP open source image processing tool. he was saying a cockroach, yeah, he was saying a cockroach that they don't do token maxing, they're like, we just use a whole bunch of models, we use a lot of open source models, but that's appropriate, we use the cheapest models. He said there's no point in maxing out a...
Brandon: Love Gimp.
Lindsay Clark: a model when you haven't provided the right context because you'll just get more more rubbish back. you know, he was almost in line with what Gardner had said is, you know, and they were big into agent coding, you know, but he was in terms of, you know, he's quite, quite circumspect about how you, how you, you know, how you deploy it on the commercial level.
Brandon: Mm-hmm. Yeah, speaking of token maxing, actually, that kind of brings me to the next story I want to discuss. Job, you wrote this a little while ago about a a Netflix engineer who wrote an open source tool that has become real popular real fast. and it's apparently, according to a talk he gave at the op at an open source symposium, saved the many users have adopted it hundreds of thousands of dollars by by trimming input to LLMs in order to save token cost, right? So It's like the opposite of token maxing. This is like token mining here. what exactly did he come up with? Can you explain that?
Joab: Yeah, he actually this was a home project. like all good open source projects started out as. He had gotten a two hundred and eighty-seven dollar bill from Claude Claude Sonnet and for some work he was doing. It was not a a heavy amount of work, it was some debugging.
Brandon: Right.
Joab: some MCP type stuff, that that sort of thing. But he he was kind of curious how how do you how do you generate that large of a bill from that kind of a modest of a workload? And so he took a look at what he was sending over to Claude and most of it's it's it's known that like most of all token consumption is all from input. You get he gets charged for both token input and output. But most of the ch most of the bills come from what you're putting into the system. And he was inspecting the stuff that he was submitting and that his agent was submitting. And most of it, the vast majority of it, was completely redundant. It was it wasn't useful instructions. It was like
Brandon: Mm-hmm.
Joab: you know, database schemas or sort of r or I'm sorry, JSON templates or a lot of log work, that sort of thing. And so he figured that if he could create a program that would look at look at all the stuff
Brandon: Mm-hmm.
Joab: basically and and and tear out the redundant parts and then submit the useful information, then he could save he could save he could save money. what now there is like Claude does have a number of settings, but you quickly kinda descend into AWS Billing hell, so to speak. There's You know, there's a cache setting. Like every time you give a query to an LOM, you're actually a tagging on your complete your complete back and forth history up until that point. So a lot of a lot of the same information gets passed up. And you can you can set that with Claude, you can set that to five minutes, how long you want that that history to stay. And there's another setting where you can set it to an hour and this is where things this is the kind of example of how things get tricky real quick. You can set it for an hour to live, but it costs twice as much, but then you get ninety percent savings and reads. Which so now you now you have to do the kind of math of the kind of stuff you're submitting and versus versus you know your your workload, that sort of thing. now there are Yeah, basically
Brandon: So this is basically go ahead, this is basically trimming the fat, right? Where instead of s resending all that stuff as as token input, it's basically telling the model, You've already got this, use what you have, essentially, right?
Joab: Yeah, and it's it's not even it's not even you think, well I'm typing a bunch of stuff in, you're being very chatty. It's not that. It's it's all this like needlessly verbose schemas and like if you send you know if you if you have it execute a Rust command and it's in verbose mode, you're gonna get all that verbose stuff, even though the LOM doesn't need need it. So you came up with a bunch of like little modules that you call squashers that take a look at these areas data. database compression, JSON trimming, that sort of thing. And there's a lot of there's a lot of VC backed token trimming tools now, but he wanted something inline. He wanted something that worked directly from the the command line and so that's what he came up with. Now just a clarification, this wasn't work he was doing he he does he has another job entirely at Netflix and but he just he he built this program on his own, from what understand, he let a few Netflix engineers try it and they liked it, but it just took off all of a sudden on its own anyway.
Brandon: So it's not like an internal Netflix product, this is his own project, basically, yeah. So I'm assuming you know, I when I read the story I like, Well you know, I'm kinda curious how this would work. I'm assuming that this is this is entirely dependent on a context window, right? Like
Joab: No, no, yeah. Yeah, this is shaping the context window, basically, yeah.
Brandon: Okay, okay. So I mean if if we go back beyond a certain point, right, 'cause context windows have a have a termination, I'm assuming that at that point you're gonna have to start resending stuff if you're still undertaking the same conversation, right? Like this is only effective as long as it remains in context.
Joab: yeah, from understanding I I use Gemini quite a bit. And from my understanding they they do keep a cache of the stuff, so it does s seem like a conversation. But after a certain point, all that the continua the the conversation is is seamless to you, but at some point all that data's being loaded back back for the L O to parse once again. Yeah.
Brandon: Right. Gotcha. And so what's doing the actual so I I think it's probably project headroom, right? So what's what's doing the work of of of clearing that headroom out? Is this another LLM? Is this local algorithms that he's written to to do this work? Wait, where's that where's that compression and that trimming being performed?
Joab: That? That's all being done on the client. He isn't using the LLM at all, from my understanding. But there you know, there are different types of algorithms. He used some not LOM sized AI, but some statistical analysis. Like it say you send over a database table. It you know, the LM probably doesn't need the entire database table. It needs the first few entries, it needs the schema, it needs any outliers to kind of get an understanding, but it doesn't need
Brandon: Okay. Mm-hmm.
Joab: So it's basically a s a series of tricks that he's come up with and now other other contributors have come up with to you know to kinda you know basically to to tidy it up a bit.
Brandon: Right. Cool. So I got I think you wrote or in the story that he that his talk at the open source symposium mentioned I think seven hundred thousand dollars in savings for the people who've been using it. Do you do you have any and I know you wrote the story at like the end of May, and then we're talking about it now because it's still relevant, but like do you have any update on how much money this thing has saved and how much people are using it, how many people are using it?
Joab: haven't checked in lately on that, but originally it was he had estimated just from his users, just from the 'cause there's some telemetry in the software that you can opt into. And for those who opted in when they downloaded the software, saved about two hundred billion tokens. which accounts by his estimate up to about seven hundred thousand dollars. So but there's other users who aren't who aren't submitting this information and you know, who knows? It's open source so you can't really track it. But I did speak with him fairly recently and he had said that he couldn't get into the details, but it's And y the project is taking off. Who knows, you may me may have found some financial backing or or but but it does definitely seem to continue to be attracting attention.
Brandon: Yeah, so did I mean I d I didn't see in in your story, was there a estimate of like percent of a token budget, percent of an average query that it's this was trimming off, or is that gonna be varying so much by by use case?
Joab: like like server logs, 90% of server logs could be could be aren't necessary. 70% of JSON, because a lot of JSON is, you know, is the formatting, so 70% of that can also be cut. So you're looking at anything that's like routine formatting data is you don't really need it.
Brandon: Mm-hmm. Right. Yeah, so a lot of this is trimming off a lot of stuff basically.
Joab: Yeah, and he also he also has he also had a a kind of a nifty feature that everything is he does some text compression, not a lot, but everything is reversible, so if you need to go back or so if the ELM needs to go back and get more information, it can do that. So Yeah.
Brandon: cool. So yeah, this isn't a permanent thing, right? Yeah. so I guess, you know, it's it's interesting, we're seeing lots of horror stories about AI cost skyrocketing, huge bills. You know, on the flip side of that, we see daily limits getting eaten up, leaving users with workflows and projects that are the freezing in the middle of a workday, right? This might be what a lot of businesses need to kind of both free up tokens and trim AI expenses. I mean, but w what do you guys think? Is this gonna be is this the sort of thing that's gonna be enough? Or or did something else have to give here too?
Joab: I I would like to you know I mean we talk a lot about how generative AI is evolving, but you know, if you really wanna you really wanna go back to evolution and discuss Darwin
Brandon: Mm-hmm.
Joab: of the core components was limitation of resources. I mean you just everything can grow indefinitely without any limitations, but at some point, and this is when the real kind of innovation s you know kicks in is when you only have limited resources. Now we got a lot people complaining about, you know, data centers, too many data centers, using too much electricity. I think the LMs now are hitting that point. They're going to have to
Brandon: Mm-hmm.
Joab: They're gonna have to figure out how to make this work, you know, strictly with limited resources. And yeah, I'm not I I I read a lot of AI research, I'm not seeing a lot of AI efficiency research coming out of the labs. So, you know, maybe it's it's just a necessary next part is we got this technology that we don't fully understand, but we have limits too. We have to start to factor in those limits.
Brandon: Mm-hmm.
Lindsay Clark: Yeah.
Brandon: Yeah, right. I mean and that is I feel like the c go ahead, Lindsay, were you gonna add to that?
Lindsay Clark: But the only thing I was going to add is that as well as people looking at open source tools here, the vendors, at least within the database market, see a big opportunity here. So I've spoken to and I've read about a number of database vendors who are basically trying to improve the efficiency and reduce calls to LLMs. So for example, a company called Pinecone, which did vector databases a while back before everybody else did. And they're looking now to create this kind of semantic layer between the agent and the kind of business data and the kind of tech environment. So you store the kind of basics of the landscape in terms of database schema or how. the company does financial processes. So you don't have to make calls to the LLM and create queries to find that out every time afresh. So the point is, I think we're going to see a lot of people, perhaps from open source or perhaps from proprietary vendors, see an opportunity here and selling to companies on the basis that they can reduce the costs of AI agents in their business.
Brandon: Y yeah, I would hope that maybe Oracle's working on that because we discussed in I think last week's episode, they're one of the most exposed to this bubble right now, right? All the other big data center players that are that are courting the AI market, it's Microsoft, it's it's Amazon, right? It's Google. These all have big things to fall back on if if the bubble does end up popping. Whereas Oracle is just on the hook for
Lindsay Clark: Hmm. Yeah.
Brandon: a lot of money and not a lot of other stuff going on there. But if they can turn that database into a you know, like I said, a semantic layer that sits between and and reduces calls, that might be pretty pretty valuable. Yeah.
Lindsay Clark: Well, Well, I don't know because they're also reliant on OpenAI. I mean, back last September, they announced, was it 450 billion pipeline of committed data center spending and the market went, well, hey, that's great. And their share price went up. And then a few weeks later, I don't know if you wrote the story, but the OpenAI were on the hook for.
Brandon: Right. Mm-hmm. Yep. They're down
Lindsay Clark: 300 billion of that. Now, obviously, and Oracle's borrowing money to build these data centers as well. I mean, it has a huge. Yeah.
Brandon: yeah. Yeah, that's exactly what I wrote about
Joab: as as Microsoft pointed out at the recent build conference too, you're gonna I mean you're gonna need to do these these kind of in between products anyway, just because the the enterprise it's it's a very kind of specialized task. There's all sorts of domain knowledge and you don't wanna hand that domain knowledge over to the the the LM providers. So there's all there's gonna be this whole set of middleware to like the data for for analysis and that's gonna have to come that's gonna have to come from the channel basically.
Lindsay Clark: Yeah, and it all depends whether the model builders, they're revenue models, know, they're revenue forecasts are based on this kind of trend for optimization that we're going to see in the next few years. Are they forecast based on that or are they forecast based on token maxing? Exactly, because that could be a big difference.
Brandon: Token maxing. Yeah. I mean, I very based on what Job just said, right? Yeah. It's like what based on what Job just said, he doesn't you you don't see a lot of efficiency work coming out of these labs. So my thought would be it's probably the latter, which probably doesn't bode well for the future of this industry. I mean, you know, w what do you guys think? Is this another thing that we gotta watch out for as a potential part of the bubble? Is this gonna exacerbate problems? Is this something that can be conquered and moved beyond, without causing a whole bunch of industry d destabilization? I mean, what do you guys think?
Lindsay Clark: Well, I don't know. mean, like the the the we keep thinking about a bubble. There's lots of written about a bubble, but the the markets seem seem fine as they are. And there's a lot smarter people than me investing a lot of money in this. But but, you know, there is also cause for concern in terms of we don't really see exactly what the business model is going to be here. There's quite
Brandon: Mm-hmm. Mm-hmm. Yep. Not a lot of returns yet on investments, yeah.
Lindsay Clark: Exactly, there's question marks over liabilities. wrote a piece about, who's going to, I mean, the whole other side to this. So there's AI agents doing coding, but all the big application vendors are looking to build AI agents that do your kind of business work for you in finance and HR and stuff like that. You talk about liability in that space, they're not going to be liable for any of the decisions that they make. So there's a question mark over that as well.
Brandon: Mm-hmm.
Lindsay Clark: You know, we've seen, you know, bubbles burst in the past. But my feeling is the capacity will be used at some point in the future, but then there might be a kind of few bumps in the road along the way.
Brandon: Yeah. Yeah, right. We we still have websites, right? The dot com bubble burst but websites didn't go away. AI is not gonna go away. I think it's here to stay. It's just its scope and its shape and its use is probably going to be curtailed or sh changed. Joe, what are your thoughts?
Lindsay Clark: Yeah.
Joab: Yeah, weirdly enough it it it reminds me of the dot com bubble, but also reminds me I don't know if you guys remember the tab of I guess it's early 2000 and Windows you know Microsoft completely refactored Windows for the tablet format even though like 90% of their users didn't have any sort of touch screen capabilities but there was this hole for a while 18 months where it was like the software vendors had to come up with touch enabled versions of their software and all the all the laptop manufacturers had to do touch touch screens and eventually
Brandon: Ha ha.
Joab: you know, we have the i the iPad and some other you know the surface, but it was th I guess the tech industry does tend to go too far in one direction, but eventually it pulls back to to kind of gauge custom demand and a much smaller but more useful industry is there somewhere.
Brandon: Yeah. I guess the big question is whether or not we're entering this, you know, phase of of constraint driven Darwinian evolution in the AI industry that will save it from popping, or whether it's gonna burst before then and as as I think the the Bank of International Settlements said, take the entire global economy with it. So either way, hopefully we will still be here to talk about it on the kettle, and we hope that you will join us for that future episode. Thanks for tuning in.