Maruthavanan cites a retailer that spent nearly $200 million on Anthropic inference and an Uber token budget that ran out in month four. He compares prepaid AI credits to a casino balance, where usage can grow past what teams expected. His own music-prompt app, Ultrazone, reached hundreds of thousands of users and led to hundreds of thousands of dollars in inference costs.
Stop Renting Your Cognitive Infrastructure
Speaker
Thiyagarajan Maruthavanan of Kalmantic Labs explains when companies should move from rented AI inference to infrastructure they control, speaking at the AI Engineer conference.
He attributes runaway usage to oversized inputs, missing context compression, and wasteful agent loops. In his view, inference endpoints often lack awareness of the workload they serve. A stolen API key also drove his costs from $7,000 toward $10,000 before his co-founder stopped it.
Maruthavanan describes moving Ultrazone from Anthropic to a local DGX system and using it to run research agents. Memory became a bottleneck, and he questioned whether the setup was reliable enough for enterprise use. He recounts three enterprise needs: an investment fund wanted control over rate limits, a hospital faced an audit objection to a vendor dependency, and a tax practice needed reproducible recommendations.
He says renting can make sense for startups still searching for product-market fit, while businesses past that point and enterprises with funded projects should consider building their own inference infrastructure. He compares renting to trying a city before buying a home. He calls his approach Just Infra and presents Just Token Max, an open-source token optimization project he says compares favorably with Netflix's Headroom.
Maruthavanan describes AI infrastructure as a noisy market where views differ on token factories, local intelligence, and inference providers. His experience moving from applications to agents and infrastructure leads him to the conclusion that renting helps teams learn, while owning can make sense when they need to scale and earn. He also points listeners to his book, Peak Inference: Infraeconomics of AI Inference.
Takeaways
- Track inference spend against usage and set alerts before prepaid credits obscure the true cost.
- Compress context and review agent loops to reduce unnecessary token calls.
- Protect API keys and monitor spend for sudden increases that may signal misuse.
- Use rented inference while validating demand, then reassess infrastructure once the use case is established.
- For enterprise deployments, evaluate rate-limit control, vendor dependencies, and whether results must be reproducible.
Mentioned in this talk
Search inside this talk
What was claimed 9
- featureUltrazone: Finds a prompt that could have generated a given song
“given a particular song, what prompt could have generated it?”
YouTube Unverified1 source· Talk
- built
“I built an app called Ultrazone”
YouTube Unverified1 source· Talk
- metricThiyagarajan Maruthavanan: Spent hundreds of thousands of dollars on inference for Ultrazone
“I had to spend hundreds of thousands of dollars on inference”
YouTube Unverified1 source· Talk
- metricUltrazone: Hundreds of thousands of users
“I had hundreds of thousands of users”
YouTube Unverified1 source· Talk
- metricThiyagarajan Maruthavanan: Stopped stolen-key inference spending at $10,000; it could have reached $100,000
“we were able to stop it at $10,000. Otherwise, it could have been $100,000”
YouTube Unverified1 source· Talk
- uses
“I bought my own DGX box”
YouTube Unverified1 source· Talk
- uses
“moved Ultrazone from Anthropic to the DGX box”
YouTube Unverified1 source· Talk
- launchedThiyagarajan Maruthavanan launched Just Token Max
“published it as Just Token Max”
YouTube Unverified1 source· Talk
- built
“I also wrote a book called Peak Inference”
YouTube Unverified1 source· Talk















