output
    Preparing search index...

    Interface LLMGenerationCost

    Normalized LLM generation cost trace attribute.

    interface LLMGenerationCost {
        input: number;
        items: LLMGenerationCostItem[];
        modelId: string;
        output: number;
        pricingFreshness?: LLMGenerationCostPricingFreshness;
        providerId: string;
        status: LLMGenerationCostStatus;
        tools: number;
        total: number;
        type: "llm:generation:cost";
    }

    Hierarchy

    • unknown
      • LLMGenerationCost
    Index

    Properties

    input: number
    modelId: string
    output: number

    How current the rate table was. Absent on costs recorded before this field existed.

    providerId: string
    tools: number
    total: number
    type: "llm:generation:cost"