Skip to content

Commit 5c63fb2

Browse files
author
1bcMax
committed
v0.12.156: restore GitHub origin + add Kimi K2.6
- GitHub org restored: repository.url, README badges, docs, security manifest, release skill, and test comment all repointed to github.com/BlockRunAI/ClawRouter. GitLab kept as `gitlab` mirror remote. - Kimi K2.6 added: moonshot/kimi-k2.6 (256K ctx, vision + reasoning, $0.95/$4.00 per 1M) registered in BLOCKRUN_MODELS with kimi-k2.6 alias, added to /model picker (index.ts, update.sh, reinstall.sh), README pricing table, routing-profiles doc, and SKILL.md model catalog. - Premium routing tier now uses K2.6 as SIMPLE primary and as fallback in MEDIUM/COMPLEX. nvidia/kimi-k2.5 retained as first fallback for reliability. Generic kimi/moonshot aliases still resolve to nvidia/kimi-k2.5 (matches BlockRun server's blockrun/kimi stance).
1 parent 7317ac2 commit 5c63fb2

17 files changed

Lines changed: 110 additions & 39 deletions

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to ClawRouter.
44

55
---
66

7+
## v0.12.156 — Apr 20, 2026
8+
9+
- **Kimi K2.6 added** — Moonshot's new flagship (`moonshot/kimi-k2.6`, 256K context, vision + reasoning, $0.95 in / $4.00 out per 1M) registered in `BLOCKRUN_MODELS` with `kimi-k2.6` alias. Added to the curated `/model` picker list (`src/index.ts`, `scripts/update.sh`, `scripts/reinstall.sh`), the README pricing table, `docs/routing-profiles.md`, and the AI-agent-facing model catalog in `skills/clawrouter/SKILL.md`. Premium routing tier (`blockrun/premium`) now uses K2.6 as the SIMPLE primary and as a fallback in MEDIUM/COMPLEX, with `nvidia/kimi-k2.5` retained as the first fallback for reliability. The generic `kimi`/`moonshot` aliases still resolve to `nvidia/kimi-k2.5` (matches BlockRun server's `blockrun/kimi` stance); users opt in to K2.6 explicitly via `kimi-k2.6` or `blockrun/premium`.
10+
- **GitHub restored as canonical source** — BlockRunAI GitHub org is back. `package.json` `repository.url`, README badges, CONTRIBUTING clone URL, `openclaw.security.json`, all docs (`anthropic-*`, `clawrouter-cuts-*`, `clawrouter-vs-openrouter`, `11-free-ai-models`, `llm-router-benchmark-*`, `smart-llm-router-14-dimension-classifier`, `subscription-failover`, `troubleshooting`), `skills/release/SKILL.md`, and the `sse-error-format` regression-test comment now point at `github.com/BlockRunAI/ClawRouter`. GitLab mirror (`gitlab.com/blockrunai/ClawRouter`) is kept as a secondary remote for redundancy but is no longer advertised. Metadata + docs only; no runtime/code changes.
11+
12+
---
13+
714
## v0.12.155 — Apr 18, 2026
815

916
- **Docs: video generation endpoint** — README now documents `POST /v1/videos/generations` with `xai/grok-imagine-video` ($0.05/sec, 8s default). The proxy handler, cost estimator (`estimateVideoCost`), and local-file download path were already in place in `proxy.ts`; only the README was missing.

README.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Agents can only sign transactions.<br><br>
1818

