Member Junction
    Preparing search index...
    • Prices the audio tokens a realtime run stored, per direction, at the prices in the model vendor's resolved configuration (Realtime.Pricing.AudioInput / AudioOutput, per 1M tokens). For each direction: null when the run stored no audio tokens for it; otherwise the priced line, or why the tokens stay on the default line at the cost row's rate: no usable price (a partial price counts as none), a unit other than 'Per 1M Tokens', or a currency other than the cost row's.

      Parameters

      • record: RealtimeUsageRecord

        The run's stored usage record.

      • configuration: AIConfigurationSections

        The model vendor's resolved model configuration.

      • rowCurrency: string

        The currency of the run's cost row, which the run's cost is in.

      Returns AudioTokensPricing