Repository navigation
Sync hand-maintained model lists with the live catalog (2026-10-20) - #215
Merged
Merged
Conversation
added 2 commits
October 19, 2026 23:19
…(2026-10-20) Source: GET https://blockrun.ai/api/v1/models (Base) and sol.blockrun.ai, identical except azure/sora-2. - pricing: add the 10 live ids missing from the offline fallback table (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. Retired rows stay: the table is the price-of-record for old sessions and hidden-but-served ids, per its own comments. - free tier: nemotron-3-nano-30b was delisted 2026-09-08; drop it from FREE_PREFERENCE_ORDER and FREE_MODEL_CONTEXT_WINDOWS, move it to LEGACY_FREE_MODEL_IDS. Add muse-glimmer-30b to the live free set (not to the routing order: it has not been measured on /v1/messages). - 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); nano-30b -> free default. 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"). The fallback table 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/free-models.constants.ts:nvidia/nemotron-3-nano-30bwas delisted on 2026-09-08, so it is removed fromFREE_PREFERENCE_ORDERandFREE_MODEL_CONTEXT_WINDOWSand moved toLEGACY_FREE_MODEL_IDS.muse-glimmer-30bis added to the live free set, but not to the routing order, because it has not been measured on/v1/messages. The other dead free ids (mistral-nemotron,nemotron-nano-*,nemotron-3-super-*,step-3.7-flash) are only inLEGACY_FREE_MODEL_IDS, where they keep old sessions priced at $0 and keep stale pins behind the paid-approval gate. Nothing routes to them, so they stay.nano-30bnow points to the free default.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): 919/919 pass. One run had a timing flake in the unrelated Detach tool test, and it passed on rerun.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.