In this article, you'll learn how to make a multi-model inference serving platform on Kubernetes. You'll serve two models, one with one replica and another with two, on a total of 3 GPUs.
You'll use the Gateway API Inference Extension (GIE) to route traffic to those models based on metrics such as prefix cache affinity and user request for the selected model. You'll also configure pi as the client to test this setup end to end through one OpenAI-compatible endpoint.
One thing you need to remember before moving forward: no matter how powerful your GPUs are or the amount you've spent on the infrastructure to make this local AI Inference platform, if you go and tell your teams, "Hey everyone, you can now use the best open models with unlimited tokens. GLM 5.3-753B is available at example.com/v1/glm/53 and KIMI-k3-2.8T is available at example.com/v1/kimi/k3 and every model is at it's own endpoint.", they likely won't be happy.
Quite the opposite, in fact.…