{"slug": "export-ai-gateway-traces-with-vercel-drains", "title": "Export AI Gateway traces with Vercel Drains", "summary": "Vercel's AI Gateway now generates an OpenTelemetry trace for every request, allowing Pro and Enterprise teams to export traces via Vercel Drains to OTLP/HTTP-compatible endpoints such as Braintrust, Dash0, Kubiks, Sentry, and Statsig. Trace Drains cost $0.05 per 1,000 traces delivered per drain, plus the standard Drains rate of $0.50 per GB of data transferred, and exclude prompt and completion content.", "body_md": "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.\n\nEach trace shows the full request lifecycle, including:\n\nModel and provider routing\n\nFallback and retry attempts\n\nToken usage and cost\n\nTime to first token, request duration, and response status\n\nProject, deployment, API key, environment, and custom tag attribution\n\nTrace Drains do not include prompt or completion content. Sampling controls let you choose how much traffic to export to each drain.\n\nAI 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.\n\nSet up a Trace Drain from your team's [Drains settings](https://vercel.com/d?title=Go+to+Drains+settings&to=%2F%5Bteam%5D%2F~%2Fsettings%2Fdrains) or learn more in the AI Gateway [documentation](https://vercel.com/docs/ai-gateway/observability-and-spend/trace-drains).", "url": "https://wpnews.pro/news/export-ai-gateway-traces-with-vercel-drains", "canonical_source": "https://vercel.com/changelog/export-ai-gateway-traces-with-vercel-drains", "published_at": "2026-08-05 05:00:00+00:00", "updated_at": "2026-08-09 13:02:35.532564+00:00", "lang": "en", "topics": ["ai-infrastructure", "ai-tools", "developer-tools"], "entities": ["Vercel", "AI Gateway", "Braintrust", "Dash0", "Kubiks", "Sentry", "Statsig"], "alternates": {"html": "https://wpnews.pro/news/export-ai-gateway-traces-with-vercel-drains", "markdown": "https://wpnews.pro/news/export-ai-gateway-traces-with-vercel-drains.md", "text": "https://wpnews.pro/news/export-ai-gateway-traces-with-vercel-drains.txt", "jsonld": "https://wpnews.pro/news/export-ai-gateway-traces-with-vercel-drains.jsonld"}}