Custom Reporting for AI Gateway is now available in beta for Pro and Enterprise users. Slice your AI spend by any dimension: model, provider, user, custom tags, or credential type. A single place for all your AI cost and usage data, including BYOK. All your inference already runs through AI Gateway, which means cost, token, and request data across every model, provider, and credential type is already there. The Custom Reporting API makes it queryable, so you're not logging into separate provider consoles or maintaining a third-party proxy for cost tracking. How it works Tag your requests with `user` and `tags` to attribute costs by customer, feature, team, or environment: import { generateText } from 'ai' ; const { text } = await generateText ( { model : 'anthropic/claude-sonnet-4.6' , prompt : userMessage , providerOptions : { gateway : { user : customer . id , tags : [ customer .…