Attributes of a model pricing resource.

Hierarchy

  • AiGatewayModelPricingAttributes

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
authoritative?: boolean

True when models.dev pricing is authoritative for this organization and provider.

The published models.dev price. Present only when it is the effective price.

blocksBudgetedRequests?: boolean

True when a BLOCK budget covering this model rejects its requests before they reach the provider.

costMultiplier?: number

Effective provider multiplier applied to every reported rate.

durationPriced?: boolean

True when the provider bills this model per minute of audio instead of per token, as with transcription models. The gateway prices only per token, so it can't charge for these models, and a per-token override can't express their rate.

Effective source of the model pricing data.

Pricing configuration for a model.

Whether the gateway has a price for the model.

unpricedDescription?: string

Human-readable sentence for unpriced_reason. Omitted when the model is priced or the code has no description yet.

unpricedReason?: string

Stable code explaining why the model has no price, such as automatic_price_absent. Omitted when the model is priced.

Generated using TypeDoc