Skip to content
Source
Sign inSign up
TanStack/schemas

mistral: Medium 3.5 ids log pricing_lost parser_miss although the catalog record states a price (after #784) #785 (GitHub #784)

Opentombeckenham opened this issue 0 comments
tombeckenhamcommented

After #782/#784 the Mistral model pages parse again. The first full poll (2026-11-27T09:36Z, deploy e9aeb09) logged pricing_lost reason=parser_miss for six ids plus one update_storm: mistral-medium-2604, mistral-medium, mistral-medium-3, mistral-vibe-cli-latest, mistral-vibe-cli-with-tools, mistral-vibe-cli-fast.

They all belong to the deprecated page https://docs.mistral.ai/models/mistral-medium-3-5-26-04. That page's own catalog record (status deprecated, isFree: false) states pricing: [{direction: input, label: Input, unit: /M Tokens, priceUsd: 1.5}, {direction: output, label: Output, unit: /M Tokens, priceUsd: 7.5}]. The page also embeds the successor mistral-large-4-0 record, with its own prices (0.7 input, 0.07 cached input, ...).

So the price is stated, but it doesn't reach these rows. Likely suspects in src/server/providers/mistral-pricing.ts:

  • parseMistralPagePrice(body) runs first and may pick up or refuse because of the embedded successor's widget or price.
  • The overview's id→slug map (slugsFromCatalog) may not send these ids to this slug.
  • The bySlug / alias path may skip the page.

Reproduce with the live page and the live overview, and fix so these rows get the $1.50/$7.50 card from their own record. Stay fail-closed. Before #784 this page threw (so the row was unavailable and quiet), which is why the miss only shows now. Bump DOCS_CACHE_VERSION (main is v53) if the parse changes.

  1. tombeckenham assignedtombeckenham

  2. tombeckenham linked this to #786

Sign in to join this conversation.