@blockrun/clawrouter 0.12.271 → 0.12.272

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/clawrouter",
3
- "version": "0.12.271",
3
+ "version": "0.12.272",
4
4
  "description": "Smart LLM router — save 84% on inference costs. 76 models (7 free). Pay by credit card (API key) or USDC (x402 wallet).",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -44,9 +44,20 @@ diffing the account ledger across one call, the wallet figures by reading the
44
44
  `amount` in the x402 402 challenge, which quotes the price before anything is
45
45
  signed. Base and Solana genuinely differ for the same endpoint.
46
46
 
47
- **The 402 quote is always authoritative.** On the wallet rail the price arrives
48
- in the challenge before you pay, so if this table ever disagrees with it, believe
49
- the challenge and treat the table as stale.
47
+ **A 402 quote is authoritative for the rail that issued it — and only that rail.**
48
+ On the wallet rail the price arrives in the challenge before you pay, so if this
49
+ table disagrees with it, believe the challenge and treat the table as stale.
50
+
51
+ Do NOT carry a wallet-rail 402 figure over to the API-key rail. The key rail
52
+ issues no 402 at all, and the wallet quote includes the chain's transaction fee
53
+ that account credit does not pay — on Base that is $0.0085 quoted against
54
+ $0.0075 actually billed to an account. Reading across rails turns a correct
55
+ number into a wrong one; it has already happened once.
56
+
57
+ The Base/Solana difference is deliberate, not drift: the $0.001 is the Base
58
+ transaction fee, and Solana omitting it is a migration incentive. Solana being
59
+ cheaper is expected — Solana priced _above_ Base would be the bug worth
60
+ reporting, since estimates generally assume the Base figure is the ceiling.
50
61
 
51
62
  > The legacy **surf-1.5 chat** surface is intentionally NOT exposed yet — it's held until per-token settlement is wired. Trying `/v1/surf/chat/completions` returns 404 ("Unknown Surf endpoint"), no payment is taken.
52
63