Good evening. Welcome, everyone. [applause] Welcome to Club Hex. I hope you are all having a wonderful week. You had a wonderful day. I know I've seen many of you around here all day today, and we are so excited for you to be here. This is our second year doing Club Hex here at Snowflake Summit. Our team does a fabulous job setting this all up, and you do a fabulous job filling the space. So, thank you so much for being here.
I am really excited to be joined by some guests tonight. We're going to be talking about a bunch of interesting things and hopefully have some time for Q&A. So I hope you all have a great time, and I'm really looking forward to this conversation.
In 1957, Frank Rosenblatt first conceived of the perceptron, which was a fundamental building block of neural networks and of the AI we're using today. In 1973, Donald Chamberlain published a paper about SQL. And at the time, it was spelled out fully, SQL, a new language for working with relational databases.
And these two very old foundations, 53 years later now, are finding this amazing new life and renaissance, powering all sorts of cool new things that we're able to build.
Things are moving extremely fast. We all feel that. And it's a privilege for us at Hex to get to build things in this world and to go and try to push that envelope a little further ahead. And it's my personal privilege to also get to do that with our amazing team, but also to get to learn from some other amazing builders who are doing that themselves. And tonight I am joined by three people that are amazing leaders, technologists, and personal friends, and three guests that I think you'll learn a lot from as well.
So, we are going to do this talk show style where I'm going to invite them up one at a time and we'll have a conversation, and then we'll add one more person until the end. There's four of us up here and hopefully it'll be one big conversation. I have been told in no uncertain terms that this will be hard to pull off, that it might be a bad idea, but I am proceeding with it anyway because I think it will be fun and it'll be a fun experiment and we'll all figure out if this works together. So with that, I'll welcome up my first guest. He's the co-founder and CEO of a company called Baseten, Tuhin Srivastava.
[clears throat] You can now applaud.
Yes. Thanks for being here.
I was thinking back to our, I think it was our first time meeting in person at Lao Table.
The Thai restaurant not too far from here.
Yeah, it's Fusion. Thai Fusion.
Thai Fusion. Thank you. And we were chatting a bunch then, and I think at that time you guys were still a fairly different business, or maybe you were like in sort of a state of transition. You were founded doing something pretty different than what you're doing today.
And I was wondering if you could actually just take a moment and tell us about that, because it's kind of an incredible journey you've been on.
Yeah. So we founded Baseten in 2019, probably around July 2019. Hex was founded just like six months later.
Yeah. And you know, when we founded the company, the world was very different. So you know, the world was mostly working with small models. Data scientists were kind of all the rage at the time, and a lot of the machine learning use cases were very, very internal. And so we had a lot of experience doing some of that stuff, and we were like, oh, let's build a pick-and-shovels business for these people, for machine learning engineers who want to build, you know, internal applications powered by models. You know, in hindsight, it didn't make a ton of sense for a number of reasons. And you know, we kind of, you know, we raised a bunch of money from great people, including Tito, who you'll chat with in a bit, and we wandered around the wilderness for, you know, a good four years.
I think one of my board members four years in had this chat with me saying, 'Tuhin, it's been four years and we have $10,000 of revenue. That's not good. It's not good.' I'm like, 'What are you talking about? Just chill. The market will show up.' I didn't know that the market was going to show up. So anyway, in 2022, the market showed up, and what we started to see was a lot of people, you know, kind of inspired by ChatGPT, were like, 'Oh, there's a new standard to be built for products and a new standard to be built for developer APIs.' And then open source started working next to it. And with open source models, everyone needed a way to run them. And we had kind of built this inference engine before as part of this broader suite.
But inference on small models was very, very easy because everything could just run in memory more or less. So you could load a model like in the inference path itself, make a prediction, and just, you know, be truly serverless in that way. But now inference was very hard, and we're like, all right, let's do this. And so I'll give us a bunch of credit for that point, where in about three months we completely changed the nature of the business, and you know, the last three or four years have kind of just been on that journey as the markets continue to accelerate.
And so you describe Baseten today as an inference platform.
Yeah, we're, I think we are an infrastructure company primarily focused on inference for the fastest growing companies in the world, like Hex, like Parallel. We work with Cursor and Abridge and OpenSea and Clay and all these great companies, you know, where we're helping them use non-frontier models or non-OpenAI and non-Anthropic models to power their product experience.
Yeah, most of my questions are pretty dumb. So thanks for bearing with me.
But what makes an inference engine good? Like I think very naively you could kind of look and be like, well, you can run models in a lot of places. There's like probably eight different companies or platforms that would offer that they could run the same open source models. What makes, what like sets someone apart in that, and what are the drivers of like inference actually being good?
Yeah. Look, I think there's a number of things. I think, you know, while I want to talk about Baseten specifically, what people look for in inference providers, there's really like three or four things. One is, you know, performance, like can you run this fast? Second is reliability. Can you run this reliably? The third thing is that do you have access to compute, so you can get me access to compute on the back end. And then I think the fourth one probably is, you know, one thing that I didn't realize until very recently is that, you know, once you are in the path of someone's end user experience, you very quickly become the extension of their team. So, you know, you have texted me directly about models running on Baseten.
I was literally texting you like on Friday.
On Friday. And what you realize is actually this business really quickly turns from a software business into a service business where if we are down, a lot of our customers are down, and so we almost have to be, you know, customer service first in a lot of ways. And so I think they're the four things that people look for in a production inference provider: is performance, reliability, access to compute, the ability to scale, and, you know, a very good extension of their team to set.
Focusing on the performance thing for a moment. Again, like I assume most people in this room have not built an inference engine themselves. Raise your hand if you've ever built an inference engine from scratch.
One guy. I don't think that's... But like vLLM exists, like there's open things around this. There's like prior art. Like why would one inference engine be like probably better than the other? Why isn't it as simple as just hosting the open source versions of this?
Yeah. Well, GPUs are very, very flaky. These models are constantly changing. And these libraries are very, very nascent themselves. So you know, you got to think about like the three most popular, four most popular open source engines are Transformers, vLLM, SGLang, and TRT-LLM.
I'd say the majority of these have been vibe-coded in the last 12 to 18 months. And so on top of the vLLM team, vLLM has 100% been vibe-coded. They're probably here, like, you know, no, but and so all that means is that it just takes a lot of work to go from 'I can run this model on my computer' to 'I can run this model on thousands of GPUs at scale' and deal with, you know, GPUs going down, weird, you know, corruption issues like this is altering the quality of my model, there's quantization messed up, and you know, doing that all, it requires like specialized software and service and a lot more beyond that.
How much do you guys need to be like, is your job like thinking ahead on like the hardware? Like are you guys thinking about how you're going to have to change things around next generations of like Vera Rubin? Are you thinking about the actual hardware like... Like how much is that part of what you guys have to do day-to-day?
I wish it was more of what we had to do, to be honest. Like, you know, and because right now, you know, and I think, I mean, I think you can test this, like Par can test this, and Tito could definitely test this, which is like it feels like you can't really look more than three to four to like five weeks ahead because you're in firefighting mode. Like, you know, someone said to me, we had a planning offsite today with our tiny leadership team, and someone's like, 'Oh, you know, we should really talk about product vision.' I was like, 'There's no product vision, you know, we're looking at what we could do next week and the week beyond that.'
We're going to find you a leadership...
And then four weeks from now, everything's going to change. Everything's going to change and we're going to start again. It's just like Groundhog Fortnite that we're on right now.
I'm looking for my team. They're probably...
Yeah. No. Yeah, you know, the amount of times, you know, we will get pinged by a customer at 7:00 p.m. or 8:00 p.m. or, you know, super late, midnight, and be like, 'Hey, yeah, you know, we have a new model. Let's go live.' It's like, 'Oh, yeah, sure. When do you want to go live?' It's like, 'Oh, 9:00 a.m. is launch,' you know, and like that is just, you know, what life is, right?
Okay. I want to pivot a little bit and I want to talk about what I believe is like the core of the business you're in, which is, as you said earlier, hosting open source models.
Non-OpenAI, Anthropic models.
Today those are predominantly, if not entirely, Chinese open source models. Kimi, Qwen, what are the other ones? MiniGLM.
And I think there's a cynical view of this, which is like these Chinese open source models have gotten really good by effectively IP laundering through distillation. And I assume most people here know what distillation is, but it's basically using the outputs of a big model or one model to go improve another model.
And I'm wondering how much you feel that fundamentally like the open source business is sort of downstream from this widespread distillation, and like what would happen if that distillation got cracked down on?
Yeah. Okay. So three things. One, we do open source models, but we do mostly custom models where people have fine-tuned open source models or post-trained open source models. I am, you know, I am like philosophically a little more skeptical of the distillation claim. The third thing, which is probably the most important, is, you know, there is just no way where America can be or the Western world can like long-term survive without or have a thriving AI and enterprise industry dependent on AI without good open source.
My point here being that, you know, if you go and talk to folks serving the enterprise, you go talk to the enterprises, what they're trying to figure out is what is unique to them and proprietary to them, and that is their data, their workflow, how they interact with customers. And, you know, our belief is that over time there'll be many, many models, and obviously everyone can't pre-train, so we need a thriving open source community and a set of tools to be able to post-train those models to serve those. And so really, I think for the enterprise to exist long term, we need open source.
And are we going to see, are we going to see like Western open source?
Why, why haven't there been the last couple of years?
Well, there was, and... you mean like OpenAI models? Llama 3 was good.
But you know, look, Microsoft's working on this stuff, you know, they announced it today at Build. Reflection is another company that's working on it. I think, you know, like I think everyone forgets how early we are, you know, like Anthropic two years ago, you know, was not like, was not very competitive at all. You know, the application layer is all of 18 to 24 months old right now, and I just think it's nascent.
But just to push on this, like why has it been the last two years that China, there's been this sort of cornucopia of like Chinese open source models, there haven't been American open source models? Again, I think the cynical version of this would be like China just has a more permissive policy or cultural norms around like IP.
Yeah, American open... I'm Australian, so I could say that. I think that's just American exceptionalism. I think they're just better than us right now at figuring out how to do more with less. And we haven't caught up, and they have to do that right now to be relevant. Yeah. And America will do that when they need to become relevant.
That's fascinating. Okay, cool. That's amazing. Okay, so I'm going to demote you down a chair and I'm going to welcome up our next guest.
We're off to a good start. I think this is working. My next guest is Prag Agarwal, the co-founder and CEO of Parallel. Welcome. Yeah.
He said he didn't care what order we did as long as he came after Tuhin. So, this is good. I nailed it. When we first met at a much more fancy meal than what Tuhin and I had.
Where were you? We were at a Michelin... an investor was paying for us to eat at a Michelin star restaurant, I guess. Probably the fanciest meal I've had in the last year or two.
It was pretty good. You explained Parallel to me and what you wanted to do. And you said it was... the thing that caught my ear was you want to allow people to query the internet like SQL. And as someone who loves the internet and loves SQL, I was like, I'm in. That sounds great. And so I'm wondering if you could give us an overview of like how you think about Parallel, because I thought that was a very poetic way to describe it. You could also just describe it as like search. How do you think about the big mission you guys are on?
Yeah, I think that leaks the reforming database researcher in me from way back when. I'm no longer a database person, but you don't lose certain things. The reason I describe it that way is with the models that we now have, you can really think of every bit of information that's out there, whether it's in your internal databases, unorganized, unstructured, or out on the web, and you can imagine any schema on that data as you might have in a structured SQL database. Then you can imagine any SQL query you might write on it, and you can give it to a thing which can then go execute it somewhat efficiently. And I do think that in the next few years, you will be able to reason with all of the information that remains unstructured and stored unstructured, but query it as if it was structured and get those kinds of answers or outputs.
And that was one of the intuitions we had while building Parallel. And the common themes here are, listen, like humans are pretty bad at declarative query languages. We like thinking in terms of I'm going to do X, then I'm going to do Y, then I'm going to do Z, which is why we struggle with delegation as leaders and managers. So I struggle to write SQL.
I do. Despite being a database PhD, like I always struggled with SQL. Turns out models can do that better than most of us. So I do think that being able to declare what you're looking for from a sub-agent is something that comes more naturally for a model. Now we've started building Parallel to allow models to be able to do more with all of the information that's out there on the web. And one of the observations was models can write declarative queries rather than imperative ones like humans. SQL, nice metaphor to this execution engine. We'll have many ways of solving this problem. I could use an open-source model. I could use a proprietary model. I could use small models, large models, custom-tuned models. I could organize the data in a knowledge graph, in an actual database, in a search index. And I could weave across all of these to figure out how to solve any given problem.
And in some cases I'll spend a lot of money and a lot of compute and get a worse answer, but if I found the right query plan, it'll be cheap, it'll be fast, and it'll be high quality. And the optimization space is large, just like a SQL query optimizer. So we took inspiration from all of these aspects as we sort of started building.
And it does strike me you have a great background for this because you were a database researcher and then you worked at Twitter and ran Twitter.
And so you have both like the firehose of unstructured data background and the structured data database researcher background. Like talk a little bit about what you mentioned this a bit, but I want to go deeper on it. Like you sometimes say like the agents are like the internet's next user or second user. What are the ways in which like an agent does use the internet or search the internet differently? It's like what's an example when you say like an imperative versus a declarative query, like what's that mean practically, and then what does it mean for how you guys build like the system underneath it?
Yeah. So when we started Parallel, it was under the presumption that agents will use the web like a thousand times more than humans ever have. That's what we said, and people thought we were crazy three years ago when we started talking about agents. There were no agents that worked well using the web a thousand times more, and that they'll be different. Today it seems like there's like a bunch of people building agents, and there are agents in production, and they're like scaling like crazy. Now, how they use the web differently, going back to declarative versus imperative, humans, again, I'll speak for me, but for several of you in the room too, we are somewhat lazy when we're on the web. We don't like... if you're building Twitter, you assume that no one wants to tell you what they want. You just have to guess it, right? You build discipline around recommendation systems to figure out implicitly what you might be interested in.
Google's built this system which is if you give me partially articulated three lazy keywords, not a complete sentence, the system figures out what you might be looking for in...
Right, and one typo, and then we're like, we can't even type three keywords, so give me a drop-down of autocomplete. We're also impatient, so we will wait for a page to load about a second, and then we'll feel like we got a good experience. If we want to compute something for five seconds, like your flight search, you might have to put in like some graphics and some spinners to like entertain us for a few seconds.
It's kind of funny to think about the amount of engineering time that's gone into like entertaining humans while we wait for something.
It is a real thing, right? And thirdly, we do not scroll under the fold. So anytime you put content in front of me, if I have to scroll down to below the viewport, it's unlikely that we get there. We'll get distracted by like a link above the fold or a bit of information about the fold. And I say this like in jest, but it's like very true. If you're building a consumer product, if you're building a website or optimizing an outcome, you think about these things for people who build websites. Models are not like that. Models can write, they're verbose. They will write long, detailed queries about what they're exactly looking for. They'll tell you their goal from a session if they can to the underlying system.
So if you're building now search or infrastructure for agents, you don't have to build like the craziest query disambiguation thing, which is like, oh, do they mean X or Y? No, the model will just tell you if you ask it. The model in some cases is way more patient if it's running in the background than a human would ever be.
A model can also be extraordinarily impatient because if the model is supposed to come back to the human and the human's going to wait for one or five seconds, the model wants to do 10 bits of work instead of one bit of work. So now the model will only give you 200 milliseconds. What the model does not care about is the human SLA. So it'd have to be either much faster than a human or much better than the human. And so you build for these different technical instincts. The output, if a model is running with a file system, you can give it like a crazy output and the model will search through the output, or you must be extremely token-dense if you're going to throw anything into its context window. Right? So again, depending on the agentic architecture, what you're building for, what you're optimizing for, when you assume your customer is an agent versus a human, changes dramatically in terms, and it flows through the entire infrastructure.
That's fascinating. When I first came across what you guys were doing, it did not strike me that way at all. I was like, oh, cool. It's like, why would you presume to be better at Google than this? But it's just built for a different like ergonomic use case.
Yeah. Turns out if you climb a different hill on a new optimization function, you can get better than someone climbing another hill within like orders of magnitude less time and several orders of magnitude less engineering.
So when I submit a query to Parallel, which you can now do via Hex, which is great, love using you guys. When I submit a query to Parallel, what in my mind I'm like, okay, there's just like you're just getting a set of search results back, and maybe it sort of looks different, or you guys assume a different type of query. Is there also some intelligence running, or some of your APIs have something running behind the scenes there?
So at Parallel we ship two kinds of products. One are meant to be tools to be used by agents. So these are a search tool and an extract tool which has pulled relevant content from a page. These tools allow agents to get a bunch of tokens back. So you don't get like 10 blue links back. You get tokens attributed to links back. So the agent can decide what to do next. The query isn't just keywords. The query is the agent writing an objective. What is it trying to do? Along with a collection of queries the agent thinks it would want to search for. And then we do think of it as like a session's worth of work within a single API call.
Do you guys have an API where I think I know the answer to this, but I'm asking rhetorically, where I can submit a question and then you guys go off and do research?
And so there's an agent running. What models do you use for that?
We use a lot of different models in different places. Several of them run on Baseten and our own optimized models for...
Thanks. Yeah, I think we all use each other's products.
Yeah, we're just trading $50.
We're all, yeah, just like conducting Among Us.
And Jensen, Jensen, Jensen's just soaking up money.
It's the same institutional investors in Jensen, you know. [laughter]
But no, so I guess I'm trying to drive to the same thing I was asking about, which is like the sort of closed versus open thing. How do you guys think about which models you're using for which things? Are you doing any RL or like fine-tuning, or have you thought about doing your own models for the search problems?
We don't pre-train models. We do take models. So within the search problem, so I was describing tools earlier, we also run search agents. These agents can be thought of as the SQL vision that I was describing earlier, which is you say, listen, this is the schema in my mind. Produce this data set for me. We have an API that does that for you within this API. It'll use the search products I described earlier, but it'll run agents on top of these and other infrastructure we have in order to produce essentially a database.
A simple query like, okay, we have a customer that gives credit to small businesses. They want to track on a weekly basis like these 300 points of evidence that can become available online, which to them indicate an increased risk of one of these small businesses going bankrupt. So what do they do? They use us for their entire set of small businesses to whom they have given loans to track these 300 data points in a database, and they use our API one time to get a baseline, and then use another one of our APIs to keep that database up to date every week. Both these APIs are agentic. It uses our web index, but it also uses a bunch of inference on top that is heavily optimized.
In order to do this, we end up using for certain things OpenAI and Anthropic and other frontier models, but most of the compute here is going to end up happening via some form of optimized open-source models running on Baseten.
And why is that? Is that performance, cost, both?
It's performance, cost, but also to drive those things you need lower-level access on models. I need to be able to change models. I need to be able to control its caches, and I need to be able to manage... like most of these, if you try to really start optimizing your infrastructure, like for example, we need to co-locate in some cases. When I was talking about like the extremely low-latency products, you need to co-locate with your index a model, and you need to choose a very small model, and you need to optimize it and get a lot of performance out of it. So we don't have that level of... just it's not just like a reranker model you can't run. There exists no model that I can go buy tokens on where I can solve that problem under the constraints.
But also when you're running these agents, there's a bunch of like extractions of useful data from the web, collected a large amount of training data, and post-trained models on that data in order to drive sort of some combination of cost, latency, and quality which you can't access from your models.
That's really cool. Well, that's really exciting. And with that, I'm going to welcome up our next guest. I think I'm going to just maybe hop you. I don't know. You guys figure out. Yeah, you're good. It's fine.
Yeah, you do whatever you want.
Okay. Last but not least, Tito Cariero, who's the VP of... give us a round of applause. Yes. Tito is the VP of engineering at Cursor, or is that your title? I don't know. What do you do?
Yeah. Engine, product, and design. Kind of the whole product.