From 46ef4103900e0f7c93724c75a632dde002456008 Mon Sep 17 00:00:00 2001 From: 1bcMax Date: Fri, 27 Nov 2026 23:10:08 -0600 Subject: [PATCH 1/4] fix(router_core): re-sync to router-core 92f77ec Ports router-core 53fe783..92f77ec (BlockRunAI/router-core #20, a funded re-probe). config.ts, portfolio.ts and decisions.snapshot.json are unchanged upstream; all 88 cross-language snapshot decisions still match. - model_capabilities: regenerated from the 2026-11-28 model-capabilities.ts (93 entries, equal to the built TS DEFAULT_MODEL_CAPABILITIES). Mistral Large 4, Qwen 3.8 Max/Flash, HY4 Preview and the new GPT-6.1 Terra are tool-capable; Laguna S 2.1 stays fail-closed (500 after payment on Base). Same translation as 53fe783 (comments wrapped at 92 columns); it reproduces the previous port byte for byte from the 53fe783 source. - model_profiles.generated.json copied (85 profiles, five new). - tests: model-capabilities.test.ts changes ported to test_router_core.py (five models move to the probed list; the unprobed case becomes the Laguna S 2.1 fail-closed case). Commit markers 53fe783 -> 92f77ec. --- blockrun_llm/__init__.py | 2 +- blockrun_llm/router_core/__init__.py | 2 +- blockrun_llm/router_core/config.py | 2 +- .../router_core/model_capabilities.py | 21 +++++----- .../router_core/model_profiles.generated.json | 40 +++++++++++++++++++ tests/unit/test_router_core.py | 20 +++++----- tests/unit/test_router_core_audit.py | 2 +- tests/unit/test_router_core_retired_models.py | 2 +- tests/unit/test_router_core_snapshot.py | 2 +- 9 files changed, 68 insertions(+), 25 deletions(-) diff --git a/blockrun_llm/__init__.py b/blockrun_llm/__init__.py index aefc6cd..a931c9b 100644 --- a/blockrun_llm/__init__.py +++ b/blockrun_llm/__init__.py @@ -200,7 +200,7 @@ create_wallet as generate_wallet, # User-friendly alias ) -__version__ = "1.24.0" +__version__ = "1.24.1" __all__ = [ "DECISIONS_DEFAULT_MODEL", "DEFAULT_API_KEY_URL", diff --git a/blockrun_llm/router_core/__init__.py b/blockrun_llm/router_core/__init__.py index 69ea4ce..cb25589 100644 --- a/blockrun_llm/router_core/__init__.py +++ b/blockrun_llm/router_core/__init__.py @@ -2,7 +2,7 @@ Router Core — deterministic, constraint-first model routing. Python port of `@blockrun/router-core `_ -(upstream commit ``53fe783``), the same routing engine the TypeScript SDK and +(upstream commit ``92f77ec``), the same routing engine the TypeScript SDK and the BlockRun gateway use. The package is deliberately product-neutral: task classification, hard capability filtering, portfolio scoring, ordered fallbacks, and routing configuration. It contains no wallet, gateway client, diff --git a/blockrun_llm/router_core/config.py b/blockrun_llm/router_core/config.py index 6b959a0..4db8241 100644 --- a/blockrun_llm/router_core/config.py +++ b/blockrun_llm/router_core/config.py @@ -2,7 +2,7 @@ Default Routing Config Python port of ``@blockrun/router-core`` ``config.ts`` (upstream commit -``53fe783``, 2026-11-27, so it is the same table the TypeScript SDK bundles). +``92f77ec``, 2026-11-27, so it is the same table the TypeScript SDK bundles). V3.5: every tier rung is a public catalog id. All routing parameters as a module constant. Hosts override by passing their diff --git a/blockrun_llm/router_core/model_capabilities.py b/blockrun_llm/router_core/model_capabilities.py index afc2a3d..15932a2 100644 --- a/blockrun_llm/router_core/model_capabilities.py +++ b/blockrun_llm/router_core/model_capabilities.py @@ -8,7 +8,7 @@ product catalog is temporarily unavailable, without importing product code. GENERATED upstream by ``scripts/sync-model-capabilities.mjs`` from the public -catalog (GET https://blockrun.ai/api/v1/models) on 2026-11-27; ``supports_tools`` +catalog (GET https://blockrun.ai/api/v1/models) on 2026-11-28; ``supports_tools`` comes from a live function-calling probe. Re-sync from ``model-capabilities.ts`` rather than editing by hand — a hand edit is lost on the next sync. """ @@ -246,11 +246,10 @@ "supports_tools": True, "supports_vision": False, }, - # supportsTools: not probed — fails closed "mistral/mistral-large-4": { "context_window": 524_288, "max_output_tokens": 262_144, - "supports_tools": False, + "supports_tools": True, "supports_vision": True, }, "moonshot/kimi-k3.1-pro": { @@ -477,6 +476,12 @@ "supports_tools": True, "supports_vision": True, }, + "openai/gpt-6.1-terra": { + "context_window": 1_050_000, + "max_output_tokens": 128_000, + "supports_tools": True, + "supports_vision": True, + }, "openai/gpt-6.2-astra": { "context_window": 1_050_000, "max_output_tokens": 128_000, @@ -495,7 +500,7 @@ "supports_tools": True, "supports_vision": False, }, - # supportsTools: not probed — fails closed + # supportsTools: gateway unavailable at probe time — fails closed "poolside/laguna-s-2.1": { "context_window": 1_048_576, "max_output_tokens": 131_072, @@ -529,21 +534,19 @@ "qwen/qwen3.8-flash": { "context_window": 1_000_000, "max_output_tokens": 131_072, - "supports_tools": False, + "supports_tools": True, "supports_vision": True, }, - # supportsTools: not probed — fails closed "qwen/qwen3.8-max": { "context_window": 1_000_000, "max_output_tokens": 131_072, - "supports_tools": False, + "supports_tools": True, "supports_vision": False, }, - # supportsTools: not probed — fails closed "tencent/hy4-preview": { "context_window": 1_048_576, "max_output_tokens": 64_000, - "supports_tools": False, + "supports_tools": True, "supports_vision": False, }, "xai/grok-4.3": { diff --git a/blockrun_llm/router_core/model_profiles.generated.json b/blockrun_llm/router_core/model_profiles.generated.json index af6e5d8..321e7f9 100644 --- a/blockrun_llm/router_core/model_profiles.generated.json +++ b/blockrun_llm/router_core/model_profiles.generated.json @@ -255,6 +255,14 @@ "errorRate": 0, "samples": 3 }, + "mistral/mistral-large-4": { + "measuredAt": "2026-11-28T04:13:09Z", + "latencyMs": 6174.9, + "p95LatencyMs": 7306.8, + "outputTokensPerSecond": 84.27, + "errorRate": 0, + "samples": 3 + }, "moonshot/kimi-k3": { "measuredAt": "2026-08-29T16:51:33Z", "latencyMs": 24498.9, @@ -479,6 +487,14 @@ "errorRate": 0, "samples": 3 }, + "openai/gpt-6.1-terra": { + "measuredAt": "2026-11-28T04:14:35Z", + "latencyMs": 6020, + "p95LatencyMs": 6378.1, + "outputTokensPerSecond": 57.78, + "errorRate": 0, + "samples": 3 + }, "openai/gpt-6.2-astra": { "measuredAt": "2026-11-27T23:25:03Z", "latencyMs": 7973.9, @@ -551,6 +567,22 @@ "errorRate": 0, "samples": 3 }, + "qwen/qwen3.8-flash": { + "measuredAt": "2026-11-28T04:13:09Z", + "latencyMs": 8271.9, + "p95LatencyMs": 8495, + "outputTokensPerSecond": 61.95, + "errorRate": 0, + "samples": 3 + }, + "qwen/qwen3.8-max": { + "measuredAt": "2026-11-28T04:13:09Z", + "latencyMs": 15575.9, + "p95LatencyMs": 16331, + "outputTokensPerSecond": 32.95, + "errorRate": 0, + "samples": 3 + }, "tencent/hy3": { "measuredAt": "2026-08-29T16:51:33Z", "latencyMs": 6062.3, @@ -559,6 +591,14 @@ "errorRate": 0, "samples": 3 }, + "tencent/hy4-preview": { + "measuredAt": "2026-11-28T04:13:09Z", + "latencyMs": 9049.2, + "p95LatencyMs": 9460.4, + "outputTokensPerSecond": 56.69, + "errorRate": 0, + "samples": 3 + }, "xai/grok-4.3": { "measuredAt": "2026-08-29T16:51:33Z", "latencyMs": 9467.7, diff --git a/tests/unit/test_router_core.py b/tests/unit/test_router_core.py index e0dc041..077ef0a 100644 --- a/tests/unit/test_router_core.py +++ b/tests/unit/test_router_core.py @@ -1658,15 +1658,20 @@ class TestGeneratedModelCapabilitySnapshot: "google/gemini-4-carbon", "google/gemini-4-hydrogen", "google/gemini-4-neon", + "mistral/mistral-large-4", "nvidia/nemotron-3.5-bolt", "openai/gpt-5.1", "openai/gpt-5.6-luna-pro", "openai/gpt-6-astra", "openai/gpt-6-luna", "openai/gpt-6-sol", + "openai/gpt-6.1-terra", "openai/gpt-6.2-astra", "openai/gpt-6.2-sol", "poolside/laguna-xs-2.1", + "qwen/qwen3.8-flash", + "qwen/qwen3.8-max", + "tencent/hy4-preview", "xai/grok-4.6", "xai/grok-4.7", "xiaomi/mimo-v2.5", @@ -1675,19 +1680,14 @@ class TestGeneratedModelCapabilitySnapshot: def test_accepts_a_live_probed_tool_call(self, model): assert DEFAULT_MODEL_CAPABILITIES[model]["supports_tools"] is True - @pytest.mark.parametrize( - "model", ["deepseek/deepseek-v4-flash-vision-exp", "qwen/qwen3.8-flash"] - ) + @pytest.mark.parametrize("model", ["deepseek/deepseek-v4-flash-vision-exp"]) def test_keeps_a_model_out_of_tool_required_routes_after_an_invalid_tool_response(self, model): assert DEFAULT_MODEL_CAPABILITIES[model]["supports_tools"] is False - # The 2026-11-27 probe could not reach these (the probe wallet ran dry - # mid-run, so no request was charged or answered): still no evidence. - @pytest.mark.parametrize( - "model", ["mistral/mistral-large-4", "qwen/qwen3.8-max", "tencent/hy4-preview"] - ) - def test_keeps_an_unprobed_model_out_of_tool_required_routes(self, model): - assert DEFAULT_MODEL_CAPABILITIES[model]["supports_tools"] is False + # Paid twice on Base (2026-11-28) and answered 500 after payment both + # times: no tool evidence, so it fails closed until a probe succeeds. + def test_keeps_laguna_s_2_1_out_of_tool_required_routes_while_the_gateway_500s_it(self): + assert DEFAULT_MODEL_CAPABILITIES["poolside/laguna-s-2.1"]["supports_tools"] is False # ─── rules.test.ts ─── diff --git a/tests/unit/test_router_core_audit.py b/tests/unit/test_router_core_audit.py index bbcc46d..f702f05 100644 --- a/tests/unit/test_router_core_audit.py +++ b/tests/unit/test_router_core_audit.py @@ -1,6 +1,6 @@ """ Regression tests for the Router Core re-sync to upstream ``273c2af``, kept in -step with upstream ``53fe783``. +step with upstream ``92f77ec``. 1:1 ports of upstream ``hardening.test.ts`` (the 2026-11 router-core audit: inputs that produced a wrong classification, a NaN ranking, an unbounded scan diff --git a/tests/unit/test_router_core_retired_models.py b/tests/unit/test_router_core_retired_models.py index 0e4f78c..ad42b09 100644 --- a/tests/unit/test_router_core_retired_models.py +++ b/tests/unit/test_router_core_retired_models.py @@ -2,7 +2,7 @@ Provider retirements the gateways answer with a REDIRECT, and the 2026-11-27 generation refresh. -1:1 port of upstream ``src/retired-models.test.ts`` at ``53fe783``. +1:1 port of upstream ``src/retired-models.test.ts`` at ``92f77ec``. A redirect is silent by design: the gateway rewrites the model id before it prices or routes, so a retired id left in a chain never errors — the router diff --git a/tests/unit/test_router_core_snapshot.py b/tests/unit/test_router_core_snapshot.py index 2bcf185..cb60fa5 100644 --- a/tests/unit/test_router_core_snapshot.py +++ b/tests/unit/test_router_core_snapshot.py @@ -2,7 +2,7 @@ Cross-language decision-snapshot parity. ``router_core_decisions.snapshot.json`` is a verbatim copy of upstream -``src/decisions.snapshot.json`` at commit ``53fe783`` — 88 complete decisions the +``src/decisions.snapshot.json`` at commit ``92f77ec`` — 88 complete decisions the TypeScript engine produced for a frozen corpus (22 prompts x 4 profiles with rotating tool/vision/structured-output shapes, frozen pricing, frozen clock). This test recomputes every decision with the Python port and compares field From 46dd22d91440716adf17bc4620ae3f2dbb93abc3 Mon Sep 17 00:00:00 2001 From: 1bcMax Date: Fri, 27 Nov 2026 23:10:08 -0600 Subject: [PATCH 2/4] chore(release): 1.24.1 --- CHANGELOG.md | 18 ++++++++++++++++++ VERSION | 2 +- pyproject.toml | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71eb73f..a24f2ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,24 @@ All notable changes to blockrun-llm will be documented in this file. ## Unreleased +## 1.24.1 — 2026-11-27 + +### Changed +- **`router_core` re-synced to upstream `@blockrun/router-core` `92f77ec`** + (was `53fe783`), a funded re-probe of the models that had no tool-call + evidence. No routing decision moves: all 88 cross-language snapshot + decisions are unchanged and still match the TypeScript engine. + - Mistral Large 4, Qwen 3.8 Max, Qwen 3.8 Flash, Hunyuan 4 Preview and the + newly listed GPT-6.1 Terra returned a well-formed tool call, so the + capability snapshot marks them tool-capable. None of them is in a chain + or the tool-call rescue list; they serve a tool-required turn only when a + caller pins them or a host's evidence pool reaches them. + - `poolside/laguna-s-2.1` answered 500 after payment on both probe runs, so + it stays out of tool-required routes. Plain chat to it is unchanged. + - The capability snapshot is synced to the 2026-11-28 catalog (93 text + models), and model performance profiles are refreshed from upstream + (five new profiles). + ## 1.24.0 — 2026-11-27 ### Changed diff --git a/VERSION b/VERSION index 53cc1a6..f9e8384 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.24.0 +1.24.1 diff --git a/pyproject.toml b/pyproject.toml index dee9bef..6cf89f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "blockrun-llm" -version = "1.24.0" +version = "1.24.1" description = "BlockRun SDK - Pay-per-request AI (LLM, Image, Video, Music, Voice) via x402 on Base and Solana" readme = "README.md" license = "MIT" From b9e2a621e6efbf91db44b19bade12236a5941fa7 Mon Sep 17 00:00:00 2001 From: 1bcMax Date: Fri, 27 Nov 2026 23:26:53 -0600 Subject: [PATCH 3/4] chore(router_core): commit the router-core capability converter scripts/port_router_core_capabilities.py translates upstream src/model-capabilities.ts into blockrun_llm/router_core/model_capabilities.py: same entries and order, override comments wrapped at 92 columns, catalog date updated, the rest of the module header kept. It reads from a router-core checkout (--router-core --ref ) or a copy of the .ts file, and --check compares without writing. Verified: on 92f77ec it reproduces the committed file byte for byte (93 entries), and on 53fe783 it reproduces the 1.24.0 port. Passes black and ruff (pinned versions). CHANGELOG line under 1.24.1. --- CHANGELOG.md | 5 + scripts/port_router_core_capabilities.py | 128 +++++++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 scripts/port_router_core_capabilities.py diff --git a/CHANGELOG.md b/CHANGELOG.md index a24f2ad..6364197 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,11 @@ All notable changes to blockrun-llm will be documented in this file. - The capability snapshot is synced to the 2026-11-28 catalog (93 text models), and model performance profiles are refreshed from upstream (five new profiles). + - `scripts/port_router_core_capabilities.py` regenerates + `model_capabilities.py` from a router-core checkout (`--router-core + --ref `) or a copy of `model-capabilities.ts`; `--check` + verifies the committed file. Run on `92f77ec` it reproduces the committed + file byte for byte, and on `53fe783` it reproduces the 1.24.0 port. ## 1.24.0 — 2026-11-27 diff --git a/scripts/port_router_core_capabilities.py b/scripts/port_router_core_capabilities.py new file mode 100644 index 0000000..2937a64 --- /dev/null +++ b/scripts/port_router_core_capabilities.py @@ -0,0 +1,128 @@ +"""Regenerate ``blockrun_llm/router_core/model_capabilities.py`` from upstream. + +Upstream ``@blockrun/router-core`` generates ``src/model-capabilities.ts`` from +the public catalog plus a live function-calling probe. This script translates +that file to the Python port: same entries, same order, same override comments +(wrapped at 92 columns), with the catalog date in the module docstring updated. +The rest of the module header is kept from the current Python file. + +Usage, from the repository root, against a router-core checkout at a commit: + + python scripts/port_router_core_capabilities.py \\ + --router-core ../router-core --ref 92f77ec + +or against a copy of the TypeScript file: + + python scripts/port_router_core_capabilities.py --ts-file model-capabilities.ts + +``--check`` writes nothing and exits 1 if the committed file differs from what +the source would generate. Rerunning it on the commit named in +``blockrun_llm/router_core/__init__.py`` must reproduce the committed file byte +for byte. + +A re-sync also needs ``src/model-profiles.generated.json`` copied to +``blockrun_llm/router_core/model_profiles.generated.json``, the upstream commit +markers updated, and upstream test changes mirrored by hand. +""" + +from __future__ import annotations + +import argparse +import re +import subprocess +import sys +import textwrap +from pathlib import Path + +REPO_ROOT = Path(__file__).resolve().parent.parent +TARGET = REPO_ROOT / "blockrun_llm" / "router_core" / "model_capabilities.py" +TS_PATH = "src/model-capabilities.ts" +COMMENT_WIDTH = 92 + +_ENTRY = re.compile( + r'^ "([^"]+)": \{(?: // (.*))?\n' + r" contextWindow: ([\d_]+),\n" + r" maxOutputTokens: ([\d_]+),\n" + r" supportsTools: (true|false),\n" + r" supportsVision: (true|false),\n" + r" \},$", + re.MULTILINE, +) +_KEY = re.compile(r'^ "([^"]+)": \{', re.MULTILINE) +_DATE = re.compile(r"(api/v1/models\) on )(\d{4}-\d{2}-\d{2})") + + +def port(ts: str, current_py: str) -> str: + """Return the Python module for ``ts``, keeping ``current_py``'s header.""" + date_match = _DATE.search(ts) + if date_match is None: + raise ValueError("no catalog date found in the TypeScript header") + head, sep, _ = current_py.partition("DEFAULT_MODEL_CAPABILITIES: Mapping") + if not sep: + raise ValueError("DEFAULT_MODEL_CAPABILITIES not found in the current Python file") + head = _DATE.sub(lambda m: m.group(1) + date_match.group(2), head) + + body = ts[ts.index("Object.freeze({") :] + entries = _ENTRY.findall(body) + if [e[0] for e in entries] != _KEY.findall(body): + raise ValueError("an entry in the TypeScript file does not have the expected shape") + + out = [ + head, + "DEFAULT_MODEL_CAPABILITIES: Mapping[str, ModelCapabilities] = MappingProxyType(\n", + " {\n", + ] + for key, comment, context, max_output, tools, vision in entries: + if comment: + lines = textwrap.wrap(comment, width=COMMENT_WIDTH) + out.append("\n".join(" # " + line for line in lines) + "\n") + out.append( + f' "{key}": {{\n' + f' "context_window": {context},\n' + f' "max_output_tokens": {max_output},\n' + f' "supports_tools": {tools.capitalize()},\n' + f' "supports_vision": {vision.capitalize()},\n' + " },\n" + ) + out.append(" }\n)\n") + return "".join(out) + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + source = parser.add_mutually_exclusive_group(required=True) + source.add_argument("--router-core", type=Path, help="path to a router-core git checkout") + source.add_argument("--ts-file", type=Path, help="path to a model-capabilities.ts file") + parser.add_argument("--ref", default="HEAD", help="router-core commit (default: HEAD)") + parser.add_argument("--check", action="store_true", help="compare only; write nothing") + args = parser.parse_args(argv) + + if args.ts_file is not None: + ts = args.ts_file.read_text(encoding="utf-8") + else: + ts = subprocess.run( + ["git", "-C", str(args.router_core), "show", f"{args.ref}:{TS_PATH}"], + check=True, + capture_output=True, + text=True, + encoding="utf-8", + ).stdout + + current = TARGET.read_text(encoding="utf-8") + generated = port(ts, current) + count = generated.count('"context_window"') + + if args.check: + if generated != current: + print(f"{TARGET.relative_to(REPO_ROOT)} is out of date ({count} entries)") + return 1 + print(f"{TARGET.relative_to(REPO_ROOT)} is up to date ({count} entries)") + return 0 + + TARGET.write_text(generated, encoding="utf-8") + print(f"wrote {TARGET.relative_to(REPO_ROOT)} ({count} entries)") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) From 0ef25e6797bbc790e14937f1202a63fdb1d2014b Mon Sep 17 00:00:00 2001 From: 1bcMax Date: Fri, 27 Nov 2026 23:34:01 -0600 Subject: [PATCH 4/4] docs: README model list matches the 2026-11-28 catalogs Adds GPT-6.2 Astra, GPT-6.1 Terra, Gemini 4 Neon and Hydrogen, and the three models listed only on Solana (Meta Muse Wonder 1.0 and Spark 1.3, Reflection Beam 1.0); marks Laguna S 2.1 as not for tool calls, matching llm-ts #132. --- CHANGELOG.md | 6 ++++++ README.md | 22 ++++++++++++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6364197..8422884 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,12 @@ All notable changes to blockrun-llm will be documented in this file. verifies the committed file. Run on `92f77ec` it reproduces the committed file byte for byte, and on `53fe783` it reproduces the 1.24.0 port. +### Docs +- README model list matches the 2026-11-28 catalogs: adds GPT-6.2 Astra, + GPT-6.1 Terra, Gemini 4 Neon and Hydrogen, and a "Listed on Solana only" + table (Meta Muse Wonder 1.0 and Spark 1.3, Reflection Beam 1.0); marks + Laguna S 2.1 as not for tool calls. + ## 1.24.0 — 2026-11-27 ### Changed diff --git a/README.md b/README.md index f80de45..eeccd59 100644 --- a/README.md +++ b/README.md @@ -530,13 +530,17 @@ and `client.list_image_models()` return exactly what the gateway is charging. The GPT-6 generation: Astra is the flagship for long-horizon agentic work and computer use, Sol the cost-efficient tier for complex coding (`gpt-6.2-sol` is the -newest Sol, `gpt-6.1-sol` the one before it), Luna the fast low-cost tier. +newest Sol, `gpt-6.1-sol` the one before it), Terra (`gpt-6.1-terra`) the cheaper +tier for coding, computer use and agents at scale, Luna the fast low-cost tier. +`gpt-6.2-astra` is the newest Astra. | Model | Context | |---|---| +| `openai/gpt-6.2-astra` | 1.05M | | `openai/gpt-6-astra` | 1.05M | | `openai/gpt-6.2-sol` | 1.05M | | `openai/gpt-6.1-sol` | 1.05M | +| `openai/gpt-6.1-terra` | 1.05M | | `openai/gpt-6-sol` | 1.05M | | `openai/gpt-6-luna` | 1.05M | @@ -611,8 +615,10 @@ longer at the same token price. | Model | Context | Notes | |---|---|---| +| `google/gemini-4-neon` | 1M | Newest Gemini 4 — agentic coding and knowledge work | | `google/gemini-4-carbon` | 1M | | | `google/gemini-4-argon` | 1M | | +| `google/gemini-4-hydrogen` | 1M | Fast, efficient Gemini 4 for everyday coding and agents | | `google/gemini-3.1-pro` | 1M | | | `google/gemini-3.8-flash` | 1M | | | `google/gemini-3.6-flash` | 1M | | @@ -687,7 +693,19 @@ only ranks what `/v1/models` lists. |---|---|---| | `mistral/mistral-large-4` | 512K | Mistral flagship — reasoning, coding, image input | | `tencent/hy4-preview` | 1M | Hy4 — 770B open-weight MoE (Apache 2.0) | -| `poolside/laguna-s-2.1` | 1M | 118B open-weight coding model | +| `poolside/laguna-s-2.1` | 1M | 118B open-weight coding model. Not for tool calls: the 2026-11-28 tool probe got a 500 after payment, so smart routing never sends it a tool-calling turn. Plain chat works | + +### Listed on Solana only + +These are in the Solana catalog +([sol.blockrun.ai](https://sol.blockrun.ai/api/v1/models)) but not the Base +one; call them with `chain="solana"`. + +| Model | Context | Notes | +|---|---|---| +| `meta/muse-wonder-1.0` | 1M | Meta's frontier model (preview), image + text input, always reasons | +| `meta/muse-spark-1.3` | 1M | Meta's current general model, image + text input, always reasons | +| `reflection/beam-1.0-501b-a23b` | 1M | Open-weight 501B MoE reasoning model for coding and long-horizon agents | ### Free Tier