You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Track token usage and performance metrics across all AI providers with normalized usage objects.
4
+
---
5
+
# {{ $frontmatter.title }}
6
+
7
+
Track token consumption and performance metrics from AI provider responses. All providers return normalized usage statistics for consistent cost tracking and monitoring.
-**Generation** (Request Proxy) - Coordinates execution, holds configuration, provides synchronous/async methods. Created by invocation, it's lazy—execution doesn't start until you call `.prompt_now`, `.embed_now`, or `.prompt_later`.
63
-
-**Response** (Result) - Contains messages, metadata, token usage, and parsed output. Returned after Generation executes.
63
+
-**Response** (Result) - Contains messages, metadata, and normalized usage statistics (see **[Usage Statistics](/actions/usage)**). Returned after Generation executes.
0 commit comments