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

Hierarchy

  • AiGatewayModelAutomaticPricing

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
lastValidatedAt: Date

Time the price was last revalidated against the source.

The reviewed endpoint mapping used to identify a custom provider. Omitted when the provider and model identity matched exactly.

Request fields that select each priced mode, such as speed: fast for anthropic models. Omitted when the model has a single mode.

observedAt: Date

Time the price was observed in the source.

Published rates.

The pricing source entry the price was read from.

stale: boolean

True when the price has not been revalidated recently and is being retained as last-known-good.

Generated using TypeDoc