> ## Documentation Index
> Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Usage

# Interface: Usage

Defined in: [src/lib/logger/components/generation.ts:67](https://github.com/maximhq/maxim-js/blob/main/src/lib/logger/components/generation.ts#L67)

Token usage statistics for a generation request.

## Properties

### completion\_tokens

> **completion\_tokens**: `number`

Defined in: [src/lib/logger/components/generation.ts:69](https://github.com/maximhq/maxim-js/blob/main/src/lib/logger/components/generation.ts#L69)

***

### prompt\_tokens

> **prompt\_tokens**: `number`

Defined in: [src/lib/logger/components/generation.ts:68](https://github.com/maximhq/maxim-js/blob/main/src/lib/logger/components/generation.ts#L68)

***

### total\_tokens

> **total\_tokens**: `number`

Defined in: [src/lib/logger/components/generation.ts:70](https://github.com/maximhq/maxim-js/blob/main/src/lib/logger/components/generation.ts#L70)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.