Vercel

How AI Gateway runs on Fluid compute

Nov 6, 2025
How AI Gateway runs on Fluid compute
SummaryAI, from the source post

This post details how Vercel's AI Gateway leverages Fluid compute and Active CPU Pricing for scalable and cost-efficient operation. It explains the architecture, including the use of Vercel's global delivery network for low-latency routing and in-region Redis for state management and caching. The post highlights Fluid's in-function concurrency model, which allows for server-like efficiency by reusing instances and persisting state across invocations, reducing network overhead and costs. It also describes the monitoring system that combines health checks with in-memory statistics from Fluid instances for self-correction and automatic adjustments.

More from the AI Gateway and AI SDK Integration trail