Skip to main content
objectCcusageModelUsage

Fields

modelName
String!

The model name associated with this Claude Code usage model usage.

unattributed
Boolean!

Whether the unattributed condition is true for this Claude Code usage model usage.

Agents associated with this Claude Code usage model usage.

inputTokens
Float!

The input tokens associated with this Claude Code usage model usage.

outputTokens
Float!

The output tokens associated with this Claude Code usage model usage.

cacheCreationTokens
Float!

The cache creation tokens associated with this Claude Code usage model usage.

cacheReadTokens
Float!

The cache read tokens associated with this Claude Code usage model usage.

totalTokens
Float!

The total tokens associated with this Claude Code usage model usage.

totalCost
Float!

The total cost associated with this Claude Code usage model usage.