@blockrun/clawrouter 0.12.233 → 0.12.235

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
@@ -460,9 +460,11 @@ No Surf account, no API key — settles directly to Surf's Base treasury in USDC
460
460
  | anthropic/claude-opus-4.8 | $5.00 | $25.00 | $0.0150 | 1M | reasoning, vision, agentic, tools |
461
461
  | openai/gpt-5.6-sol | $5.00 | $30.00 | $0.0175 | 1M | reasoning, vision, agentic, tools |
462
462
  | openai/gpt-5.5 | $5.00 | $30.00 | $0.0175 | 1M | reasoning, vision, agentic, tools |
463
+ | openai/chat-latest | $5.00 | $30.00 | $0.0175 | 128K | vision, tools |
463
464
  | openai/o1 | $15.00 | $60.00 | $0.0375 | 200K | reasoning, tools |
464
465
  | openai/gpt-5.2-pro | $21.00 | $168.00 | $0.0945 | 400K | reasoning, tools |
465
466
  | openai/gpt-5.4-pro | $30.00 | $180.00 | $0.1050 | 400K | reasoning, tools |
467
+ | openai/gpt-5.5-pro | $30.00 | $180.00 | $0.1050 | 1M | reasoning, vision, tools |
466
468
 
467
469
  > **Free tier:** several NVIDIA-hosted models cost nothing — `/model free` smart-routes across them, or pick one directly (e.g., `/model nemotron-omni` for vision, `/model v4-flash` for 1M-context reasoning, `/model seed-oss` for coding, `/model mistral-large` for the 675B flagship).
468
470
  > **Best value:** `gpt-5-nano` and `gemini-2.5-flash-lite` deliver strong results at ~$0.0003/request.
package/dist/cli.js CHANGED
@@ -34303,6 +34303,7 @@ var init_top_models = __esm({
34303
34303
  "openai/gpt-5.6-sol",
34304
34304
  "openai/gpt-5.6-luna",
34305
34305
  "openai/gpt-5.5",
34306
+ "openai/gpt-5.5-pro",
34306
34307
  "openai/gpt-5.4-pro",
34307
34308
  "openai/gpt-5.4",
34308
34309
  "openai/gpt-5.4-mini",
@@ -34474,8 +34475,12 @@ var init_models = __esm({
34474
34475
  "fable-5": "anthropic/claude-fable-5",
34475
34476
  "fable-5.0": "anthropic/claude-fable-5",
34476
34477
  // Opus 5 (2026-07-24) takes the bare `opus` alias: identical $5/$25 and the
34477
- // same 1M/128K envelope as 4.8, so no per-call-cap wallet changes behavior,
34478
- // and BlockRun already repointed `clawrouter-premium` → opus-5. `opus-4` and
34478
+ // same 1M/128K envelope as 4.8, so a wallet with a per-call cost cap sees no
34479
+ // change in how a request is priced or sized — the promotion cannot push a
34480
+ // caller through a cap. BlockRun repointed `clawrouter-premium` → opus-5 for
34481
+ // the same reason. (Unit price only: adaptive thinking may emit more output
34482
+ // tokens per call, which raises realized spend without changing the cap math.)
34483
+ // `opus-4` and
34479
34484
  // `anthropic/claude-opus-4` stay on 4.8 — they name the 4-series generation.
34480
34485
  // Note: `anthropic/claude-opus-5` must NOT be an alias key (see fable note).
34481
34486
  opus: "anthropic/claude-opus-5",
@@ -34525,6 +34530,11 @@ var init_models = __esm({
34525
34530
  "gpt-5.6-terra": "openai/gpt-5.6-terra",
34526
34531
  "gpt-5.6-luna": "openai/gpt-5.6-luna",
34527
34532
  "gpt-5.5": "openai/gpt-5.5",
34533
+ "gpt-5.5-pro": "openai/gpt-5.5-pro",
34534
+ // ChatGPT Instant. `chat-latest` is a rolling upstream id — pinning it means
34535
+ // "whatever ChatGPT's default is today", not a fixed snapshot.
34536
+ "chat-latest": "openai/chat-latest",
34537
+ chatgpt: "openai/chat-latest",
34528
34538
  "gpt-5.4": "openai/gpt-5.4",
34529
34539
  "gpt-5.4-pro": "openai/gpt-5.4-pro",
34530
34540
  "gpt-5.4-nano": "openai/gpt-5.4-nano",
@@ -34840,6 +34850,7 @@ var init_models = __esm({
34840
34850
  contextWindow: 4e5,
34841
34851
  maxOutput: 128e3,
34842
34852
  reasoning: true,
34853
+ vision: true,
34843
34854
  toolCalling: true
34844
34855
  },
34845
34856
  // GPT-5.6 Family — GA 2026-07-09. Three fixed tiers (Sol/Terra/Luna) replace the
@@ -34904,6 +34915,38 @@ var init_models = __esm({
34904
34915
  agentic: true,
34905
34916
  toolCalling: true
34906
34917
  },
34918
+ // GPT-5.5 Pro — max-compute tier of the 5.5 family, mirrors the gpt-5.4-pro
34919
+ // shape. Upstream also has an OpenAI long-context tier (2x in / 1.5x out above
34920
+ // 272K prompt tokens) that this registry cannot express; as with grok, that
34921
+ // skews `logUsage` only — the charge is server-dictated via 402.
34922
+ {
34923
+ id: "openai/gpt-5.5-pro",
34924
+ name: "GPT-5.5 Pro",
34925
+ version: "5.5",
34926
+ inputPrice: 30,
34927
+ outputPrice: 180,
34928
+ contextWindow: 105e4,
34929
+ maxOutput: 128e3,
34930
+ reasoning: true,
34931
+ vision: true,
34932
+ toolCalling: true
34933
+ },
34934
+ // ChatGPT Instant — upstream exposes ChatGPT's default model ONLY as the
34935
+ // rolling version-less `chat-latest` id, so that is the honest catalog id: it
34936
+ // stays correct when OpenAI rolls the default to the next Instant. The display
34937
+ // name tracks whichever snapshot is current and must be refreshed on each roll.
34938
+ // Chat/vision only upstream — no reasoning or agentic categories.
34939
+ {
34940
+ id: "openai/chat-latest",
34941
+ name: "ChatGPT Instant (GPT-5.5)",
34942
+ version: "5.5",
34943
+ inputPrice: 5,
34944
+ outputPrice: 30,
34945
+ contextWindow: 128e3,
34946
+ maxOutput: 128e3,
34947
+ vision: true,
34948
+ toolCalling: true
34949
+ },
34907
34950
  // GPT-5.4 — flagship benchmarked into routing tiers
34908
34951
  {
34909
34952
  id: "openai/gpt-5.4",
@@ -34939,6 +34982,7 @@ var init_models = __esm({
34939
34982
  contextWindow: 4e5,
34940
34983
  maxOutput: 128e3,
34941
34984
  reasoning: true,
34985
+ vision: true,
34942
34986
  toolCalling: true
34943
34987
  },
34944
34988
  {
@@ -35275,6 +35319,7 @@ var init_models = __esm({
35275
35319
  outputPrice: 3,
35276
35320
  contextWindow: 1e6,
35277
35321
  maxOutput: 65536,
35322
+ reasoning: true,
35278
35323
  vision: true
35279
35324
  },
35280
35325
  {
@@ -35839,7 +35884,8 @@ var init_models = __esm({
35839
35884
  inputPrice: 0,
35840
35885
  outputPrice: 0,
35841
35886
  contextWindow: 131072,
35842
- maxOutput: 16384
35887
+ maxOutput: 16384,
35888
+ reasoning: true
35843
35889
  },
35844
35890
  {
35845
35891
  // NVIDIA Nemotron Nano 12B v2 VL: vision-language (text + image), 131K context.
@@ -35850,6 +35896,7 @@ var init_models = __esm({
35850
35896
  outputPrice: 0,
35851
35897
  contextWindow: 131072,
35852
35898
  maxOutput: 16384,
35899
+ reasoning: true,
35853
35900
  vision: true
35854
35901
  },
35855
35902
  // Z.AI GLM-5 Models
@@ -35864,6 +35911,7 @@ var init_models = __esm({
35864
35911
  outputPrice: 4.4,
35865
35912
  contextWindow: 1e6,
35866
35913
  maxOutput: 262144,
35914
+ reasoning: true,
35867
35915
  toolCalling: true
35868
35916
  },
35869
35917
  {
@@ -35876,6 +35924,7 @@ var init_models = __esm({
35876
35924
  outputPrice: 4.4,
35877
35925
  contextWindow: 2e5,
35878
35926
  maxOutput: 128e3,
35927
+ reasoning: true,
35879
35928
  toolCalling: true,
35880
35929
  promo: { flatPrice: 1e-3, startDate: "2026-04-01", endDate: "2026-06-05" }
35881
35930
  },
@@ -35888,6 +35937,7 @@ var init_models = __esm({
35888
35937
  outputPrice: 1.92,
35889
35938
  contextWindow: 2e5,
35890
35939
  maxOutput: 128e3,
35940
+ reasoning: true,
35891
35941
  toolCalling: true
35892
35942
  },
35893
35943
  {
@@ -35899,6 +35949,7 @@ var init_models = __esm({
35899
35949
  outputPrice: 4,
35900
35950
  contextWindow: 2e5,
35901
35951
  maxOutput: 128e3,
35952
+ reasoning: true,
35902
35953
  toolCalling: true
35903
35954
  }
35904
35955
  ];
package/dist/index.js CHANGED
@@ -68,6 +68,7 @@ var init_top_models = __esm({
68
68
  "openai/gpt-5.6-sol",
69
69
  "openai/gpt-5.6-luna",
70
70
  "openai/gpt-5.5",
71
+ "openai/gpt-5.5-pro",
71
72
  "openai/gpt-5.4-pro",
72
73
  "openai/gpt-5.4",
73
74
  "openai/gpt-5.4-mini",
@@ -239,8 +240,12 @@ var init_models = __esm({
239
240
  "fable-5": "anthropic/claude-fable-5",
240
241
  "fable-5.0": "anthropic/claude-fable-5",
241
242
  // Opus 5 (2026-07-24) takes the bare `opus` alias: identical $5/$25 and the
242
- // same 1M/128K envelope as 4.8, so no per-call-cap wallet changes behavior,
243
- // and BlockRun already repointed `clawrouter-premium` → opus-5. `opus-4` and
243
+ // same 1M/128K envelope as 4.8, so a wallet with a per-call cost cap sees no
244
+ // change in how a request is priced or sized — the promotion cannot push a
245
+ // caller through a cap. BlockRun repointed `clawrouter-premium` → opus-5 for
246
+ // the same reason. (Unit price only: adaptive thinking may emit more output
247
+ // tokens per call, which raises realized spend without changing the cap math.)
248
+ // `opus-4` and
244
249
  // `anthropic/claude-opus-4` stay on 4.8 — they name the 4-series generation.
245
250
  // Note: `anthropic/claude-opus-5` must NOT be an alias key (see fable note).
246
251
  opus: "anthropic/claude-opus-5",
@@ -290,6 +295,11 @@ var init_models = __esm({
290
295
  "gpt-5.6-terra": "openai/gpt-5.6-terra",
291
296
  "gpt-5.6-luna": "openai/gpt-5.6-luna",
292
297
  "gpt-5.5": "openai/gpt-5.5",
298
+ "gpt-5.5-pro": "openai/gpt-5.5-pro",
299
+ // ChatGPT Instant. `chat-latest` is a rolling upstream id — pinning it means
300
+ // "whatever ChatGPT's default is today", not a fixed snapshot.
301
+ "chat-latest": "openai/chat-latest",
302
+ chatgpt: "openai/chat-latest",
293
303
  "gpt-5.4": "openai/gpt-5.4",
294
304
  "gpt-5.4-pro": "openai/gpt-5.4-pro",
295
305
  "gpt-5.4-nano": "openai/gpt-5.4-nano",
@@ -605,6 +615,7 @@ var init_models = __esm({
605
615
  contextWindow: 4e5,
606
616
  maxOutput: 128e3,
607
617
  reasoning: true,
618
+ vision: true,
608
619
  toolCalling: true
609
620
  },
610
621
  // GPT-5.6 Family — GA 2026-07-09. Three fixed tiers (Sol/Terra/Luna) replace the
@@ -669,6 +680,38 @@ var init_models = __esm({
669
680
  agentic: true,
670
681
  toolCalling: true
671
682
  },
683
+ // GPT-5.5 Pro — max-compute tier of the 5.5 family, mirrors the gpt-5.4-pro
684
+ // shape. Upstream also has an OpenAI long-context tier (2x in / 1.5x out above
685
+ // 272K prompt tokens) that this registry cannot express; as with grok, that
686
+ // skews `logUsage` only — the charge is server-dictated via 402.
687
+ {
688
+ id: "openai/gpt-5.5-pro",
689
+ name: "GPT-5.5 Pro",
690
+ version: "5.5",
691
+ inputPrice: 30,
692
+ outputPrice: 180,
693
+ contextWindow: 105e4,
694
+ maxOutput: 128e3,
695
+ reasoning: true,
696
+ vision: true,
697
+ toolCalling: true
698
+ },
699
+ // ChatGPT Instant — upstream exposes ChatGPT's default model ONLY as the
700
+ // rolling version-less `chat-latest` id, so that is the honest catalog id: it
701
+ // stays correct when OpenAI rolls the default to the next Instant. The display
702
+ // name tracks whichever snapshot is current and must be refreshed on each roll.
703
+ // Chat/vision only upstream — no reasoning or agentic categories.
704
+ {
705
+ id: "openai/chat-latest",
706
+ name: "ChatGPT Instant (GPT-5.5)",
707
+ version: "5.5",
708
+ inputPrice: 5,
709
+ outputPrice: 30,
710
+ contextWindow: 128e3,
711
+ maxOutput: 128e3,
712
+ vision: true,
713
+ toolCalling: true
714
+ },
672
715
  // GPT-5.4 — flagship benchmarked into routing tiers
673
716
  {
674
717
  id: "openai/gpt-5.4",
@@ -704,6 +747,7 @@ var init_models = __esm({
704
747
  contextWindow: 4e5,
705
748
  maxOutput: 128e3,
706
749
  reasoning: true,
750
+ vision: true,
707
751
  toolCalling: true
708
752
  },
709
753
  {
@@ -1040,6 +1084,7 @@ var init_models = __esm({
1040
1084
  outputPrice: 3,
1041
1085
  contextWindow: 1e6,
1042
1086
  maxOutput: 65536,
1087
+ reasoning: true,
1043
1088
  vision: true
1044
1089
  },
1045
1090
  {
@@ -1604,7 +1649,8 @@ var init_models = __esm({
1604
1649
  inputPrice: 0,
1605
1650
  outputPrice: 0,
1606
1651
  contextWindow: 131072,
1607
- maxOutput: 16384
1652
+ maxOutput: 16384,
1653
+ reasoning: true
1608
1654
  },
1609
1655
  {
1610
1656
  // NVIDIA Nemotron Nano 12B v2 VL: vision-language (text + image), 131K context.
@@ -1615,6 +1661,7 @@ var init_models = __esm({
1615
1661
  outputPrice: 0,
1616
1662
  contextWindow: 131072,
1617
1663
  maxOutput: 16384,
1664
+ reasoning: true,
1618
1665
  vision: true
1619
1666
  },
1620
1667
  // Z.AI GLM-5 Models
@@ -1629,6 +1676,7 @@ var init_models = __esm({
1629
1676
  outputPrice: 4.4,
1630
1677
  contextWindow: 1e6,
1631
1678
  maxOutput: 262144,
1679
+ reasoning: true,
1632
1680
  toolCalling: true
1633
1681
  },
1634
1682
  {
@@ -1641,6 +1689,7 @@ var init_models = __esm({
1641
1689
  outputPrice: 4.4,
1642
1690
  contextWindow: 2e5,
1643
1691
  maxOutput: 128e3,
1692
+ reasoning: true,
1644
1693
  toolCalling: true,
1645
1694
  promo: { flatPrice: 1e-3, startDate: "2026-04-01", endDate: "2026-06-05" }
1646
1695
  },
@@ -1653,6 +1702,7 @@ var init_models = __esm({
1653
1702
  outputPrice: 1.92,
1654
1703
  contextWindow: 2e5,
1655
1704
  maxOutput: 128e3,
1705
+ reasoning: true,
1656
1706
  toolCalling: true
1657
1707
  },
1658
1708
  {
@@ -1664,6 +1714,7 @@ var init_models = __esm({
1664
1714
  outputPrice: 4,
1665
1715
  contextWindow: 2e5,
1666
1716
  maxOutput: 128e3,
1717
+ reasoning: true,
1667
1718
  toolCalling: true
1668
1719
  }
1669
1720
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/clawrouter",
3
- "version": "0.12.233",
3
+ "version": "0.12.235",
4
4
  "description": "Smart LLM router — save 85% on inference costs. 55+ models (8 free), one wallet, x402 micropayments.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -135,7 +135,7 @@ Rules handle ~~80% of requests in <1ms. Only ambiguous queries hit the LLM class
135
135
 
136
136
  ## Available Models
137
137
 
138
- 55+ models including: gpt-5.6-terra [balanced, stable default], gpt-5.6-sol [flagship], gpt-5.6-luna [cost-efficient], gpt-5.5, gpt-5.4, gpt-4o, o3, claude-fable-5, claude-opus-5 [Anthropic flagship, 1M ctx], claude-opus-4.8, claude-opus-4.7, claude-opus-4.5, claude-sonnet-5, claude-sonnet-4.6, gemini-3.1-pro, gemini-2.5-flash, deepseek-v4-pro, deepseek-chat, grok-4.5, grok-4.3, grok-build-0.1, kimi-k3 [1M ctx flagship], kimi-k2.7, qwen3.7-max [Qwen flagship, 1M ctx], and 8 free NVIDIA models (mistral-large-3-675b [default, 675B flagship], deepseek-v4-flash [1M context], seed-oss-36b [coding], nemotron-3-nano-omni-30b-a3b-reasoning [vision], mistral-nemotron, step-3.7-flash, nemotron-nano-9b-v2, nemotron-nano-12b-v2-vl [vision]).
138
+ 55+ models including: gpt-5.6-terra [balanced, stable default], gpt-5.6-sol [flagship], gpt-5.6-luna [cost-efficient], gpt-5.5, gpt-5.5-pro [max compute], chat-latest [ChatGPT Instant], gpt-5.4, gpt-4o, o3, claude-fable-5, claude-opus-5 [Anthropic flagship, 1M ctx], claude-opus-4.8, claude-opus-4.7, claude-opus-4.5, claude-sonnet-5, claude-sonnet-4.6, gemini-3.1-pro, gemini-2.5-flash, deepseek-v4-pro, deepseek-chat, grok-4.5, grok-4.3, grok-build-0.1, kimi-k3 [1M ctx flagship], kimi-k2.7, qwen3.7-max [Qwen flagship, 1M ctx], and 8 free NVIDIA models (mistral-large-3-675b [default, 675B flagship], deepseek-v4-flash [1M context], seed-oss-36b [coding], nemotron-3-nano-omni-30b-a3b-reasoning [vision], mistral-nemotron, step-3.7-flash, nemotron-nano-9b-v2, nemotron-nano-12b-v2-vl [vision]).
139
139
 
140
140
  ## Built-in Agent Tools
141
141
 
@@ -14,6 +14,7 @@
14
14
  "openai/gpt-5.6-sol",
15
15
  "openai/gpt-5.6-luna",
16
16
  "openai/gpt-5.5",
17
+ "openai/gpt-5.5-pro",
17
18
  "openai/gpt-5.4-pro",
18
19
  "openai/gpt-5.4",
19
20
  "openai/gpt-5.4-mini",