Polyman Documentation - v3.1.0
    Preparing search index...

    Interface ModelInfo

    A model a provider offers.

    interface ModelInfo {
        id: string;
        contextWindow?: number;
        supportsTools?: boolean;
        maxOutput?: number;
        reasoning?: boolean;
        pricePerMTokIn?: number;
        pricePerMTokOut?: number;
    }

    Hierarchy (View Summary)

    Index
    id: string

    Model id, as the provider names it.

    contextWindow?: number

    Context window in tokens, when the provider reports it.

    supportsTools?: boolean

    Whether the model supports tool calls, when the provider reports it.

    maxOutput?: number

    Upper bound on generated tokens, when the provider reports it.

    reasoning?: boolean

    Whether the model can think before it answers, when reported.

    pricePerMTokIn?: number

    USD per million input tokens, when the provider reports it.

    pricePerMTokOut?: number

    USD per million output tokens, when the provider reports it.