# Interface TokenMetrics

Token usage metrics.

interface TokenMetrics {
inputTokens: number;
outputTokens: number;
totalTokens: number;
avgTokensPerOp: number;
}

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:51

##### Index

### Properties

inputTokens
outputTokens
totalTokens
avgTokensPerOp

## Properties

### `Readonly` inputTokens

inputTokens: number

Total input tokens.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:53

### `Readonly` outputTokens

outputTokens: number

Total output tokens.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:55

### `Readonly` totalTokens

totalTokens: number

Total tokens (input + output).

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:57

### `Readonly` avgTokensPerOp

avgTokensPerOp: number

Average tokens per operation.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:59