Langfuse JS/TS SDKs
    Preparing search index...

    Interface OpenAiResponseUsageSchema

    OpenAI Usage schema from Response API

    interface OpenAiResponseUsageSchema {
        input_tokens: number;
        input_tokens_details?: Record<string, undefined | number>;
        output_tokens: number;
        output_tokens_details?: Record<string, undefined | number>;
        total_tokens: number;
    }
    Index

    Properties

    input_tokens: number
    input_tokens_details?: Record<string, undefined | number>
    output_tokens: number
    output_tokens_details?: Record<string, undefined | number>
    total_tokens: number