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

Published: 2026-04-28
Duration: 1956s
Audio: https://pdst.fm/e/pscrb.fm/rss/p/audio4.redcircle.com/episodes/7deaad27-2d92-4f67-8da5-1709162da475/stream.mp3

## 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.

**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](https://www.truefoundry.com/).

Sponsors

- [Unblocked](https://getunblocked.com/codestory)
- [TECH Domains](http://get.tech/codestory)
- [Mezmo](http://mezmo.com/codestory)
- [Braingrid.ai](https://braingrid.link/code-story)

Links

- [https://www.truefoundry.com/](https://www.truefoundry.com/)
- [https://www.linkedin.com/in/nikunj-bajaj-10476824/](https://www.linkedin.com/in/nikunj-bajaj-10476824/)

  

Timestamps

00:00 – Intro

05:39 – Building the TrueFoundry MVP

07:51 – Shaping the Product Roadmap

10:24 – Building the Team

12:44 – Fighting Scale Challenges

16:19 – Why Enterprises Want AI Gateways

19:47 – Proudest Moment

21:28 – A Mistake and Response

23:14 – The Future of TrueFoundry

27:20 – Influences on Nikunj

30:08 – Advice for Young Entrepreneurs

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/](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:

- [Tiger Data](https://tigerdata.com/)

- [Protected Harbor](http://protectedharbor.com/codestory)

- [Render](https://render.com/)

- [Fitnexa](https://www.fitnexa.com/)

- [Perplexity](https://pplx.ai/codestory)

- [Entelligence](https://entelligence.ai/)

Checkout our [Substack](https://news.codestory.co/subscribe)

Checkout our [Stacklist!](https://stacks.codestory.co/)

Checkout our [Patreon!](https://www.patreon.com/cw/codestory)

Hosted by  [Noah Labhart.](https://noahlabhart.com/)

  
  
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](https://redcircle.com/brands)  
  
Privacy & Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)

## Chapters
- 0:00 — Intro
- 5:39 — Building the TrueFoundry MVP
- 7:51 — Shaping the Product Roadmap
- 10:24 — Building the Team
- 12:44 — Fighting Scale Challenges
- 16:19 — Why Enterprises Want AI Gateways
- 19:47 — Proudest Moment
- 21:28 — A Mistake and Response
- 23:14 — The Future of TrueFoundry
- 27:20 — Influences on Nikunj
- 30:08 — Advice for Young Entrepreneurs

## Frequently Asked Questions
- **Q:** What does TrueFoundry do? — **A:** 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]
- **Q:** How does TrueFoundry keep its AI gateway reliable and fast? — **A:** 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].
- **Q:** Why do enterprises need an AI gateway instead of an in-house LLM proxy? — **A:** 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.
- **Q:** How long did it take to build TrueFoundry's MVP? — **A:** 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.
- **Q:** What mistake did TrueFoundry make with its AI gateway? — **A:** 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.
