Custom price for requests at or above context_min_tokens input tokens, in service_tier when it is set. Each tier needs a service_tier, a positive context_min_tokens, or both. Rates it omits keep the base custom rate.

Hierarchy

  • AiGatewayModelPricingTier

Constructors

Properties

contextMinTokens?: number

Minimum input tokens for the price to apply.

Pricing rates for a model.

serviceTier?: string

Provider service tier the price applies to. Lowercase letters, digits, _ and -.

Generated using TypeDoc