@squidcloud/client
    Preparing search index...

    Interface KnowledgeBaseGraphModelUsage

    One model's slice of a KB's graph LLM usage, keyed by the resolved model name. Token counts are the provider-reported ground truth; estCostUsd is estimated from model list prices at call time.

    interface KnowledgeBaseGraphModelUsage {
        cacheReadTokens: number;
        cacheWriteTokens: number;
        estCostUsd: number;
        inputTokens: number;
        llmCalls: number;
        model: string;
        outputTokens: number;
        reasoningTokens: number;
    }
    Index

    Properties

    cacheReadTokens: number

    Input tokens served from the provider's prompt cache.

    cacheWriteTokens: number

    Input tokens written into the provider's prompt cache.

    estCostUsd: number

    Best-effort USD estimated from list prices at call time.

    inputTokens: number

    Prompt (input) tokens.

    llmCalls: number

    Number of LLM calls billed to this model.

    model: string

    The resolved model these totals are attributed to.

    outputTokens: number

    Completion (output) tokens.

    reasoningTokens: number

    Reasoning tokens, where the provider reports them separately.