CoAgent8
    Preparing search index...

    Function parsePriceList

    • Reads an OpenRouter-shaped { data: [{ id, pricing, created }] }, where pricing holds completion, prompt, input_cache_read, input_cache_write, input_cache_write_1h and overrides.

      Parameters

      • payload: unknown

      Returns ListedPrice[] | undefined

      The entries with an output price, or undefined when the payload has none. Variants (:batch, :free) are left out.