Circle V2 API Docs
    Preparing search index...

    Type Alias PricedUsage

    Metered token counts. Structurally compatible with RunnerUsage from @repo/ai-agents, which this package cannot import (the dependency runs the other way).

    type PricedUsage = {
        cachedInputTokens: number;
        inputTokens: number;
        outputTokens: number;
    }
    Index

    Properties

    cachedInputTokens: number

    A SUBSET of inputTokens — the provider counts a cache hit in both.

    inputTokens: number
    outputTokens: number