As frontier model inference costs soar, Red Hat has addressed the challenge head-on by proving that enterprise-grade AI does not require exclusive reliance on expensive commercial endpoints. Through Engineering Model-as-a-Service (EnMaaS), our internal MaaS pilot deployed on Red Hat AI, we united Praxis—a framework for building proxy servers which also provides an AI gateway built on that framework—with llm-d for distributed open weight model serving. Deploying this open source architecture across our global engineering organization proved that intelligent proxying and distributed model serving can absorb enterprise-scale development inference demands, drive organic developer adoption of hosted open weight models for routine workloads, and dramatically curbed Red Hat global engineering’s token costs by 40 - 70% without sacrificing velocity.
This transformation highlights the agentic paradox: While frontier models kick-start early experimentation, long-term operational viability demands scalable, cost-effective open weight alternatives. Operating as our own customer zero—a philosophy Red Hat CEO Matt Hicks highlighted at Red Hat Summit earlier this year—we rigorously tested and refined this architecture before bringing it to the open source community.
Building Praxis
When our engineering teams evaluated existing modern and legacy gateway options, trying to retrofit proxies to handle large AI payloads felt like fitting a square peg into a round hole. We chose Rust specifically for raw data execution to allow for high performance and align with the industry’s broader shift towards Rust for networking technologies. Rust provides us low-level memory efficiency, exceptional data transfer speeds, and high-speed transformations directly at the data plane layer.
Praxis, contributed to the Cloud Native Computing Foundation (CNCF) in September 2026, runs as a single, unified Rust process on the data plane. Instead of chaining together multiple disconnected proxies or running external sidecar containers that introduce compounding latency, Praxis consolidates the request pipeline. It inspects prompts, executes body-based routing, manages API translation, and applies content guardrails in place. Securing these actions is a policy engine, contributed by IBM researchers, which enforces organizational security and safety policies.
Validating the solution internally with EnMaaS and llm-d
EnMaaS
Our challenge was delivering governed access to a diverse mix of models for thousands of engineers from a single API endpoint. Developers needed the flexibility to choose between open weight and proprietary frontier models while teams required real-time token tracking to manage spend against assigned quotas.
Applying our customer zero approach, we launched EnMaaS, which combines key open source technologies: Praxis as our AI gateway, and llm-d for model serving. Red Hat engineers validated and refined the solution architecture by integrating it directly into their daily software development workflows.
EnMaaS serves as the common, governed front door for AI across our engineering organization. Rather than requiring developers to manage disparate provider accounts and onboarding flows, EnMaaS provides our engineers with a single gateway key to access both frontier commercial APIs and internally hosted models.
Thousands of Red Hat developers route their daily coding harnesses directly through the platform:
- Self-service onboarding: A streamlined, SSO-authenticated portal allows users to self-enroll instantly and generate a single unified API key, unlocking governed access across commercial and internally hosted models according to organizational policy.
- Broad environment support: Developers maintain their preferred workflows through out-of-the-box compatibility with commercial tools, open source harnesses, and emerging agent frameworks.
- Control plane: Administrators could dynamically configure model availability for specific teams—enabling access to frontier models like Anthropic and OpenAI alongside open weight models such as GLM, served via llm-d in partnership with IBM Research. Serving frontier-class open weight models at enterprise scale requires sophisticated orchestration, utilizing Kubernetes and vLLM for runtime scheduling, multi-pod coordination, and optimized KV-cache management across dynamic workloads and GPU clusters.
llm-d
Behind this gateway layer, Praxis connects directly into our internal, high-performance open weight model serving infrastructure. Serving frontier-class open weight models at enterprise scale requires sophisticated orchestration, which is where llm-d comes in.
In our infrastructure stack, llm-d—a Kubernetes-native distributed inference framework co-founded by Red Hat and contributed to the CNCF in March 2026—coordinates with vLLM to unify fleets of model servers into a single system. It provides runtime scheduling using live load, predicted latency, and prefix affinity, while tiering KV caches across GPU, CPU, and NVMe storage to share cache blocks across peers. Additionally, it handles prefill/decode disaggregation and multi-node expert parallelism for MoE models, efficiently serving a dozen open weight models across hundreds of GPUs.
By providing Praxis as the AI gateway with an llm-d and vLLM distributing serving foundation, our internal deployment revealed clear shifts in developer adoption and operational impact:
- Massive scale: The combined environment has handled high-intensity internal development demands, processing more than 1 trillion tokens in a single 30-day window.
- Workload variability: By using Praxis to intelligently route development workloads to hosted open weight models, our teams shifted the majority of routine coding and evaluation traffic away from external APIs.
- Adoption patterns: Usage patterns show that developers readily embrace open weight models when frictionless access is provided. Consumption initially leaned 70/30 in favor of commercial frontier APIs, but has flipped to 30/70 toward internally hosted open weight models—with open weights capturing greater share every day.
- Cost efficiency: Shifting from frontier models to self-hosted models running on top of llm-d reduced effective token spend by 40% to 70% compared to the previous frontier model pricing (depending on prompt caching efficiency and model routing), demonstrating how intelligent proxying protects infrastructure budgets while accelerating developer velocity.
Traffic governance and token management
Speed is only half the battle when deploying models. Anyone running developer teams on large language models knows how quickly API expenditures can escalate. Without centralized visibility and traffic controls, uncontrolled model consumption creates unpredictable overhead.
As seen in EnMaaS, Praxis functions as a centralized Model-as-a-Service control point. Sitting between developer tools and model endpoints, the gateway lets developers authenticate with managed credentials while automatically injecting the authorized upstream keys for their specific tenant and destination.
This design gives teams immediate visibility into their usage:
- Token accounting, quotas, and rate limits: Built-in telemetry tracks real-time token consumption and spend metrics per user, team, and model for multiple tenants. Rate limits can be applied to smooth out spikes, and teams can enforce monthly budget limits, share capacity across business units, and eliminate blind spots.
- Continuous availability and fallback: When a developer or team exhausts their commercial monthly token budget, Praxis can automatically fall back to serving hosted open weight models. Furthermore, gateway responses to budget and rate-limit exhaustions are fully configurable and dynamic, allowing teams to set soft limits for reporting only or enforce hard limits, adapting rules based on certain conditions, such as time of day. This helps critical agent workflows and IDE completions remain uninterrupted without incurring additional cost.
Controlling SDLC with Praxis and OpenShell
Once the agents were built, the development teams configured them to access models through Praxis, and then secured them with OpenShell, an open source agent runtime, to establish an isolated, hardened runtime boundary around proxy operations and provide greater security controls over the agents’ behavior and access to local files, credentials, and external networks. OpenShell is also used within our internal agentic SDLC for securing the agents that power the different phases in the pipeline.
An invitation to build
The industry requires open, dependable infrastructure components designed for high performance, scale, efficiency, operational simplicity, and transparent cost governance. Addressing these challenges requires vendor-neutral, community-driven collaboration. We are developing these tools openly and grounded in real-world use cases so engineers across the ecosystem can build upon and contribute to the architecture. Working alongside upstream communities like the CNCF, we aim to advance these standards and integrate these capabilities across Red Hat’s AI portfolio.
You can get involved with Praxis, llm-d and OpenShell on GitHub and through the CNCF and help shape the open source foundation for high-performance AI infrastructure today.
About the author
Steve Watt is a Distinguished Engineer and vice president of Emerging Technologies and Research, which includes Red Hat Research and Emerging Technologies. Prior to joining Red Hat, Steve was the founder of the Hadoop Business and Hadoop Chief Technologist at HP and a Software Architect and Master Inventor at IBM Emerging Technologies. Prior to IBM, Steve worked for a number of consumer facing software startups in the USA and his native South Africa.
Browse by channel
Automation
The latest on IT automation for tech, teams, and environments
Artificial intelligence
Updates on the platforms that free customers to run AI workloads anywhere
Open hybrid cloud
Explore how we build a more flexible future with hybrid cloud
Security
The latest on how we reduce risks across environments and technologies
Edge computing
Updates on the platforms that simplify operations at the edge
Infrastructure
The latest on the world’s leading enterprise Linux platform
Applications
Inside our solutions to the toughest application challenges
Virtualization
The future of enterprise virtualization for your workloads on-premise or across clouds