Repository navigation
Sync hand-maintained model lists with the live catalog (2026-10-20) - #26
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/tencentnow point totencent/hy4-preview, because hy3 was retired on 2026-09-24 and the gateway now redirects it to qwen3.7-flash.grok-4now points toxai/grok-4.5, the same model asgrok.grok-3,grok-fastandgrok-4.1now point toxai/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.src/free-models.ts. The free set is handled through the pricing and picker edits above:muse-glimmer-30bis added, andstep-3.7-flashis grouped with the other legacy rows.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.5moves 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/modelsandhttps://sol.blockrun.ai/api/v1/models, read 2026-10-20. Every new id is on both chains, and the only difference between the chains isazure/sora-2. No prices were inferred.blockrun-deploy/src/lib/models.ts,model-maps.ts, and the chat route'sMODEL_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.No version bump and no CHANGELOG release header.