@blockrun/clawrouter 0.12.233 → 0.12.234

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",
@@ -34904,6 +34914,38 @@ var init_models = __esm({
34904
34914
  agentic: true,
34905
34915
  toolCalling: true
34906
34916
  },
34917
+ // GPT-5.5 Pro — max-compute tier of the 5.5 family, mirrors the gpt-5.4-pro
34918
+ // shape. Upstream also has an OpenAI long-context tier (2x in / 1.5x out above
34919
+ // 272K prompt tokens) that this registry cannot express; as with grok, that
34920
+ // skews `logUsage` only — the charge is server-dictated via 402.
34921
+ {
34922
+ id: "openai/gpt-5.5-pro",
34923
+ name: "GPT-5.5 Pro",
34924
+ version: "5.5",
34925
+ inputPrice: 30,
34926
+ outputPrice: 180,
34927
+ contextWindow: 105e4,
34928
+ maxOutput: 128e3,
34929
+ reasoning: true,
34930
+ vision: true,
34931
+ toolCalling: true
34932
+ },
34933
+ // ChatGPT Instant — upstream exposes ChatGPT's default model ONLY as the
34934
+ // rolling version-less `chat-latest` id, so that is the honest catalog id: it
34935
+ // stays correct when OpenAI rolls the default to the next Instant. The display
34936
+ // name tracks whichever snapshot is current and must be refreshed on each roll.
34937
+ // Chat/vision only upstream — no reasoning or agentic categories.
34938
+ {
34939
+ id: "openai/chat-latest",
34940
+ name: "ChatGPT Instant (GPT-5.5)",
34941
+ version: "5.5",
34942
+ inputPrice: 5,
34943
+ outputPrice: 30,
34944
+ contextWindow: 128e3,
34945
+ maxOutput: 128e3,
34946
+ vision: true,
34947
+ toolCalling: true
34948
+ },
34907
34949
  // GPT-5.4 — flagship benchmarked into routing tiers
34908
34950
  {
34909
34951
  id: "openai/gpt-5.4",
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",
@@ -669,6 +679,38 @@ var init_models = __esm({
669
679
  agentic: true,
670
680
  toolCalling: true
671
681
  },
682
+ // GPT-5.5 Pro — max-compute tier of the 5.5 family, mirrors the gpt-5.4-pro
683
+ // shape. Upstream also has an OpenAI long-context tier (2x in / 1.5x out above
684
+ // 272K prompt tokens) that this registry cannot express; as with grok, that
685
+ // skews `logUsage` only — the charge is server-dictated via 402.
686
+ {
687
+ id: "openai/gpt-5.5-pro",
688
+ name: "GPT-5.5 Pro",
689
+ version: "5.5",
690
+ inputPrice: 30,
691
+ outputPrice: 180,
692
+ contextWindow: 105e4,
693
+ maxOutput: 128e3,
694
+ reasoning: true,
695
+ vision: true,
696
+ toolCalling: true
697
+ },
698
+ // ChatGPT Instant — upstream exposes ChatGPT's default model ONLY as the
699
+ // rolling version-less `chat-latest` id, so that is the honest catalog id: it
700
+ // stays correct when OpenAI rolls the default to the next Instant. The display
701
+ // name tracks whichever snapshot is current and must be refreshed on each roll.
702
+ // Chat/vision only upstream — no reasoning or agentic categories.
703
+ {
704
+ id: "openai/chat-latest",
705
+ name: "ChatGPT Instant (GPT-5.5)",
706
+ version: "5.5",
707
+ inputPrice: 5,
708
+ outputPrice: 30,
709
+ contextWindow: 128e3,
710
+ maxOutput: 128e3,
711
+ vision: true,
712
+ toolCalling: true
713
+ },
672
714
  // GPT-5.4 — flagship benchmarked into routing tiers
673
715
  {
674
716
  id: "openai/gpt-5.4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/clawrouter",
3
- "version": "0.12.233",
3
+ "version": "0.12.234",
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",