Informational source pricing, not gateway billing configuration. Prices can differ by provider, mode, and input length.

Hierarchy

  • AiGatewayModelReferencePrice

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
amount: string

Exact decimal amount per unit, zero or greater, represented as a string to preserve precision. Supports fixed decimal and exponent notation.

component: string

Token category priced, such as input, output, cache_read, or cache_write.

contextMaxTokens?: number

Largest input length covered by this price. Omitted when there is no upper bound.

contextMinTokens: number

Input length above which this price applies. Zero identifies the base tier.

currency: string

Currency of the price. The only supported value is USD.

mode: string

Source mode name. Standard is the base mode; other values, such as fast, are source-defined.

serviceTier?: string

Provider service tier explicitly associated with this mode by the source. Omitted when unknown.

unit: string

Unit of the quoted amount. The only supported value is million_tokens.

Generated using TypeDoc