TL;DR: Self-hosting open-weight models is less about benchmark performance than about sovereignty, cost at scale, and operational control, according to TruFoundry’s analysis of running Llama and Mistral behind an AI gateway. The real governance issue is avoiding a second, separate stack so routing, budgets, tracing, and access controls stay unified across commercial and self-hosted models.
Editorial analysis by NHI Mgmt Group, based on content published by TruFoundry: “Self-Hosting Open-Weight LLMs Behind the AI Gateway”.
Key questions
Q: What breaks when self-hosted models are added outside the AI gateway?
A: The control plane fragments.
Q: Why do self-hosted models need the same access policy as commercial APIs?
A: Because the security problem is not where the model runs, but whether model access is authorised consistently.
Q: How do teams know if model routing is creating governance drift?
A: Look for duplicate dashboards, backend-specific credentials, inconsistent tracing, or workloads that behave differently depending on model name.
Practitioner guidance
- Centralise model access at the gateway Keep self-hosted and commercial model traffic behind one policy and routing layer so applications do not learn which backend is serving the request.
- Apply consistent RBAC to model names and routes Authorize model selection at the gateway so a regulated workload cannot silently bypass approval by switching to a different backend or endpoint.
- Govern serving images and weights as production artifacts Pin model versions, verify artifacts where possible, and scan serving images and dependencies before they are promoted into the self-hosted path.
Bottom line: Self-hosted LLMs create governance value only when they do not create a second stack for access, routing, and observability.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Gateway unification is now an IAM control problem, not just an LLMOps convenience. Once open-weight models are routed through the same interface as commercial APIs, the main governance question becomes whether access policy, routing, and telemetry remain centralised. If they do not, the organisation has not simplified AI operations, it has duplicated its control plane. The practical conclusion is to make the gateway the authoritative enforcement point for model access.
A few things that frame the scale:
- AI-related credential leaks surged 81.5% year-over-year in 2025, with the surrounding AI infrastructure leaking 5x faster than core LLM providers, according to the State of Secrets Sprawl 2026.
A question worth separating out:
Q: Should organisations separate self-hosted inference from commercial model governance?
A: No. A split governance model usually creates the very stack sprawl self-hosting was meant to avoid. The better pattern is one policy framework, one routing layer, and distinct backend choices only underneath that shared control surface.
👉 Read our full editorial: Self-hosted open-weight models behind one AI gateway