Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

AI Gateway Supports Private Inference Integration

AI Gateway now allows users to integrate private model endpoints seamlessly, enabling switching between private and catalog models without changing application logic.

Share
AI-generated conceptual illustration accompanying: AI Gateway Supports Private Inference Integration
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Integration of Private Models with AI Gateway

The AI Gateway now supports Private Inference, allowing users to integrate their own model endpoints seamlessly. This feature enables switching between private and catalog models without requiring changes to the application logic, as the AI Gateway translates each request to the endpoint's format. Users can call private models through Chat Completions, Responses, or Messages, offering flexibility in deployment. According to the documentation, Private Inference connects your own model endpoints to AI Gateway, making it easier to manage and deploy custom models alongside existing ones. This integration simplifies the process of switching models by only requiring a change in the model ID, ensuring a smooth transition between different model versions or sources.

Security and Access Control for Private Models

AI Gateway now introduces enhanced security and access control features for private models, ensuring greater confidentiality and compliance. According to Vercel, private models are restricted to specific teams, such as your Vercel team, and are not visible in the public catalog. This limits exposure and ensures that only authorized users can interact with sensitive models. Vercel highlights that credentials are encrypted and that users can enable Zero Data Retention per provider, reducing the risk of data exposure. Additionally, Vercel confirms that AI Gateway logs include detailed metadata for both private and catalog model requests, providing visibility into how private models are used without compromising their confidentiality.

Observability and Monitoring of Private Models

AI Gateway now supports observability and monitoring of private models, enabling users to track and analyze private model requests alongside catalog traffic. According to Vercel, users can view private model requests in logs, trace drains, and custom reporting, providing a unified view of traffic patterns. Vercel highlights that observability charts break down metrics such as requests, tokens, and time to first token by private model, offering detailed insights into performance. Additionally, Vercel notes that AI Gateway logs include private and catalog model requests, along with detailed metadata specific to private model requests, enhancing transparency and traceability. These features allow organizations to monitor private model usage effectively without compromising data privacy.

Fallback and Configuration Options

AI Gateway now supports Private Inference, offering users greater control over their AI deployment options. Within the Fallback and Configuration Options section, users can configure fallbacks by optionally directing requests to a catalog model if their private endpoint fails. To get started, open the Private Inference page and add your endpoint as a private provider. Enter its base URL, select its API format, and add its credentials. These steps allow for seamless integration and redundancy, ensuring continuous service even during endpoint outages. The configuration process is designed to be straightforward, enabling users to manage their AI infrastructure with flexibility and reliability.

Use Cases and Compatibility with Coding Agents

AI Gateway now supports Private Inference, enabling users to connect their own model endpoints to the platform. This feature is particularly useful for developers who want to integrate private models into coding agents such as Claude Code, Codex, and Cursor, as noted in Vercel. By leveraging Private Inference, users can maintain control over their models while benefiting from the AI Gateway's infrastructure. For detailed information on supported model types, requirements, and billing details, users are directed to the Private Inference documentation, as outlined in Vercel. This compatibility enhances the flexibility of AI Gateway, making it a more versatile tool for developers and organizations looking to deploy custom models within a secure environment, as described in Vercel.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more