Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ All notable changes to ClawRouter.

---

## v0.12.297 — October 20, 2026

### Mistral Large 4 at its list price

Mistral's launch promotion ended, and blockrun moved `mistral/mistral-large-4`
from $0.68/$2.09 to $1.36/$4.18. The local price table follows, so a pin on it
reserves the real rate against `maxCostPerRun` instead of half of it.

### router-core 8773a99: two more verified tool fallbacks

`@blockrun/router-core` moves to 8773a99. A live probe confirmed well-formed
tool calls from `deepseek/deepseek-v4.1-flash` and `openai/gpt-6.1-sol`, so
both join the verified tool fallbacks behind the configured chains. No primary
changes on the core's 88-request decision snapshot.

## v0.12.296 — October 20, 2026

### Gemini 4 Argon in the catalog
Expand Down
74 changes: 37 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,43 +528,43 @@ No Surf account, no API key — settles directly to Surf's Base treasury in USDC

### Mid-Range Models ($0.001–$0.01/request)

| Model | Input $/M | Output $/M | ~$/request | Context | Features |
| --------------------------- | --------: | ---------: | ---------: | ------- | -------------------------------------------- |
| anthropic/claude-haiku-4.5 | $1.00 | $5.00 | $0.0030 | 200K | vision, agentic, tools |
| zai/glm-5 | $1.00 | $3.20 | $0.0021 | 200K | reasoning, tools |
| mistral/mistral-large-4 | $1.36 | $4.18 | $0.0028 | 512K | reasoning, vision, tools |
| tencent/hy4-preview | $0.834 | $2.501 | $0.0017 | 1M | reasoning (Tencent Hy4, 770B MoE) |
| openai/gpt-5.6-terra-pro | $2.00 | $12.00 | $0.0070 | 1M | reasoning, vision, agentic, tools |
| openai/o3-mini | $1.10 | $4.40 | $0.0028 | 128K | reasoning, tools |
| openai/o4-mini | $1.10 | $4.40 | $0.0028 | 128K | reasoning, tools |
| google/gemini-2.5-pro | $1.25 | $10.00 | $0.0056 | 1M | reasoning, vision, tools |
| zai/glm-5.2 | $1.40 | $4.40 | $0.0029 | 1M | reasoning, coding, tools (flagship) |
| zai/glm-5.1 | $1.40 | $4.40 | $0.0029 | 200K | reasoning, tools (promo ended 2026-06-05) |
| deepseek/deepseek-v4-pro | $1.32 | $3.96 | $0.0026 | 1M | reasoning, agentic, tools (V4 flagship) |
| qwen/qwen3.7-max | $1.475 | $4.425 | $0.0030 | 1M | reasoning, agentic, tools (Qwen flagship) |
| qwen/qwen3.8-max | $2.00 | $6.00 | $0.0040 | 1M | reasoning (Qwen 3.8 flagship) |
| xai/grok-4.3 | $1.25 | $2.50 | $0.0019 | 1M | reasoning, vision, agentic, tools |
| google/gemini-4-argon | $2.00 | $10.00 | $0.0060 | 1M | reasoning, vision, tools (Google frontier) |
| google/gemini-3.8-flash | $0.75 | $3.75 | $0.0023 | 1M | reasoning, vision, tools (newest Flash) |
| google/gemini-3.6-flash | $0.75 | $3.75 | $0.0023 | 1M | reasoning, vision, tools (thinking mode) |
| google/gemini-3.5-flash | $1.50 | $9.00 | $0.0053 | 1M | reasoning, vision, tools (thinking) |
| xai/grok-4.5 | $2.00 | $6.00 | $0.0040 | 500K | reasoning, vision, agentic, tools |
| xai/grok-4.7 | $2.00 | $6.00 | $0.0040 | 500K | reasoning, vision, agentic, tools |
| xai/grok-4.6 | $2.00 | $6.00 | $0.0040 | 500K | reasoning, vision, agentic, tools |
| xai/grok-build-0.1 | $1.00 | $2.00 | $0.0015 | 256K | agentic coding, tools |
| openai/gpt-5.2 | $1.75 | $14.00 | $0.0079 | 400K | reasoning, vision, agentic, tools |
| openai/gpt-5.3-codex | $1.75 | $14.00 | $0.0079 | 400K | agentic, tools |
| openai/gpt-5.1 | $1.25 | $10.00 | $0.0056 | 400K | reasoning, vision, agentic, tools |
| openai/gpt-4.1 | $2.00 | $8.00 | $0.0050 | 128K | vision, tools |
| openai/o3 | $2.00 | $8.00 | $0.0050 | 200K | reasoning, tools |
| google/gemini-3.1-pro | $2.00 | $12.00 | $0.0070 | 1M | reasoning, vision, tools |
| openai/gpt-4o | $2.50 | $10.00 | $0.0063 | 128K | vision, agentic, tools |
| openai/gpt-5.4 | $2.50 | $15.00 | $0.0088 | 1M | reasoning, vision, agentic, tools |
| openai/gpt-5.6-terra | $2.00 | $12.00 | $0.0070 | 1M | reasoning, vision, agentic, tools |
| openai/gpt-6-sol | $2.00 | $10.00 | $0.0060 | 1M | reasoning, vision, agentic, tools (GPT-6) |
| openai/gpt-6.1-sol | $2.00 | $10.00 | $0.0060 | 1M | reasoning, vision, agentic, tools (GPT-6.1) |
| anthropic/claude-sonnet-5.5 | $2.00 | $10.00 | $0.0060 | 1M | reasoning, vision, agentic, tools |
| anthropic/claude-sonnet-5 | $2.00 | $10.00 | $0.0060 | 1M | reasoning, vision, agentic, tools |
| Model | Input $/M | Output $/M | ~$/request | Context | Features |
| --------------------------- | --------: | ---------: | ---------: | ------- | ------------------------------------------- |
| anthropic/claude-haiku-4.5 | $1.00 | $5.00 | $0.0030 | 200K | vision, agentic, tools |
| zai/glm-5 | $1.00 | $3.20 | $0.0021 | 200K | reasoning, tools |
| mistral/mistral-large-4 | $1.36 | $4.18 | $0.0028 | 512K | reasoning, vision, tools |
| tencent/hy4-preview | $0.834 | $2.501 | $0.0017 | 1M | reasoning (Tencent Hy4, 770B MoE) |
| openai/gpt-5.6-terra-pro | $2.00 | $12.00 | $0.0070 | 1M | reasoning, vision, agentic, tools |
| openai/o3-mini | $1.10 | $4.40 | $0.0028 | 128K | reasoning, tools |
| openai/o4-mini | $1.10 | $4.40 | $0.0028 | 128K | reasoning, tools |
| google/gemini-2.5-pro | $1.25 | $10.00 | $0.0056 | 1M | reasoning, vision, tools |
| zai/glm-5.2 | $1.40 | $4.40 | $0.0029 | 1M | reasoning, coding, tools (flagship) |
| zai/glm-5.1 | $1.40 | $4.40 | $0.0029 | 200K | reasoning, tools (promo ended 2026-06-05) |
| deepseek/deepseek-v4-pro | $1.32 | $3.96 | $0.0026 | 1M | reasoning, agentic, tools (V4 flagship) |
| qwen/qwen3.7-max | $1.475 | $4.425 | $0.0030 | 1M | reasoning, agentic, tools (Qwen flagship) |
| qwen/qwen3.8-max | $2.00 | $6.00 | $0.0040 | 1M | reasoning (Qwen 3.8 flagship) |
| xai/grok-4.3 | $1.25 | $2.50 | $0.0019 | 1M | reasoning, vision, agentic, tools |
| google/gemini-4-argon | $2.00 | $10.00 | $0.0060 | 1M | reasoning, vision, tools (Google frontier) |
| google/gemini-3.8-flash | $0.75 | $3.75 | $0.0023 | 1M | reasoning, vision, tools (newest Flash) |
| google/gemini-3.6-flash | $0.75 | $3.75 | $0.0023 | 1M | reasoning, vision, tools (thinking mode) |
| google/gemini-3.5-flash | $1.50 | $9.00 | $0.0053 | 1M | reasoning, vision, tools (thinking) |
| xai/grok-4.5 | $2.00 | $6.00 | $0.0040 | 500K | reasoning, vision, agentic, tools |
| xai/grok-4.7 | $2.00 | $6.00 | $0.0040 | 500K | reasoning, vision, agentic, tools |
| xai/grok-4.6 | $2.00 | $6.00 | $0.0040 | 500K | reasoning, vision, agentic, tools |
| xai/grok-build-0.1 | $1.00 | $2.00 | $0.0015 | 256K | agentic coding, tools |
| openai/gpt-5.2 | $1.75 | $14.00 | $0.0079 | 400K | reasoning, vision, agentic, tools |
| openai/gpt-5.3-codex | $1.75 | $14.00 | $0.0079 | 400K | agentic, tools |
| openai/gpt-5.1 | $1.25 | $10.00 | $0.0056 | 400K | reasoning, vision, agentic, tools |
| openai/gpt-4.1 | $2.00 | $8.00 | $0.0050 | 128K | vision, tools |
| openai/o3 | $2.00 | $8.00 | $0.0050 | 200K | reasoning, tools |
| google/gemini-3.1-pro | $2.00 | $12.00 | $0.0070 | 1M | reasoning, vision, tools |
| openai/gpt-4o | $2.50 | $10.00 | $0.0063 | 128K | vision, agentic, tools |
| openai/gpt-5.4 | $2.50 | $15.00 | $0.0088 | 1M | reasoning, vision, agentic, tools |
| openai/gpt-5.6-terra | $2.00 | $12.00 | $0.0070 | 1M | reasoning, vision, agentic, tools |
| openai/gpt-6-sol | $2.00 | $10.00 | $0.0060 | 1M | reasoning, vision, agentic, tools (GPT-6) |
| openai/gpt-6.1-sol | $2.00 | $10.00 | $0.0060 | 1M | reasoning, vision, agentic, tools (GPT-6.1) |
| anthropic/claude-sonnet-5.5 | $2.00 | $10.00 | $0.0060 | 1M | reasoning, vision, agentic, tools |
| anthropic/claude-sonnet-5 | $2.00 | $10.00 | $0.0060 | 1M | reasoning, vision, agentic, tools |

