Skip to content
Source
Sign inSign up
TanStack/schemas

Clear BytePlus prices the pricing page no longer names (#646) #647

Mergedtombeckenhammerged 1 commit intomain fromrefs/pull/647/headmerged by tombeckenham View on GitHub

tombeckenhamcommented

Fixes #646.

What happened

BytePlus removed the folded "Retiring models" tables from the ModelArk pricing page on 2026-11-12. This is not a parser miss: I fetched the live page on 2026-11-13 and none of the 8 ids appears anywhere in its text.

  • seed-1-6-250915, seed-1-6-flash-250715, seed-1-8-251228, glm-4-7-251222, deepseek-v3-2-251201, seedance-1-5-pro-251215: no seed-1-6*, seed-1-8*, glm-4-7*, deepseek-v3-2* or seedance-1-5* string on the page.
  • seed-2-0-lite-260228, seed-2-0-mini-260215: the page now prices only the -260428 snapshots.

The adapter returned nothing for these rows, so each poll kept the stored card and logged pricing_lost.

Change

  • byteplusNamedIds collects every model-id-shaped word in the page text and is cached with the parsed page.
  • A catalog id the page does not name (exact, or undated plus -YYMMDD, the same rule as byteplusRatesFor) is now absent.pricing: 'cleared'. The stored card is nulled instead of being served as current.
  • An id the page names but no table prices (a row the parser cannot read) is unchanged: stored card kept, pricing_lost logged. The page failing to load or parse still throws.
  • DOCS_CACHE_VERSION v41 → v42, since the cached pricing entry gained named.

No parser fixture added: there is no row left on the page to read.

Effect on the next poll

Run against the live pages with the embedded catalog: 20 rows priced, 12 cleared (the 8 above plus 4 rows that never had a card: seed-1-6-250615, seed-1-6-flash-250615, seed-audio-1.0, seed-asr).

Prod serves 36 priced BytePlus rows, so 8 clears is under the refusesPriceClears bound (5 or more and over half) and will be applied. Each of the 8 rows gets one model.updated with pricing: null.

Checks

pnpm run lint, pnpm run typecheck, pnpm run test (252 files, 2467 tests) pass. No packages/* change, so no changeset.

🤖 Generated with Claude Code

    1. ⚠️ No Changeset found

      Latest commit: 026232cac0985ae8ae792a3bcd874deef1468273

      Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

      This PR includes no changesets

      When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

      Click here to learn what changesets are, and how to add one.

      Click here if you're a maintainer who wants to add a changeset to this PR

    2. Warning

      Review limit reached

      You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

      Next included review available in 19 minutes.

      Check out review usage here.

      View limit details

      Limit details: You’ve used the included review currently available.

      Learn how review limits work.

      Review configuration:

      Run configuration

      • Source mode: Auto
      • Repository: Unavailable
      • Branch: Unavailable
      • File: No configuration file from this repository applied
      • Commit: Unavailable
      • Layers: defaults
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: b7524243-7e37-49ad-9dbd-dea60e4c2f73
      Commits

      Reviewing files that changed from the base of the PR and between a1a8a23ce9018f2817c4918f48057599f09344f3 and 026232cac0985ae8ae792a3bcd874deef1468273.

      Files selected for processing: 4

      • CLAUDE.md
      • src/server/providers/byteplus-pricing.ts
      • src/server/providers/byteplus.test.ts
      • src/server/providers/model-facts.ts
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      Share

    3. tombeckenham linked this to fix #646

    4. tanstack-source added labelsbug

    5. tombeckenham merged this9d6cc15

    6. tombeckenham closed this

Sign in to join this conversation.