
CV Deep Dive
One person. More than $30,000 a month in tokens. Comet co-founder and CEO Gideon Mendels says he’s seen it. But a number that big tells you surprisingly little about the work getting done.
An engineer running agents all day could be shipping valuable features, investigating production incidents, or tackling projects that previously weren’t possible. They could also be paying for inefficient defaults, unnecessary context, and expensive coordination between agents. Both show up on the same bill.
Comet ran into that problem inside its own R&D team. Developers kept hitting token limits, and the company kept raising them. Looking more closely at how its teams used coding agents revealed an opportunity: keep the productivity gains while cutting spending that wasn’t improving results.
That work became Cost Intelligence, a new component of Opik, Comet’s LLM observability and agent evaluation platform. It digs into coding-agent sessions to identify what drives costs, from the context carried between requests to skills that consume tokens without being used. Gideon says Comet and its customers have seen bills fall by 25% to 40% without sacrificing quality.
But cutting waste is only part of the story. Gideon argues that teams need to understand what their spending supports, features, fixes, investigations, and ultimately connect those investments to outcomes. A bigger token budget might be worth it. Token consumption alone won’t tell you.
Five months after our first conversation, we caught up with Gideon to discuss what provider dashboards miss, why cheaper models aren’t always the best first move, and the question behind every $500-a-day agent habit: what did we get done?
Let’s dive in ⚡️
Read time: 9 mins
|
|
|
|
Our Chat with Gideon 💬
1. Gideon, welcome back! It's been five months since our first conversation. Last time we talked, Comet was largely about understanding and evaluating agents through Opik. What's changed inside the company since then?
Excited to be here! Thanks for having me again.
Historically, Opik was mostly serving what we call custom agents: agents built on a custom harness, usually to solve a specific task, whether internal or external.
We have many large customers, over 100,000 users, and about 50% of the Fortune 500 using the open-source product in some capacity. Over the last year, we started seeing more organizations use coding agents like Claude Code and Codex to build special-purpose agents, so not just for pure coding, but agents that run in the background.
Another thing we’ve seen is that these agents aren’t only being built by engineers anymore. People across the organization are using Claude Code, Codex, and similar tools to build them.
As part of that, spending on tokens and coding agents has been skyrocketing. We’ve seen individuals spend more than $30,000 a month on tokens. That’s one individual.
Following conversations with customers and the community, we expanded Opik to have very deep integrations into these coding harnesses, much deeper than what you get out of the box. That enables users and customers to do the same things: observe, evaluate, and optimize their agents, but now also for agents built and used through coding harnesses.
2. Take us back to when this became a real engineering problem internally. What were you seeing in Comet's own coding-agent workflows that made you realize AI spend was behaving differently from traditional software spend?
Like many other companies, we’ve been using coding agents very heavily for about the last 18 months. And, like the rest of the industry, it’s really made us rethink how we do development.
We rebuilt our entire R&D processes from the ground up, which has been exciting. It allows us to move much more quickly than ever before.
As we invested more in using coding agents across the board, one of the first challenges was developers exceeding their token allocations and requesting higher limits. At first, as part of that investment, we just continued to increase them. But relatively quickly, it became obvious that this was unsustainable.
The second thing we saw was a pretty big difference in usage patterns. Some developers used agents in a way that was deeply ingrained in everything they did, and you’d see costs explode for those developers. Others used them more superficially, purely to write code or help achieve a task. There was quite a wide difference.
As part of our effort to get better and ship higher-quality products faster, we started building Cost Intelligence internally as a new component of Opik. We wanted to look at how people used coding agents, but also how they were spending tokens across the organization.
Very quickly, we recognized that there was room to continue pushing on quality and usage while also reducing costs. We saw that with our own bill, and since launching Cost Intelligence, we’ve seen bills go down by 25% to sometimes 40% without impacting quality. Our engineers are moving faster than before. It’s been a pretty exciting run.
3. When you actually looked under the hood, what surprised you most about where the spend was coming from?
As we started digging deeply into the harnesses and how they were set up and configured, it was quite eye-opening to see that the defaults on Claude Code, Codex, and Cursor are essentially designed to burn tokens.
There are countless examples of how they manage things internally: caching across sessions, subagent use, parallelization, and context sharing between workers.
There are a lot of things where you look at them and think, “Wow, this is costing so much in tokens without a very good reason in terms of performance.”
One of the first things we started tackling with Cost Intelligence was tweaking those defaults. We’ve been getting the exact same results with roughly 20% to 40% improvements in cost.
4. Was there a specific moment where you realized this wasn't just a Comet problem, but something every serious AI-native engineering organization was eventually going to have to understand?
Earlier this year, OpenAI and Anthropic essentially forced all enterprise customers to move to consumption-based pricing, so they couldn’t use the heavily subsidized subscriptions anymore.
Almost overnight, that became one of the biggest pain points for larger customers.
Given what we were hearing from customers and what we had built internally, the overlap was very strong. We were able to bring the product to market very quickly.
5. Once you understood the problem, how did you actually build Cost Intelligence?
We started where I think most organizations would start: observing the telemetry Claude Code offers through OpenTelemetry.
But very quickly, we hit a wall because of the limitations of that mechanism. It just doesn’t give you enough.
We found that the only way to get all the data we needed was to integrate much more deeply into the harness and actually observe the LLM calls as they were happening.
Once we had all that information and metadata, which wasn’t available through OpenTelemetry, we found we could do much more.
For example, we built a fairly complex classifier on top of what is essentially network traffic. One characteristic of these interactions is that every time you send another request or message, it includes the history.
We built a classifier that breaks down that entire context into chunks, or blocks, and identifies what each block is doing. This is a skill header. This is a built-in tool description.
That information isn’t available through OpenTelemetry, and it’s extremely rich. It allows us to optimize Claude Code and Codex in the same way we’ve been optimizing other agents.
That was really the birth of Cost Intelligence. It’s about proactively saving money on tokens and using the harnesses more effectively.
6. OpenAI and Anthropic give enterprises visibility into model usage and spend, but what remains invisible when you look only at the provider level?
The visibility you get from these coding harnesses is very surface-level, and most importantly, it’s not actionable.
Just seeing a roll-up of how much you’re spending isn’t very useful. You don’t know what to do with it.
I would argue that OpenAI and Anthropic don’t really have an incentive to help you cut costs, especially as they’re gearing toward an IPO.
To give a specific example, think about skill usage. As an R&D manager or developer, I don’t just want to know how many times a given skill was used and by how many people. I want to know how much is linked to it.
Often, I also want to know how much spend comes from simply having it installed. These skills can live in the context without even being used.
If I know how much it costs to run a skill and to have it enabled, I can actually do something with that information. That isn’t available in the existing dashboards.
It makes the decision of whether to keep a skill much easier. That’s the difference between high-level, aggregated visibility and something that’s actually actionable.
The providers are trying to grow revenue, and tokens are exactly that. If Anthropic suddenly rolled out something like Cost Intelligence to all its customers and its revenue went down by 30%, I don’t think anyone there would be happy about it, except the customers, of course.
7. Here's where I think this gets really interesting. If one engineer spends $500 a day on coding agents, how do you know whether that's a sign of extraordinary productivity or simply an inefficient agent setup?
It goes back to a very old question in engineering: how do you quantify productivity?
Over the years, people have tried different approaches, not necessarily good ones, like lines of code or PRs created. It’s essentially the same equation, except instead of having an engineer as one of the variables, you have an agent.
The good news is that agents are far more observable than engineers.
Even though we help customers cut costs, we don’t think looking purely at spend is a good metric. High spend could mean many things. We don’t necessarily know what it means just by looking at it.
Instead, we focus on two key aspects to put spend into perspective.
First, what was the output of the work? What percentage of spend is linked to new feature development, bug fixes, documentation, production incident investigation, and so on?
That allows you to put it into context, and it becomes similar to a financial allocation exercise. How much do I want to spend on new features? How much on bug fixes? How much on moonshot projects? How much on documentation?
When you can see it at that level, it makes the decisions a lot easier.
The other aspect is comparison between teams and peers. Once Cost Intelligence is rolled out to the entire team, we can see differences in usage patterns and link those back to spend.
That allows us to roll out cost-saving measures tailored to a specific team and how it works, without forcing it into a workflow that’s misaligned with its needs.
You can change Claude Code defaults across an entire organization, but different teams operate in different ways. With Cost Intelligence, we can give organizations granular controls so they can apply the right cost-saving strategies to each team based on its usage.
Most importantly, we aren’t just giving you a dashboard with a bunch of toggles. We automatically analyze usage patterns and make suggestions based on how teams actually use the tools. That’s very powerful.
8. Do you think the industry eventually stops measuring AI usage altogether and starts measuring the economics of the work being done: cost per task, PR, feature, or successful outcome?
I don’t think the industry will stop measuring AI usage. It’s a very significant cost item and will continue to be scrutinized closely.
I think metrics that used to have a high signal-to-noise ratio, like the number of PRs or lines of code, are becoming essentially meaningless. They aren’t a reflection of the outcome and can easily be gamed.
Instead, we’ll start linking spend to outcomes, which is a new way of thinking and significantly harder to implement.
That’s becoming a core part of the Cost Intelligence platform. We’re focused on reducing your spend while maximizing the value you get out of it, rather than only reducing token consumption.
9. And what does that change about how engineering teams operate?
That’s the holy grail. Everyone who runs an organization, particularly an engineering organization, wants to be able to tie spend, headcount, and token consumption to outcomes.
That goes back to my earlier point about agents being much more observable than engineers.
By having this level of telemetry and being able to classify what actually happens in these sessions, we’re much closer to tying spend to something real, compared with relying on PRs or lines of code created.
10. Token prices are falling while agent usage is exploding. Do you think cheaper inference ultimately reduces spend on AI coding, or does it just make it economical to run dramatically more agents?
If you look at the historical trend, cheaper inference doesn’t necessarily reduce spending on AI coding.
What we’re seeing today is that token prices are declining for models with comparable capabilities. But new models are being released every month that push the frontier, and those are becoming more expensive.
I think we’re going to experience continued increases in capability, which ideally will allow coding agents to accomplish significantly more work autonomously.
But that capability is going to come at a significant price. As agents take on more work and consume more compute, managing that spend is only going to become a bigger problem.
11. If you look 18 months ahead, what does an AI-native engineering organization look like?
It’s always hard to predict the future, especially when things are moving so fast. But I strongly believe AI-native engineering teams will look very different from teams today.
Engineers will spend less time directly implementing every piece of work and more time defining what needs to be built, reviewing the work agents produce, and making sure it has the intended impact.
There’s some consolidation between what used to be product management responsibilities and engineering.
We’re also going to see much more work happening in parallel. We’re already seeing it to an extent: an engineer might have multiple agents working on different tasks at the same time.
That means the amount of engineering activity an organization needs to understand and manage is going to increase exponentially.
The organizations that do this well won’t simply be the ones that deploy the most agents. They’ll be the ones that understand where agents are creating value, where they’re wasting resources, and how to continuously improve the way their teams use them.
This category is moving very fast, and we’re putting a lot of effort into it. It’s a new paradigm in engineering and R&D, and we need a new set of tools and methodologies to support it.
12. Gideon, any final takeaways for the CV audience?
Reducing token spend is a P0 for almost every company I speak to, unless they’re on subsidized subscriptions and don’t have to worry about it yet. I think that’s temporary.
A lot of people automatically think about model routing as the solution: route some requests to cheaper, probably open-source models.
That’s a real strategy. It will reduce costs. But what we’ve found is that it’s usually the one with the biggest negative impact on performance.
If those models were as good, we would just use them. By design, you’re routing a request to a less capable model.
The good news is that there are a lot of cost-saving strategies that have zero impact on performance, and I definitely recommend exploring those first.
You can cut costs by 20% to 40%, and not a single engineer will even notice that something changed.
|
|
|
|
Conclusion
If you would like us to ‘Deep Dive’ a founder, team or product launch, please reply to this email ([email protected]) or DM us on Twitter or LinkedIn.
