Member Junction
    Preparing search index...

    One line of a prompt run's cost. The lines add up to the run's Cost, in its CostCurrency.

    interface PromptRunCostLine {
        Cost: number;
        CostRowID: string;
        Input: number;
        Measure: string;
        Modality: string;
        Output: number;
    }
    Index

    Properties

    Cost: number

    The line's cost, to 8 decimals.

    CostRowID: string

    The MJ: AI Model Costs row that priced the line; null for a line priced from the model configuration.

    Input: number

    The input quantity priced on the line, cache reads and writes included.

    Measure: string

    What the line's quantities count. The default line counts in its cost row's measure ('Tokens', or 'Seconds' for a time-priced run); the avatar video line counts 'Seconds' at a per-minute price, 'Tokens' at a per-token price.

    Modality: string

    null for the default line (the run's cost row); 'Video' for the avatar video line.

    Output: number

    The output quantity priced on the line; on the default line, after the video line took its tokens.