OpenTelemetry SDK
    Preparing search index...

    Variable ATTR_GEN_AI_USAGE_INPUT_TOKENSConst Experimental

    ATTR_GEN_AI_USAGE_INPUT_TOKENS: "gen_ai.usage.input_tokens" = ...

    The number of tokens used in the GenAI input (prompt).

    100
    

    This value SHOULD include all types of input tokens, including cached tokens. Instrumentations SHOULD make a best effort to populate this value, using a total provided by the provider when available or, depending on the provider API, by summing different token types parsed from the provider output.

    This attribute is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.