Custom reporting now available on AI Gateway
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:
Tagging works with the AI SDK, Chat Completions API, Responses API, OpenResponses API, and Anthropic Messages API.
Then query the reporting endpoint:
Group by time, tag, user, model, provider, and all the other AI parameters.
Example
Use the custom reporting endpoint to get all your customer costs by use case.
Pricing
Charge type
Cost
Tag/User ID
$0.075 per 1,000 unique tag or user ID values written per request
Query
$5 per 1,000 queries to the reporting endpoint
To learn more, read the AI Gateway custom reporting docs.