Skip to main content
Products & Tools

Vercel Enhances AI Gateway with Session Tracking

Vercel's AI Gateway now includes a Sessions view to track request routing and caching.

By Precis Daily Newsroom1 min read198 words
AI-summarized from the linked source and published automatically — not human-edited.How this works →
Illustration for: Vercel Enhances AI Gateway with Session Tracking
Illustration

What happened

Vercel has introduced a new feature in its AI Gateway that allows users to monitor how requests are grouped into sessions and how session affinity directs each request. This feature provides visibility into the routing process, enabling users to understand how the system manages interactions.

The update enables users to open individual sessions to see metrics such as cache hit rate, session duration, and the specific path each request takes. Each turn within a session is detailed with the model used and the timing of the request.

Why it matters

This enhancement is significant for developers and users who rely on efficient and predictable performance from AI services. By tracking session affinity, the system can ensure that each turn is processed by the same provider, which improves caching and reduces latency.

Key details

Sessions display the provider responsible for serving the request, along with any previous providers involved in the session. This information helps users understand the flow of data and the involvement of different services.

Users can filter sessions based on various criteria, including turns, client, model, provider, authentication, and cost. This flexibility allows for targeted analysis and management of AI interactions.

Sources

Summarized from the linked originals.

Related stories