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

    Interface PresetModel

    A model we know about, with what the provider docs say about it.

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

    Hierarchy (View Summary)

    Index
    maxOutput?: number

    Upper bound on generated tokens.

    reasoning?: boolean

    Whether the model can think before it answers.

    parallelToolCalls?: boolean

    Whether the model can ask for more than one tool call in one turn.

    pricePerMTokIn?: number

    USD per million input tokens. Needs priceSource.

    pricePerMTokOut?: number

    USD per million output tokens. Needs priceSource.

    priceSource?: string

    Where the prices come from, and when they were checked.

    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.