OFICIAL Vercel Blog

How Tailscale built a customer-facing model router on AI Gateway

What happened
Based on Vercel Blog · Sep 11, 2026

Tailscale integrated Vercel AI Gateway and Sandbox to launch Aperture, a model router that centralizes AI access and agent execution within private networks, replacing fragmented provider keys with a unified, secure interface.

How Tailscale built a customer-facing model router on AI Gateway
Vercel Blog — Vercel
Key points
·
Aperture by Tailscale routes AI model requests through a single API instead of managing separate provider keys for each user or agent.
·
Vercel AI Gateway embeds cost and usage data in responses, eliminating the need for Tailscale to track pricing across hundreds of models.
·
Tailscale migrated its own internal AI requests to Vercel AI Gateway, reducing integration complexity from dozens of provider accounts to one.

Tailscale’s Aperture extends the company’s tailnet concept—already used to unify devices and cloud resources—into AI infrastructure. Instead of managing separate API keys for each model provider, Aperture routes requests through a single API, enabling companies to grant or revoke model access by adding or removing users from the tailnet itself. This approach simplifies administration while maintaining security, as access controls are tied directly to network identity rather than individual provider credentials.

Aperture relies on Vercel AI Gateway for routing and Vercel Sandbox for secure agent execution, eliminating the need for Tailscale to build these layers internally. The decision followed an assessment of the engineering complexity involved in managing diverse provider endpoints, which Tailscale had previously handled for legacy customers. AI Gateway also provides cost transparency by embedding pricing data in responses, a feature Tailscale found absent in many provider APIs, further reducing operational overhead.

Zero data retention (ZDR) was a critical requirement for Aperture, as Tailscale’s customers prioritize data privacy. AI Gateway supports ZDR through global or per-request flags, automatically restricting routing to compliant providers without requiring Tailscale to maintain separate logic. This ensures that model interactions do not retain customer data, aligning with enterprise security policies while simplifying compliance management.

The partnership with Vercel accelerated Tailscale’s development timeline, enabling the team to move from prototype to paying customers in months. By migrating their own internal AI requests to AI Gateway, Tailscale reduced integration complexity from dozens of provider accounts to a single interface, a model they now replicate for enterprise customers seeking to consolidate fragmented AI infrastructure.

Original source → Deals on Clipraptor.com →