1919
[![npm version](https://img.shields.io/npm/v/@blockrun/clawrouter.svg?style=flat-square&color=cb3837)](https://npmjs.com/package/@blockrun/clawrouter)
2020
[![npm downloads](https://img.shields.io/npm/dm/@blockrun/clawrouter.svg?style=flat-square&color=blue)](https://npmjs.com/package/@blockrun/clawrouter)
21-
[![GitLab](https://img.shields.io/gitlab/stars/blockrunai/clawrouter?style=flat-square&gitlab_url=https%3A%2F%2Fgitlab.com&label=GitLab%20stars)](https://gitlab.com/blockrunai/clawrouter)
22-
[![pipeline status](https://img.shields.io/gitlab/pipeline-status/blockrunai%2Fclawrouter?branch=main&style=flat-square&label=CI)](https://gitlab.com/blockrunai/clawrouter/-/pipelines)
21+
[![GitHub stars](https://img.shields.io/github/stars/BlockRunAI/ClawRouter?style=flat-square&label=GitHub%20stars)](https://github.com/BlockRunAI/ClawRouter)
22+
[![CI](https://img.shields.io/github/actions/workflow/status/BlockRunAI/ClawRouter/ci.yml?branch=main&style=flat-square&label=CI)](https://github.com/BlockRunAI/ClawRouter/actions)
2323
[![TypeScript](https://img.shields.io/badge/TypeScript-5.7-3178c6?style=flat-square&logo=typescript&logoColor=white)](https://typescriptlang.org)
2424
[![License: MIT](https://img.shields.io/badge/License-MIT-green?style=flat-square)](LICENSE)
2525

@@ -207,16 +207,16 @@ Generate images directly from chat with `/imagegen`:
207207
/imagegen --model banana-pro --size 2048x2048 mountain landscape
208208
```
209209
210-
| Model | Provider | Price | Max Size |
211-
| --------------------------- | --------------------- | ----------- | --------- |
212-
| `nano-banana` | Google Gemini Flash | $0.05/image | 1024x1024 |
213-
| `banana-pro` | Google Gemini Pro | $0.10/image | 4096x4096 |
214-
| `dall-e-3` | OpenAI DALL-E 3 | $0.04/image | 1792x1024 |
215-
| `gpt-image` | OpenAI GPT Image 1 | $0.02/image | 1536x1024 |
216-
| `flux` | Black Forest Flux 1.1 | $0.04/image | 1024x1024 |
217-
| `xai/grok-imagine-image` | xAI Grok Imagine | $0.02/image | 1024x1024 |
218-
| `xai/grok-imagine-image-pro`| xAI Grok Imagine Pro | $0.07/image | 1024x1024 |
219-
| `zai/cogview-4` | Zhipu CogView-4 | $0.015/image| 1440x1440 |
210+
| Model | Provider | Price | Max Size |
211+
| ---------------------------- | --------------------- | ------------ | --------- |
212+
| `nano-banana` | Google Gemini Flash | $0.05/image | 1024x1024 |
213+
| `banana-pro` | Google Gemini Pro | $0.10/image | 4096x4096 |
214+
| `dall-e-3` | OpenAI DALL-E 3 | $0.04/image | 1792x1024 |
215+
| `gpt-image` | OpenAI GPT Image 1 | $0.02/image | 1536x1024 |
216+
| `flux` | Black Forest Flux 1.1 | $0.04/image | 1024x1024 |
217+
| `xai/grok-imagine-image` | xAI Grok Imagine | $0.02/image | 1024x1024 |
218+
| `xai/grok-imagine-image-pro` | xAI Grok Imagine Pro | $0.07/image | 1024x1024 |
219+
| `zai/cogview-4` | Zhipu CogView-4 | $0.015/image | 1440x1440 |
220220
221221
## Video Generation
222222
@@ -228,9 +228,9 @@ curl -X POST http://localhost:8402/v1/videos/generations \
228228
-d '{"model":"xai/grok-imagine-video","prompt":"a red apple slowly spinning"}'
229229
```
230230

231-
| Model | Provider | Price | Duration |
232-
| ------------------------ | ---------------- | ---------- | --------- |
233-
| `xai/grok-imagine-video` | xAI Grok Imagine | $0.05/sec | 8s default |
231+
| Model | Provider | Price | Duration |
232+
| ------------------------ | ---------------- | --------- | ---------- |
233+
| `xai/grok-imagine-video` | xAI Grok Imagine | $0.05/sec | 8s default |
234234

235235
Calls block for 30–120s while xAI polls the job. Text-to-video and image-to-video (`image_url` parameter) are both supported.
236236

@@ -295,6 +295,7 @@ Edit existing images with `/img2img`:
295295
| google/gemini-3-flash-preview | $0.50 | $3.00 | $0.0018 | 1M | vision |
296296
| nvidia/kimi-k2.5 | $0.55 | $2.50 | $0.0015 | 262K | tools |
297297
| moonshot/kimi-k2.5 | $0.60 | $3.00 | $0.0018 | 262K | reasoning, vision, agentic, tools |
298+
| moonshot/kimi-k2.6 | $0.95 | $4.00 | $0.0025 | 262K | reasoning, vision, agentic, tools |
298299

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

@@ -468,8 +469,8 @@ npx @blockrun/clawrouter doctor opus "深度分析我的配置"
468469
## Development
469470

470471
```bash
471-
git clone https://gitlab.com/blockrunai/clawrouter.git
472-
cd clawrouter
472+
git clone https://github.com/BlockRunAI/ClawRouter.git
473+
cd ClawRouter
473474
npm install
474475
npm run build
475476
npm test

dist/cli.js

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73553,9 +73553,11 @@ var DEFAULT_ROUTING_CONFIG = {
7355373553
// codex=complex coding, kimi=simple coding, sonnet=reasoning/instructions, opus=architecture/PM/audits
7355473554
premiumTiers: {
7355573555
SIMPLE: {
73556-
primary: "nvidia/kimi-k2.5",
73557-
// $0.60/$3.00 - good for simple coding
73556+
primary: "moonshot/kimi-k2.6",
73557+
// $0.95/$4.00 - Moonshot flagship (256K ctx, vision + reasoning)
7355873558
fallback: [
73559+
"nvidia/kimi-k2.5",
73560+
// $0.60/$3.00 - proven reliable NVIDIA fallback when Moonshot direct API falters
7355973561
"google/gemini-2.5-flash",
7356073562
// 60% retention, fast growth
7356173563
"anthropic/claude-haiku-4.5",
@@ -73567,6 +73569,8 @@ var DEFAULT_ROUTING_CONFIG = {
7356773569
primary: "openai/gpt-5.3-codex",
7356873570
// $1.75/$14 - 400K context, 128K output, replaces 5.2
7356973571
fallback: [
73572+
"moonshot/kimi-k2.6",
73573+
// Moonshot flagship
7357073574
"nvidia/kimi-k2.5",
7357173575
"google/gemini-2.5-flash",
7357273576
// 60% retention, good coding capability
@@ -73587,6 +73591,8 @@ var DEFAULT_ROUTING_CONFIG = {
7358773591
"google/gemini-3.1-pro",
7358873592
// Newest Gemini
7358973593
"google/gemini-3-pro-preview",
73594+
"moonshot/kimi-k2.6",
73595+
// Moonshot flagship
7359073596
"nvidia/kimi-k2.5"
7359173597
]
7359273598
},
@@ -73744,11 +73750,12 @@ var MODEL_ALIASES = {
7374473750
deepseek: "deepseek/deepseek-chat",
7374573751
"deepseek-chat": "deepseek/deepseek-chat",
7374673752
reasoner: "deepseek/deepseek-reasoner",
73747-
// Kimi / Moonshot — nvidia-hosted is more reliable than moonshot direct API
73753+
// Kimi / Moonshot — K2.6 is Moonshot's flagship (only via Moonshot API). K2.5 stays nvidia-hosted for reliability.
7374873754
kimi: "nvidia/kimi-k2.5",
7374973755
moonshot: "nvidia/kimi-k2.5",
7375073756
"kimi-k2.5": "nvidia/kimi-k2.5",
7375173757
"moonshot/kimi-k2.5": "nvidia/kimi-k2.5",
73758+
"kimi-k2.6": "moonshot/kimi-k2.6",
7375273759
// Google
7375373760
gemini: "google/gemini-2.5-pro",
7375473761
flash: "google/gemini-2.5-flash",
@@ -74261,6 +74268,20 @@ var BLOCKRUN_MODELS = [
7426174268
reasoning: true,
7426274269
toolCalling: true
7426374270
},
74271+
// Kimi K2.6 — Moonshot's current flagship (256K context, vision + reasoning). Only served via Moonshot direct API.
74272+
{
74273+
id: "moonshot/kimi-k2.6",
74274+
name: "Kimi K2.6",
74275+
version: "k2.6",
74276+
inputPrice: 0.95,
74277+
outputPrice: 4,
74278+
contextWindow: 262144,
74279+
maxOutput: 65536,
74280+
reasoning: true,
74281+
vision: true,
74282+
agentic: true,
74283+
toolCalling: true
74284+
},
7426474285
// Kimi K2.5 — prefer nvidia-hosted (more reliable); moonshot direct API is unreliable
7426574286
{
7426674287
id: "nvidia/kimi-k2.5",

dist/cli.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57780,11 +57780,12 @@ var MODEL_ALIASES = {
5778057780
deepseek: "deepseek/deepseek-chat",
5778157781
"deepseek-chat": "deepseek/deepseek-chat",
5778257782
reasoner: "deepseek/deepseek-reasoner",
57783-
// Kimi / Moonshot — nvidia-hosted is more reliable than moonshot direct API
57783+
// Kimi / Moonshot — K2.6 is Moonshot's flagship (only via Moonshot API). K2.5 stays nvidia-hosted for reliability.
5778457784
kimi: "nvidia/kimi-k2.5",
5778557785
moonshot: "nvidia/kimi-k2.5",
5778657786
"kimi-k2.5": "nvidia/kimi-k2.5",
5778757787
"moonshot/kimi-k2.5": "nvidia/kimi-k2.5",
57788+
"kimi-k2.6": "moonshot/kimi-k2.6",
5778857789
// Google
5778957790
gemini: "google/gemini-2.5-pro",
5779057791
flash: "google/gemini-2.5-flash",
@@ -58297,6 +58298,20 @@ var BLOCKRUN_MODELS = [
5829758298
reasoning: true,
5829858299
toolCalling: true
5829958300
},
58301+
// Kimi K2.6 — Moonshot's current flagship (256K context, vision + reasoning). Only served via Moonshot direct API.
58302+
{
58303+
id: "moonshot/kimi-k2.6",
58304+
name: "Kimi K2.6",
58305+
version: "k2.6",
58306+
inputPrice: 0.95,
58307+
outputPrice: 4,
58308+
contextWindow: 262144,
58309+
maxOutput: 65536,
58310+
reasoning: true,
58311+
vision: true,
58312+
agentic: true,
58313+
toolCalling: true
58314+
},
5830058315
// Kimi K2.5 — prefer nvidia-hosted (more reliable); moonshot direct API is unreliable
5830158316
{
5830258317
id: "nvidia/kimi-k2.5",
@@ -74106,9 +74121,11 @@ var DEFAULT_ROUTING_CONFIG = {
7410674121
// codex=complex coding, kimi=simple coding, sonnet=reasoning/instructions, opus=architecture/PM/audits
7410774122
premiumTiers: {
7410874123
SIMPLE: {
74109-
primary: "nvidia/kimi-k2.5",
74110-
// $0.60/$3.00 - good for simple coding
74124+
primary: "moonshot/kimi-k2.6",
74125+
// $0.95/$4.00 - Moonshot flagship (256K ctx, vision + reasoning)
7411174126
fallback: [
74127+
"nvidia/kimi-k2.5",
74128+
// $0.60/$3.00 - proven reliable NVIDIA fallback when Moonshot direct API falters
7411274129
"google/gemini-2.5-flash",
7411374130
// 60% retention, fast growth
7411474131
"anthropic/claude-haiku-4.5",
@@ -74120,6 +74137,8 @@ var DEFAULT_ROUTING_CONFIG = {
7412074137
primary: "openai/gpt-5.3-codex",
7412174138
// $1.75/$14 - 400K context, 128K output, replaces 5.2
7412274139
fallback: [
74140+
"moonshot/kimi-k2.6",
74141+
// Moonshot flagship
7412374142
"nvidia/kimi-k2.5",
7412474143
"google/gemini-2.5-flash",
7412574144
// 60% retention, good coding capability
@@ -74140,6 +74159,8 @@ var DEFAULT_ROUTING_CONFIG = {
7414074159
"google/gemini-3.1-pro",
7414174160
// Newest Gemini
7414274161
"google/gemini-3-pro-preview",
74162+
"moonshot/kimi-k2.6",
74163+
// Moonshot flagship
7414374164
"nvidia/kimi-k2.5"
7414474165
]
7414574166
},
@@ -81448,6 +81469,7 @@ function injectModelsConfig(logger) {
8144881469
"google/gemini-3.1-pro",
8144981470
"google/gemini-3-flash-preview",
8145081471
"deepseek/deepseek-chat",
81472+
"moonshot/kimi-k2.6",
8145181473
"moonshot/kimi-k2.5",
8145281474
"xai/grok-3",
8145381475
"minimax/minimax-m2.5",

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/11-free-ai-models-zero-cost-blockrun.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BlockRun's answer: just take them.
1616

1717
## The Lineup: 11 Models, $0.00
1818

19-
Through [ClawRouter](https://github.com/blockrunai/ClawRouter) — BlockRun's local AI routing proxy — you get zero-cost access to the following:
19+
Through [ClawRouter](https://github.com/BlockRunAI/ClawRouter) — BlockRun's local AI routing proxy — you get zero-cost access to the following:
2020

2121
| Model | Parameters | Context | Reasoning | Best For |
2222
| ------------------------- | ---------- | ------- | --------- | --------------------------------------------- |

docs/anthropic-cost-savings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This is where you're paying for real value:
5050

5151
## The Solution: ClawRouter
5252

53-
[ClawRouter](https://github.com/blockrunai/ClawRouter) is an open-source local proxy that sits between your app and 41+ AI models. It saves you money in three ways: **smart routing**, **token optimization**, and **response caching**.
53+
[ClawRouter](https://github.com/BlockRunAI/ClawRouter) is an open-source local proxy that sits between your app and 41+ AI models. It saves you money in three ways: **smart routing**, **token optimization**, and **response caching**.
5454

5555
```
5656
┌─────────────┐ ┌──────────────────────────────┐ ┌──────────────────┐
@@ -345,7 +345,7 @@ npx @blockrun/clawrouter
345345

346346
**Links:**
347347

348-
- [ClawRouter on GitHub](https://github.com/blockrunai/ClawRouter) — MIT License
348+
- [ClawRouter on GitHub](https://github.com/BlockRunAI/ClawRouter) — MIT License
349349
- [BlockRun](https://blockrun.ai) — AI model marketplace
350350
- [x402 Protocol](https://www.x402.org/) — Per-request crypto payments for AI
351351

docs/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Use short aliases instead of full model paths:
184184
/model gpt5 # openai/gpt-5.2
185185
/model deepseek # deepseek/deepseek-chat
186186
/model reasoner # deepseek/deepseek-reasoner
187-
/model kimi # moonshot/kimi-k2.5
187+
/model kimi # nvidia/kimi-k2.5 (reliable); /model kimi-k2.6 for Moonshot flagship
188188
/model gemini # google/gemini-2.5-pro
189189
/model flash # google/gemini-2.5-flash
190190
/model grok # xai/grok-3

docs/routing-profiles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Use `blockrun/premium` for maximum quality.
3434

3535
| Tier | Primary Model | Input | Output |
3636
| --------- | -------------------- | ----- | ------ |
37-
| SIMPLE | moonshot/kimi-k2.5 | $0.60 | $3.00 |
38-
| MEDIUM | openai/gpt-5.2-codex | $1.75 | $14.00 |
39-
| COMPLEX | claude-opus-4.6 | $5.00 | $25.00 |
37+
| SIMPLE | moonshot/kimi-k2.6 | $0.95 | $4.00 |
38+
| MEDIUM | openai/gpt-5.3-codex | $1.75 | $14.00 |
39+
| COMPLEX | claude-opus-4.7 | $5.00 | $25.00 |
4040
| REASONING | claude-sonnet-4.6 | $3.00 | $15.00 |
4141

4242
---

0 commit comments

Comments
 (0)