# Export AI Gateway traces with Vercel Drains

DevFeed: [Export AI Gateway traces with Vercel Drains](<https://devfeed.tech/articles/export-ai-gateway-traces-with-vercel-drains-928.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/export-ai-gateway-traces-with-vercel-drains>)

Author: Chloe Tedder

Published: 2026-08-05T05:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [Traces](<https://devfeed.tech/topics/traces.md>), [Vercel](<https://devfeed.tech/topics/vercel.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [integrations](<https://devfeed.tech/tags/integrations.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [traces](<https://devfeed.tech/tags/traces.md>), [vercel](<https://devfeed.tech/tags/vercel.md>)

## AI overview

Vercel AI Gateway now creates an OpenTelemetry trace for every request. Pro and Enterprise teams can export these traces through Vercel Drains to OTLP/HTTP endpoints and supported integrations, with details such as routing, retries, token usage, costs, latency, status, and attribution.

## Source excerpt

AI Gateway now produces an OpenTelemetry trace for every request. Pro and Enterprise teams can send these traces through Vercel Drains to any OTLP/HTTP-compatible endpoint, including native integrations for Braintrust, Dash0, Kubiks, Sentry, and Statsig. Each trace shows the full request lifecycle, including: Model and provider routing Fallback and retry attempts Token usage and cost Time to first token, request duration, and response status Project, deployment, API key, environment, and custom tag attribution Trace Drains do not include prompt or completion content. Sampling controls let you choose how much traffic to export to each drain. AI Gateway traces cost $0.05 per 1,000 traces delivered to each drain, plus the standard Drains rate of $0.50 per GB of data transferred. A request counts once per successful drain delivery, even when AI Gateway makes multiple provider attempts. Failed deliveries do not incur a trace charge. Set up a Trace Drain from your team's Drains settings or learn more in the AI Gateway documentation. Read more