# Harvey Co-Founder Gabe Pereyra on the Token Pricing Reckoning Coming for AI

Markdown copy of https://realalpha.app/v/NpZbum0lmlI/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

Gabe Pereyra and Niko Grupen argue that legal AI needs domain-specific agents as rising token costs make model routing essential.

- Show: Sourcery
- Hosts: [Molly O'Shea](https://realalpha.app/people/molly-oshea/)
- Guest: [Gabe Pereyra](https://realalpha.app/builders/gabe-pereyra/) · Co-founder & President, Harvey
- Guest: [Niko Grupen](https://realalpha.app/builders/niko-grupen/) · Head of Applied Research, Harvey
- Published: Jun 18, 2026
- Length: 45 min

## The best minutes

- [23:44](https://realalpha.app/v/NpZbum0lmlI/?t=1424) [Token pricing will recreate the billable-hour problem](https://realalpha.app/s/token-pricing-will-recreate-the-billable-hour-problem/) (5 min)
- [18:57](https://realalpha.app/v/NpZbum0lmlI/?t=1137) [Agent usage is driving sharply higher inference costs](https://realalpha.app/s/agent-usage-is-driving-sharply-higher-inference-costs/) (5 min)
- [6:29](https://realalpha.app/v/NpZbum0lmlI/?t=389) [Harvey open-sources general legal AI while protecting client data](https://realalpha.app/s/harvey-open-sources-general-legal-ai-while-protecting-client/) (4 min)

## Also worth watching

- [1:10](https://realalpha.app/v/NpZbum0lmlI/?t=70) [Harvey turns partner expectations into legal agent tests](https://realalpha.app/s/harvey-turns-partner-expectations-into-legal-agent-tests/) (4 min)
- [10:25](https://realalpha.app/v/NpZbum0lmlI/?t=625) [Harvey's research strategy borrows from DeepMind's top-down plan](https://realalpha.app/s/harveys-research-strategy-borrows-from-deepminds-top-down/) (2 min)
- [12:27](https://realalpha.app/v/NpZbum0lmlI/?t=747) [Harvey planned for both seat-based and token-based sales](https://realalpha.app/s/harvey-planned-for-both-seat-based-and-token-based-sales/) (3 min)
- [36:35](https://realalpha.app/v/NpZbum0lmlI/?t=2195) [Harvey built legal benchmark data with agents and lawyer review](https://realalpha.app/s/harvey-built-legal-benchmark-data-with-agents-and-lawyer/) (2 min)

Skip the sponsor reads and the research-diet, role-model and hiring discussion.

## Full analysis: Gabe Pereyra says some legal reviews can cost $20,000

- Some reviews of 100,000 contracts can cost $20,000, Pereyra said.
- That figure is an example, but rising usage makes routing and cost measurement central.
- Buyers should plan for auditable bills before agent workloads expand.

Its 6 sections, what it means for you and what to watch are on [the page](https://realalpha.app/v/NpZbum0lmlI/#analysis), free with an account:

- [20:00](https://realalpha.app/v/NpZbum0lmlI/?t=1200) Agent work turns seats into variable spend
- [23:04](https://realalpha.app/v/NpZbum0lmlI/?t=1384) Routing makes the benchmark an operating tool
- [24:00](https://realalpha.app/v/NpZbum0lmlI/?t=1440) Token bills recreate a familiar audit burden
- [27:47](https://realalpha.app/v/NpZbum0lmlI/?t=1667) Provider competition may pressure prices, not settle them
- [8:46](https://realalpha.app/v/NpZbum0lmlI/?t=526) Confidentiality gives Harvey a distinct layer to sell
- [38:19](https://realalpha.app/v/NpZbum0lmlI/?t=2299) LAB measures capability, not deployment value

## Summary

Gabe Pereyra co-founded Harvey and is its President. Before Harvey, he researched AI at Google Brain, DeepMind and Meta, working on deep learning at Brain and DeepMind in 2016 and 2017. Niko Grupen is Harvey's Head of Applied Research; he and Pereyra led the open-sourcing of LAB, a benchmark with 1,200+ tasks across 24 practice areas, built with agent-generated data reviewed by Big Law attorneys.

Pereyra says legal agents are making useful work possible but driving token costs upward, so firms will need to route tasks among models and confront difficult pricing choices. He argues Harvey's role is to support multiple providers and build systems on sensitive client data, rather than compete only on general legal intelligence. Pereyra and Grupen say LAB makes agent performance on real legal tasks measurable, using agent-generated materials and lawyer-reviewed rubrics. Grupen says cost, speed, domain-specific tools and collaboration between human and AI agents matter alongside benchmark quality.

### Minute by minute

- [0:53](https://realalpha.app/v/NpZbum0lmlI/?t=53) **The benchmark mirrors legal work.** Gabe Pereyra said LAB adapts coding-agent benchmark methods to legal tasks, scoring work against rubrics based on partner requests and deal-room documents. A diligence task asks an agent to review contracts and flag material change-of-control clauses in a memo.
- [5:05](https://realalpha.app/v/NpZbum0lmlI/?t=305) **Model choice depends on task and cost.** Pereyra said initial results showed different models led in different areas: Anthropic models were strong, while 5.5 and some open-source models did better on other tasks. He argued that firms need to choose models by task and price, not rely on one overall winner.
- [6:29](https://realalpha.app/v/NpZbum0lmlI/?t=389) **Open source complements model providers.** Pereyra said firms cannot depend on a single lab because client conflicts and platform risks may prevent them from using one provider. He described Harvey as focused on organizational productivity and sensitive client-specific systems, while labs' legal products focus more on individual productivity.
- [9:12](https://realalpha.app/v/NpZbum0lmlI/?t=552) **Client data limits model training.** Pereyra said law firms cannot pool client data the way a company can use its own data. He described shared spaces for firms and clients to work on matters such as fund formation and M&A, while Harvey explores data use within ethical, regulatory and client constraints.
- [10:25](https://realalpha.app/v/NpZbum0lmlI/?t=625) **Research gave way to product building.** Pereyra contrasted Brain's bottoms-up approach, which gave researchers compute and room to pursue projects, with DeepMind's top-down research milestones. He said Harvey's clear legal use cases drew on the latter approach, while his own role shifted from research to enterprise product building and back toward research as agents improved.
- [15:12](https://realalpha.app/v/NpZbum0lmlI/?t=912) **Inference and agents expand options.** Pereyra said open models, test-time compute, reinforcement-learning environments and agent harnesses are creating more ways to improve performance. Harvey works with inference and applied-compute providers as well as major labs; he said open models are increasingly important because serving closed frontier models is expensive.
- [19:52](https://realalpha.app/v/NpZbum0lmlI/?t=1192) **Agentic work raises token costs.** Pereyra said a single document-drafting query can cost $20, while reviewing 100,000 contracts can cost $20,000. He said stronger models use more tokens as they run longer, and growing adoption is pushing usage and serving costs up.
- [23:44](https://realalpha.app/v/NpZbum0lmlI/?t=1424) **Token bills complicate AI pricing.** Pereyra argued that customers may find AI costs harder to manage than they expect. He compared work-based pricing with law firms' difficulty setting fixed fees, and said token billing could leave customers asking what agents did; he expects benchmarks and model routing to help control spending.
- [28:32](https://realalpha.app/v/NpZbum0lmlI/?t=1712) **Research is less open.** Pereyra said deep-learning research used to be easy to follow through papers, but labs now publish less. He keeps up through former colleagues at labs and hopes benchmarks and more open-source releases will make research easier to track.
- [31:55](https://realalpha.app/v/NpZbum0lmlI/?t=1915) **Scaling demands parallel problem-solving.** Pereyra said Harvey co-founder Winston taught him how to keep a central goal in view while solving many company problems in parallel. He also cited former research colleagues and leaders across AI labs, cloud providers and application companies as people he learns from.
- [34:06](https://realalpha.app/v/NpZbum0lmlI/?t=2046) **Passion guides hiring.** Pereyra said he looks for people who are deeply engaged with the subject and can build on an idea in conversation. He described that pattern among early hires and said it has been a useful signal in executive hiring.
- [35:33](https://realalpha.app/v/NpZbum0lmlI/?t=2133) **LAB uses synthetic data and lawyer review.** Niko Grupen said lawyers could not freely share sensitive legal records, so Harvey used agents to draft synthetic documents and former Big Law attorneys to map tasks across 24 practice areas. A wider network of lawyers reviewed the generated materials, rubrics and document quality.
- [38:28](https://realalpha.app/v/NpZbum0lmlI/?t=2308) **Performance includes cost and speed.** Grupen said average leaderboard scores do not capture production trade-offs, so LAB helps teams compare quality with money and time spent. He said Opus 4.7 led the initial results, while Gemini 3.5 Flash completed work seven times faster than some frontier models.
- [40:49](https://realalpha.app/v/NpZbum0lmlI/?t=2449) **Specialized agents can move beyond benchmarks.** Grupen said LAB can guide research into post-training open-weight models and agent harnesses—the tools and infrastructure around a model. He argued that legal-specific tools can improve agent performance and said Harvey wants to move toward human-agent teams and organization-level decision-making as the benchmark approaches saturation.

## Transcript

Sourcery, hosted by Molly O'Shea, with Gabe Pereyra and Niko Grupen.

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[0:00](https://realalpha.app/v/NpZbum0lmlI/?t=0) The models are getting more expensive and they're getting better. We're just seeing this huge explosion of usage, cost, tokens, everything. We need to talk about tokens. Winston mentioned you guys got up to $13 trillion. We are consuming a ton of tokens for just serving all this stuff. The big misconception right now is I don't think people realize how expensive this is going to get. And they're going to be like, what did my agent do that cost me $10 billion? We launched Lab, which is our legal agent benchmark. It's a benchmark for measuring the performance of agents on real-world legal tasks.

[0:31](https://realalpha.app/v/NpZbum0lmlI/?t=31) We posted our first sort of initial results of how closed-source frontier models like those from OpenAI and TropicDepine perform on the benchmark. Gabe, welcome to Sorcery. Thanks so much for having me. Thanks for having us here. we're in the secret speakeasy back room. Exactly. Yeah. So today we're going to walk through the latest release of your benchmarks, which is such a fun topic. Winston was so excited to talk about it too. So I guess to start, let's break it down. What are you measuring with your benchmarks and where did we get to today? Yeah. So the thing we open sourced was our legal agent benchmark.

[1:18](https://realalpha.app/v/NpZbum0lmlI/?t=78) and I think the thing that we're super excited about is we have done a bunch of benchmarking in the past so before Legal Agent Bench we had Big Law Bench which was more of a chat-based benchmark which was kind of a QA data set and we shared some of that we worked with kind of labs and the providers but at the time we're a smaller company and we didn't have the bandwidth to like fully open source it and support it and so what we wanted to do with Legal Agent Bench was fully open source this so anyone working on agents could run their agents and kind of work with us in the community to evaluate these things. And the way I would think of this data set is we tried to really mimic what the coding agent benchmarks did. And the way to think of the coding agent benchmarks is with things like SWE bench, terminal bench, you have a GitHub repo, which is kind of all the code for a project. You have an issue which is someone said hey this doesn't work can you fix it and then you have a bunch of unit tests that will tell you you know if you write a bunch of code and run it the unit test will tell you you know you broke this thing or this thing passed and the way the agent gets scored is did it write all this code that passed

[2:33](https://realalpha.app/v/NpZbum0lmlI/?t=153) all the unit tests and I think there's a bit of a misconception that oh legal subjective so you can't do this and I think the thing for especially big law is a lot of the work you can actually quantify and this is what senior associates and partners are doing when their junior associates do a bunch of this work and so as maybe an example of a task in the legal agent bench it would be can you do diligence which is you get a data room so you're trying to buy a company and you'll get all of that company's contracts and what the law firm needs to do is go through all the contracts and make sure that there's nothing you know questionable or that might blow up the deal in there and so the way we set up this data set like one of these tasks is you have a data room that's all the contracts you have a partner request which is a very high level instead of instructions you would get from a partner if you're an associate and usually for something like diligence it would be hey we got the data room can you look at it right and you need to infer I know what I need to do based on that and then I think part of the like novelty

[3:44](https://realalpha.app/v/NpZbum0lmlI/?t=224) **Gabe Pereyra:** here is we use both of those to create essentially legal unit tests and so what are all the things

[3:51](https://realalpha.app/v/NpZbum0lmlI/?t=231) that a partner would be looking for when they're trying to assess an associate's work product And so you would take that data room and you would generate a diligence memo which is what the law firm gives to their client to basically say here's all our findings on this diligence and the things you would look for so one section is going to analyze all the change of control provisions which is basically if i'm buying a company there's going to be a change in control of the company and many contracts have things that can be triggered and most of them don't matter but there can be ones where this important vendor contract will change in a material way and you need to flag this and so that would be like a unit test if like you want to check that and then the the challenge with scaling this benchmark is that's just for diligence and then as you scale this to every practice area that these large law firms help their clients in you have to think about how to do this for fund formation and ip litigation and capital markets and so a lot of what we're building is essentially this taxonomy of here's all the tasks that a law firm would do. And here's all the subtasks that associates would do and how partners or senior

[5:01](https://realalpha.app/v/NpZbum0lmlI/?t=301) associates would grade that work. And I think what's nice is that framing is kind of the same thing you need to evaluate these agents to do these tasks. Benchmarking makes things a lot more competitive and people love that. I mean, AI is like the most competitive world ever right now. And so I'm really curious on that standpoint, like, how are you then, like, where does this, where does this lead to next? Yeah, so I think the interesting thing and kind of to your point is, okay, we released this benchmark and now we're going to have all of the labs and everyone else building models competing on it.

[5:38](https://realalpha.app/v/NpZbum0lmlI/?t=338) And I think there's obviously some risk of, oh, what if some lab providers' models are the best? Then, like, why do they need Harvey to do this is maybe one of the potential risks. But what we've seen is actually every different model is good at something different. And so with the initial results we saw, Anthropics models are quite strong, but there's areas where 5.5 is better. There's some areas where open source is better. and increasingly it's not just which model is the best it's which model can solve the task at the lowest price point because as these models get better there's kind of intelligent saturation where it's like okay for some simple task I actually want to know that this open source model is good enough and so a lot of the value that we're trying to provide to law firms is you can't just use one model to solve all these tasks because it's getting too expensive So how do you think about all the tasks that your law firm does and which model you should use from which provider to solve those tasks?

[6:37](https://realalpha.app/v/NpZbum0lmlI/?t=397) I know you've answered this before, but your research partners are your biggest competitors. OpenAI, Anthropic, NVIDIA, we have Base10. There's like a handful of across categories, right? So why open source it? Doesn't that pose a risk to you? Yeah, I think we we think of all of these providers as there's obviously overlap with the labs and, you know, Anthropic and OpenAI have done kind of like Claude for Legal, Codex for Legal. But I think the problem that we're solving is different. Like, I think a lot of the products that they're building are individual productivity and the products we're trying to build are organizational productivity for law firms or large in-house departments.

[7:23](https://realalpha.app/v/NpZbum0lmlI/?t=443) And so when we think about open sourcing, I think there's kind of the initial point that I made of like most of these law firms and enterprises can't rely on a single lab provider. So like there's a big risk if you're a law firm that if you just use Anthropic or you just use OpenAI, you run into conflict risk.

[7:45](https://realalpha.app/v/NpZbum0lmlI/?t=465) **Gabe Pereyra:** So imagine you're using only Anthropics models as a law firm and you want to represent OpenAI. OpenAI is not going to let you send their sensitive legal data to Anthropics models.

[7:56](https://realalpha.app/v/NpZbum0lmlI/?t=476) And so as a law firm, you need to support all the different models if you want to represent OpenAI and Google and Microsoft and all these providers. So there's the conflict risk, there's like platform risk. Like what happens if you pick one provider and they run out of compute, their models fall behind. And so you need to kind of abstract all these things away. And so we think of the providers similar to cloud. And I think you see the same thing in cloud with like snowflakes, Snowflake and Databricks and Datadog, like all these companies built on top of the cloud, but also compete with the cloud.

[8:29](https://realalpha.app/v/NpZbum0lmlI/?t=509) So I think it'll look like that. And then I think the bigger point is we don't see the general legal intelligence as where the value of Harvey comes from because most of the valuable legal data can't go into the general purpose models. And so if you think of these large law firms, the work that they're doing is a very sensitive internal investigation, like mergers and acquisitions that would move the market and they can't go into public models. and so we think of our strategy as we want to open source the general stuff and work with all of the providers to make these models as good as possible at general legal and then we want to build infrastructure for these law firms and enterprises that help them own their own models and build their own systems on their unique data and that's where we think kind of our unique value comes in and how are you training the models you can't pull or pool data from your clients so how are you learning off of them? Yeah, so the way I would think of the big challenge and where law firms are so different than most enterprises, like at Harvey, all of the data in our company for the most part is ours. At a law firm, a lot of the data is all of their clients and you can't mix

[9:44](https://realalpha.app/v/NpZbum0lmlI/?t=584) this. And so a lot of what we're starting to work on with our clients is we have a product called shared spaces which essentially lets a law firm and their client collaborate on a legal project and so you can imagine a world where you have a large private equity firm and their law firm and they're doing all of their fund formation and all of their kind of m&a together in these shared workspaces where you can start training these models is how do you use that relationship to build these unique models and so a lot of what we want to figure out is given all of the like ethical wall constraints, regulatory constraints, client data constraints. How can we help law firms use their data in a way that respects kind of all of their client obligations, but still be able to improve their systems based on that?

[10:32](https://realalpha.app/v/NpZbum0lmlI/?t=632) So speaking on your background, you were at Google Brain, DeepMind, and Meta. What were the biggest fundamental lessons that you learned from each of them that are driving the decisions you're making? Yeah, I think especially Google Brain and DeepMind when I was there, this was kind of in 2016, 2017. And so right when deep learning was starting to take off. And I think it was a really cool experience seeing both of those labs because they had kind of opposite strategies of how they approached research, which I think both were correct, but led to kind of different ways of executing on kind of the vision of where they thought AI was going.

[11:11](https://realalpha.app/v/NpZbum0lmlI/?t=671) And so when I was at Brain, it was very bottoms up.

[11:15](https://realalpha.app/v/NpZbum0lmlI/?t=675) **Gabe Pereyra:** It was, I mean, both had some of the smartest AI researchers in the world, but Brain, the approach was, you know, let's get all these smart people, give them a bunch of compute

[11:23](https://realalpha.app/v/NpZbum0lmlI/?t=683) and then kind of let them do their own projects. And I think part of the outcome there is you had someone like Noam Shazeer and Ashish Viswani and kind of the rest of the folks that invented transformers. And so that approach worked. And then DeepMind was much more top down where Demis just had this vision of, okay, we're going to create AGI. Here's all the things that I think are required. And so they kind of had this tech tree of how they were going to do it. And then let's have all these teams working on research projects that would solve all these milestones to get us to AGI. And I think our approach is a bit more inspired by the deep mind.

[12:00](https://realalpha.app/v/NpZbum0lmlI/?t=720) one just because i think because we're in a vertical the end goal is very clear like we kind of know here's all the legal work that needs to get done and so you can think about that north star as you know here's all the practice areas that these law firms do here's how we would build systems that help them you know do large parts of those with ai and so it feels much more defined and it's it's more of an applied problem than it is kind of a pure research problem but i think seeing that approach really inspired like how i think about these things how has your role technically evolved over time i remember i was like i was just listening to this uh interview or i forget what it was but it was they were talking about andre carpathy and how like even back at tesla like you you'd think like these roles back then were like super glamorous and stuff but he was data labeling all day yeah but you know now he's the almighty god of like ai so like well what is the biggest difference over time? Yeah I think it's definitely been interesting at Harvey where it's like when we started the company I was more focused on research than we should have been at that stage of the company where I kind of had a strong sense that what

[13:21](https://realalpha.app/v/NpZbum0lmlI/?t=801) is happening now was going to happen and so I wanted to figure out you know how do we train models how do we scale this but it became very clear pretty quickly like okay first we need to build an enterprise business in order because you know we were a bit ahead of the curve of like like when i first when we first started the company i was pitching people agents and at that like four years ago people were like what are you talking about and so we quickly had to kind of like think about what is the right product now for customers that we can make for them that's useful

[13:51](https://realalpha.app/v/NpZbum0lmlI/?t=831) **Gabe Pereyra:** get revenue and scale up the gtm motion kind of a traditional enterprise sas motion and winston and i always had kind of this vision of we're going to need to build two companies in parallel

[14:02](https://realalpha.app/v/NpZbum0lmlI/?t=842) like one company is this traditional enterprise seat based business and then the second will be kind of the transition you're starting to see now as these things as these models get better things move to consumption and i think you'll need both of these because it takes a while to educate buyers on how to buy this like buying off tokens is insanely complicated um it'll probably at some point go back to something like subscription because it's hard to like forecast these things um but i think my role kind of shifted from when i started the company we're trying i was trying to do research and i was like okay we need to do traditional like build a great product build a great enterprise business and then now it's gone back to research where we've put all those things in place i think a lot of the like infrastructure has caught up like the agent stuff is happening now that now I'm full-time. And a lot of it is like data labeling and how do we create good data sets? How do we work with all these partners? But I think it's kind of back to doing the things that I really enjoyed when I was at Brain, DeepMind, and Meta. And so I think now is kind of the time where it seems like all these application layer companies that you saw Composer 2 with

[15:09](https://realalpha.app/v/NpZbum0lmlI/?t=909) Cursor, like everyone's starting to make this stuff work. And I think that's like super exciting. The inference layer has gotten really hot right now. What is your general sentiment about what's what's going on how is that going to evolve yeah i mean i think it's tied to kind of what i was just saying is like as this is starting to work in terms of open source models are catching up i think a lot of the like performance from the models is coming not just from you know doing this large pre-training but all of this test time compute of you know how do you make these models better at reasoning how do you build good kind of rl environments for them and good harnesses And so the more that works, I think the more that kind of shifts the ability to application layer companies to do interesting things.

[15:53](https://realalpha.app/v/NpZbum0lmlI/?t=953) And then, for example, for us, we work with Base 10 and Fireworks. Other AI, Applied Compute, Trajectory, kind of a bunch of these companies, Ngram, that are doing either inference, RL as a service. And I think it just feels like the research is starting again, where there's just so many different avenues. All of these NeoLabs that we're working with are trying different ways. We're also working with the traditional model providers because they're also making a bunch of progress. And so I think it's just interesting, as we're able to build more of these data sets and even like we have a bunch of customers that want us to figure out better ways to train on their data I think kind of all of these things are starting to take off and then I think the inference providers you're seeing them do very well where there's customers like us where we do need to move some of our traffic to open source models because it's just becoming super expensive to serve like the largest closed frontier model and so I think it's like a mix of like performance we have a lot of customers that want to own their own models own their own data and like i think that's kind of also the infrastructure providers will serve

[17:05](https://realalpha.app/v/NpZbum0lmlI/?t=1025) that and so yeah i think they're they're in a good spot sorcery is brought to you by brex the financial stack trusted by more than 30 000 companies including one in three venture-backed startups in the u.s nearly 40 of startups fail because they run out of cash rex is literally built to help founders avoid that. Unlike traditional banks that let your money sit idle, chipping away at it with fees, Brex's designs help you spend smarter and move faster. Their all-in-one solution combines checking, treasury, and FDIC protection into one powerful account. You can send and receive money globally at lightning speeds, get 20 times the standard FDIC coverage through their partner banks, and even high yield from day one. With same day and even same-hour liquidity. Access your funds anytime. Companies like Scale AI, DoorDash, Service Titan, HIMSS, Anthropic, Flexport, Robinhood, and Plaid trust and use Brex.

[18:02](https://realalpha.app/v/NpZbum0lmlI/?t=1082) Start today at brex.com slash sorcery. That's B-R-E-X dot com slash sorcery. Turing is training the next generation of AI with tasks that require real expertise and real-world judgment. That's why companies like NVIDIA, Anthropic, Salesforce, and Gemini partner with Turing. Turing builds realistic reinforcement learning environments and data systems based on real operational traces, the kind of infrastructure Frontier Labs need to train superintelligence. Visit turing.com slash S-O-U-R-C-E-R-Y. I guess to dig even deeper, architecture is changing really fast. I mean, you might have missed the whole SaaS wave, but starting off in AI, it was all chat-based.

[18:48](https://realalpha.app/v/NpZbum0lmlI/?t=1128) Now we've completely moved to the agentic era, which is like a thousand times more cost competitive. You need compute, power, memory, all these sorts of things that are reorganizing how companies are being built and, of course, the stock market, too. So how are you thinking through the agentic layer and building that out? yeah so i think this was like a huge transition we've gone through in like the past six months where exactly like you said the original product we built was kind of this chat-based co-pilot for lawyers and then we built all this product around it that let it work at a law firm on client matters and all these things and then maybe six months ago when these coding models started getting really good and you could do kind of things like cloud code and codex and that started working really well in the command line we started building a bunch of the infrastructure of you know how do you get these agents that were running in your command line and could execute all these tools and work really well and how to move that into the cloud and i think now you're seeing this with kind of these managed agent solutions and to your point it's like now you need

[20:00](https://realalpha.app/v/NpZbum0lmlI/?t=1200) **Gabe Pereyra:** The models use way more tokens. We have simple assistant-type queries where you say, draft me a document that a single query can cost $20. We have a review product where you can upload 100,000 contracts and ask the models to review them, and some of those can cost $20,000. And so it is just getting incredibly expensive.

[20:23](https://realalpha.app/v/NpZbum0lmlI/?t=1223) and I think in parallel what we're seeing is I think even two years ago the models were so good with coding that most programmers would just use them and be like this is super useful I think we're just starting to see in the past six months that inflection for legal where the models can now generate entire documents and they're starting to work in a way where most lawyers who aren't using this technology just for fun they're like this needs to be so much better than the way that i'm used to doing things for me to change my routine to do it that like we're starting to see that absorption and so a combination of like the models are getting more expensive and they're getting better they're using more tokens because they're running for longer and they work so much better that users are using them more we're just seeing kind of this huge explosion of like usage cost tokens everything we need to talk about tokens i mean there's like so many different ways to take this question because there's obviously the margin sentiment on it and then there's also the internal usage and efficiency on tokens and like I think Winston mentioned you guys got up to 13 trillion so how are you thinking through that and the cost

[21:37](https://realalpha.app/v/NpZbum0lmlI/?t=1297) optimization and then we can also talk about like efficiency internally like how do you yeah so I think it's this is kind of that inflection point I was talking about where up until recently we've always been capability constrained and so we always wanted to use the largest model because for the most of our tasks and like if you look on the like legal agent benchmark even the best models weren't good enough to complete those tasks and so and then the usage you know and we weren't at a scale that the usage you know it was it wasn't something like cursor where it was so expensive to serve these things and we didn't kind of have the latency requirements but that has changed in the past six months where now we are consuming like a huge number of tokens i think for some of the labs we are like the largest consumer of embeddings we are consuming a ton of tokens for just serving all this stuff and so i think it's a good problem to have in the sense of like the usage is so high we obviously need to think through you know how do we serve these customers because if we kind of look at our usage uh like plots right now it's like this is just the start and it's like there's still so much room where it's like if everyone starts using

[22:55](https://realalpha.app/v/NpZbum0lmlI/?t=1375) this long horizon agent stuff the way some of our powers are power users are using it um there is just going to be a lot of like cost optimization you need to do and so i think there's like a couple of things we're thinking through. I think the most obvious is just doing better and better routing of models. So like as the largest models get better, not every task needs to be sent to the largest models. And so that's like a great use case of the legal agent benchmark. Increasingly, like serving more traffic from open source models, post-training models, like a lot of these like very large frontier models are large because they're good at everything.

[23:30](https://realalpha.app/v/NpZbum0lmlI/?t=1410) And so I think a lot of the opportunity for these like specific verticals will be, okay, I probably don't need a trillion parameters if I just need the system to be good at diligence. And so how do you build products and models in a way that you can get that frontier performance without kind of all of the frontier costs? What do you think the biggest question is people are not asking? I feel like probably the big misconception right now is I don't think people realize how expensive this is going to get. and i don't think people realize how difficult it is going to be for customers to deal with that like i think when i talk with most people they think oh just move to consumption pricing and that will solve all the problems but i think there's going to be this very interesting dynamic where there's kind of a couple ways to price these things and i think most vcs what they want to see is like can you price the work right like can you sell the value of the work you're selling. And then like that's one end of the extreme. And then the other end extreme is just

[24:34](https://realalpha.app/v/NpZbum0lmlI/?t=1474) **Gabe Pereyra:** like price by tokens. And I think the problem you run into of pricing the work is actually the same problem that law firms run into when they try to do fixed fee pricing, right? They're trying to say,

[24:44](https://realalpha.app/v/NpZbum0lmlI/?t=1484) hey, here's the fixed rate of this cost. And I think there's going to be this great irony where when we started the company, one of the questions we got asked the most was, you know, what's going to happen with the billable hour? And I think most people's assumption is just, oh, everything's going to move to fixed fee. So then these law firms can protect their margins. And I think something people don't appreciate about the billable hour and why it's such a good mechanism is it lets you price incredibly complex work at massive scale in a way that the entire industry can agree on, right? Because all these law firms we've talked to about pricing changes, like whenever we talk to them about fixed fee, they're just like, we just have 10,000 clients.

[25:27](https://realalpha.app/v/NpZbum0lmlI/?t=1527) we can't negotiate every engagement and price this and everyone's different and I actually think something similar is going to happen with this token based pricing where you've seen a bunch of headlines of like the uber cto where he's like we just ran through all of our coding tokens for the year right in three months and so all these customers are going to start getting these consumption bills of like 10 million dollars and they're going to be like what did my agent do that cost me 10 billion dollars and if you think about how these law firms solved it they're like they got a bill for 10 million dollars from their law firm and they're like tell me what every associate did for every six minute increment on the entire project and they wrote that and i think you're going to start seeing things like this for token billing where there's going to become this whole ecosystem of like how do you optimize around this because you kind of have these weird misaligned incentives from the model providers right because they're selling you consumption like they're somewhat incentivized to have their agents use as many tokens as possible and then how do you solve that it's like well we can help you benchmark that and

[26:34](https://realalpha.app/v/NpZbum0lmlI/?t=1594) route all these and say oh actually for this task you don't need to use all these tokens and so i think there's going to be like i think this is going to be much more complicated than people realize and it's the same as like it's why it's so hard to price legal work and all of this work where it's just so hard to quantify like if i think of our token usage for our programming team it's like what did they use all these tokens on? I'm like they're definitely more productive but it is very hard to like quantify these things and so I think that will be like a big challenge. Wow. I've not heard someone kind of break it down that it'll, I mean obviously you guys are biased but that is a very rational way to think about monetization for them.

[27:16](https://realalpha.app/v/NpZbum0lmlI/?t=1636) Yeah and I think the same way, so I think it's more complicated than that in the sense of like Like, when most people look at law firm billable hours, they're like, oh, the incentives here are completely misaligned. This must lead to bad pricing. But I think what people don't think about is like, okay, the billable hour creates some pricing misalignment. But the fact that these law firms need to compete with every other law firm means that that's kept in check. And so it's like, this actually converges to roughly the right pricing. And so I think the same thing will happen with the model providers, where it's like, if you look at opus 4.7 and 5.5 opus 4.7 is three times more expensive than 5.5 but it's you know 10 or 20% more.

[28:00](https://realalpha.app/v/NpZbum0lmlI/?t=1680) perform it but like they these are going to cause pressure on each other and then if open source catches up you're also going to have pricing pressure and so even though there is like like if you just had one model provider and they owned all the models then they would just be like here's how much tokens cost my agent's going to use a ton of tokens and you're kind of stuck but i think this is exactly why you're seeing the inference providers and all the other model providers be successful because you just are going to need a lot of options the same way that's how you deal with kind of like pricing with professional service providers but yeah it is a weird like there's a bunch of different levels of like the pricing there so how are you personally keeping track of everything that's going on like what is your research diet has it changed over time yeah i think it's changed a lot i mean i think when i first started doing research the thing that was so exciting about deep learning is everything was open source and everyone published everything and And so I could just go on archive for six hours a day and I would just sit there and read papers all day.

[29:03](https://realalpha.app/v/NpZbum0lmlI/?t=1743) And you could read every breakthrough real time. And that was the thing that initially attracted me to the field because I was like, this is so interesting and it's so easy to talk to everyone about it because everyone's so open about it. I think that has somewhat changed now. Or not somewhat, that has completely changed in the sense like no one really publishes what they're doing anymore. And so it is harder to keep track of the research breakthroughs and what's going on. I think the way that I do it now is we work closely with the labs. A bunch of the people I worked with at Brain, DeepMind, and Meta are at these labs.

[29:37](https://realalpha.app/v/NpZbum0lmlI/?t=1777) And so keeping up with everyone that way. And then I think the thing that I feel like I'm most excited about, for example, with this benchmark is we are going to start publishing some of our research that we're doing with the labs or the other providers and open sourcing more models, more of the work we're doing. And so I think there's hopefully, as open source catches up, there's going to be more and more of this. And yeah, I think that's kind of like the main way. Today's episode is sponsored by VCX by Fundrise, the public ticker for private tech, allowing investors of all sizes to invest in venture capital.

[30:17](https://realalpha.app/v/NpZbum0lmlI/?t=1817) Learn more at getvcx.com. Some of you may not have heard this yet, But our sponsor, Public, just launched something called Generated Assets, and it brings AI into investing in a way I've honestly never seen before. Here's how it works. You type in an idea like AI-powered supply chain companies with positive free cash flow or defense tech companies growing revenue over 25% year over year. Public's AI then dispatches a swarm of agents that scan every single U.S. stock, evaluates them, and instantly builds a custom index around your thesis. What really stands out is how clearly it explains why each stock is included.

[30:52](https://realalpha.app/v/NpZbum0lmlI/?t=1852) And before you invest, you can even backtest your idea against the S&P 500 so you're making decisions with real context, not just guessing. And beyond generated assets, Public lets you invest in stocks, bonds, options, crypto, all in one place. They'll even give you an uncapped 1% match when you transfer your investments over from another platform. If you want to build a portfolio that actually reflects your thesis, visit public.com slash sorcery. Paid for by public investing. Full disclosures in the description. Enterprise AI runs on Merge, the AI infra platform for integrations, agent tooling, and model orchestration, so your teams ship product, not plumbing. Mistral, Dropbox, and Drada already trust Merge in production. Start building at merge.dev. Founders scale faster on Deal. Set up payroll for any country in minutes, hire anyone anywhere, get visas handled fast, and get back to building.

[31:45](https://realalpha.app/v/NpZbum0lmlI/?t=1905) visit deal.com slash sorcery that's d-e-e-l.com slash sorcery well speaking of performance i have to do a little ad slot so brex who i think you're a customer of um They're all about performance, spending smarter, moving faster. And so with that question, I usually ask, maybe this is a layer deeper. Who are the people that you most look up to that you've learned from and what are the biggest lessons that you've taken from them? Yeah, that's a good question. I think Winston's definitely one of them. I think he is in terms of his ability to scale the company, keep track of everything. I think that's something that just watching him grow with the company has been kind of super inspiring and I think there's like a lot of things that I learned from him in terms of like when I did research I think what I was good at is how do I focus on just one thing and I think scaling a company is being able to keep that one thing in your head but then solve thousands of these other problems in parallel and I think as a researcher like i was not good at that i was like good at like okay i'm gonna solve like you know i'm gonna try to figure out agi and i'm gonna ignore everything else and like you just can't do

[33:01](https://realalpha.app/v/NpZbum0lmlI/?t=1981) that when you're like scaling a company and watching winston's ability to like do that and also kind of build a team and and all these things while keeping that in mind uh i think i've like learned a lot from him doing that um let's see who else i think my like old roommate uh when i was at Brain Barrett's Off is someone that like I've learned a lot from he was kind of the best AI researcher that I like worked with when I was at Brain and he's now at OpenAI like ran their post-training team and I think kind of similar ability of like just being able to keep all of the context in his head always kind of know like the right like research directions and things like that I think that was like another person I was super impressed by and then I think like the obvious ones of like I think Jensen is super impressive uh like Demis I think a lot of these people kind of leading the like like Satya leading the top like labs cloud providers all the like large players in the iSpace I think there's like a ton you can learn from from all of these and then um I think kind of the other like top application layer companies like the Cursor folks and Brett um I think all of these folks are kind of doing super impressive stuff.

[34:13](https://realalpha.app/v/NpZbum0lmlI/?t=2053) given learning from all of them what are the key traits that you look for in new hires yeah key traits in new hires I think the biggest is like are you just obsessed with the topic like the best hires that we've made it's usually really easy to talk to them about what we're doing because they know so much already and so I remember like with nico daniel spencer like a lot of our like early hires um when i would just pitch them here's what we're doing it just they immediately were like that totally makes sense here's a bunch of spin-off idea and we could just like talk forever about this and so i think that's something that i always look for of like usually if i can have these conversations with someone where we're just building off each other like that's always been a strong indicator like i think i think it's somewhat unique but i think winston and i's like hit rate on like executive hires is like insanely high and it's usually like if we can both have a conversation like that with someone and they're you know background everything's a good fit we're like okay this person is is going to work out and i think that's been like pretty accurate um and you can usually just feel someone who's like insanely passionate or like obsessed with the topic versus like someone who's like

[35:36](https://realalpha.app/v/NpZbum0lmlI/?t=2136) doesn't know what's going on. And so I think that's kind of one of the biggest like indicators. What are you most excited for this year? Training some models. Great answer. Nika, welcome. Thanks for having me. Congrats on the recent breakthroughs. Thank you. Yeah, we're very excited about it. Can you talk through them? Yeah, absolutely. So about two weeks ago. launched Lab, which is our legal agent benchmark. It's a benchmark for measuring the performance of agents on real world legal tasks. So we designed the benchmark to basically mirror how legal work is done at law firms. And then today we posted our first sort of initial results of how closed source frontier models like those from OpenAI, Anthropic, DeepMind perform on the benchmark. So we're excited about what the benchmark offers, not only in terms of making model and agent performance accessible to lawyers, but also a number of different research directions that will spawn from here. So something that Winston and Gabe had emphasized a lot was there was no existing data set for this type of information. So how did you guys create that and how did you train off of it? Yeah, so this was actually, I think, one of the most interesting and innovative parts of the project. So obviously, legal data is some of the most

[37:00](https://realalpha.app/v/NpZbum0lmlI/?t=2220) sensitive in the world. Firms can't just freely share that for something like an open source

[37:05](https://realalpha.app/v/NpZbum0lmlI/?t=2225) **Niko Grupen:** benchmark. Crazy. Yeah. So we had to get creative with how we constructed the data set. And the way that we did it was actually agent-led with lawyer review. So coding agents, these agentic systems

[37:20](https://realalpha.app/v/NpZbum0lmlI/?t=2240) are actually so good at generating synthetic data now that even for non-public documents like certain contract types, et cetera, they can generate a pretty good first draft. Obviously not good enough to be lawyer passing. So the way that we approached this was we have a team internally at Harvey that we refer to as applied legal research. They're all former big law attorneys. They come from a variety of different practice areas and subdomains of law. We basically mapped out 24 practice areas that law firms have on their websites that they have lawyers, associates kind of assigned to within the firm. And they went through all of the sort of tasks that the firms do or the associates that the firms do within those practice areas. And they have the priors, right? They're lawyers. They've done this work before to write out, okay, for this type of work, we use these types of documents and they look like this. And this is what a realistic deal kind of looks like. We had agents generate the data from there. And then we sent it to sort of like our larger network of lawyers to review the outputs, the rubrics, document quality, all those sorts of things. But it ends up being a pretty like human in the loop, but scalable way

[38:30](https://realalpha.app/v/NpZbum0lmlI/?t=2310) to generate data. So for someone reading this, how should they be evaluating the benchmarks? So I think there's two things here. One is just making agent performance legible, right? So there's kind of overall performance we have and we'll continue to maintain a leaderboard of just here's how this model this agent performs on the benchmark obviously higher score is better but I don't think that these like aggregate average performance measures tell the whole story for two reasons one people aren't really thinking about performance in terms of just like quality maxing anymore like I need to quality maxing oh my god I mean that's been the story of like the last two years, right? It's just like, I'm going to achieve the highest quality possible at whatever cost, whatever latency, whatever burden on my users. But people are thinking about it a lot more now in terms of what is the quality I get for some amount of money spent or some amount of time spent. And so we're able to sort of dissect model performance in these sorts of ways, right? So you can see what the trade-offs are in quality for a model that costs, you know, one third of the price of our leader, which is Opus 4.7 right now. Or like Gemini 3.5 Flash, it's like seven times faster

[39:43](https://realalpha.app/v/NpZbum0lmlI/?t=2383) at completing work than some of the frontier models. So you can look at it that way to make like real kind of production agent decisions. And where are you getting, outside of this, where are you getting all of your research information diet? Yeah, so I think there's sort of three. There's three kind of... avenues here. One is I did come from research, so I still have kind of a fondness for academic research. Like we obviously have partnerships with the labs. They're not publishing as much, but a lot of my old collaborators are still publishing archive papers and NeurIPS, ICLR, all these academic conferences. Even new conferences are spinning up around agents.

[40:22](https://realalpha.app/v/NpZbum0lmlI/?t=2422) Twitter is just like the real time. Really? Twitter? Feed it directly. Yeah, I think you have to have a great filter. You have to understand the signal to noise ratio of Twitter. But if you're following folks like Karpathy, Noam Brown at OpenAI, Shalto at Anthropic, some of these kind of leading voices within the labs, as well as some of these academics who have a presence on Twitter as well, it can be helpful. You talked about the biggest takeaways from the benchmarks, but what are you most excited about? Yeah. So what I'm most excited about is, so we get this cost, we get this latency, we get this practice area breakdown, right? That basically tells us where do we need to invest to improve performance of our product for our customers. I also think that the benchmark is a great kind of way to ground research directions that we want to invest in, right?

[41:16](https://realalpha.app/v/NpZbum0lmlI/?t=2476) And so we've seen an insane amount of activity from the open source community, both AI researchers and legal tech, which, believe it or not, has a bustling sort of open source community, to investigate a number of areas. So like post-training open-weight models, I think we're starting to see early results that show that open-weight models, when post-trained, kind of closed the gap with the closed-source frontier. The agent harness is like the buzziest topic right now. Yeah, tell me more about that. So the harness is essentially the term of art that Twitter has adopted for the infrastructure and scaffolding that goes around the model, right?

[41:55](https://realalpha.app/v/NpZbum0lmlI/?t=2515) So you have some model, it's making decisions, you give it some number of tools, like I can read a document, I can write a document, I can do a web search, I can write code. And the harness is basically the way that you define all of these tools, skills, how agents can delegate to other agents to complete tasks. It's basically the infrastructure and scaffolding around the models. It's a really interesting area of research for us, though, because the thing that we're seeing over and over again is that specialization matters and domain expertise matters, right? And so we can have our lawyers, the open source community, our AI researchers all working on legal specific skills and tools that make the agents better at these tasks that lab and our customers are sort of experiencing.

[42:42](https://realalpha.app/v/NpZbum0lmlI/?t=2562) So you're even more bullish on Harvey now. Yeah, I've been bullish since day one. I think it's only increased. I know. I think I saw you have a bobblehead behind you. I know they have a fancy term, but yeah, it seems like you've been here for a bit. That is one of the most unique three-year anniversary gifts I think I've heard of from a company. But yeah, three years in about a month. Exciting. Okay, so as we close out, how many times are you going to beat this benchmark? I do think the benchmark is now a target. You created your own competition internally. Is this good? We did. My perspective on the entire kind of like AI benchmarking and hill climbing exercise is the extent to which everybody is investing in making models and agents more capable for legal, that is purely to our benefit.

[43:29](https://realalpha.app/v/NpZbum0lmlI/?t=2609) Because actually, like the innovative work that we want to do is not just base model capabilities. And so you asked, what is the thing I'm most excited about? I think this year, one, I do think the benchmark gets saturated within a year at least. But two, I think this year is the year that we see intelligence at an individual level kind of brought into intelligence at an organizational level, right? And so for Harvey, what that means is moving one layer of abstraction up in decision making, like how do lawyers collaborate with lawyers on our platform? How do human agent teams collaborate? And I think there's a lot of really interesting product infrastructure, but also AI problems to explore there that like, frankly, we haven't been able to explore yet because the models are not good enough, right? So if we make the models good enough, then we can do really innovative research, in my opinion. So the collective IQ will go up 50 points.

[44:23](https://realalpha.app/v/NpZbum0lmlI/?t=2663) At least, yeah. Okay. Well, Nico, thank you so much. Thanks for having me. Hey, it's Molly. If you enjoy our interviews, check out our newsletter, sorcery.vc, where we deliver a once-a-week top deals and tech headlines email and also go deeper on our podcast interviews. Subscribe to Sorcery today. And don't forget to subscribe to the podcast on YouTube, Spotify, Apple, or wherever you listen. Link in description to sign up.