### Premium Models ($0.01+/request)

Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/electron/core/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { AdapterContext } from "./types.js";
import { ensureServiceToken, verifyClawRouter } from "./service-auth.js";

/** Keep in sync with the root package; runtime-version.test.ts enforces it. */
export const CLAWROUTER_PACKAGE_VERSION = "0.12.296";
export const CLAWROUTER_PACKAGE_VERSION = "0.12.297";

export function managedBin(context: AdapterContext, name: string): string {
const suffix = process.platform === "win32" ? ".cmd" : "";
Expand Down
31 changes: 27 additions & 4 deletions dist/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -45962,10 +45962,9 @@ var init_dist = __esm({
supportsVision: false
},
"deepseek/deepseek-v4.1-flash": {
// supportsTools: not probed — fails closed
contextWindow: 1048576,
maxOutputTokens: 65536,
supportsTools: false,
supportsTools: true,
supportsVision: false
},
"google/gemini-2.5-flash": {
Expand Down Expand Up @@ -46028,6 +46027,13 @@ var init_dist = __esm({
supportsTools: true,
supportsVision: true
},
"google/gemini-4-argon": {
// supportsTools: not probed — fails closed
contextWindow: 1048576,
maxOutputTokens: 65536,
supportsTools: false,
supportsVision: true
},
"minimax/minimax-m2.7": {
contextWindow: 204800,
maxOutputTokens: 16384,
Expand Down Expand Up @@ -46249,10 +46255,9 @@ var init_dist = __esm({
supportsVision: true
},
"openai/gpt-6.1-sol": {
// supportsTools: not probed — fails closed
contextWindow: 105e4,
maxOutputTokens: 128e3,
supportsTools: false,
supportsTools: true,
supportsVision: true
},
"openai/o1": {
Expand Down Expand Up @@ -46507,6 +46512,14 @@ var init_dist = __esm({
errorRate: 0,
samples: 3
},
"deepseek/deepseek-v4.1-flash": {
measuredAt: "2026-10-20T18:12:51Z",
latencyMs: 2383.5,
p95LatencyMs: 2547.8,
outputTokensPerSecond: 216.53,
errorRate: 0,
samples: 3
},
"google/gemini-2.5-flash": {
measuredAt: "2026-08-29T16:51:33Z",
latencyMs: 5416.4,
Expand Down Expand Up @@ -46795,6 +46808,14 @@ var init_dist = __esm({
errorRate: 0,
samples: 3
},
"openai/gpt-6.1-sol": {
measuredAt: "2026-10-20T18:12:51Z",
latencyMs: 11324,
p95LatencyMs: 12747.6,
outputTokensPerSecond: 45.11,
errorRate: 0,
samples: 3
},
"openai/o1": {
measuredAt: "2026-08-29T16:51:33Z",
latencyMs: 4324.9,
Expand Down Expand Up @@ -47019,11 +47040,13 @@ var init_dist = __esm({
"anthropic/claude-fable-5.1",
"anthropic/claude-opus-5.5",
"anthropic/claude-sonnet-5.5",
"deepseek/deepseek-v4.1-flash",
"google/gemini-3.8-flash",
"openai/gpt-5.1",
"openai/gpt-6-astra",
"openai/gpt-6-luna",
"openai/gpt-6-sol",
"openai/gpt-6.1-sol",
"xai/grok-4.6",
"xai/grok-4.7",
"xiaomi/mimo-v2.5"
Expand Down
2 changes: 1 addition & 1 deletion dist/cli.js.map

Large diffs are not rendered by default.

31 changes: 27 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -257437,10 +257437,9 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
supportsVision: false
},
"deepseek/deepseek-v4.1-flash": {
// supportsTools: not probed — fails closed
contextWindow: 1048576,
maxOutputTokens: 65536,
supportsTools: false,
supportsTools: true,
supportsVision: false
},
"google/gemini-2.5-flash": {
Expand Down Expand Up @@ -257503,6 +257502,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
supportsTools: true,
supportsVision: true
},
"google/gemini-4-argon": {
// supportsTools: not probed — fails closed
contextWindow: 1048576,
maxOutputTokens: 65536,
supportsTools: false,
supportsVision: true
},
"minimax/minimax-m2.7": {
contextWindow: 204800,
maxOutputTokens: 16384,
Expand Down Expand Up @@ -257724,10 +257730,9 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
supportsVision: true
},
"openai/gpt-6.1-sol": {
// supportsTools: not probed — fails closed
contextWindow: 105e4,
maxOutputTokens: 128e3,
supportsTools: false,
supportsTools: true,
supportsVision: true
},
"openai/o1": {
Expand Down Expand Up @@ -257982,6 +257987,14 @@ var model_profiles_generated_default = {
errorRate: 0,
samples: 3
},
"deepseek/deepseek-v4.1-flash": {
measuredAt: "2026-10-20T18:12:51Z",
latencyMs: 2383.5,
p95LatencyMs: 2547.8,
outputTokensPerSecond: 216.53,
errorRate: 0,
samples: 3
},
"google/gemini-2.5-flash": {
measuredAt: "2026-08-29T16:51:33Z",
latencyMs: 5416.4,
Expand Down Expand Up @@ -258270,6 +258283,14 @@ var model_profiles_generated_default = {
errorRate: 0,
samples: 3
},
"openai/gpt-6.1-sol": {
measuredAt: "2026-10-20T18:12:51Z",
latencyMs: 11324,
p95LatencyMs: 12747.6,
outputTokensPerSecond: 45.11,
errorRate: 0,
samples: 3
},
"openai/o1": {
measuredAt: "2026-08-29T16:51:33Z",
latencyMs: 4324.9,
Expand Down Expand Up @@ -259085,11 +259106,13 @@ var VERIFIED_TOOL_FALLBACKS = [
"anthropic/claude-fable-5.1",
"anthropic/claude-opus-5.5",
"anthropic/claude-sonnet-5.5",
"deepseek/deepseek-v4.1-flash",
"google/gemini-3.8-flash",
"openai/gpt-5.1",
"openai/gpt-6-astra",
"openai/gpt-6-luna",
"openai/gpt-6-sol",
"openai/gpt-6.1-sol",
"xai/grok-4.6",
"xai/grok-4.7",
"xiaomi/mimo-v2.5"
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

31 changes: 27 additions & 4 deletions dist/router/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/router/index.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading