# Interface CliTokenUsage

Token usage information from CLI response.

interface CliTokenUsage {
inputTokens: number;
outputTokens: number;
cachedInputTokens?: number;
totalTokens?: number;
}

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:28

##### Index

### Properties

inputTokens
outputTokens
cachedInputTokens?
totalTokens?

## Properties

### `Readonly` inputTokens

inputTokens: number

Input tokens consumed

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:30

### `Readonly` outputTokens

outputTokens: number

Output tokens generated

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:32

### `Optional` `Readonly` cachedInputTokens

cachedInputTokens?: number

Cached input tokens (if applicable)

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:34

### `Optional` `Readonly` totalTokens

totalTokens?: number

Total tokens (input + output)

- Defined in packages/nexus-agents/src/cli-adapters/types-core.ts:36