New every Friday: the week's best founder lessons in one email. Subscribe free
Back to All Episodes
S12 E16: Building an AI Gateway for Enterprises with Nikunj Bajaj of TrueFoundry
Apr 28, 2026 32:36 S12 E16

S12 E16: Building an AI Gateway for Enterprises with Nikunj Bajaj of TrueFoundry

0:00 / 32:36

About this episode

Creating an AI gateway for enterprises: Nikunj Bajaj of TrueFoundry on what companies need to route and manage their AI usage.

———

Nikunj Bajaj was born in India, and completed his undergraduate studies there. The intrigue of Silcon Valley in 2013 brought him to the Bay Area, where he got his masters degree from Berkeley. His studies and his time after school supremely informed what he is building now, at his current venture. But outside of tech, he is an outdoorsey person, enjoying running, biking and scuba diving, with his favorite place to dive being Bali. He enjoys playing board games with his friends, and listens to a lot of audiobooks from a wide range of genres.

After joining Meta, Nikunj realized that building machine learning models for the company is different than using public ecosystems. The realized early on that machine learning models will hit an inflection point, where the stacks will need to change and adapt. He and his team decided to take on this challenge ahead of that inflection point.

This is the creation story of True Foundry.

Sponsors

Links

Times are from the episode recording; ad breaks in your player may shift them a bit later.

Read the key answers from this episode, with quotes and timestamps from Nikunj Bajaj from TrueFoundry: https://www.codestory.co/episodes/s12-e16-the-llm-wild-west-moving-beyond-fragile-notebook-prompts-to-build-a-multi-model-enterprise-ai-control-plane-with-nikunj-bajaj-co-founder-ceo-of-truefoundry/



Current Sponsors:

Checkout our Substack

Checkout our Stacklist!

Checkout our Patreon!

Hosted by Noah Labhart.



Our Sponsors:
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai
* Check out Perplexity: https://pplx.ai/codestory


Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Chapters

Featured Guest

Latest Season of the Podcast is Sponsored By

Key Takeaways

  • Betting on a Unified Stack: Inspired by Meta, TrueFoundry started in early 2022, before ChatGPT, betting enterprises would outgrow parallel stacks for software and ML. It built on Kubernetes, which also lets it run on AWS, GCP, Azure or on-prem.
  • Stable Foundation, Adaptive UX: The developer experience has shifted with each wave, from prompts to RAG, agents, MCP and A2A. The underlying principles for running workloads on shared infrastructure have stayed consistent.
  • Split-Plane Gateway Design: The control plane sits apart from a lightweight gateway in the request path. Bajaj cites 17 regions, more than four nines, under 5 ms of added latency and customers running tens of thousands of requests per second.
  • Why In-House Proxies Broke: Thin internal LLM proxies worked while model APIs matched. Diverging signatures, MCP, A2A, guardrails and cost controls made them too complex to maintain, and inbound demand for AI gateways appeared in early 2025.
  • Missing the Gateway Pull: TrueFoundry also assumed enterprises would build this thin layer themselves, costing it development time from early 2024 to early 2025. Once customer demand was clear, it invested heavily and covered major ground within six months.

Frequently Asked Questions

What does TrueFoundry do?

TrueFoundry offers an enterprise AI gateway spanning LLM, MCP and agent gateways, plus AI deployments for running models, MCP servers and agents on a company's own on-prem or VPC compute. Nikunj Bajaj said, "We serve large enterprises, help them connect, observe and govern all of their agents into a single control plane." [03:09]

How does TrueFoundry keep its AI gateway reliable and fast?

Because the gateway sits in the critical path of every LLM and agent call, TrueFoundry chose a split-plane architecture with lightweight gateway instances deployable across regions. As Bajaj explained, "we have control plane, the brain of the system sits separate from the actual gateway plane" [14:28].

Why do enterprises need an AI gateway instead of an in-house LLM proxy?

Bajaj said internal proxies worked while model providers shared OpenAI-compliant API signatures, but those signatures diverged and MCP and A2A emerged. He argued that "this proxy layer has to become an overall control plane" [18:41], covering guardrails, compliance, cost, observability and governance.

How long did it take to build TrueFoundry's MVP?

It was not a few-week prototype, because the product was meant to manage production workloads from the start. Bajaj said "we spent more than a year heads down developing the platform" [06:24], building the core plumbing layer on Kubernetes.

What mistake did TrueFoundry make with its AI gateway?

Although it had built a proxy layer, the team believed enterprises would build such a thin layer in-house rather than buy it. Bajaj admitted, "That mistake made us lose some of the development" [22:03] it could have done on the gateway between early 2024 and early 2025.

Media List 5000, Podcasts, Fall 2026