# Databricks focuses model work on specialized tasks

Markdown copy of https://realalpha.app/s/databricks-focuses-model-work-on-specialized-tasks/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Matei Zaharia](https://realalpha.app/builders/matei-zaharia/) · Co-founder, Databricks · Created Apache Spark during his PhD and co-founded Databricks, where he helped build MLflow and Delta Lake.
- Host: [Shawn Wang (swyx)](https://realalpha.app/people/swyx/) · Co-founder, AI Engineer · Wrote “The Rise of the AI Engineer” and founded Smol AI, maker of AI News.
- Show: Latent Space
- Episode: [The Agent Cloud: Databricks’ Bet on the Future of AI — Matei Zaharia and Reynold Xin](https://realalpha.app/v/Yp_u1NpbkJg/), Jun 24, 2026
- Moment: 59:22 to 1:04:33 of the episode (5 min), playing on https://realalpha.app/s/databricks-focuses-model-work-on-specialized-tasks/; the episode from there: https://realalpha.app/v/Yp_u1NpbkJg/?t=3562

## Quote

> “Probably like **100X cheaper** than those, uh, frontier models and still better.”
> — [Matei Zaharia](https://realalpha.app/builders/matei-zaharia/) at [1:02:01](https://realalpha.app/v/Yp_u1NpbkJg/?t=3721) · Latent Space

## Takeaways

1. Genie is Databricks' first-party data-science agent.
2. Document parsing is one target for a specialized model.
3. Matei expects stronger base models to make customization easier.

## About this segment

Matei Zaharia says Databricks shifted from training another general model toward agents and models for specific tasks. Its document model is about 100x cheaper than frontier models and, he says, better.

From “The Agent Cloud: Databricks’ Bet on the Future of AI — Matei Zaharia and Reynold Xin”, Jun 24, 2026. [Watch the full episode](https://realalpha.app/v/Yp_u1NpbkJg/)

## Transcript

From the transcript Latent Space publishes with the episode.

[59:25](https://realalpha.app/v/Yp_u1NpbkJg/?t=3565) What's the story there? You know, just- Yeah. I guess when, when Mosaic started, I think it was, it was well-known or became most well-known for releasing open source LLMs early on, and, and they were general models. Actually, before that, they were doing other things. They were about optimizing, uh, training systems, basically. So they had the fastest, like, image model training stack in, in the world and stuff like that.

[59:47](https://realalpha.app/v/Yp_u1NpbkJg/?t=3587) And then they decided to do LLMs, which, which was smart. They, they moved into it before ChatGPT, so they had some of the first open source LLMs. Yeah. Um- We interviewed John Franco and- Oh, yeah... Abhi, Abhi for MPC seven B. Yeah, exactly. Yeah. Oh, yeah, very cool. Yeah. Yeah. So we, uh, decided, you know, even though we, we did launch a open source model DBRX and, you know, we, we went up to, like, sort of above the Llama Three scale, we decided that we really wanna focus on there'll be so many people releasing models, and instead of doing the general model where, like, you know, a big part of the recipe is just throw in a lot of compute and, and just scale, uh, we wanna focus on, like, the next step also of, uh, let's say you have the very smart model, how do you make it, you know, useful?

[1:00:31](https://realalpha.app/v/Yp_u1NpbkJg/?t=3631) Uh, for us, it was a lot about automating, like, how... Like, like, making it very good at querying data. That's the, the first party agents we have called Genie. Uh, so it's like a virtual data scientist. Imagine, you know, there's someone who already knows all the stuff in your company inside out and knows all the machine learning libraries, all the data libraries, you know, all the stuff on the web, and you can ask them questions, you know?

[1:00:55](https://realalpha.app/v/Yp_u1NpbkJg/?t=3655) That's, um, that's what we wanted to do first. So that meant, like, let's not focus as much on, like, let's just train some kind of frontier model, but let's build a system using either external models or, or, um, fine-tuned, uh, uh, customized components. Um, we're still doing quite a bit of model training, though, and in fact, we're always, you know, we're procuring, like, lots of GPUs and stuff all the time to do it. Um, and there's a few places where we're doing it.

[1:01:22](https://realalpha.app/v/Yp_u1NpbkJg/?t=3682) One is, uh, there are many high volume use cases where if you have a specialized model, it's just so much better than any of the, of the general models you get. A nice example of that is understanding, like, documents, like PDF, Word document, stuff like that, parsing them. If you've ever tried to do that, it's frustrating 'cause you send it to, like, you know, like, Claude, Fable or whatever. It, like, almost gets it, but it gets some things wrong, and it's super expensive.

[1:01:50](https://realalpha.app/v/Yp_u1NpbkJg/?t=3710) You just burnt a huge amount of tokens plopping in an image into there. So our team, uh, built this, uh, document, uh, sort of vision model that takes a page and gives you back a nice JSON with all the components, and it's very competitive. It's like- Probably like 100X cheaper than those, uh, frontier models and still better. Yeah. And that's actually done by one of the researchers who came from DeepMind, was a co-founder of Adept, like very early LLM- Mm-hmm... scaling person, but, um, but focused on, on this.

[1:02:20](https://realalpha.app/v/Yp_u1NpbkJg/?t=3740) Um, likewise we have, um, uh, we're doing specialized sub-agents for part of what the coding agent does. And if you've seen the stuff on advisor models, uh- Yes... from Harvey, um, also from- Anthropic has been putting on- Anthropic... Commission also. Yeah. Yeah. And UC Berkeley, actually one of my grad students there, uh, wrote a paper called Advisor Models, I think before [chuckles] those came out. I mean, I'm sure others had the idea at the same time. Yeah.

[1:02:42](https://realalpha.app/v/Yp_u1NpbkJg/?t=3762) But that's, uh, something that helps a ton. So yeah, we actually showed some, some stuff just today at the keynote on a- Is it Parth? Oh, you know Parth? Parth, yeah, yeah. Parth is- Oh, he's speaking at my thing. Uh, he's doing- Oh, nice... continual learning bench. Yes, yes. Uh- Yeah, I'm one of his advisors, uh, at Berkeley. Oh, yeah. Yeah. We interviewed his brother, Chai. Oh, okay. [chuckles] 'Cause he's also at Abridge.

[1:03:00](https://realalpha.app/v/Yp_u1NpbkJg/?t=3780) Yeah, yeah, yeah. Cool. Uh, that, that family's very smart. Yeah, yeah. [laughs] Yeah. They're, they're awesome, yeah. So yeah, so we're doing some of that and, and as we get experience with these in the first party agents, we're also doing them with customers. So my, my feeling is, like, um, customizing models is actually gonna get way easier over time. That's what we're finding 'cause the base models are smarter, so they generate better traces in RL already, and then RL is about learning from your own past traces.

[1:03:28](https://realalpha.app/v/Yp_u1NpbkJg/?t=3808) And then synthetic data generation is way better, way easier now. Uh, we have pipelines just using open source models, like the same model generates training environments and trains itself and beats like Obers and GPD 5.5 and stuff at a task. So I do think it's gonna pick up, like, m- m- you know. The thing is, the ease of training the algorithms is only gonna go up over time. There's a question of when it crosses into mainstream.

[1:03:53](https://realalpha.app/v/Yp_u1NpbkJg/?t=3833) Like, instead of this like, you know, specialized document parsing thing we did where, like, you need a hardcore LLM researcher, when does it get easy enough that anyone can like sort of plop in some stuff and describe a task? Yeah. Yeah. Well, you know what makes it easy? Interfaces. Yeah, yeah. And, uh, unified APIs. Yeah. 'Cause obviously if it's not interoperable, then you cannot switch. That's what we're seeing- [laughs]...

[1:04:13](https://realalpha.app/v/Yp_u1NpbkJg/?t=3853) with these like with, with Omnigent and the- Yeah, yeah... composable agents, like you can have sub-agents or with specialized models, and then you can train the whole thing. I think that'll help a lot, too. Yeah. The last thing I was gonna leave, actually this is- I'm sequencing this, so I'm actually kind of proud of myself. Satya, uh, is, uh, is, uh, you know, talking about this.
