effect-io-ai

Package: @effect/ai
Module: Response

Response.Usage

Represents usage information for a request to a large language model provider.

If the model provider returns additional usage information than what is specified here, you can generally find that information under the provider metadata of the finish part of the response.

Signature

declare class Usage

Source

Since v1.0.0