WhoBuilt

Stop Renting Your Cognitive Infrastructure

Jul 18, 2026· 8 min· 1.8K views·Watch on YouTube

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.

Inference costs can spiral

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.

Why rented inference gets expensive

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.

Local infrastructure has tradeoffs

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.

Decide when to own the stack

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.

Learn by renting, earn by owning

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

Show all 9 facts

Related talks