AI Gateway and AI SDK Integration
Unified reporting for all AI Gateway usage

Unified reporting for all AI Gateway usage

3/25/2026

What this post added

Introduces the Custom Reporting API for AI Gateway, allowing programmatic access to cost, token usage, and request volume. Enables detailed breakdown of spend by model, provider, user ID, custom tag, or credential type. Supports tagging requests with 'user' and 'tags' for cost attribution. Provides an example of querying the API and the structure of the returned data.

Read the original post ↗