The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
feat(local-models): run Qwen3.8 Flash Next as UD-IQ4_XS with its MTP head
emozillafeaa55d9bb00
diff --git a/hermes_cli/local_runtime/catalog.json b/hermes_cli/local_runtime/catalog.jsonindex a96d85fd29f..eb5d5d89d87 100644--- a/hermes_cli/local_runtime/catalog.json+++ b/hermes_cli/local_runtime/catalog.json@@ -42,29 +42,26 @@{"id": "qwen3.8-flash-next","display_name": "Qwen3.8 Flash Next",- "description": "Frontier-scale model; needs a very large GPU to run well",+ "description": "Frontier-scale mixture-of-experts with multi-token prediction; sees images","repo": "unsloth/Qwen3.8-Flash-Next-GGUF","variants": [{- "quant": "UD-Q4_K_XL",+ "quant": "UD-IQ4_XS","files": [{- "path": "UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf",+ "path": "UD-IQ4_XS/Qwen3.8-Flash-Next-UD-IQ4_XS-00001-of-00003.gguf","size_bytes": 10946624},{- "path": "UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00002-of-00004.gguf",- "size_bytes": 49859583136- },- {- "path": "UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00003-of-00004.gguf",- "size_bytes": 49376141504+ "path": "UD-IQ4_XS/Qwen3.8-Flash-Next-UD-IQ4_XS-00002-of-00003.gguf",+ "size_bytes": 49835229856},{- "path": "UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00004-of-00004.gguf",- "size_bytes": 12087983520+ "path": "UD-IQ4_XS/Qwen3.8-Flash-Next-UD-IQ4_XS-00003-of-00003.gguf",+ "size_bytes": 43836407744}- ]+ ],+ "lazy_bytes": 28800138240}],"n_ctx_train": 262144,@@ -73,12 +70,17 @@"per_layer_f16": 2048,"moe": true,"n_vocab": 248320,+ "mtp_draft_depth": 3,"mmproj": {"path": "mmproj-BF16.gguf","size_bytes": 907542944,"local": "mmproj-Qwen3.8-Flash-Next-BF16.gguf"},- "min_engine": "b10678",+ "mtp_head": {+ "path": "MTP/mtp-Qwen3.8-Flash-Next-Q8_0.gguf",+ "size_bytes": 4137429120+ },+ "min_engine": "b11370","quality": 95,"decode_fraction": 0.08},diff --git a/hermes_cli/local_runtime/catalog.py b/hermes_cli/local_runtime/catalog.pyindex 924ba5fd9de..a037b5793cd 100644--- a/hermes_cli/local_runtime/catalog.py+++ b/hermes_cli/local_runtime/catalog.py@@ -97,6 +97,9 @@ class CatalogEntry:n_vocab: int = 0mmproj: "AssetFile | None" = None # vision projector, downloads with modeldraft: "AssetFile | None" = None # spec-decode draft model (e.g. DSpark)+ # MTP head shipped as its own file (the model carries none): the engine loads it as the+ # draft for MTP spec decode. Downloads with the model.+ mtp_head: "AssetFile | None" = Nonesampling: dict = field(default_factory=dict) # INI long-form launch defaults# Oldest llama.cpp release tag that can load this model (day-0 architectures need the release# where their support landed). Empty means any installed engine.@@ -111,6 +114,16 @@ class CatalogEntry:# recommendation.decode_fraction: float = 1.0+ @property+ def mtp_capable(self) -> bool:+ """MTP spec decode runs, from heads built into the model or shipped beside it."""+ return self.mtp or self.mtp_head is not None++ @property+ def companion_bytes(self) -> int:+ """Companion files the engine loads beside the weights (vision projector, MTP head)."""+ return sum(a.size_bytes for a in (self.mmproj, self.mtp_head) if a is not None)+def profile(self, variant: QuantVariant) -> ModelProfile:layers = ([(LayerKind.FULL, self.per_layer_f16)] * self.full_layers+ [(LayerKind.SWA, self.per_layer_f16)] * self.swa_layers@@ -118,17 +131,16 @@ class CatalogEntry:return ModelProfile(name=variant.model_id, weights_bytes=variant.weights_bytes, embd_table_bytes=0,n_ctx_train=self.n_ctx_train, layers=layers, swa_window=self.swa_window, moe=self.moe,- n_vocab=self.n_vocab, kv_scale=1.2 if self.mtp else 1.0)+ n_vocab=self.n_vocab, kv_scale=1.2 if self.mtp_capable else 1.0)def launch_plan(self, variant: QuantVariant, budget: HardwareBudget) -> LaunchPlan:# Optional external drafts may use spare memory after download, never reduce this grant.- return plan_launch(self.profile(variant), budget, mtp_capable=self.mtp,- fixed_overhead=RUNTIME_OVERHEAD_BYTES- + (self.mmproj.size_bytes if self.mmproj else 0))+ return plan_launch(self.profile(variant), budget, mtp_capable=self.mtp_capable,+ fixed_overhead=RUNTIME_OVERHEAD_BYTES + self.companion_bytes)def download_files(self, variant: QuantVariant) -> tuple:"""Everything a download job fetches for this variant, in order."""- extras = tuple(a for a in (self.mmproj, self.draft) if a is not None)+ extras = tuple(a for a in (self.mmproj, self.draft, self.mtp_head) if a is not None)return tuple(variant.files) + extrasdef download_bytes(self, variant: QuantVariant) -> int:@@ -293,6 +305,7 @@ def _load_catalog(doc: dict) -> "tuple[CatalogEntry, ...]":id=m["id"], display_name=m["display_name"],description=m["description"], repo=m["repo"], variants=variants,mmproj=_asset_from(m.get("mmproj")), draft=_asset_from(m.get("draft")),+ mtp_head=_asset_from(m.get("mtp_head")),**scalars))return tuple(entries)diff --git a/hermes_cli/local_runtime/hf_browse.py b/hermes_cli/local_runtime/hf_browse.pyindex 2289871e2ec..88c09d2ffdc 100644--- a/hermes_cli/local_runtime/hf_browse.py+++ b/hermes_cli/local_runtime/hf_browse.py@@ -89,7 +89,7 @@ def _quant_label(filename: str) -> str:def repo_files(repo: str) -> list[HFFileGroup]:"""The servable GGUFs in a repo, grouped: split parts collapse into one entry (first part is- what llama.cpp loads); mmproj/draft companions are excluded. Largest quant first."""+ what llama.cpp loads); mmproj/draft/MTP-head companions are excluded. Largest quant first."""url = f"{_HF}/api/models/{urllib.parse.quote(repo)}/tree/main?recursive=true"files = _get_json(url)@@ -100,7 +100,8 @@ def repo_files(repo: str) -> list[HFFileGroup]:if not path.lower().endswith(".gguf"):continuename = path.rsplit("/", 1)[-1].lower()- if name.startswith(("mmproj", "dspark")) or "draft" in name:+ # An MTP head (unsloth's mtp-<model>-<quant>.gguf) drafts for its model; it cannot serve.+ if name.startswith(("mmproj", "dspark", "mtp-")) or "draft" in name:continuesize = int(f.get("size") or 0)m = _SPLIT_RE.search(path)diff --git a/hermes_cli/local_runtime/presets.py b/hermes_cli/local_runtime/presets.pyindex 445531fb014..7e50120aa4d 100644--- a/hermes_cli/local_runtime/presets.py+++ b/hermes_cli/local_runtime/presets.py@@ -57,6 +57,28 @@ def _asset_path(asset) -> "Path | None":return path if path.exists() else None+@dataclass(frozen=True)+class _Companions:+ """The files a catalog entry loads beside its weights, as far as they are on disk."""++ mmproj: "Path | None" = None+ mtp_head: "Path | None" = None+ nbytes: int = 0+++def _companions(entry) -> _Companions:+ if entry is None:+ return _Companions()+ mmproj, head = _asset_path(entry.mmproj), _asset_path(entry.mtp_head)+ nbytes = sum(a.size_bytes for a, p in ((entry.mmproj, mmproj), (entry.mtp_head, head)) if p)+ return _Companions(mmproj=mmproj, mtp_head=head, nbytes=nbytes)+++def _runs_mtp(entry, companions: _Companions) -> bool:+ """MTP spec decode runs for a catalog entry: built-in heads, or a shipped head on disk."""+ return entry is not None and (entry.mtp or companions.mtp_head is not None)++def _draft_fits(path: Path, profile, budget: HardwareBudget, window: int, overhead: int) -> bool:"""Optional draft never shrinks the advertised window or displaces its GPU buffers.@@ -95,11 +117,10 @@ def preset_for_model(gguf: Path, budget: HardwareBudget,logger.warning("preset skip %s: %s", gguf.name, exc)return Noneentry = entry_for_model(model_id)- is_mtp = entry.mtp if entry is not None else model_id in mtp_capable+ companions = _companions(entry)+ is_mtp = _runs_mtp(entry, companions) if entry is not None else model_id in mtp_capable- mmproj_path = _asset_path(entry.mmproj) if entry is not None else None- fixed_overhead = RUNTIME_OVERHEAD_BYTES + (- entry.mmproj.size_bytes if entry is not None and mmproj_path is not None else 0)+ fixed_overhead = RUNTIME_OVERHEAD_BYTES + companions.nbytesplan = plan_launch(profile, budget, mtp_capable=is_mtp, fixed_overhead=fixed_overhead,requested_window=(load_window_overrides().get(model_id)if requested_window is None else requested_window))@@ -130,8 +151,11 @@ def preset_for_model(gguf: Path, budget: HardwareBudget,if entry is not None:for k, v in (entry.sampling or {}).items():keys.setdefault(k, v)- if mmproj_path is not None:- keys["mmproj"] = str(mmproj_path)+ if companions.mmproj is not None:+ keys["mmproj"] = str(companions.mmproj)+ if companions.mtp_head is not None:+ # The model carries no MTP layers: draft-mtp drafts from the shipped head instead.+ keys["model-draft"] = str(companions.mtp_head)draft_path = _asset_path(entry.draft) if decision.spilled else Noneif draft_path is not None and _draft_fits(draft_path, profile, budget, decision.window, plan.overhead_bytes):keys["model-draft"] = str(draft_path)@@ -153,10 +177,11 @@ def resident_footprint(gguf: Path, budget: HardwareBudget, window: int) -> int |logger.debug("footprint skip %s: %s", gguf.name, exc)return Noneentry = entry_for_model(model_id)- is_mtp = entry.mtp if entry is not None else False- mmproj = entry.mmproj.size_bytes if entry is not None and _asset_path(entry.mmproj) else 0+ companions = _companions(entry)+ is_mtp = _runs_mtp(entry, companions)plan = plan_launch(profile, budget, mtp_capable=is_mtp,- fixed_overhead=RUNTIME_OVERHEAD_BYTES + mmproj, requested_window=window)+ fixed_overhead=RUNTIME_OVERHEAD_BYTES + companions.nbytes,+ requested_window=window)if is_mtp and profile.kv_scale == 1.0:profile = replace(profile, kv_scale=1.2)return footprint_bytes(profile, window, overhead_bytes=plan.overhead_bytes)@@ -176,10 +201,9 @@ def _launch_footprint(gguf: Path, budget: HardwareBudget) -> int | None:logger.debug("footprint skip %s: %s", gguf.name, exc)return Noneentry = entry_for_model(model_id)- is_mtp = entry.mtp if entry is not None else False- mmproj = entry.mmproj.size_bytes if entry is not None and _asset_path(entry.mmproj) else 0- plan = plan_launch(profile, budget, mtp_capable=is_mtp,- fixed_overhead=RUNTIME_OVERHEAD_BYTES + mmproj,+ companions = _companions(entry)+ plan = plan_launch(profile, budget, mtp_capable=_runs_mtp(entry, companions),+ fixed_overhead=RUNTIME_OVERHEAD_BYTES + companions.nbytes,requested_window=load_window_overrides().get(model_id))if isinstance(plan.decision, PhysicsRefusal):return Nonediff --git a/hermes_cli/web_routers/local_models.py b/hermes_cli/web_routers/local_models.pyindex a982b198a3a..ff512f5b14b 100644--- a/hermes_cli/web_routers/local_models.py+++ b/hermes_cli/web_routers/local_models.py@@ -407,20 +407,20 @@ def _model_id_for(gguf: Path) -> str:def _variant_files_on_disk(model_id: str) -> "list[Path]":- """Every local file of a staged model: all split parts plus catalog-declared assets (mmproj/draft) when present."""+ """Every local file of a staged model: all split parts plus catalog-declared assets (mmproj/draft/MTP head) when present."""files = [p for p in bootstrap.models_dir().glob("*.gguf") if _model_id_for(p) == model_id]hit = catalog.find_entry_for_model(model_id)- assets = (hit[0].mmproj, hit[0].draft) if hit is not None else ()+ assets = (hit[0].mmproj, hit[0].draft, hit[0].mtp_head) if hit is not None else ()files += [bootstrap.assets_dir() / a.local_name for a in assetsif a is not None and (bootstrap.assets_dir() / a.local_name).exists()]return filesdef _download_plan(entry, variant) -> list:- """Everything a variant needs: split parts + mmproj/draft assets, as (url, dest, bytes) tuples."""+ """Everything a variant needs: split parts + mmproj/draft/MTP head assets, as (url, dest, bytes) tuples."""plan = [(_hf_url(entry.repo, a.path), bootstrap.models_dir() / a.local_name, a.size_bytes) for a in variant.files]plan += [(_hf_url(entry.repo, a.path), bootstrap.assets_dir() / a.local_name, a.size_bytes)- for a in (entry.mmproj, entry.draft) if a is not None]+ for a in (entry.mmproj, entry.draft, entry.mtp_head) if a is not None]return plan@@ -574,7 +574,7 @@ def _catalog_row(entry, budget, recommended, recommended_reason, staged_ids) ->"recommended": entry.id == recommended,"recommended_reason": recommended_reason if entry.id == recommended else None,"downloaded": dl is not None, "downloaded_model_id": dl.model_id if dl else None,- "downloaded_quant": dl.quant if dl else None, "mtp": entry.mtp, "vision": entry.mmproj is not None,+ "downloaded_quant": dl.quant if dl else None, "mtp": entry.mtp_capable, "vision": entry.mmproj is not None,# Day-0 architectures need the llama.cpp release where their support landed: True gates# download/activate until the engine updates, but the row still renders (visible + explained beats hidden)."needs_engine": _engine_too_old(entry.min_engine),diff --git a/tests/hermes_cli/test_catalog_variants.py b/tests/hermes_cli/test_catalog_variants.pyindex 9245d43b9b2..7316afb33e3 100644--- a/tests/hermes_cli/test_catalog_variants.py+++ b/tests/hermes_cli/test_catalog_variants.py@@ -24,15 +24,16 @@ def budget(vram_gib: float, ram_gib: float = 64) -> HardwareBudget:def test_every_entry_ships_exactly_one_q4_build():"""No quant ladder: one Q4-class build per entry (K_M where the repo- ships it, XL elsewhere) — the quant class current engines optimize- for. Nothing below Q4 ever ships. Validation status is explicit per- variant in catalog.json; unvalidated builds are permitted (day-0- entries) and surface as unbadged rows in the pane."""+ ships it, XL elsewhere, and the 4-bit IQ4_XS where a vendor recipe+ sized the build to a memory class) — the quant class current engines+ optimize for. Nothing below 4-bit ever ships. Validation status is+ explicit per variant in catalog.json; unvalidated builds are permitted+ (day-0 entries) and surface as unbadged rows in the pane."""for entry in CATALOG:assert len(entry.variants) == 1, (f"{entry.id}: {len(entry.variants)} variants — expected exactly one")build = entry.variants[0]- assert build.quant.startswith(("UD-Q4", "Q4")), (+ assert build.quant.startswith(("UD-Q4", "Q4", "UD-IQ4", "IQ4")), (f"{entry.id}: ships {build.quant}, not a Q4-class build")for asset in entry.download_files(build):assert asset.size_bytes > 0, f"{entry.id}: no size on {asset.path}"@@ -154,10 +155,13 @@ def test_catalog_and_preset_agree_on_identical_model_facts(tmp_path, monkeypatchpath = tmp_path / f"{variant.model_id}.gguf"monkeypatch.setattr(presets, "read_gguf_header", lambda p: SimpleNamespace(sampling_defaults={}))monkeypatch.setattr(presets, "profile_from_gguf", lambda h: profile)- if entry.mmproj:- asset = bootstrap.assets_dir() / entry.mmproj.local_name- asset.parent.mkdir(parents=True, exist_ok=True)- asset.touch()+ # The catalog prices the whole download; the preset prices what is on disk. Agreement is+ # the contract once every companion the download fetches has arrived.+ for companion in (entry.mmproj, entry.mtp_head):+ if companion is not None:+ asset = bootstrap.assets_dir() / companion.local_name+ asset.parent.mkdir(parents=True, exist_ok=True)+ asset.touch()for vram in (16, 24, 32, 48):for uma in (False, True):machine = HardwareBudget(int(vram * GIB * 0.8), vram * GIB,@@ -169,9 +173,10 @@ def test_catalog_and_preset_agree_on_identical_model_facts(tmp_path, monkeypatchcontinueassert row["start_window"] == preset.windowassert row["spilled"] == preset.spilled- overhead = (RUNTIME_OVERHEAD_BYTES + (entry.mmproj.size_bytes if entry.mmproj else 0)- + ub_logits_bytes(profile.n_vocab, mtp_capable=entry.mtp,- mtp_prefill=preset.keys.get("ubatch-size") == "2048" and entry.mtp))+ mtp = entry.mtp_capable+ overhead = (RUNTIME_OVERHEAD_BYTES + entry.companion_bytes+ + ub_logits_bytes(profile.n_vocab, mtp_capable=mtp,+ mtp_prefill=preset.keys.get("ubatch-size") == "2048" and mtp))need = profile.weights_bytes + ctx_bytes(profile, preset.window) + overheadassert preset.spilled == (need > machine.usable_vram_bytes)assert need <= machine.usable_vram_bytes + machine.ram_available_bytesdiff --git a/tests/hermes_cli/test_local_mtp_head.py b/tests/hermes_cli/test_local_mtp_head.pynew file mode 100644index 00000000000..58176eee49b--- /dev/null+++ b/tests/hermes_cli/test_local_mtp_head.py@@ -0,0 +1,62 @@+"""A model whose MTP head ships as its own file.++Qwen3.8 Flash Next carries no MTP layers; unsloth publishes the head beside it+(``MTP/mtp-Qwen3.8-Flash-Next-Q8_0.gguf``) and llama.cpp drafts from it with+``--spec-type draft-mtp --spec-draft-model <head>``. The head downloads with the model, is priced+before and after download, and is the only thing that turns MTP on: ``draft-mtp`` without a head+asks the engine for MTP layers this model does not have.+"""++from __future__ import annotations++from dataclasses import replace+from types import SimpleNamespace++from hermes_cli.local_runtime import bootstrap, catalog, presets+from hermes_cli.local_runtime.catalog import AssetFile, CatalogEntry, QuantVariant+from hermes_cli.local_runtime.estimator import HardwareBudget++GIB = 1 << 30+UNIFIED_128 = HardwareBudget(usable_vram_bytes=int(128 * GIB * 0.8), total_device_bytes=128 * GIB,+ ram_available_bytes=0, uma=True)++BUILD = QuantVariant(quant="UD-IQ4_XS", files=(AssetFile("m/Head-Model-00001-of-00002.gguf", 10 << 20),+ AssetFile("m/Head-Model-00002-of-00002.gguf", 40 * GIB)))+ENTRY = CatalogEntry(+ id="head-model", display_name="Head Model", description="", repo="org/Head-Model-GGUF",+ variants=(BUILD,), n_ctx_train=262144, full_layers=12, recurrent_layers=36, per_layer_f16=2048,+ moe=True, n_vocab=248320, mtp_draft_depth=3,+ mtp_head=AssetFile("MTP/mtp-Head-Model-Q8_0.gguf", 4 * GIB))+++def test_the_head_downloads_with_the_model_and_is_priced_before_download():+ without_head = replace(ENTRY, mtp_head=None)++ assert ENTRY.mtp_head in ENTRY.download_files(BUILD)+ assert ENTRY.mtp_capable and not without_head.mtp_capable+ with_plan = ENTRY.launch_plan(BUILD, UNIFIED_128)+ without_plan = without_head.launch_plan(BUILD, UNIFIED_128)+ assert with_plan.overhead_bytes >= without_plan.overhead_bytes + ENTRY.mtp_head.size_bytes+++def _preset(tmp_path, monkeypatch):+ gguf = tmp_path / "Head-Model-00001-of-00002.gguf"+ monkeypatch.setattr(catalog, "entry_for_model",+ lambda model_id: ENTRY if model_id == BUILD.model_id else None)+ monkeypatch.setattr(presets, "read_gguf_header", lambda p: SimpleNamespace(sampling_defaults={}))+ monkeypatch.setattr(presets, "profile_from_gguf", lambda h: ENTRY.profile(BUILD))+ return presets.preset_for_model(gguf, UNIFIED_128, set())+++def test_the_preset_drafts_from_the_head_once_it_is_on_disk(tmp_path, monkeypatch):+ head = bootstrap.assets_dir() / ENTRY.mtp_head.local_name++ before = _preset(tmp_path, monkeypatch)+ head.parent.mkdir(parents=True, exist_ok=True)+ head.touch()+ after = _preset(tmp_path, monkeypatch)++ assert "spec-type" not in before.keys and "model-draft" not in before.keys+ assert after.keys["model-draft"] == str(head)+ assert after.keys["spec-type"] == "draft-mtp"+ assert after.keys["spec-draft-n-max"] == "3"diff --git a/tests/hermes_cli/test_local_recommendation.py b/tests/hermes_cli/test_local_recommendation.pyindex 8944600c00b..3626b6e13d9 100644--- a/tests/hermes_cli/test_local_recommendation.py+++ b/tests/hermes_cli/test_local_recommendation.py@@ -58,23 +58,24 @@ def _unified(size_gb: int) -> HardwareBudget:# 24 | qwen3.8-27b | (none fits)# 32 | qwen3.8-27b | qwen3.6-35b-a3b# 48 | qwen3.8-27b | qwen3.6-35b-a3b-# 96 | qwen3.8-27b | qwen3.6-35b-a3b-# 128 | qwen3.8-flash-next | qwen3.6-35b-a3b+# 96 | qwen3.8-flash-next | qwen3.8-flash-next+# 128 | qwen3.8-flash-next | qwen3.8-flash-next# 256 | qwen3.8-flash-next | qwen3.8-flash-next# 512 | qwen3.8-flash-next | qwen3.8-flash-next## Reading guide for reviewers:# - Discrete <=16 GB: nothing runs resident; no automatic recommendation.# Browse remains available for explicit spill choices.-# - Discrete 24-96 GB: the 27B is the flagship experience — dense reads+# - Discrete 24-48 GB: the 27B is the flagship experience — dense reads# at ~1 TB/s clear the floor easily, so quality decides.-# - Discrete/unified where Flash Next fits resident (128 GB discrete,-# 256+ GB unified): the frontier model is the pick — highest quality,-# and its sparse decode clears the floor even at UMA bandwidth-# (~24 tok/s predicted at 210 GB/s).-# - Unified 32-128 GB — the Spark class, the reason this resolver-# exists: the dense 27B predicts ~13 tok/s at UMA bandwidth (below-# the pleasant floor), so the 35B-A3B (~60 tok/s) wins.+# - 96 GB and up, discrete or unified: Flash Next fits resident. Its+# IQ4_XS build loads ~60 GiB — the engine reads the 26.8 GiB per-layer+# embedding table from disk on demand — so with its MTP head and+# projector it needs ~74 GiB even at the native 256K window. It is the+# pick: highest quality, and its sparse decode clears the floor even at+# UMA bandwidth (~28 tok/s predicted at 210 GB/s).+# - Unified 32-48 GB: the dense 27B predicts ~13 tok/s at UMA bandwidth+# (below the pleasant floor), so the 35B-A3B (~60 tok/s) wins.# - Unified <=24 GB: no entry passes the physics check inside the UMA# budget (spilling is impossible on UMA by construction — the pool IS# the RAM). The pane's browse flow is the path for those machines@@ -90,10 +91,10 @@ DECISION_TABLE = [(32, "unified", "qwen3.6-35b-a3b", "speed-gated-quality"),(48, "discrete", "qwen3.8-27b", "best-quality-resident"),(48, "unified", "qwen3.6-35b-a3b", "speed-gated-quality"),- (96, "discrete", "qwen3.8-27b", "best-quality-resident"),- (96, "unified", "qwen3.6-35b-a3b", "speed-gated-quality"),+ (96, "discrete", "qwen3.8-flash-next", "best-quality-resident"),+ (96, "unified", "qwen3.8-flash-next", "best-quality-resident"),(128, "discrete", "qwen3.8-flash-next", "best-quality-resident"),- (128, "unified", "qwen3.6-35b-a3b", "speed-gated-quality"),+ (128, "unified", "qwen3.8-flash-next", "best-quality-resident"),(256, "discrete", "qwen3.8-flash-next", "best-quality-resident"),(256, "unified", "qwen3.8-flash-next", "best-quality-resident"),(512, "discrete", "qwen3.8-flash-next", "best-quality-resident"),