Skip to content

Sync hand-maintained model lists with the live catalog (2026-10-20) - #26

Merged
VickyXAI merged 2 commits into
mainfrom
feat/live-catalog-2026-10-20
Oct 20, 2026
Merged

VickyXAI merged 2 commits into
mainfrom
feat/live-catalog-2026-10-20

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

What changed

Syncs the hand-maintained model lists with the live gateway catalog (2026-10-20). Two commits:

1. feat(models): sync with the live catalog

  • src/pricing.ts: adds the 10 live ids that had no price — openai/gpt-6.1-sol ($2/$10), google/gemini-3.8-flash ($0.75/$3.75), deepseek/deepseek-v4-flash-vision-exp ($0.30/$1.20), qwen/qwen3.8-max ($2/$6), qwen/qwen3.8-flash ($0.15/$0.47), tencent/hy4-preview ($0.834/$2.501), xiaomi/mimo-v2.5 ($0.14/$0.28), poolside/laguna-s-2.1 ($0.09/$0.18), mistral/mistral-large-4 ($0.68/$2.09), nvidia/muse-glimmer-30b (free). Retired rows are kept on purpose. The table's own comments say it is the price of record for old session-cost records and hidden-but-served ids, so removing them would make old sessions show $0.
  • src/ui/model-picker.ts: adds shortcuts for each new id, using the existing naming (gpt-6.1-sol, gemini-3.8-flash, qwen3.8-max, qwen3.8-flash, hy4, mimo-v2.5, deepseek-vision, mistral, mistral-large-4, laguna-s, muse-glimmer). Stale shortcuts are retargeted: hy3/tencent now point to tencent/hy4-preview, because hy3 was retired on 2026-09-24 and the gateway now redirects it to qwen3.7-flash. grok-4 now points to xai/grok-4.5, the same model as grok. grok-3, grok-fast and grok-4.1 now point to xai/grok-4.3, the model the gateway actually serves for those retired slugs. All other bare aliases are unchanged, and every free alias still resolves to a free model. Adds Mistral, Poolside and Cohere provider groups to the picker.
  • This fork has no src/free-models.ts. The free set is handled through the pricing and picker edits above: muse-glimmer-30b is added, and step-3.7-flash is grouped with the other legacy rows.
  • Tests: updated the pinned shortcuts and the free-chain fixtures, and added a regression test that checks every new id's price and shortcut.

2. fix(pricing): price retired Grok slugs at what the gateway charges
The gateway pins every retired xAI slug to grok-4.3 and bills $1.25/$2.50 (blockrun models.ts + model-maps.ts "Retired -> grok-4.3"). This table still had $3/$15 for grok-3 and grok-4-0709 and $0.2/$0.5 for the fast family. nvidia/kimi-k2.5 moves to the gateway's $0.60/$3.00. This is a separate commit so it can be dropped on its own if you'd rather keep the historical rates.

Sources

  • GET https://blockrun.ai/api/v1/models and https://sol.blockrun.ai/api/v1/models, read 2026-10-20. Every new id is on both chains, and the only difference between the chains is azure/sora-2. No prices were inferred.
  • Gateway catalog, used read-only: blockrun-deploy/src/lib/models.ts, model-maps.ts, and the chat route's MODEL_REDIRECTS, for the retirement and redirect facts.

Checks

  • npm test (build + suite): 395/395 pass.
  • npx tsc --noEmit: clean. node scripts/sync-brand-numbers.mjs --check: up to date. node dist/index.js --help: OK.
  • The repo has no lint script.

No version bump and no CHANGELOG release header.

1bcMax added 2 commits October 19, 2026 23:26
…(2026-10-20)

Source: GET https://blockrun.ai/api/v1/models (Base) and sol.blockrun.ai,
identical except azure/sora-2. Mirrors the Franklin change.

- pricing: add the 10 live ids missing from MODEL_PRICING
  (gpt-6.1-sol, gemini-3.8-flash, deepseek-v4-flash-vision-exp,
  qwen3.8-max/flash, hy4-preview, mimo-v2.5, laguna-s-2.1,
  mistral-large-4, muse-glimmer-30b) at the exact live prices; an
  unpriced id estimates as $0. Retired rows stay as the price-of-record
  for old sessions, per the table's own comments.
- picker: add shortcuts for every new live id; hy3/tencent -> hy4-preview
  (hy3 retired 2026-09-24); grok-4 -> grok-4.5 (follows grok); grok-3,
  grok-fast, grok-4.1 -> grok-4.3 (what the gateway serves them as).
  Bare aliases otherwise unchanged; free aliases stay free. Add
  Mistral/Poolside/Cohere provider groups.
- tests: update pins; add a live-catalog sync regression test.
The gateway pins every retired xAI slug (grok-3, grok-3-mini, grok-4-0709,
grok-2-vision, the grok-4(-1)-fast reasoning/non-reasoning pairs) to
grok-4.3 and bills $1.25/$2.50 (blockrun models.ts + model-maps.ts
"Retired -> grok-4.3"). MODEL_PRICING still held the old per-id list
prices ($3/$15 for grok-3 and grok-4-0709, $0.2/$0.5 for the fast
family), so session cost estimates were off in both directions.

nvidia/kimi-k2.5 moves to the gateway's $0.60/$3.00 (was $0.55/$2.50).
grok-4-fast and grok-4-1-fast are absent from the gateway catalog and
keep their historical rows.
@VickyXAI
VickyXAI merged commit 47fade3 into main Oct 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant