@blockrun/clawrouter 0.12.318 → 0.12.319

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -557,7 +557,7 @@ Live per-model prices: [blockrun.ai/pricing](https://blockrun.ai/pricing) (agent
557
557
  | openai/gpt-5.5 | 1M | reasoning, vision, agentic, tools |
558
558
  | openai/gpt-6-astra | 1M | reasoning, vision, agentic, tools (GPT-6 flagship) |
559
559
  | anthropic/claude-fable-5.1 | 1M | reasoning, vision, agentic, tools (always-on thinking) |
560
- | moonshot/kimi-k3 | 1M | reasoning, vision, agentic, tools |
560
+ | moonshot/kimi-k3.1-pro | 1M | reasoning, vision, agentic, tools |
561
561
  | openai/chat-latest | 128K | vision, tools |
562
562
  | openai/o1 | 200K | reasoning, tools |
563
563
  | openai/gpt-5.2-pro | 400K | reasoning, tools |
package/dist/cli.js CHANGED
@@ -7612,13 +7612,15 @@ var init_models = __esm({
7612
7612
  "deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash",
7613
7613
  "deepseek-v4-1-flash": "deepseek/deepseek-v4.1-flash",
7614
7614
  "v4.1-flash": "deepseek/deepseek-v4.1-flash",
7615
- // Kimi / Moonshot — K3 is the featured flagship on BlockRun (added 2026-07-17; K2.7
7616
- // hidden/superseded, K2.6 hidden, K2.5 hidden). K3 is ~5x K2.7's price ($3/$15 vs
7617
- // $0.95/$4.00), so the BARE aliases deliberately STAY on K2.7 — repointing them to K3
7618
- // would silently ~5x every generic-`kimi` quote and break per-call-cap wallets (mirrors
7619
- // blockrun's own alias decision). Address the flagship explicitly via "kimi-k3". Explicit
7620
- // pins for "kimi-k2.6" / "kimi-k2.5" still resolve to those exact models (K2.5 is a
7621
- // cost-stability opt-in at $0.60/$3.00). NVIDIA-hosted K2.5 was retired 2026-04-21.
7615
+ // Kimi / Moonshot — K3.1 Pro is the featured flagship on BlockRun (2026-10-25; K3
7616
+ // hidden/superseded, K2.7 hidden, K2.6 hidden, K2.5 hidden). The flagships are ~2-3x
7617
+ // K2.7's price ($2/$10 K3.1 Pro, $3/$15 K3, vs $0.95/$4.00), so the BARE aliases
7618
+ // deliberately STAY on K2.7 — repointing them would silently multiply every
7619
+ // generic-`kimi` quote and break per-call-cap wallets (mirrors blockrun's own alias
7620
+ // decision). Address the flagship explicitly via "kimi-k3.1-pro". Explicit version
7621
+ // pins — "kimi-k3", "kimi-k2.6", "kimi-k2.5" — still resolve to those exact models
7622
+ // (K3 is still served; K2.5 is a cost-stability opt-in at $0.60/$3.00).
7623
+ // NVIDIA-hosted K2.5 was retired 2026-04-21.
7622
7624
  kimi: "moonshot/kimi-k2.7",
7623
7625
  moonshot: "moonshot/kimi-k2.7",
7624
7626
  "kimi-k3": "moonshot/kimi-k3",
@@ -8993,7 +8995,9 @@ var init_models = __esm({
8993
8995
  agentic: true,
8994
8996
  toolCalling: true
8995
8997
  },
8996
- // Kimi K3 — Moonshot's flagship (blockrun added 2026-07-17, live-probed same day).
8998
+ // Kimi K3 — Moonshot's previous flagship (blockrun added 2026-07-17, live-probed same
8999
+ // day); superseded by K3.1 Pro + hidden on BlockRun 2026-10-25 but kept routable — it is
9000
+ // still served, the `kimi-k3` pin resolves here, and router-core's chains still name it.
8997
9001
  // 2.8T-param open MoE, 1M context, image + text input, returns reasoning_content.
8998
9002
  // Priced at COGS + BlockRun's 5% margin: users pay ~$3.15/$15.75 per 1M; the fields
8999
9003
  // here store the raw $3.00/$15.00 COST (server applies margin at billing). ~5x K2.7,
@@ -63525,7 +63529,7 @@ function evidenceCandidates(task) {
63525
63529
  "anthropic/claude-sonnet-5",
63526
63530
  "openai/gpt-5-mini",
63527
63531
  "google/gemini-3.5-flash",
63528
- "moonshot/kimi-k3",
63532
+ "moonshot/kimi-k3.1-pro",
63529
63533
  "deepseek/deepseek-v4-pro"
63530
63534
  ];
63531
63535
  }
@@ -63538,7 +63542,7 @@ function evidenceCandidates(task) {
63538
63542
  "openai/gpt-4o-mini",
63539
63543
  "google/gemini-3.5-flash",
63540
63544
  "openai/gpt-5.3-codex",
63541
- "moonshot/kimi-k3",
63545
+ "moonshot/kimi-k3.1-pro",
63542
63546
  "deepseek/deepseek-v4-pro"
63543
63547
  ];
63544
63548
  }
@@ -63574,7 +63578,7 @@ function evidenceCandidates(task) {
63574
63578
  ];
63575
63579
  }
63576
63580
  if (task === "extraction") {
63577
- return ["moonshot/kimi-k3", "google/gemini-3.5-flash", "anthropic/claude-sonnet-5"];
63581
+ return ["moonshot/kimi-k3.1-pro", "google/gemini-3.5-flash", "anthropic/claude-sonnet-5"];
63578
63582
  }
63579
63583
  if (task === "reasoning_math") {
63580
63584
  return [
@@ -63582,7 +63586,7 @@ function evidenceCandidates(task) {
63582
63586
  "xai/grok-4.5",
63583
63587
  "anthropic/claude-sonnet-5",
63584
63588
  "deepseek/deepseek-v4-pro",
63585
- "moonshot/kimi-k3"
63589
+ "moonshot/kimi-k3.1-pro"
63586
63590
  ];
63587
63591
  }
63588
63592
  return [];
@@ -64902,8 +64906,8 @@ var init_dist = __esm({
64902
64906
  // $2.50/$15 — previous flagship, benchmarked
64903
64907
  "zai/glm-5.3",
64904
64908
  // $1.40/$4.40, 1M ctx, always-on thinking — verified live 2026-08-19
64905
- "moonshot/kimi-k3",
64906
- // $3/$15, 1M ctx — Moonshot flagship (K2.7 successor)
64909
+ "moonshot/kimi-k3.1-pro",
64910
+ // $2/$10, 1M ctx — Moonshot flagship (K3 successor)
64907
64911
  "deepseek/deepseek-v4-pro",
64908
64912
  // $0.435/$0.87 — strongest open-weight reasoner
64909
64913
  "deepseek/deepseek-chat",
@@ -65043,8 +65047,8 @@ var init_dist = __esm({
65043
65047
  fallback: [
65044
65048
  "anthropic/claude-sonnet-5",
65045
65049
  // $3/$15 — code_agent band 0.98
65046
- "moonshot/kimi-k3",
65047
- // $3/$15, 1M ctx — Moonshot flagship
65050
+ "moonshot/kimi-k3.1-pro",
65051
+ // $2/$10, 1M ctx — Moonshot flagship
65048
65052
  "zai/glm-5.3",
65049
65053
  // $1.40/$4.40 — long-horizon coding
65050
65054
  "google/gemini-3.6-flash",
@@ -65082,7 +65086,7 @@ var init_dist = __esm({
65082
65086
  "anthropic/claude-sonnet-4.6",
65083
65087
  "xai/grok-4.5",
65084
65088
  // xAI flagship — 503-resistant, direct-xAI SKU
65085
- "moonshot/kimi-k3",
65089
+ "moonshot/kimi-k3.1-pro",
65086
65090
  // Moonshot flagship, independent infra
65087
65091
  "openai/gpt-5.6-terra",
65088
65092
  // GPT-5.6 balanced tier — stable (Sol excluded: #202)
@@ -65162,8 +65166,8 @@ var init_dist = __esm({
65162
65166
  // $1/$5
65163
65167
  "deepseek/deepseek-chat",
65164
65168
  // $0.14/$0.28
65165
- "moonshot/kimi-k3"
65166
- // $3/$15 — tool_agent band 0.85
65169
+ "moonshot/kimi-k3.1-pro"
65170
+ // $2/$10 — tool_agent band 0.85
65167
65171
  ]
65168
65172
  },
65169
65173
  COMPLEX: {
@@ -65185,7 +65189,7 @@ var init_dist = __esm({
65185
65189
  // Flagship Opus — in-family hot swap
65186
65190
  "xai/grok-4.5",
65187
65191
  // xAI flagship — strong tool use, independent infra
65188
- "moonshot/kimi-k3",
65192
+ "moonshot/kimi-k3.1-pro",
65189
65193
  // Moonshot flagship — independent infra
65190
65194
  "openai/gpt-5.6-terra",
65191
65195
  // GPT-5.6 balanced tier — stable (Sol excluded: #202)
@@ -65251,6 +65255,13 @@ var init_dist = __esm({
65251
65255
  supportsTools: true,
65252
65256
  supportsVision: true
65253
65257
  },
65258
+ "anthropic/claude-fable-5.2": {
65259
+ // supportsTools: not probed — fails closed
65260
+ contextWindow: 1e6,
65261
+ maxOutputTokens: 128e3,
65262
+ supportsTools: false,
65263
+ supportsVision: true
65264
+ },
65254
65265
  "anthropic/claude-haiku-4.5": {
65255
65266
  // override: The public catalog's `categories` omit "vision" for this Anthropic model even though the gateway accepts image input for it (the prior hand-maintained snapshot had it, and Anthropic's model card lists it). Without this the vision filter would silently drop it — reported against the catalog; remove once the categories carry vision.
65256
65267
  contextWindow: 2e5,
@@ -65420,6 +65431,26 @@ var init_dist = __esm({
65420
65431
  supportsTools: false,
65421
65432
  supportsVision: true
65422
65433
  },
65434
+ "google/gemini-4-carbon": {
65435
+ contextWindow: 1048576,
65436
+ maxOutputTokens: 65536,
65437
+ supportsTools: true,
65438
+ supportsVision: true
65439
+ },
65440
+ "google/gemini-4-hydrogen": {
65441
+ // supportsTools: not probed — fails closed
65442
+ contextWindow: 1048576,
65443
+ maxOutputTokens: 65536,
65444
+ supportsTools: false,
65445
+ supportsVision: true
65446
+ },
65447
+ "google/gemini-4-neon": {
65448
+ // supportsTools: not probed — fails closed
65449
+ contextWindow: 1048576,
65450
+ maxOutputTokens: 65536,
65451
+ supportsTools: false,
65452
+ supportsVision: true
65453
+ },
65423
65454
  "minimax/minimax-m2.7": {
65424
65455
  contextWindow: 204800,
65425
65456
  maxOutputTokens: 16384,
@@ -65439,18 +65470,10 @@ var init_dist = __esm({
65439
65470
  supportsTools: false,
65440
65471
  supportsVision: true
65441
65472
  },
65442
- "moonshot/kimi-k3": {
65443
- // absent from the 2026-11-08 listing but still routed — previous entry retained; probe before removing
65444
- contextWindow: 1048576,
65445
- maxOutputTokens: 65536,
65446
- supportsTools: true,
65447
- supportsVision: true
65448
- },
65449
65473
  "moonshot/kimi-k3.1-pro": {
65450
- // supportsTools: not probed — fails closed
65451
65474
  contextWindow: 1048576,
65452
65475
  maxOutputTokens: 65536,
65453
- supportsTools: false,
65476
+ supportsTools: true,
65454
65477
  supportsVision: true
65455
65478
  },
65456
65479
  "nvidia/minimax-m3.1-flash": {
@@ -65662,6 +65685,20 @@ var init_dist = __esm({
65662
65685
  supportsTools: true,
65663
65686
  supportsVision: true
65664
65687
  },
65688
+ "openai/gpt-6.2-astra": {
65689
+ // supportsTools: not probed — fails closed
65690
+ contextWindow: 105e4,
65691
+ maxOutputTokens: 128e3,
65692
+ supportsTools: false,
65693
+ supportsVision: true
65694
+ },
65695
+ "openai/gpt-6.2-sol": {
65696
+ // supportsTools: not probed — fails closed
65697
+ contextWindow: 105e4,
65698
+ maxOutputTokens: 128e3,
65699
+ supportsTools: false,
65700
+ supportsVision: true
65701
+ },
65665
65702
  "openai/o1": {
65666
65703
  contextWindow: 2e5,
65667
65704
  maxOutputTokens: 1e5,
@@ -66018,6 +66055,14 @@ var init_dist = __esm({
66018
66055
  errorRate: 0,
66019
66056
  samples: 3
66020
66057
  },
66058
+ "moonshot/kimi-k3.1-pro": {
66059
+ measuredAt: "2026-11-23T20:18:18Z",
66060
+ latencyMs: 9243.1,
66061
+ p95LatencyMs: 10504.1,
66062
+ outputTokensPerSecond: 55.89,
66063
+ errorRate: 0,
66064
+ samples: 3
66065
+ },
66021
66066
  "nvidia/mistral-nemotron": {
66022
66067
  measuredAt: "2026-08-29T16:51:33Z",
66023
66068
  latencyMs: 7349.6,
@@ -66465,7 +66510,7 @@ var init_dist = __esm({
66465
66510
  "claude-sonnet-5": 0.98,
66466
66511
  "gpt-5-mini": 0.96,
66467
66512
  "gemini-3.5-flash": 0.92,
66468
- "kimi-k3": 0.9,
66513
+ "kimi-k3.1-pro": 0.9,
66469
66514
  "deepseek-v4-pro": 0.88,
66470
66515
  "glm-5.2": 0.88
66471
66516
  },
@@ -66499,7 +66544,7 @@ var init_dist = __esm({
66499
66544
  "claude-sonnet-5": 0.88,
66500
66545
  "gemini-3.5-flash": 0.82,
66501
66546
  "gpt-5.3-codex": 0.81,
66502
- "kimi-k3": 0.78,
66547
+ "kimi-k3.1-pro": 0.78,
66503
66548
  "deepseek-v4-pro": 0.76
66504
66549
  },
66505
66550
  retailHigh: {
@@ -66507,7 +66552,7 @@ var init_dist = __esm({
66507
66552
  "claude-sonnet-5": 0.88,
66508
66553
  "gemini-3.5-flash": 0.82,
66509
66554
  "gpt-5.3-codex": 0.81,
66510
- "kimi-k3": 0.78,
66555
+ "kimi-k3.1-pro": 0.78,
66511
66556
  "gpt-5-mini": 0.76
66512
66557
  },
66513
66558
  // Standard airline workflows stay on GPT-5 Mini: six full-session
@@ -66541,7 +66586,7 @@ var init_dist = __esm({
66541
66586
  "claude-sonnet-5": 1,
66542
66587
  "gemini-3.5-flash": 0.88,
66543
66588
  "gpt-5.3-codex": 0.87,
66544
- "kimi-k3": 0.85,
66589
+ "kimi-k3.1-pro": 0.85,
66545
66590
  "gpt-5-mini": 0.84,
66546
66591
  "deepseek-v4-pro": 0.82
66547
66592
  },
@@ -66623,13 +66668,13 @@ var init_dist = __esm({
66623
66668
  "grok-4.5": 0.93,
66624
66669
  "claude-sonnet-5": 0.9,
66625
66670
  "deepseek-v4-pro": 0.9,
66626
- "kimi-k3": 0.9
66671
+ "kimi-k3.1-pro": 0.9
66627
66672
  },
66628
66673
  vision: {
66629
66674
  "gemini-3.1-pro": 0.96,
66630
66675
  "qwen3.7-max": 0.9,
66631
66676
  "claude-sonnet-4.6": 0.9,
66632
- "kimi-k3": 0.9,
66677
+ "kimi-k3.1-pro": 0.9,
66633
66678
  "grok-4.3": 0.9
66634
66679
  },
66635
66680
  // Long-context eligibility is necessary but not sufficient: a provider can
@@ -66646,13 +66691,18 @@ var init_dist = __esm({
66646
66691
  // A structured extraction must preserve both the output contract and the
66647
66692
  // source-language fields. For Mandarin input the language-native Kimi
66648
66693
  // candidate gets a distinct band — a candidate-pool decision, not a post-hoc
66649
- // override, so it still falls back normally when Kimi is unavailable. Kimi
66650
- // K3 costs ~5x its retired sibling K2.7, so the band must be wider than the
66651
- // auto affinityFloorGap (0.10) or price alone re-selects a non-native model
66652
- // for Mandarin input; 0.12 keeps K3 alone in the primary band for zh and
66653
- // leaves every other language untouched.
66694
+ // override, so it still falls back normally when Kimi is unavailable. The
66695
+ // Kimi flagship costs several times the cheap extraction models, so the band
66696
+ // must be wider than the auto affinityFloorGap (0.10) or price alone
66697
+ // re-selects a non-native model for Mandarin input; 0.12 keeps Kimi alone in
66698
+ // the primary band for zh and leaves every other language untouched.
66699
+ //
66700
+ // Every "kimi-k3.1-pro" value in AFFINITY is carried over from the Kimi
66701
+ // flagship it replaced (K3, whose values were in turn carried from K2.7);
66702
+ // none is a K3.1 Pro trajectory measurement. K3.1 Pro's own evidence is the
66703
+ // 2026-11-23 live probe: 3/3 completions, 0 errors, a well-formed tool call.
66654
66704
  extractionZh: {
66655
- "kimi-k3": 1,
66705
+ "kimi-k3.1-pro": 1,
66656
66706
  "gemini-3.5-flash": 0.88,
66657
66707
  "gemini-2.5-flash": 0.88,
66658
66708
  "gpt-4o-mini": 0.88,
@@ -66660,7 +66710,7 @@ var init_dist = __esm({
66660
66710
  "claude-sonnet-4.6": 0.88
66661
66711
  },
66662
66712
  extraction: {
66663
- "kimi-k3": 0.9,
66713
+ "kimi-k3.1-pro": 0.9,
66664
66714
  "gemini-3.5-flash": 0.9,
66665
66715
  "gemini-2.5-flash": 0.9,
66666
66716
  "gpt-4o-mini": 0.9,
@@ -66670,7 +66720,7 @@ var init_dist = __esm({
66670
66720
  chat: {
66671
66721
  "gemini-3.5-flash": 0.86,
66672
66722
  "gemini-2.5-flash": 0.86,
66673
- "kimi-k3": 0.86
66723
+ "kimi-k3.1-pro": 0.86
66674
66724
  }
66675
66725
  };
66676
66726
  VERIFIED_TOOL_FALLBACKS = [
@@ -66679,6 +66729,7 @@ var init_dist = __esm({
66679
66729
  "anthropic/claude-sonnet-5.5",
66680
66730
  "deepseek/deepseek-v4.1-flash",
66681
66731
  "google/gemini-3.8-flash",
66732
+ "google/gemini-4-carbon",
66682
66733
  "openai/gpt-5.1",
66683
66734
  "openai/gpt-6-astra",
66684
66735
  "openai/gpt-6-luna",
package/dist/index.js CHANGED
@@ -268567,13 +268567,15 @@ var MODEL_ALIASES = {
268567
268567
  "deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash",
268568
268568
  "deepseek-v4-1-flash": "deepseek/deepseek-v4.1-flash",
268569
268569
  "v4.1-flash": "deepseek/deepseek-v4.1-flash",
268570
- // Kimi / Moonshot — K3 is the featured flagship on BlockRun (added 2026-07-17; K2.7
268571
- // hidden/superseded, K2.6 hidden, K2.5 hidden). K3 is ~5x K2.7's price ($3/$15 vs
268572
- // $0.95/$4.00), so the BARE aliases deliberately STAY on K2.7 — repointing them to K3
268573
- // would silently ~5x every generic-`kimi` quote and break per-call-cap wallets (mirrors
268574
- // blockrun's own alias decision). Address the flagship explicitly via "kimi-k3". Explicit
268575
- // pins for "kimi-k2.6" / "kimi-k2.5" still resolve to those exact models (K2.5 is a
268576
- // cost-stability opt-in at $0.60/$3.00). NVIDIA-hosted K2.5 was retired 2026-04-21.
268570
+ // Kimi / Moonshot — K3.1 Pro is the featured flagship on BlockRun (2026-10-25; K3
268571
+ // hidden/superseded, K2.7 hidden, K2.6 hidden, K2.5 hidden). The flagships are ~2-3x
268572
+ // K2.7's price ($2/$10 K3.1 Pro, $3/$15 K3, vs $0.95/$4.00), so the BARE aliases
268573
+ // deliberately STAY on K2.7 — repointing them would silently multiply every
268574
+ // generic-`kimi` quote and break per-call-cap wallets (mirrors blockrun's own alias
268575
+ // decision). Address the flagship explicitly via "kimi-k3.1-pro". Explicit version
268576
+ // pins — "kimi-k3", "kimi-k2.6", "kimi-k2.5" — still resolve to those exact models
268577
+ // (K3 is still served; K2.5 is a cost-stability opt-in at $0.60/$3.00).
268578
+ // NVIDIA-hosted K2.5 was retired 2026-04-21.
268577
268579
  kimi: "moonshot/kimi-k2.7",
268578
268580
  moonshot: "moonshot/kimi-k2.7",
268579
268581
  "kimi-k3": "moonshot/kimi-k3",
@@ -269974,7 +269976,9 @@ var BLOCKRUN_MODELS = [
269974
269976
  agentic: true,
269975
269977
  toolCalling: true
269976
269978
  },
269977
- // Kimi K3 — Moonshot's flagship (blockrun added 2026-07-17, live-probed same day).
269979
+ // Kimi K3 — Moonshot's previous flagship (blockrun added 2026-07-17, live-probed same
269980
+ // day); superseded by K3.1 Pro + hidden on BlockRun 2026-10-25 but kept routable — it is
269981
+ // still served, the `kimi-k3` pin resolves here, and router-core's chains still name it.
269978
269982
  // 2.8T-param open MoE, 1M context, image + text input, returns reasoning_content.
269979
269983
  // Priced at COGS + BlockRun's 5% margin: users pay ~$3.15/$15.75 per 1M; the fields
269980
269984
  // here store the raw $3.00/$15.00 COST (server applies margin at billing). ~5x K2.7,
@@ -286472,8 +286476,8 @@ var DEFAULT_ROUTING_CONFIG = {
286472
286476
  // $2.50/$15 — previous flagship, benchmarked
286473
286477
  "zai/glm-5.3",
286474
286478
  // $1.40/$4.40, 1M ctx, always-on thinking — verified live 2026-08-19
286475
- "moonshot/kimi-k3",
286476
- // $3/$15, 1M ctx — Moonshot flagship (K2.7 successor)
286479
+ "moonshot/kimi-k3.1-pro",
286480
+ // $2/$10, 1M ctx — Moonshot flagship (K3 successor)
286477
286481
  "deepseek/deepseek-v4-pro",
286478
286482
  // $0.435/$0.87 — strongest open-weight reasoner
286479
286483
  "deepseek/deepseek-chat",
@@ -286613,8 +286617,8 @@ var DEFAULT_ROUTING_CONFIG = {
286613
286617
  fallback: [
286614
286618
  "anthropic/claude-sonnet-5",
286615
286619
  // $3/$15 — code_agent band 0.98
286616
- "moonshot/kimi-k3",
286617
- // $3/$15, 1M ctx — Moonshot flagship
286620
+ "moonshot/kimi-k3.1-pro",
286621
+ // $2/$10, 1M ctx — Moonshot flagship
286618
286622
  "zai/glm-5.3",
286619
286623
  // $1.40/$4.40 — long-horizon coding
286620
286624
  "google/gemini-3.6-flash",
@@ -286652,7 +286656,7 @@ var DEFAULT_ROUTING_CONFIG = {
286652
286656
  "anthropic/claude-sonnet-4.6",
286653
286657
  "xai/grok-4.5",
286654
286658
  // xAI flagship — 503-resistant, direct-xAI SKU
286655
- "moonshot/kimi-k3",
286659
+ "moonshot/kimi-k3.1-pro",
286656
286660
  // Moonshot flagship, independent infra
286657
286661
  "openai/gpt-5.6-terra",
286658
286662
  // GPT-5.6 balanced tier — stable (Sol excluded: #202)
@@ -286732,8 +286736,8 @@ var DEFAULT_ROUTING_CONFIG = {
286732
286736
  // $1/$5
286733
286737
  "deepseek/deepseek-chat",
286734
286738
  // $0.14/$0.28
286735
- "moonshot/kimi-k3"
286736
- // $3/$15 — tool_agent band 0.85
286739
+ "moonshot/kimi-k3.1-pro"
286740
+ // $2/$10 — tool_agent band 0.85
286737
286741
  ]
286738
286742
  },
286739
286743
  COMPLEX: {
@@ -286755,7 +286759,7 @@ var DEFAULT_ROUTING_CONFIG = {
286755
286759
  // Flagship Opus — in-family hot swap
286756
286760
  "xai/grok-4.5",
286757
286761
  // xAI flagship — strong tool use, independent infra
286758
- "moonshot/kimi-k3",
286762
+ "moonshot/kimi-k3.1-pro",
286759
286763
  // Moonshot flagship — independent infra
286760
286764
  "openai/gpt-5.6-terra",
286761
286765
  // GPT-5.6 balanced tier — stable (Sol excluded: #202)
@@ -286821,6 +286825,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
286821
286825
  supportsTools: true,
286822
286826
  supportsVision: true
286823
286827
  },
286828
+ "anthropic/claude-fable-5.2": {
286829
+ // supportsTools: not probed — fails closed
286830
+ contextWindow: 1e6,
286831
+ maxOutputTokens: 128e3,
286832
+ supportsTools: false,
286833
+ supportsVision: true
286834
+ },
286824
286835
  "anthropic/claude-haiku-4.5": {
286825
286836
  // override: The public catalog's `categories` omit "vision" for this Anthropic model even though the gateway accepts image input for it (the prior hand-maintained snapshot had it, and Anthropic's model card lists it). Without this the vision filter would silently drop it — reported against the catalog; remove once the categories carry vision.
286826
286837
  contextWindow: 2e5,
@@ -286990,6 +287001,26 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
286990
287001
  supportsTools: false,
286991
287002
  supportsVision: true
286992
287003
  },
287004
+ "google/gemini-4-carbon": {
287005
+ contextWindow: 1048576,
287006
+ maxOutputTokens: 65536,
287007
+ supportsTools: true,
287008
+ supportsVision: true
287009
+ },
287010
+ "google/gemini-4-hydrogen": {
287011
+ // supportsTools: not probed — fails closed
287012
+ contextWindow: 1048576,
287013
+ maxOutputTokens: 65536,
287014
+ supportsTools: false,
287015
+ supportsVision: true
287016
+ },
287017
+ "google/gemini-4-neon": {
287018
+ // supportsTools: not probed — fails closed
287019
+ contextWindow: 1048576,
287020
+ maxOutputTokens: 65536,
287021
+ supportsTools: false,
287022
+ supportsVision: true
287023
+ },
286993
287024
  "minimax/minimax-m2.7": {
286994
287025
  contextWindow: 204800,
286995
287026
  maxOutputTokens: 16384,
@@ -287009,18 +287040,10 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
287009
287040
  supportsTools: false,
287010
287041
  supportsVision: true
287011
287042
  },
287012
- "moonshot/kimi-k3": {
287013
- // absent from the 2026-11-08 listing but still routed — previous entry retained; probe before removing
287014
- contextWindow: 1048576,
287015
- maxOutputTokens: 65536,
287016
- supportsTools: true,
287017
- supportsVision: true
287018
- },
287019
287043
  "moonshot/kimi-k3.1-pro": {
287020
- // supportsTools: not probed — fails closed
287021
287044
  contextWindow: 1048576,
287022
287045
  maxOutputTokens: 65536,
287023
- supportsTools: false,
287046
+ supportsTools: true,
287024
287047
  supportsVision: true
287025
287048
  },
287026
287049
  "nvidia/minimax-m3.1-flash": {
@@ -287232,6 +287255,20 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
287232
287255
  supportsTools: true,
287233
287256
  supportsVision: true
287234
287257
  },
287258
+ "openai/gpt-6.2-astra": {
287259
+ // supportsTools: not probed — fails closed
287260
+ contextWindow: 105e4,
287261
+ maxOutputTokens: 128e3,
287262
+ supportsTools: false,
287263
+ supportsVision: true
287264
+ },
287265
+ "openai/gpt-6.2-sol": {
287266
+ // supportsTools: not probed — fails closed
287267
+ contextWindow: 105e4,
287268
+ maxOutputTokens: 128e3,
287269
+ supportsTools: false,
287270
+ supportsVision: true
287271
+ },
287235
287272
  "openai/o1": {
287236
287273
  contextWindow: 2e5,
287237
287274
  maxOutputTokens: 1e5,
@@ -287588,6 +287625,14 @@ var model_profiles_generated_default = {
287588
287625
  errorRate: 0,
287589
287626
  samples: 3
287590
287627
  },
287628
+ "moonshot/kimi-k3.1-pro": {
287629
+ measuredAt: "2026-11-23T20:18:18Z",
287630
+ latencyMs: 9243.1,
287631
+ p95LatencyMs: 10504.1,
287632
+ outputTokensPerSecond: 55.89,
287633
+ errorRate: 0,
287634
+ samples: 3
287635
+ },
287591
287636
  "nvidia/mistral-nemotron": {
287592
287637
  measuredAt: "2026-08-29T16:51:33Z",
287593
287638
  latencyMs: 7349.6,
@@ -288279,7 +288324,7 @@ var AFFINITY = {
288279
288324
  "claude-sonnet-5": 0.98,
288280
288325
  "gpt-5-mini": 0.96,
288281
288326
  "gemini-3.5-flash": 0.92,
288282
- "kimi-k3": 0.9,
288327
+ "kimi-k3.1-pro": 0.9,
288283
288328
  "deepseek-v4-pro": 0.88,
288284
288329
  "glm-5.2": 0.88
288285
288330
  },
@@ -288313,7 +288358,7 @@ var AFFINITY = {
288313
288358
  "claude-sonnet-5": 0.88,
288314
288359
  "gemini-3.5-flash": 0.82,
288315
288360
  "gpt-5.3-codex": 0.81,
288316
- "kimi-k3": 0.78,
288361
+ "kimi-k3.1-pro": 0.78,
288317
288362
  "deepseek-v4-pro": 0.76
288318
288363
  },
288319
288364
  retailHigh: {
@@ -288321,7 +288366,7 @@ var AFFINITY = {
288321
288366
  "claude-sonnet-5": 0.88,
288322
288367
  "gemini-3.5-flash": 0.82,
288323
288368
  "gpt-5.3-codex": 0.81,
288324
- "kimi-k3": 0.78,
288369
+ "kimi-k3.1-pro": 0.78,
288325
288370
  "gpt-5-mini": 0.76
288326
288371
  },
288327
288372
  // Standard airline workflows stay on GPT-5 Mini: six full-session
@@ -288355,7 +288400,7 @@ var AFFINITY = {
288355
288400
  "claude-sonnet-5": 1,
288356
288401
  "gemini-3.5-flash": 0.88,
288357
288402
  "gpt-5.3-codex": 0.87,
288358
- "kimi-k3": 0.85,
288403
+ "kimi-k3.1-pro": 0.85,
288359
288404
  "gpt-5-mini": 0.84,
288360
288405
  "deepseek-v4-pro": 0.82
288361
288406
  },
@@ -288437,13 +288482,13 @@ var AFFINITY = {
288437
288482
  "grok-4.5": 0.93,
288438
288483
  "claude-sonnet-5": 0.9,
288439
288484
  "deepseek-v4-pro": 0.9,
288440
- "kimi-k3": 0.9
288485
+ "kimi-k3.1-pro": 0.9
288441
288486
  },
288442
288487
  vision: {
288443
288488
  "gemini-3.1-pro": 0.96,
288444
288489
  "qwen3.7-max": 0.9,
288445
288490
  "claude-sonnet-4.6": 0.9,
288446
- "kimi-k3": 0.9,
288491
+ "kimi-k3.1-pro": 0.9,
288447
288492
  "grok-4.3": 0.9
288448
288493
  },
288449
288494
  // Long-context eligibility is necessary but not sufficient: a provider can
@@ -288460,13 +288505,18 @@ var AFFINITY = {
288460
288505
  // A structured extraction must preserve both the output contract and the
288461
288506
  // source-language fields. For Mandarin input the language-native Kimi
288462
288507
  // candidate gets a distinct band — a candidate-pool decision, not a post-hoc
288463
- // override, so it still falls back normally when Kimi is unavailable. Kimi
288464
- // K3 costs ~5x its retired sibling K2.7, so the band must be wider than the
288465
- // auto affinityFloorGap (0.10) or price alone re-selects a non-native model
288466
- // for Mandarin input; 0.12 keeps K3 alone in the primary band for zh and
288467
- // leaves every other language untouched.
288508
+ // override, so it still falls back normally when Kimi is unavailable. The
288509
+ // Kimi flagship costs several times the cheap extraction models, so the band
288510
+ // must be wider than the auto affinityFloorGap (0.10) or price alone
288511
+ // re-selects a non-native model for Mandarin input; 0.12 keeps Kimi alone in
288512
+ // the primary band for zh and leaves every other language untouched.
288513
+ //
288514
+ // Every "kimi-k3.1-pro" value in AFFINITY is carried over from the Kimi
288515
+ // flagship it replaced (K3, whose values were in turn carried from K2.7);
288516
+ // none is a K3.1 Pro trajectory measurement. K3.1 Pro's own evidence is the
288517
+ // 2026-11-23 live probe: 3/3 completions, 0 errors, a well-formed tool call.
288468
288518
  extractionZh: {
288469
- "kimi-k3": 1,
288519
+ "kimi-k3.1-pro": 1,
288470
288520
  "gemini-3.5-flash": 0.88,
288471
288521
  "gemini-2.5-flash": 0.88,
288472
288522
  "gpt-4o-mini": 0.88,
@@ -288474,7 +288524,7 @@ var AFFINITY = {
288474
288524
  "claude-sonnet-4.6": 0.88
288475
288525
  },
288476
288526
  extraction: {
288477
- "kimi-k3": 0.9,
288527
+ "kimi-k3.1-pro": 0.9,
288478
288528
  "gemini-3.5-flash": 0.9,
288479
288529
  "gemini-2.5-flash": 0.9,
288480
288530
  "gpt-4o-mini": 0.9,
@@ -288484,7 +288534,7 @@ var AFFINITY = {
288484
288534
  chat: {
288485
288535
  "gemini-3.5-flash": 0.86,
288486
288536
  "gemini-2.5-flash": 0.86,
288487
- "kimi-k3": 0.86
288537
+ "kimi-k3.1-pro": 0.86
288488
288538
  }
288489
288539
  };
288490
288540
  function affinityBand(features) {
@@ -288551,7 +288601,7 @@ function evidenceCandidates(task) {
288551
288601
  "anthropic/claude-sonnet-5",
288552
288602
  "openai/gpt-5-mini",
288553
288603
  "google/gemini-3.5-flash",
288554
- "moonshot/kimi-k3",
288604
+ "moonshot/kimi-k3.1-pro",
288555
288605
  "deepseek/deepseek-v4-pro"
288556
288606
  ];
288557
288607
  }
@@ -288564,7 +288614,7 @@ function evidenceCandidates(task) {
288564
288614
  "openai/gpt-4o-mini",
288565
288615
  "google/gemini-3.5-flash",
288566
288616
  "openai/gpt-5.3-codex",
288567
- "moonshot/kimi-k3",
288617
+ "moonshot/kimi-k3.1-pro",
288568
288618
  "deepseek/deepseek-v4-pro"
288569
288619
  ];
288570
288620
  }
@@ -288600,7 +288650,7 @@ function evidenceCandidates(task) {
288600
288650
  ];
288601
288651
  }
288602
288652
  if (task === "extraction") {
288603
- return ["moonshot/kimi-k3", "google/gemini-3.5-flash", "anthropic/claude-sonnet-5"];
288653
+ return ["moonshot/kimi-k3.1-pro", "google/gemini-3.5-flash", "anthropic/claude-sonnet-5"];
288604
288654
  }
288605
288655
  if (task === "reasoning_math") {
288606
288656
  return [
@@ -288608,7 +288658,7 @@ function evidenceCandidates(task) {
288608
288658
  "xai/grok-4.5",
288609
288659
  "anthropic/claude-sonnet-5",
288610
288660
  "deepseek/deepseek-v4-pro",
288611
- "moonshot/kimi-k3"
288661
+ "moonshot/kimi-k3.1-pro"
288612
288662
  ];
288613
288663
  }
288614
288664
  return [];
@@ -288619,6 +288669,7 @@ var VERIFIED_TOOL_FALLBACKS = [
288619
288669
  "anthropic/claude-sonnet-5.5",
288620
288670
  "deepseek/deepseek-v4.1-flash",
288621
288671
  "google/gemini-3.8-flash",
288672
+ "google/gemini-4-carbon",
288622
288673
  "openai/gpt-5.1",
288623
288674
  "openai/gpt-6-astra",
288624
288675
  "openai/gpt-6-luna",
@@ -1714,8 +1714,8 @@ var DEFAULT_ROUTING_CONFIG = {
1714
1714
  // $2.50/$15 — previous flagship, benchmarked
1715
1715
  "zai/glm-5.3",
1716
1716
  // $1.40/$4.40, 1M ctx, always-on thinking — verified live 2026-08-19
1717
- "moonshot/kimi-k3",
1718
- // $3/$15, 1M ctx — Moonshot flagship (K2.7 successor)
1717
+ "moonshot/kimi-k3.1-pro",
1718
+ // $2/$10, 1M ctx — Moonshot flagship (K3 successor)
1719
1719
  "deepseek/deepseek-v4-pro",
1720
1720
  // $0.435/$0.87 — strongest open-weight reasoner
1721
1721
  "deepseek/deepseek-chat",
@@ -1855,8 +1855,8 @@ var DEFAULT_ROUTING_CONFIG = {
1855
1855
  fallback: [
1856
1856
  "anthropic/claude-sonnet-5",
1857
1857
  // $3/$15 — code_agent band 0.98
1858
- "moonshot/kimi-k3",
1859
- // $3/$15, 1M ctx — Moonshot flagship
1858
+ "moonshot/kimi-k3.1-pro",
1859
+ // $2/$10, 1M ctx — Moonshot flagship
1860
1860
  "zai/glm-5.3",
1861
1861
  // $1.40/$4.40 — long-horizon coding
1862
1862
  "google/gemini-3.6-flash",
@@ -1894,7 +1894,7 @@ var DEFAULT_ROUTING_CONFIG = {
1894
1894
  "anthropic/claude-sonnet-4.6",
1895
1895
  "xai/grok-4.5",
1896
1896
  // xAI flagship — 503-resistant, direct-xAI SKU
1897
- "moonshot/kimi-k3",
1897
+ "moonshot/kimi-k3.1-pro",
1898
1898
  // Moonshot flagship, independent infra
1899
1899
  "openai/gpt-5.6-terra",
1900
1900
  // GPT-5.6 balanced tier — stable (Sol excluded: #202)
@@ -1974,8 +1974,8 @@ var DEFAULT_ROUTING_CONFIG = {
1974
1974
  // $1/$5
1975
1975
  "deepseek/deepseek-chat",
1976
1976
  // $0.14/$0.28
1977
- "moonshot/kimi-k3"
1978
- // $3/$15 — tool_agent band 0.85
1977
+ "moonshot/kimi-k3.1-pro"
1978
+ // $2/$10 — tool_agent band 0.85
1979
1979
  ]
1980
1980
  },
1981
1981
  COMPLEX: {
@@ -1997,7 +1997,7 @@ var DEFAULT_ROUTING_CONFIG = {
1997
1997
  // Flagship Opus — in-family hot swap
1998
1998
  "xai/grok-4.5",
1999
1999
  // xAI flagship — strong tool use, independent infra
2000
- "moonshot/kimi-k3",
2000
+ "moonshot/kimi-k3.1-pro",
2001
2001
  // Moonshot flagship — independent infra
2002
2002
  "openai/gpt-5.6-terra",
2003
2003
  // GPT-5.6 balanced tier — stable (Sol excluded: #202)
@@ -2063,6 +2063,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
2063
2063
  supportsTools: true,
2064
2064
  supportsVision: true
2065
2065
  },
2066
+ "anthropic/claude-fable-5.2": {
2067
+ // supportsTools: not probed — fails closed
2068
+ contextWindow: 1e6,
2069
+ maxOutputTokens: 128e3,
2070
+ supportsTools: false,
2071
+ supportsVision: true
2072
+ },
2066
2073
  "anthropic/claude-haiku-4.5": {
2067
2074
  // override: The public catalog's `categories` omit "vision" for this Anthropic model even though the gateway accepts image input for it (the prior hand-maintained snapshot had it, and Anthropic's model card lists it). Without this the vision filter would silently drop it — reported against the catalog; remove once the categories carry vision.
2068
2075
  contextWindow: 2e5,
@@ -2232,6 +2239,26 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
2232
2239
  supportsTools: false,
2233
2240
  supportsVision: true
2234
2241
  },
2242
+ "google/gemini-4-carbon": {
2243
+ contextWindow: 1048576,
2244
+ maxOutputTokens: 65536,
2245
+ supportsTools: true,
2246
+ supportsVision: true
2247
+ },
2248
+ "google/gemini-4-hydrogen": {
2249
+ // supportsTools: not probed — fails closed
2250
+ contextWindow: 1048576,
2251
+ maxOutputTokens: 65536,
2252
+ supportsTools: false,
2253
+ supportsVision: true
2254
+ },
2255
+ "google/gemini-4-neon": {
2256
+ // supportsTools: not probed — fails closed
2257
+ contextWindow: 1048576,
2258
+ maxOutputTokens: 65536,
2259
+ supportsTools: false,
2260
+ supportsVision: true
2261
+ },
2235
2262
  "minimax/minimax-m2.7": {
2236
2263
  contextWindow: 204800,
2237
2264
  maxOutputTokens: 16384,
@@ -2251,18 +2278,10 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
2251
2278
  supportsTools: false,
2252
2279
  supportsVision: true
2253
2280
  },
2254
- "moonshot/kimi-k3": {
2255
- // absent from the 2026-11-08 listing but still routed — previous entry retained; probe before removing
2256
- contextWindow: 1048576,
2257
- maxOutputTokens: 65536,
2258
- supportsTools: true,
2259
- supportsVision: true
2260
- },
2261
2281
  "moonshot/kimi-k3.1-pro": {
2262
- // supportsTools: not probed — fails closed
2263
2282
  contextWindow: 1048576,
2264
2283
  maxOutputTokens: 65536,
2265
- supportsTools: false,
2284
+ supportsTools: true,
2266
2285
  supportsVision: true
2267
2286
  },
2268
2287
  "nvidia/minimax-m3.1-flash": {
@@ -2474,6 +2493,20 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
2474
2493
  supportsTools: true,
2475
2494
  supportsVision: true
2476
2495
  },
2496
+ "openai/gpt-6.2-astra": {
2497
+ // supportsTools: not probed — fails closed
2498
+ contextWindow: 105e4,
2499
+ maxOutputTokens: 128e3,
2500
+ supportsTools: false,
2501
+ supportsVision: true
2502
+ },
2503
+ "openai/gpt-6.2-sol": {
2504
+ // supportsTools: not probed — fails closed
2505
+ contextWindow: 105e4,
2506
+ maxOutputTokens: 128e3,
2507
+ supportsTools: false,
2508
+ supportsVision: true
2509
+ },
2477
2510
  "openai/o1": {
2478
2511
  contextWindow: 2e5,
2479
2512
  maxOutputTokens: 1e5,
@@ -2830,6 +2863,14 @@ var model_profiles_generated_default = {
2830
2863
  errorRate: 0,
2831
2864
  samples: 3
2832
2865
  },
2866
+ "moonshot/kimi-k3.1-pro": {
2867
+ measuredAt: "2026-11-23T20:18:18Z",
2868
+ latencyMs: 9243.1,
2869
+ p95LatencyMs: 10504.1,
2870
+ outputTokensPerSecond: 55.89,
2871
+ errorRate: 0,
2872
+ samples: 3
2873
+ },
2833
2874
  "nvidia/mistral-nemotron": {
2834
2875
  measuredAt: "2026-08-29T16:51:33Z",
2835
2876
  latencyMs: 7349.6,
@@ -3521,7 +3562,7 @@ var AFFINITY = {
3521
3562
  "claude-sonnet-5": 0.98,
3522
3563
  "gpt-5-mini": 0.96,
3523
3564
  "gemini-3.5-flash": 0.92,
3524
- "kimi-k3": 0.9,
3565
+ "kimi-k3.1-pro": 0.9,
3525
3566
  "deepseek-v4-pro": 0.88,
3526
3567
  "glm-5.2": 0.88
3527
3568
  },
@@ -3555,7 +3596,7 @@ var AFFINITY = {
3555
3596
  "claude-sonnet-5": 0.88,
3556
3597
  "gemini-3.5-flash": 0.82,
3557
3598
  "gpt-5.3-codex": 0.81,
3558
- "kimi-k3": 0.78,
3599
+ "kimi-k3.1-pro": 0.78,
3559
3600
  "deepseek-v4-pro": 0.76
3560
3601
  },
3561
3602
  retailHigh: {
@@ -3563,7 +3604,7 @@ var AFFINITY = {
3563
3604
  "claude-sonnet-5": 0.88,
3564
3605
  "gemini-3.5-flash": 0.82,
3565
3606
  "gpt-5.3-codex": 0.81,
3566
- "kimi-k3": 0.78,
3607
+ "kimi-k3.1-pro": 0.78,
3567
3608
  "gpt-5-mini": 0.76
3568
3609
  },
3569
3610
  // Standard airline workflows stay on GPT-5 Mini: six full-session
@@ -3597,7 +3638,7 @@ var AFFINITY = {
3597
3638
  "claude-sonnet-5": 1,
3598
3639
  "gemini-3.5-flash": 0.88,
3599
3640
  "gpt-5.3-codex": 0.87,
3600
- "kimi-k3": 0.85,
3641
+ "kimi-k3.1-pro": 0.85,
3601
3642
  "gpt-5-mini": 0.84,
3602
3643
  "deepseek-v4-pro": 0.82
3603
3644
  },
@@ -3679,13 +3720,13 @@ var AFFINITY = {
3679
3720
  "grok-4.5": 0.93,
3680
3721
  "claude-sonnet-5": 0.9,
3681
3722
  "deepseek-v4-pro": 0.9,
3682
- "kimi-k3": 0.9
3723
+ "kimi-k3.1-pro": 0.9
3683
3724
  },
3684
3725
  vision: {
3685
3726
  "gemini-3.1-pro": 0.96,
3686
3727
  "qwen3.7-max": 0.9,
3687
3728
  "claude-sonnet-4.6": 0.9,
3688
- "kimi-k3": 0.9,
3729
+ "kimi-k3.1-pro": 0.9,
3689
3730
  "grok-4.3": 0.9
3690
3731
  },
3691
3732
  // Long-context eligibility is necessary but not sufficient: a provider can
@@ -3702,13 +3743,18 @@ var AFFINITY = {
3702
3743
  // A structured extraction must preserve both the output contract and the
3703
3744
  // source-language fields. For Mandarin input the language-native Kimi
3704
3745
  // candidate gets a distinct band — a candidate-pool decision, not a post-hoc
3705
- // override, so it still falls back normally when Kimi is unavailable. Kimi
3706
- // K3 costs ~5x its retired sibling K2.7, so the band must be wider than the
3707
- // auto affinityFloorGap (0.10) or price alone re-selects a non-native model
3708
- // for Mandarin input; 0.12 keeps K3 alone in the primary band for zh and
3709
- // leaves every other language untouched.
3746
+ // override, so it still falls back normally when Kimi is unavailable. The
3747
+ // Kimi flagship costs several times the cheap extraction models, so the band
3748
+ // must be wider than the auto affinityFloorGap (0.10) or price alone
3749
+ // re-selects a non-native model for Mandarin input; 0.12 keeps Kimi alone in
3750
+ // the primary band for zh and leaves every other language untouched.
3751
+ //
3752
+ // Every "kimi-k3.1-pro" value in AFFINITY is carried over from the Kimi
3753
+ // flagship it replaced (K3, whose values were in turn carried from K2.7);
3754
+ // none is a K3.1 Pro trajectory measurement. K3.1 Pro's own evidence is the
3755
+ // 2026-11-23 live probe: 3/3 completions, 0 errors, a well-formed tool call.
3710
3756
  extractionZh: {
3711
- "kimi-k3": 1,
3757
+ "kimi-k3.1-pro": 1,
3712
3758
  "gemini-3.5-flash": 0.88,
3713
3759
  "gemini-2.5-flash": 0.88,
3714
3760
  "gpt-4o-mini": 0.88,
@@ -3716,7 +3762,7 @@ var AFFINITY = {
3716
3762
  "claude-sonnet-4.6": 0.88
3717
3763
  },
3718
3764
  extraction: {
3719
- "kimi-k3": 0.9,
3765
+ "kimi-k3.1-pro": 0.9,
3720
3766
  "gemini-3.5-flash": 0.9,
3721
3767
  "gemini-2.5-flash": 0.9,
3722
3768
  "gpt-4o-mini": 0.9,
@@ -3726,7 +3772,7 @@ var AFFINITY = {
3726
3772
  chat: {
3727
3773
  "gemini-3.5-flash": 0.86,
3728
3774
  "gemini-2.5-flash": 0.86,
3729
- "kimi-k3": 0.86
3775
+ "kimi-k3.1-pro": 0.86
3730
3776
  }
3731
3777
  };
3732
3778
  function affinityBand(features) {
@@ -3793,7 +3839,7 @@ function evidenceCandidates(task) {
3793
3839
  "anthropic/claude-sonnet-5",
3794
3840
  "openai/gpt-5-mini",
3795
3841
  "google/gemini-3.5-flash",
3796
- "moonshot/kimi-k3",
3842
+ "moonshot/kimi-k3.1-pro",
3797
3843
  "deepseek/deepseek-v4-pro"
3798
3844
  ];
3799
3845
  }
@@ -3806,7 +3852,7 @@ function evidenceCandidates(task) {
3806
3852
  "openai/gpt-4o-mini",
3807
3853
  "google/gemini-3.5-flash",
3808
3854
  "openai/gpt-5.3-codex",
3809
- "moonshot/kimi-k3",
3855
+ "moonshot/kimi-k3.1-pro",
3810
3856
  "deepseek/deepseek-v4-pro"
3811
3857
  ];
3812
3858
  }
@@ -3842,7 +3888,7 @@ function evidenceCandidates(task) {
3842
3888
  ];
3843
3889
  }
3844
3890
  if (task === "extraction") {
3845
- return ["moonshot/kimi-k3", "google/gemini-3.5-flash", "anthropic/claude-sonnet-5"];
3891
+ return ["moonshot/kimi-k3.1-pro", "google/gemini-3.5-flash", "anthropic/claude-sonnet-5"];
3846
3892
  }
3847
3893
  if (task === "reasoning_math") {
3848
3894
  return [
@@ -3850,7 +3896,7 @@ function evidenceCandidates(task) {
3850
3896
  "xai/grok-4.5",
3851
3897
  "anthropic/claude-sonnet-5",
3852
3898
  "deepseek/deepseek-v4-pro",
3853
- "moonshot/kimi-k3"
3899
+ "moonshot/kimi-k3.1-pro"
3854
3900
  ];
3855
3901
  }
3856
3902
  return [];
@@ -3861,6 +3907,7 @@ var VERIFIED_TOOL_FALLBACKS = [
3861
3907
  "anthropic/claude-sonnet-5.5",
3862
3908
  "deepseek/deepseek-v4.1-flash",
3863
3909
  "google/gemini-3.8-flash",
3910
+ "google/gemini-4-carbon",
3864
3911
  "openai/gpt-5.1",
3865
3912
  "openai/gpt-6-astra",
3866
3913
  "openai/gpt-6-luna",
package/docs/features.md CHANGED
@@ -186,7 +186,7 @@ Use short aliases instead of full model paths:
186
186
  /model gpt5 # openai/gpt-5.6-terra; /model gpt-6-astra, gpt-6-sol, gpt-6-luna for GPT-6
187
187
  /model deepseek # deepseek/deepseek-chat
188
188
  /model reasoner # deepseek/deepseek-reasoner
189
- /model kimi # moonshot/kimi-k2.7; /model kimi-k3 for the 1M-ctx flagship
189
+ /model kimi # moonshot/kimi-k2.7; /model kimi-k3.1-pro for the 1M-ctx flagship
190
190
  /model glm # zai/glm-5.3
191
191
  /model gemini # google/gemini-2.5-pro
192
192
  /model flash # google/gemini-2.5-flash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/clawrouter",
3
- "version": "0.12.318",
3
+ "version": "0.12.319",
4
4
  "description": "Smart LLM router — save 84% on inference costs. 91 models (8 free). Pay by credit card (API key) or USDC (x402 wallet).",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -116,7 +116,7 @@
116
116
  },
117
117
  "devDependencies": {
118
118
  "@blockrun/model-catalog": "https://codeload.github.com/BlockRunAI/model-catalog/tar.gz/fbe63065c111020f7868d3b444480501423b4fbd",
119
- "@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/273c2af0a9abe70212efbad7117b72eb3038cffc",
119
+ "@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/02136fb6debedead5747f618b3381894331f9330",
120
120
  "@eslint/js": "^10.0.1",
121
121
  "eslint": "^10.2.0",
122
122
  "openclaw": "^2026.7.2-beta.7",
@@ -140,7 +140,7 @@ it against a baseline nobody wrote down. See
140
140
 
141
141
  ## Available Models
142
142
 
143
- <!-- br:models.chatVisible -->91<!-- /br:models.chatVisible --> models including: gpt-6-astra [GPT-6 flagship, 1M ctx], gpt-6-sol, gpt-6.1-sol [refreshed Sol], gpt-6-luna [fast], gpt-5.6-terra [balanced, stable default], gpt-5.6-sol [flagship], gpt-5.6-luna [cost-efficient], gpt-5.6-sol/terra/luna-pro [pro reasoning tiers], gpt-5.5, gpt-5.5-pro [max compute], chat-latest [ChatGPT Instant], gpt-5.4, gpt-5.1, gpt-4o, o3, claude-fable-5.1, claude-fable-5, claude-opus-5.5 [newest Opus], claude-opus-5 [1M ctx], claude-opus-4.8, claude-opus-4.7, claude-opus-4.5, claude-sonnet-5.5, claude-sonnet-5, claude-sonnet-4.6, gemini-3.1-pro, gemini-3.6-flash, gemini-3.5-flash-lite, gemini-2.5-flash, deepseek-v4-pro, deepseek-chat, grok-4.7, grok-4.6, grok-4.5, grok-4.3, grok-build-0.1, glm-5.3 [Z.AI flagship, 1M ctx], glm-5.3-flash [natively multimodal, 1M ctx], glm-5.2, minimax-m3, kimi-k3 [1M ctx flagship], kimi-k2.7, qwen3.8-max [Qwen 3.8 flagship, 1M ctx], qwen3.7-max, qwen3.7-plus, qwen3.7-flash, mimo [Xiaomi MiMo-V2.5 Pro, 1M ctx], mistral-large-4 [Mistral flagship, 512K ctx, vision], hy4-preview [Tencent, 770B MoE], laguna-s-2.1 [Poolside, coding], and <!-- br:models.free -->8<!-- /br:models.free --> free open-weight models (nemotron-3.5-lightning [1M ctx, thinking mode — the free default], nemotron-3-ultra-550b [550B/55B MoE, 1M ctx — the largest free model], nemotron-3.5-bolt [about a second to answer, reads images], nemotron-3-super-120b [reasoning], nemotron-3-nano-omni-30b-a3b-reasoning [256K ctx], north-mini-code [Cohere, coding, sub-second], laguna-xs-2.1 [Poolside, coding, ~161 tok/s], muse-glimmer-30b [Meta Muse, reasoning]). Only Bolt is flagged for vision: pin it with `/model vision-free`. Otherwise image turns route to a paid vision model, because the other free models the catalogs advertise as vision-capable don't pass a solid-colour probe on both chains.
143
+ <!-- br:models.chatVisible -->91<!-- /br:models.chatVisible --> models including: gpt-6-astra [GPT-6 flagship, 1M ctx], gpt-6-sol, gpt-6.1-sol [refreshed Sol], gpt-6-luna [fast], gpt-5.6-terra [balanced, stable default], gpt-5.6-sol [flagship], gpt-5.6-luna [cost-efficient], gpt-5.6-sol/terra/luna-pro [pro reasoning tiers], gpt-5.5, gpt-5.5-pro [max compute], chat-latest [ChatGPT Instant], gpt-5.4, gpt-5.1, gpt-4o, o3, claude-fable-5.1, claude-fable-5, claude-opus-5.5 [newest Opus], claude-opus-5 [1M ctx], claude-opus-4.8, claude-opus-4.7, claude-opus-4.5, claude-sonnet-5.5, claude-sonnet-5, claude-sonnet-4.6, gemini-3.1-pro, gemini-3.6-flash, gemini-3.5-flash-lite, gemini-2.5-flash, deepseek-v4-pro, deepseek-chat, grok-4.7, grok-4.6, grok-4.5, grok-4.3, grok-build-0.1, glm-5.3 [Z.AI flagship, 1M ctx], glm-5.3-flash [natively multimodal, 1M ctx], glm-5.2, minimax-m3, kimi-k3.1-pro [1M ctx flagship], kimi-k2.7, qwen3.8-max [Qwen 3.8 flagship, 1M ctx], qwen3.7-max, qwen3.7-plus, qwen3.7-flash, mimo [Xiaomi MiMo-V2.5 Pro, 1M ctx], mistral-large-4 [Mistral flagship, 512K ctx, vision], hy4-preview [Tencent, 770B MoE], laguna-s-2.1 [Poolside, coding], and <!-- br:models.free -->8<!-- /br:models.free --> free open-weight models (nemotron-3.5-lightning [1M ctx, thinking mode — the free default], nemotron-3-ultra-550b [550B/55B MoE, 1M ctx — the largest free model], nemotron-3.5-bolt [about a second to answer, reads images], nemotron-3-super-120b [reasoning], nemotron-3-nano-omni-30b-a3b-reasoning [256K ctx], north-mini-code [Cohere, coding, sub-second], laguna-xs-2.1 [Poolside, coding, ~161 tok/s], muse-glimmer-30b [Meta Muse, reasoning]). Only Bolt is flagged for vision: pin it with `/model vision-free`. Otherwise image turns route to a paid vision model, because the other free models the catalogs advertise as vision-capable don't pass a solid-colour probe on both chains.
144
144
 
145
145
  ## Model Prices — Look Them Up Live
146
146