Skip to content

Slot: total_tokens

Total number of tokens used for this message (prompt + completion).

URI: ocsf:total_tokens Alias: total_tokens

Applicable Classes

Name Description Modifies Slot
MessageContext Communication context for AI system interactions including protocols, roles, yes

Properties

Type and Range

Property Value
Range Integer
Domain Of MessageContext

Cardinality and Requirements

Property Value

Aliases

  • Total Tokens

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self ocsf:total_tokens
native ocsf:total_tokens

LinkML Source

name: total_tokens
description: Total number of tokens used for this message (prompt + completion).
from_schema: https://w3id.org/lmodel/ocsf
aliases:
- Total Tokens
rank: 1000
alias: total_tokens
domain_of:
- MessageContext
range: integer