# Cross-link map: AI Gateway Trace Drains (/docs/ai-gateway/observability-and-spend/trace-drains)

> From the Vercel docs graph (built 2026-09-23T15:15:53.078Z), spanning vercel.com docs + KB, nextjs.org, ai-sdk.dev, and other Vercel documentation sites. Full graph as JSON: https://vercel.com/docs/graph.json

## Semantically closest pages

- [Trace Drains Reference](https://vercel.com/docs/drains/reference/traces?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=semantic) — Learn about Trace Drains - OpenTelemetry-compliant distributed tracing data formats and configuration.
- [Export AI Gateway traces with Vercel Drains](https://vercel.com/changelog/export-ai-gateway-traces-with-vercel-drains?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=semantic)
- [Working with Drains](https://vercel.com/docs/drains?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=semantic) — Drains collect logs, traces, speed insights, and analytics from your applications. Forward observability data to custom
- [Using Drains](https://vercel.com/docs/drains/using-drains?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=semantic) — Learn how to configure drains to forward observability data to custom HTTP endpoints, dedicated Audit Log destinations,
- [Tracing](https://vercel.com/docs/tracing?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=semantic) — Learn how to trace your application to understand performance and infrastructure details.

## This page links to (8)

- [AI Gateway Authentication and BYOK](https://vercel.com/docs/ai-gateway/authentication-and-byok?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=outbound) — Authenticate AI Gateway requests with API keys or OIDC tokens, and configure bring your own key \\(BYOK\\) credentials for
- [AI Gateway Provider Routing and Fallbacks](https://vercel.com/docs/ai-gateway/models-and-providers/provider-options?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=outbound) — Configure provider routing, ordering, and fallback behavior in Vercel AI Gateway.
- [AI Gateway Provider Timeouts](https://vercel.com/docs/ai-gateway/models-and-providers/provider-timeouts?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=outbound) — Configure AI Gateway timeouts for BYOK providers. Fail over to the next provider when a request takes too long to start
- [AI Gateway Pricing](https://vercel.com/docs/ai-gateway/pricing?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=outbound) — Understand AI Gateway token pricing, free and paid credits, BYOK costs, add-on charges, and payment fees. Manage credit
- [AI Gateway Zero Data Retention \\(ZDR\\)](https://vercel.com/docs/ai-gateway/security-and-compliance/zdr?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=outbound) — Learn about zero data retention policies and how to enforce ZDR on a per-request basis with AI Gateway.
- [Working with Drains](https://vercel.com/docs/drains?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=outbound) — Drains collect logs, traces, speed insights, and analytics from your applications. Forward observability data to custom
- [Trace Drains Reference](https://vercel.com/docs/drains/reference/traces?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=outbound) — Learn about Trace Drains - OpenTelemetry-compliant distributed tracing data formats and configuration.
- [Using Drains](https://vercel.com/docs/drains/using-drains?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=outbound) — Learn how to configure drains to forward observability data to custom HTTP endpoints, dedicated Audit Log destinations,

## Pages that link here (6)

By site: vercel-changelog (1) · vercel-docs (5)

### From vercel-changelog

- [Export AI Gateway traces with Vercel Drains](https://vercel.com/changelog/export-ai-gateway-traces-with-vercel-drains?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=inbound)

### From vercel-docs

- [AI Gateway FAQ](https://vercel.com/docs/ai-gateway/faq?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=inbound) — Answers to common questions about AI Gateway, including request errors, pricing and markup, SDK and API compatibility, m
- [AI Gateway Observability and Spend](https://vercel.com/docs/ai-gateway/observability-and-spend?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=inbound) — Monitor AI Gateway requests and control costs with logs, generation lookup, custom reporting, budgets, and OpenTelemetry
- [AI Gateway Request Logs](https://vercel.com/docs/ai-gateway/observability-and-spend/logs?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=inbound) — Search, filter, and follow individual AI Gateway requests, inspect provider routing for one request, and export the resu
- [AI Gateway Generation Lookup and Usage API](https://vercel.com/docs/ai-gateway/observability-and-spend/usage?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=inbound) — Look up an AI Gateway generation by ID to inspect its provider, latency, token usage, cost, and finish reason, or check
- [AI Gateway Pricing](https://vercel.com/docs/ai-gateway/pricing?from=graph&source_path=%2Fdocs%2Fai-gateway%2Fobservability-and-spend%2Ftrace-drains&source_site=vercel-docs&relationship=inbound) — Understand AI Gateway token pricing, free and paid credits, BYOK costs, add-on charges, and payment fees. Manage credit
