{"_id":"@blockrun/xclawrouter","_rev":"15-3821924746f2ecdebfcce71c165cd6c8","name":"@blockrun/xclawrouter","dist-tags":{"latest":"0.12.192"},"versions":{"0.12.176":{"name":"@blockrun/xclawrouter","version":"0.12.176","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.176","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js"},"dist":{"shasum":"3cf050de8eb132311568a24ac15bdce0dc2d8b37","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.176.tgz","fileCount":38,"integrity":"sha512-3tc9mhcs6rY+dPXOJSZsCDPYajRnrzxvoYjOfQhltiSB+NzMma1VDW2oCYNiB21GOS0CkDqexsEp4W5oePF6fQ==","signatures":[{"sig":"MEUCIQDKUQW6Hgm3IWb8U3v85yCryOJdas6ik8PBzt1AC3wI3wIgAl8bxt6SDwNFLeD0IWmOOOYruj7WBBFguxMPg0+n3wg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24129035},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"08da25c9b554b0a0b2b443ceaca5e332b96da7f1","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.176_1778597185661_0.6435146179004061","host":"s3://npm-registry-packages-npm-production"}},"0.12.177":{"name":"@blockrun/xclawrouter","version":"0.12.177","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.177","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js"},"dist":{"shasum":"df6d688523f6e991c7a4f5cb113498502e43a7e6","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.177.tgz","fileCount":38,"integrity":"sha512-h9eDyYeHyOxIhHDOf3wYjLuDbshT/mViL/RJW2bL7LKFe2daYnJTPuHHgIYRYL5GPOM5oZXfXhwp6xSUc1JXqA==","signatures":[{"sig":"MEQCIHtZOrwv3R1Wn3J0NApK68ANyfWGVCPVzTtxngAZYXFoAiBGc3IlLGPhqIrplkmbQkHNFf7SVgfQY0/ObOopCAKdtQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24128811},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"fa274b62a9ff6516c004537023ff6fb845093b28","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.177_1778597758930_0.7023439183853417","host":"s3://npm-registry-packages-npm-production"}},"0.12.178":{"name":"@blockrun/xclawrouter","version":"0.12.178","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.178","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js"},"dist":{"shasum":"c037794bc17f9a586090bad8c785fd6171fdace6","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.178.tgz","fileCount":38,"integrity":"sha512-luFVieRVKnmbHTXpfBouGWD6uavULrelj+d1rTZWTd4Uhrneb7jUxamB1OaF9dWnH+NiD47lGtsNwOzS9EuxxA==","signatures":[{"sig":"MEQCIDqvaooDRspt04RW2hzD4Mh30uZqtcUS0sok8LQfhEx1AiAdzH6K6OB3OUos6ADb6rMdyqEifEFpoc2qGhhXsmJtDw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24135426},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f8adfab4cd23d93dfc474293eb59fa3f0bb8955a","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.178_1778598413409_0.12931972089513533","host":"s3://npm-registry-packages-npm-production"}},"0.12.179":{"name":"@blockrun/xclawrouter","version":"0.12.179","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.179","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js"},"dist":{"shasum":"e777daa74c76c62a73050e5face655ecfec6c4e3","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.179.tgz","fileCount":38,"integrity":"sha512-+/nEK02I9OwPUwp5ttJ0Ztvh0MELYAOwjRWRs5tVRDHqhUuPlw0a3yXluTrET8cgKI276jUfm/vXa814WZLoRQ==","signatures":[{"sig":"MEUCIGwgTJ4gm+YhvXD1WNGKwxr46U0hpCh4U9z+tEgYInKAAiEA8VQnaTuf2uZcPerr7NPt2kRoZ1rmc/p77i4HxMi+4U0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24140154},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4faa12cb4a19b5c8c69905e03c59eac8bf203dce","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.179_1778599777773_0.8528255177660455","host":"s3://npm-registry-packages-npm-production"}},"0.12.182":{"name":"@blockrun/xclawrouter","version":"0.12.182","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.182","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js","xclawrouter":"dist/cli.js"},"dist":{"shasum":"d22645cd79979e1bdf2e86acfdb05e6ad089e790","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.182.tgz","fileCount":38,"integrity":"sha512-avsXM3u51gnw8Y2eoCKrm5IZraJuADi2qKbxp89iepsOAaHSX1SZ9ooDcChhhRFnra9h+6rjpaFVoGsQOQMb4A==","signatures":[{"sig":"MEUCICb4YubbxgX/DxvoXTWYmmk3fWftBTh/+CVLcievqn7SAiEAnJXrj6RLEcxzCaBwnxMTNwluJ8PaHZouZeUf0ZCE8oQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24178683},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"2b7be20bc11d394b756933a2467805f71b702877","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.182_1778634231315_0.8540246104278342","host":"s3://npm-registry-packages-npm-production"}},"0.12.183":{"name":"@blockrun/xclawrouter","version":"0.12.183","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.183","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js","xclawrouter":"dist/cli.js"},"dist":{"shasum":"955ef8253a1e5ded6a5724db1f1f418e01694fad","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.183.tgz","fileCount":38,"integrity":"sha512-2dxTad0MaY5Ei1bpbZxmRlt/KHN+sMUy2fh0gcvzR9MAttseiT2vJ8c4AcDtbZZHy6YHxLSLpqp2xZF5h9tEEA==","signatures":[{"sig":"MEQCIFlU13OfPHWI55hPROOC0zoMEFreby5l/9jOLllVb6U8AiAnJKrVAQDOnEu2+jgl5LHIRvC29tW+6awAj0Dse1kZPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24190522},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1004a6d4f3948146cf4ce89b97d895d3621de9a6","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.183_1778713967284_0.8845114769251046","host":"s3://npm-registry-packages-npm-production"}},"0.12.184":{"name":"@blockrun/xclawrouter","version":"0.12.184","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.184","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js","xclawrouter":"dist/cli.js"},"dist":{"shasum":"638179932253a8e13340b63de23e4099140d4911","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.184.tgz","fileCount":38,"integrity":"sha512-wat1S+KTsayqxY/taLc5pCovY7/RgPfX2y38Z6mlZNRaVl4r7fdyQucBUYJT5++ARgEXjfE540METBtRHNHLqg==","signatures":[{"sig":"MEYCIQCf0quwuULawg57/ALfYuEBTQjCXfnJSVESzkfZ3lBfPAIhALHga24mfa/wdGTmB/e+WY7994/UbUrkBcNQEVaIrtCD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24189210},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"50b31c9bfff765cbb201dc14363fc74209afb859","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.184_1778813716438_0.7503814049489936","host":"s3://npm-registry-packages-npm-production"}},"0.12.185":{"name":"@blockrun/xclawrouter","version":"0.12.185","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.185","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js","xclawrouter":"dist/cli.js"},"dist":{"shasum":"e3b261b4874d6c8e525f118c2a852cd2d1e1bf99","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.185.tgz","fileCount":38,"integrity":"sha512-NmgymUhIunSfHy6/DbW5r2rTt37NqL8PF+vOgwkUZQGtgK5tVHpgPIssT65gpVuBuMj4Rc8W9BSD2GEFz4OyNw==","signatures":[{"sig":"MEUCIG3ntKCbVDzGn1AkR+TuC0Zlk9Sl+nG+86/rz3ZVevG1AiEAjH8rWFB9PlbRi+zIxKJ5FaO8LuxzJ71K9V3ShFx8UlE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24190945},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b10f7722f20b08d12139d8a05d8454756fdf3836","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.185_1780292610420_0.19338669124054397","host":"s3://npm-registry-packages-npm-production"}},"0.12.186":{"name":"@blockrun/xclawrouter","version":"0.12.186","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.186","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js","xclawrouter":"dist/cli.js"},"dist":{"shasum":"b5186f467733e7c0845d3ba7223d7c3ba9c8fff2","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.186.tgz","fileCount":38,"integrity":"sha512-2ajb2ptwgNRCMjBZTgvr+eQYOYB4g3PqN1rQD13ByIK2ainq0WnMaomI6iGnqGHgDhdiDa7IjrtxXzeMnzORfw==","signatures":[{"sig":"MEUCIAK/lCKzz3CdNFa00H2t0rgWV20ZlNF5uzJDI0HprYM/AiEAth65PrUtBhTyKbdx0WkOrWxmvq9oO0MtXpHUGku3KVM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24206187},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"eecbfed513212717eaf42538352c471dfccd1fbd","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.186_1780716966880_0.606748952206738","host":"s3://npm-registry-packages-npm-production"}},"0.12.187":{"name":"@blockrun/xclawrouter","version":"0.12.187","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.187","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js","xclawrouter":"dist/cli.js"},"dist":{"shasum":"3f218beb5724292ff6f8788b8f5d960a8746f1be","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.187.tgz","fileCount":38,"integrity":"sha512-CYEz/Xhm1bjQkhGX72G+10zFlDP1vigPygi9VRJJHA7a/FrOEe319198Z6dGVrC+wDwRVDJYco065JnDKycISA==","signatures":[{"sig":"MEUCIQCoRgZBqrW/IWzb7PFdMVo5ttXN0cgE/z+TfW/+0KaQ8gIgZAO1z6iSXjD6M9dpUPzQQQSbm/3WGOTm+fyMmIbkbmA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24207872},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4595f3b87ce26be3878e0516bd381783f3c56f60","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.187_1780722221977_0.49601549420019264","host":"s3://npm-registry-packages-npm-production"}},"0.12.188":{"name":"@blockrun/xclawrouter","version":"0.12.188","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.188","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js","xclawrouter":"dist/cli.js"},"dist":{"shasum":"75cadf127f4f4639556f9c55693ed2a1aae461f0","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.188.tgz","fileCount":38,"integrity":"sha512-8n6pQRam4F0aZqgjJ9wtHD09jtmpMEFfQXN/D7QKkv/U8TlWNFRLKapRi7HWquDr2gSNb96c1KD97w9Cmr/16Q==","signatures":[{"sig":"MEUCICF8ieIUsjWymYtV+uTRaNwczrpA/uRcWT9Bs6UXHzQjAiEAvB9+q0fDLpwOjgjVj9Gewc2nNq90FDyaZzAohPWODw8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24207688},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f6b59e76a84ef60d69baa531f71decbc75a56614","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.188_1780727405781_0.29116764385273997","host":"s3://npm-registry-packages-npm-production"}},"0.12.189":{"name":"@blockrun/xclawrouter","version":"0.12.189","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.189","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js","xclawrouter":"dist/cli.js"},"dist":{"shasum":"aa211204e483fe0685a1257b4ff892f50a20bab5","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.189.tgz","fileCount":38,"integrity":"sha512-fyoa38jZAyZq3gWnumnpkqtcSuL2Ht5kbRO4DKEvQ4zlbKDGz7DE9TUlr8fNKTkpPikYn6WX94BrYRUlSQh8nQ==","signatures":[{"sig":"MEQCIGfr1hRka+zVhYHCw9+ZeHUf/Q5Yyni49e53VlwgfcxIAiBjhtuQoMe4eY05vQtOprvCgOwSE7EEdfPX7bgb63HVZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24204071},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1999f801d459d0ee3a2c0ff0e3c9643848d503a3","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.189_1780894378966_0.670614205061353","host":"s3://npm-registry-packages-npm-production"}},"0.12.190":{"name":"@blockrun/xclawrouter","version":"0.12.190","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","_id":"@blockrun/xclawrouter@0.12.190","maintainers":[{"name":"1bcmax","email":"viewitter@gmail.com"}],"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"bin":{"clawrouter":"dist/cli.js","xclawrouter":"dist/cli.js"},"dist":{"shasum":"aeeb2c4cf3577fe0c98099131e0771569577aa36","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.190.tgz","fileCount":38,"integrity":"sha512-nZaEsnLBSS4FZz0D64fRanVbKWVa76yeRgw1xcOfKMxombKPmObu1Qkd/CwmtMNumkXZ0ScsY8EjRRJ9nd5Jnw==","signatures":[{"sig":"MEUCIEaWkIQ/vKJP2wwjq9gS6zqB5jQyT2c9JdYl/rRH/60xAiEApOPa2v/pBkVyJAfCrOOucTPqcr9ekt3lX4DqypC4edY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24202966},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1b72df4885e549812ad5623460c671a65a71f148","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:resilience:errors":"tsx test/resilience-errors.ts","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts"},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"openclaw":{"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"},"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/BlockRunAI/XClawRouter.git","type":"git"},"_npmVersion":"10.9.2","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"viem":"^2.39.3","@x402/evm":"^2.9.0","@x402/svm":"^2.9.0","@x402/core":"^2.9.0","@solana/kit":"^5.0.0","@x402/fetch":"^2.9.0","@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","eslint":"^10.2.0","vitest":"^4.1.3","openclaw":"^2026.4.21","prettier":"^3.8.1","@eslint/js":"^10.0.1","typescript":"^5.7.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xclawrouter_0.12.190_1780946885067_0.9926142465233339","host":"s3://npm-registry-packages-npm-production"}},"0.12.192":{"name":"@blockrun/xclawrouter","version":"0.12.192","description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","type":"module","main":"dist/index.js","types":"dist/index.d.ts","bin":{"xclawrouter":"dist/cli.js","clawrouter":"dist/cli.js"},"openclaw":{"extensions":["./dist/index.js"],"compat":{"pluginApiRange":">=2026.3.24","minGatewayVersion":"2026.4.5"}},"exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit","lint":"eslint src/","format":"prettier --write .","format:check":"prettier --check .","test:resilience:errors":"tsx test/resilience-errors.ts","test:resilience:stability":"DURATION_MINUTES=5 tsx test/resilience-stability.ts","test:resilience:stability:full":"DURATION_MINUTES=240 tsx test/resilience-stability.ts","test:resilience:lifecycle":"tsx test/resilience-lifecycle.ts","test:resilience:quick":"npm run test:resilience:errors && npm run test:resilience:lifecycle","test:resilience:full":"npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full","test:e2e:tool-ids":"npm run build && tsx test/e2e-tool-id-sanitization.ts","test:docker:install":"bash test/run-docker-test.sh","test:docker:edge-cases":"bash test/docker/run-edge-cases.sh","test:docker:integration":"docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration"},"keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/BlockRunAI/XClawRouter.git"},"dependencies":{"@scure/bip32":"^2.0.1","@scure/bip39":"^1.5.0","@solana/kit":"^5.0.0","@x402/core":"^2.9.0","@x402/evm":"^2.9.0","@x402/fetch":"^2.9.0","@x402/svm":"^2.9.0","viem":"^2.39.3"},"peerDependencies":{"openclaw":">=2025.1.0"},"peerDependenciesMeta":{"openclaw":{"optional":true}},"devDependencies":{"@eslint/js":"^10.0.1","eslint":"^10.2.0","openclaw":"^2026.4.21","prettier":"^3.8.1","tsup":"^8.0.0","tsx":"^4.21.0","typescript":"^5.7.0","typescript-eslint":"^8.58.1","vitest":"^4.1.3"},"engines":{"node":">=20"},"overrides":{"ws":"^8.21.0","postcss":"^8.5.10"},"_id":"@blockrun/xclawrouter@0.12.192","gitHead":"97e191ffaa4f709f2590ab64243803b4e00f8957","bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"homepage":"https://github.com/BlockRunAI/XClawRouter#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-jeIh7vqk3EAZPjtn2HlK3NUTiercnjX70F3CSr/t+Nb0VQVO+Jw7z/um0Gvj46VW/0z6/5lB4NPl+bhlimq79A==","shasum":"a71a387ad15e37aa3f13af9238a691d96e6087e5","tarball":"https://registry.npmjs.org/@blockrun/xclawrouter/-/xclawrouter-0.12.192.tgz","fileCount":39,"unpackedSize":25117921,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIC1W8xgqoeoo9uwsDNshgNyOgFwdK+rAF4jAbM2i7hQlAiEA+n8rMlT1xbnQ7ZTVqFBRklxMNTFI5hTxTfboKIoou8k="}]},"_npmUser":{"name":"1bcmax","email":"viewitter@gmail.com"},"directories":{},"maintainers":[{"name":"killerqueenandy","email":"andy@blockrun.ai"},{"name":"1bcmax","email":"viewitter@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/xclawrouter_0.12.192_1788228555044_0.817042024725386"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-12T14:46:25.466Z","modified":"2026-09-01T02:09:15.533Z","0.12.176":"2026-05-12T14:46:25.983Z","0.12.177":"2026-05-12T14:55:59.299Z","0.12.178":"2026-05-12T15:06:53.784Z","0.12.179":"2026-05-12T15:29:38.078Z","0.12.182":"2026-05-13T01:03:51.631Z","0.12.183":"2026-05-13T23:12:47.606Z","0.12.184":"2026-05-15T02:55:16.759Z","0.12.185":"2026-06-01T05:43:30.805Z","0.12.186":"2026-06-06T03:36:07.174Z","0.12.187":"2026-06-06T05:03:42.223Z","0.12.188":"2026-06-06T06:30:06.030Z","0.12.189":"2026-06-08T04:52:59.230Z","0.12.190":"2026-06-08T19:28:05.353Z","0.12.192":"2026-09-01T02:09:15.297Z"},"bugs":{"url":"https://github.com/BlockRunAI/XClawRouter/issues"},"author":{"name":"BlockRun","email":"hello@blockrun.ai"},"license":"MIT","homepage":"https://github.com/BlockRunAI/XClawRouter#readme","keywords":["llm","router","smart-routing","ai","openclaw","blockrun","x402","usdc","cost-optimization","openai","anthropic","gemini","deepseek","usdc-hackathon-winner","agentic-commerce"],"repository":{"type":"git","url":"git+https://github.com/BlockRunAI/XClawRouter.git"},"description":"Smart LLM router — save 85% on inference costs. 55+ models (11 free), one wallet, x402 micropayments.","maintainers":[{"name":"killerqueenandy","email":"andy@blockrun.ai"},{"name":"1bcmax","email":"viewitter@gmail.com"}],"readme":"<div align=\"center\">\n\n<img src=\"assets/banner.png\" alt=\"ClawRouter Banner\" width=\"600\">\n\n<h1>The LLM router built for autonomous agents</h1>\n\n<p>Agents can't sign up for accounts. Agents can't enter credit cards.<br>\nAgents can only sign transactions.<br><br>\n<strong>ClawRouter is the only LLM router that lets agents operate independently.</strong><br><br>\n<em><!-- br:models.free -->7<!-- /br:models.free --> models free, no crypto required. No signup. No API key. No credit card.</em></p>\n\n<br>\n\n<img src=\"https://img.shields.io/badge/🆓_7_Free_Models-success?style=for-the-badge\" alt=\"7 free models\">&nbsp;\n<img src=\"https://img.shields.io/badge/🤖_Agent--Native-black?style=for-the-badge\" alt=\"Agent native\">&nbsp;\n<img src=\"https://img.shields.io/badge/🔑_Zero_API_Keys-blue?style=for-the-badge\" alt=\"No API keys\">&nbsp;\n<img src=\"https://img.shields.io/badge/⚡_Local_Routing-yellow?style=for-the-badge\" alt=\"Local routing\">&nbsp;\n<img src=\"https://img.shields.io/badge/💰_x402_USDC-purple?style=for-the-badge\" alt=\"x402 USDC\">&nbsp;\n<img src=\"https://img.shields.io/badge/🔓_Open_Source-green?style=for-the-badge\" alt=\"Open source\">\n\n[![npm version](https://img.shields.io/npm/v/@blockrun/xclawrouter.svg?style=flat-square&color=cb3837)](https://npmjs.com/package/@blockrun/xclawrouter)\n[![npm downloads](https://img.shields.io/npm/dm/@blockrun/xclawrouter.svg?style=flat-square&color=blue)](https://npmjs.com/package/@blockrun/xclawrouter)\n[![GitHub stars](https://img.shields.io/github/stars/BlockRunAI/XClawRouter?style=flat-square&label=GitHub%20stars)](https://github.com/BlockRunAI/XClawRouter)\n[![CI](https://img.shields.io/github/actions/workflow/status/BlockRunAI/XClawRouter/ci.yml?branch=main&style=flat-square&label=CI)](https://github.com/BlockRunAI/XClawRouter/actions)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.7-3178c6?style=flat-square&logo=typescript&logoColor=white)](https://typescriptlang.org)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green?style=flat-square)](LICENSE)\n\n[![USDC Hackathon Winner](https://img.shields.io/badge/🏆_USDC_Hackathon-Agentic_Commerce_Winner-gold?style=flat-square)](https://x.com/USDC/status/2021625822294216977)\n[![x402 Protocol](https://img.shields.io/badge/x402-Micropayments-purple?style=flat-square)](https://x402.org)\n[![Base Network](https://img.shields.io/badge/Base-USDC-0052FF?style=flat-square&logo=coinbase&logoColor=white)](https://base.org)\n[![Solana](https://img.shields.io/badge/Solana-USDC-9945FF?style=flat-square&logo=solana&logoColor=white)](https://solana.com)\n[![OpenClaw Plugin](https://img.shields.io/badge/OpenClaw-Plugin-orange?style=flat-square)](https://openclaw.ai)\n[![Telegram](https://img.shields.io/badge/Telegram-Community-26A5E4?style=flat-square&logo=telegram)](https://t.me/blockrunAI)\n\n</div>\n\n> **ClawRouter** is an open-source smart LLM router that reduces AI API costs by <!-- br:savings.autoVsBaselinePct -->84<!-- /br:savings.autoVsBaselinePct -->%. It analyzes each request across 15 dimensions and routes to the cheapest capable model in under 1ms, entirely locally. ClawRouter is the only LLM router built for autonomous AI agents — it uses wallet signatures for authentication (no API keys) and USDC micropayments via the x402 protocol (no credit cards). <!-- br:models.chatVisible -->76<!-- /br:models.chatVisible --> models from OpenAI, Anthropic, Google, xAI, DeepSeek, and more. MIT licensed.\n\n---\n\n## Why ClawRouter exists\n\nEvery other LLM router was built for **human developers** — create an account, get an API key, pick a model from a dashboard, pay with a credit card.\n\n**Agents can't do any of that.**\n\nClawRouter is built for the agent-first world:\n\n- **Starts at $0** — 7 NVIDIA models are free forever (incl. 1M-context DeepSeek V4 + a vision-capable Nemotron Omni)\n- **No accounts** — a wallet is generated locally, no signup\n- **No API keys** — your wallet signature IS authentication\n- **No model selection** — 15-dimension scoring picks the right model automatically\n- **No credit cards** — agents pay per-request with USDC via [x402](https://x402.org)\n- **No trust required** — runs locally, <1ms routing, zero external dependencies\n\nThis is the stack that lets agents operate autonomously: **x402 + USDC + local routing**.\n\n---\n\n## How it compares\n\n|                  | OpenRouter        | LiteLLM          | Martian           | Portkey           | **ClawRouter**                                                         |\n| ---------------- | ----------------- | ---------------- | ----------------- | ----------------- | ---------------------------------------------------------------------- |\n| **Models**       | 200+              | 100+             | Smart routing     | Gateway           | **60+**                                                                |\n| **Free tier**    | Rate-limited      | BYO keys         | No                | No                | **<!-- br:models.free -->7<!-- /br:models.free --> models, no signup** |\n| **Routing**      | Manual selection  | Manual selection | Smart (closed)    | Observability     | **Smart (open source)**                                                |\n| **Auth**         | Account + API key | Your API keys    | Account + API key | Account + API key | **Wallet signature**                                                   |\n| **Payment**      | Credit card       | BYO keys         | Credit card       | $49-499/mo        | **USDC per-request**                                                   |\n| **Runs locally** | No                | Yes              | No                | No                | **Yes**                                                                |\n| **Open source**  | No                | Yes              | No                | Partial           | **Yes**                                                                |\n| **Agent-ready**  | No                | No               | No                | No                | **Yes**                                                                |\n\n✓ Open source · ✓ Smart routing · ✓ Runs locally · ✓ Crypto native · ✓ Agent ready\n\n**We're the only one that checks all five boxes.**\n\n---\n\n## Quick Start\n\n> **No wallet? <!-- br:models.free -->7<!-- /br:models.free --> models work free out of the box.** Install, run, and pin `free/nemotron-3.5-lightning` (or any of the 7) — no crypto, no signup, no balance required. Add USDC later when you want paid models.\n\n### Option A — OpenClaw Agent\n\n[OpenClaw](https://openclaw.ai) is an AI coding agent. If you're using it, XClawRouter installs as a plugin. Three install paths — pick whichever fits:\n\n**1. One-liner (recommended)** — installs the plugin, bootstraps onchainos, and points you at the wallet login command:\n\n```bash\ncurl -fsSL https://blockrun.ai/XClawRouter-update | bash\nopenclaw gateway restart\nnpx @blockrun/xclawrouter setup        # email + OTP login to your OKX Agentic Wallet\n```\n\n**2. Manual via OpenClaw plugin manager** — if you want to see each step:\n\n```bash\nopenclaw plugins install @blockrun/xclawrouter\nopenclaw plugins enable xclawrouter    # add to plugins.allow so the gateway loads it\nopenclaw gateway restart\nnpx @blockrun/xclawrouter setup        # email + OTP login to your OKX Agentic Wallet\n```\n\n**3. Global npm install** — same effect as #2, useful for CI or pinned deployments:\n\n```bash\nnpm install -g @blockrun/xclawrouter\nopenclaw plugins enable xclawrouter    # add to plugins.allow so the gateway loads it\nopenclaw gateway restart\nxclawrouter setup                      # email + OTP login to your OKX Agentic Wallet\n```\n\n`setup` walks you through two prompts (email, then the OTP it mails you) and is a no-op if you're already signed in — safe to re-run. Signing happens in OKX's TEE; no local private key is stored.\n\nDone. Smart routing (`blockrun/auto`) is now your default model.\n\n### Option B — Standalone (continue.dev, Cursor, VS Code, any OpenAI-compatible client)\n\n> **Using Claude Code?** Check out [BRCC](https://blockrun.ai/brcc.md) — it's purpose-built for Claude Code with the same smart routing and x402 payments.\n\nNo OpenClaw required. XClawRouter runs as a local proxy on port 8402.\n\n**1. Start the proxy**\n\n```bash\nnpx @blockrun/xclawrouter\n```\n\n**2. Fund your wallet** — optional, skip for free tier\nYour wallet address is printed on first run. For paid models, send a few USDC on Base or Solana — $5 covers thousands of requests. To stay at $0, pin any of the 7 free models (e.g. `free/nemotron-3.5-lightning`) or use `/model free` inside OpenClaw.\n\n**3. Point your client at `http://localhost:8402`**\n\n<details>\n<summary><strong>continue.dev</strong> — <code>~/.continue/config.yaml</code></summary>\n\n> **Important:** `apiBase` must end with `/v1/` (including the trailing slash). Without it, continue.dev constructs the URL as `/chat/completions` instead of `/v1/chat/completions`, and the proxy returns 404.\n\n```yaml\nmodels:\n  - name: ClawRouter Auto\n    provider: openai\n    model: blockrun/auto\n    apiBase: http://localhost:8402/v1/\n    apiKey: x402\n    roles:\n      - chat\n      - edit\n      - apply\n```\n\nTo pin a specific model, replace `blockrun/auto` with any model from [blockrun.ai/models](https://blockrun.ai/models), e.g. `anthropic/claude-opus-5`, `xai/grok-4.5`.\n\nBoth `provider: openai` and `provider: clawrouter` work — just make sure `apiBase` ends with `/v1/`.\n\n<details>\n<summary>Legacy JSON format (<code>~/.continue/config.json</code>)</summary>\n\n```json\n{\n  \"models\": [\n    {\n      \"title\": \"ClawRouter Auto\",\n      \"provider\": \"openai\",\n      \"model\": \"blockrun/auto\",\n      \"apiBase\": \"http://localhost:8402/v1/\",\n      \"apiKey\": \"x402\"\n    }\n  ]\n}\n```\n\n</details>\n</details>\n\n<details>\n<summary><strong>Cursor</strong> — Settings → Models → OpenAI-compatible</summary>\n\nSet base URL to `http://localhost:8402`, API key to `x402`, model to `blockrun/auto`.\n\n</details>\n\n<details>\n<summary><strong>Any OpenAI SDK</strong></summary>\n\n```python\nfrom openai import OpenAI\nclient = OpenAI(base_url=\"http://localhost:8402\", api_key=\"x402\")\nresponse = client.chat.completions.create(model=\"blockrun/auto\", messages=[...])\n```\n\n</details>\n\n---\n\n## Routing Profiles\n\nChoose your routing strategy with `/model <profile>`:\n\n| Profile          | Strategy           | Savings  | Best For             |\n| ---------------- | ------------------ | -------- | -------------------- |\n| `/model free`    | Free NVIDIA models | **100%** | $0 balance, learning |\n| `/model auto`    | Balanced (default) | 74-100%  | General use          |\n| `/model eco`     | Cheapest possible  | 95-100%  | Maximum savings      |\n| `/model premium` | Best quality       | 0%       | Mission-critical     |\n\n**Shortcuts:** `/model grok`, `/model br-sonnet`, `/model gpt5`, `/model o3`\n\n---\n\n## How It Works\n\n**100% local routing. <1ms latency. Zero external API calls.**\n\n```\nRequest → Weighted Scorer (15 dimensions) → Tier → Best Model → Response\n```\n\n| Tier      | ECO Model                              | AUTO Model                      | PREMIUM Model              |\n| --------- | -------------------------------------- | ------------------------------- | -------------------------- |\n| SIMPLE    | free/nemotron-3.5-lightning (**FREE**) | gemini-2.5-flash ($0.3/$2.5)    | kimi-k3 ($3/$15)           |\n| MEDIUM    | gemini-3.1-flash-lite ($0.25/$1.5)     | kimi-k3 ($3/$15)                | gpt-5.3-codex ($1.75/$14)  |\n| COMPLEX   | gemini-3.1-flash-lite ($0.25/$1.5)     | gemini-3.1-pro ($2/$12)         | claude-opus-4.8 ($5/$25)   |\n| REASONING | deepseek-reasoner ($0.14/$0.28)        | deepseek-reasoner ($0.14/$0.28) | claude-sonnet-4.6 ($3/$15) |\n\n**Blended average: $2.05/M** vs $25/M for Claude Opus = **<!-- br:savings.autoVsBaselinePct -->84<!-- /br:savings.autoVsBaselinePct -->% savings**\n\n---\n\n## Image Generation\n\nGenerate images directly from chat with `/imagegen`:\n\n```\n/imagegen a dog dancing on the beach\n/imagegen --model dall-e-3 a futuristic city at sunset\n/imagegen --model banana-pro --size 2048x2048 mountain landscape\n```\n\n| Model                        | Provider              | Price        | Max Size  |\n| ---------------------------- | --------------------- | ------------ | --------- |\n| `nano-banana`                | Google Gemini Flash   | $0.05/image  | 1024x1024 |\n| `banana-pro`                 | Google Gemini Pro     | $0.10/image  | 4096x4096 |\n| `dall-e-3`                   | OpenAI DALL-E 3       | $0.04/image  | 1792x1024 |\n| `gpt-image`                  | OpenAI GPT Image 1    | $0.02/image  | 1536x1024 |\n| `flux`                       | Black Forest Flux 1.1 | $0.04/image  | 1024x1024 |\n| `xai/grok-imagine-image`     | xAI Grok Imagine      | $0.02/image  | 1024x1024 |\n| `xai/grok-imagine-image-pro` | xAI Grok Imagine Pro  | $0.07/image  | 1024x1024 |\n| `zai/cogview-4`              | Zhipu CogView-4       | $0.015/image | 1440x1440 |\n\n## Video Generation\n\nGenerate short AI videos directly from chat with `/videogen`:\n\n```\n/videogen a red apple slowly spinning\n/videogen --model seedance-2-fast --duration=5 a cat waving\n/videogen --model grok-video a neon city at night\n```\n\nOr drive it over HTTP — ClawRouter proxies the BlockRun gateway, handles x402 payment, and downloads the returned MP4 to local disk, rewriting `url` to `http://localhost:8402/videos/<file>.mp4` so the asset survives past the upstream's temporary bucket.\n\n```bash\ncurl -X POST http://localhost:8402/v1/videos/generations \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"model\":\"bytedance/seedance-2.0-fast\",\"prompt\":\"a red apple slowly spinning\",\"duration_seconds\":5}'\n```\n\n| Model                         | Provider           | Price     | Duration              |\n| ----------------------------- | ------------------ | --------- | --------------------- |\n| `bytedance/seedance-1.5-pro`  | ByteDance Seedance | $0.03/sec | 5s default, up to 10s |\n| `bytedance/seedance-2.0-fast` | ByteDance Seedance | $0.15/sec | 5s default, up to 10s |\n| `bytedance/seedance-2.0`      | ByteDance Seedance | $0.30/sec | 5s default, up to 10s |\n| `xai/grok-imagine-video`      | xAI Grok Imagine   | $0.05/sec | 8s default            |\n\nCalls block for 30–120s while the upstream polls the job. Text-to-video and image-to-video (`image_url` parameter) are both supported. Seedance 2.0 Fast typically returns in 60–80s; 2.0 Pro trades latency for quality.\n\n## Image Editing (img2img)\n\nEdit existing images with `/img2img`:\n\n```\n/img2img --image ~/photo.png change the background to a starry sky\n/img2img --image ./cat.jpg --mask ./mask.png remove the background\n```\n\n| Option            | Required | Description                           |\n| ----------------- | -------- | ------------------------------------- |\n| `--image <path>`  | Yes      | Local image file path (supports `~/`) |\n| `--mask <path>`   | No       | Mask image (white = area to edit)     |\n| `--model <model>` | No       | Model to use (default: `gpt-image-1`) |\n| `--size <WxH>`    | No       | Output size (default: `1024x1024`)    |\n\n**API endpoint:** `POST http://localhost:8402/v1/images/image2image` — see [full docs](docs/image-generation.md#post-v1imagesimage2image).\n\n---\n\n## Models & Pricing\n\n<!-- br:models.chatVisible -->76<!-- /br:models.chatVisible --> models across 9 providers, one wallet. **Starting at $0.0002/request.**\n\n> **💡 \"Cost per request\"** = estimated cost for a typical chat message (~500 input + 500 output tokens).\n\n### Budget Models (under $0.001/request)\n\n| Model                                       | Input $/M | Output $/M | ~$/request | Context | Features                                     |\n| ------------------------------------------- | --------: | ---------: | ---------: | ------- | -------------------------------------------- |\n| free/nemotron-3.5-lightning                 |  **FREE** |   **FREE** |     **$0** | 1M      | reasoning — default free model               |\n| free/nemotron-3-nano-30b                    |  **FREE** |   **FREE** |     **$0** | 131K    | reasoning, fastest free model (~121 tok/s)   |\n| free/laguna-xs-2.1                          |  **FREE** |   **FREE** |     **$0** | 131K    | coding                                       |\n| free/north-mini-code                        |  **FREE** |   **FREE** |     **$0** | 256K    | coding                                       |\n| free/nemotron-3-nano-omni-30b-a3b-reasoning |  **FREE** |   **FREE** |     **$0** | 256K    | reasoning, **vision** (text+img+video+audio) |\n| free/nemotron-3-ultra-550b                  |  **FREE** |   **FREE** |     **$0** | 1M      | reasoning                                    |\n| free/llama-3.2-11b-vision                   |  **FREE** |   **FREE** |     **$0** | 128K    | **vision**                                   |\n| openai/gpt-4.1-nano                         |     $0.10 |      $0.40 |    $0.0003 | 128K    | tools                                        |\n| google/gemini-2.5-flash-lite                |     $0.10 |      $0.40 |    $0.0003 | 1M      | tools                                        |\n| openai/gpt-4o-mini                          |     $0.15 |      $0.60 |    $0.0004 | 128K    | tools                                        |\n| openai/gpt-5.4-nano                         |     $0.20 |      $1.25 |    $0.0007 | 1M      | tools                                        |\n| openai/gpt-5-mini                           |     $0.25 |      $2.00 |    $0.0011 | 200K    | tools                                        |\n| google/gemini-3.1-flash-lite                |     $0.25 |      $1.50 |    $0.0009 | 1M      | tools                                        |\n| deepseek/deepseek-chat                      |     $0.20 |      $0.40 |    $0.0003 | 1M      | tools (V4 Flash chat)                        |\n| deepseek/deepseek-reasoner                  |     $0.20 |      $0.40 |    $0.0003 | 1M      | reasoning, tools (V4 Flash thinking)         |\n| deepseek/deepseek-v4-pro                    |    $0.435 |      $0.87 |    $0.0007 | 1M      | reasoning, agentic, tools (V4 flagship)      |\n| zai/glm-5                                   |     $0.60 |      $1.92 |    $0.0013 | 200K    | tools                                        |\n| zai/glm-5-turbo                             |     $1.20 |      $4.00 |    $0.0026 | 200K    | tools                                        |\n| minimax/minimax-m3                          |     $0.30 |      $1.20 |    $0.0008 | 1M      | reasoning, agentic, tools                    |\n| minimax/minimax-m2.7                        |     $0.30 |      $1.20 |    $0.0008 | 205K    | reasoning, agentic, tools                    |\n| google/gemini-2.5-flash                     |     $0.30 |      $2.50 |    $0.0014 | 1M      | vision, tools                                |\n| openai/gpt-4.1-mini                         |     $0.40 |      $1.60 |    $0.0010 | 128K    | tools                                        |\n| google/gemini-3.5-flash                     |     $0.50 |      $3.00 |    $0.0018 | 1M      | reasoning, vision, tools (thinking built-in) |\n| google/gemini-3-flash-preview               |     $0.50 |      $3.00 |    $0.0018 | 1M      | vision                                       |\n| xiaomi/mimo-v2.5                            |     $0.14 |      $0.28 |    $0.0003 | 1M      | reasoning, vision, tools                     |\n| qwen/qwen3.8-flash                          |     $0.15 |      $0.47 |    $0.0003 | 1M      | reasoning, vision, tools                     |\n| tencent/hy3                                 |     $0.13 |      $0.53 |    $0.0003 | 262K    | reasoning, tools                             |\n| zai/glm-5.3-flash                           |     $0.15 |      $0.50 |    $0.0003 | 1M      | reasoning, vision, tools                     |\n| openai/gpt-5.6-luna                         |     $0.20 |      $1.20 |    $0.0007 | 1M      | vision, agentic, tools                       |\n| xiaomi/mimo-v2.5-pro                        |     $0.43 |      $0.87 |    $0.0008 | 1M      | reasoning, tools                             |\n| deepseek/deepseek-v4-flash-vision-exp       |     $0.44 |      $1.32 |    $0.0010 | 1M      | reasoning, vision, tools                     |\n\n### Mid-Range Models ($0.001–$0.01/request)\n\n| Model                        | Input $/M | Output $/M | ~$/request | Context | Features                                  |\n| ---------------------------- | --------: | ---------: | ---------: | ------- | ----------------------------------------- |\n| openai/gpt-5.4-mini          |     $0.75 |      $4.50 |    $0.0026 | 400K    | vision, agentic, tools                    |\n| anthropic/claude-haiku-4.5   |     $1.00 |      $5.00 |    $0.0030 | 200K    | vision, agentic, tools                    |\n| openai/o3-mini               |     $1.10 |      $4.40 |    $0.0028 | 128K    | reasoning, tools                          |\n| openai/o4-mini               |     $1.10 |      $4.40 |    $0.0028 | 128K    | reasoning, tools                          |\n| google/gemini-2.5-pro        |     $1.25 |     $10.00 |    $0.0056 | 1M      | reasoning, vision, tools                  |\n| zai/glm-5.1                  |     $1.40 |      $4.40 |    $0.0029 | 200K    | reasoning, tools (promo ended 2026-06-05) |\n| xai/grok-4.3                 |     $1.50 |      $4.00 |    $0.0028 | 1M      | reasoning, vision, agentic, tools         |\n| xai/grok-build-0.1           |     $1.50 |      $3.00 |    $0.0023 | 256K    | agentic coding, tools                     |\n| openai/gpt-5.2               |     $1.75 |     $14.00 |    $0.0079 | 400K    | reasoning, vision, agentic, tools         |\n| openai/gpt-5.3-codex         |     $1.75 |     $14.00 |    $0.0079 | 400K    | agentic, tools                            |\n| openai/gpt-4.1               |     $2.00 |      $8.00 |    $0.0050 | 128K    | vision, tools                             |\n| openai/o3                    |     $2.00 |      $8.00 |    $0.0050 | 200K    | reasoning, tools                          |\n| google/gemini-3.1-pro        |     $2.00 |     $12.00 |    $0.0070 | 1M      | reasoning, vision, tools                  |\n| openai/gpt-4o                |     $2.50 |     $10.00 |    $0.0063 | 128K    | vision, agentic, tools                    |\n| openai/gpt-5.4               |     $2.50 |     $15.00 |    $0.0088 | 400K    | reasoning, vision, agentic, tools         |\n| google/gemini-3.5-flash-lite |     $0.30 |      $2.50 |    $0.0013 | 1M      | reasoning, tools                          |\n| zai/glm-5.2                  |     $1.40 |      $4.40 |    $0.0032 | 1M      | reasoning, tools                          |\n| zai/glm-5.3                  |     $1.40 |      $4.40 |    $0.0032 | 1M      | reasoning, tools                          |\n| qwen/qwen3.7-max             |     $1.48 |      $4.42 |    $0.0032 | 1M      | reasoning, agentic, tools                 |\n| google/gemini-3.6-flash      |     $1.50 |      $7.50 |    $0.0045 | 1M      | reasoning, vision, tools                  |\n| xai/grok-4.5                 |     $2.50 |      $9.00 |    $0.0061 | 500K    | reasoning, vision, agentic, tools         |\n| openai/gpt-5.6-terra         |     $2.00 |     $12.00 |    $0.0068 | 1M      | reasoning, vision, agentic, tools         |\n| anthropic/claude-sonnet-5    |     $3.00 |     $15.00 |    $0.0090 | 1M      | reasoning, vision, agentic, tools         |\n| moonshot/kimi-k3             |     $3.00 |     $15.00 |    $0.0090 | 1M      | reasoning, vision, agentic, tools         |\n\n### Premium Models ($0.01+/request)\n\n| Model                       | Input $/M | Output $/M | ~$/request | Context | Features                          |\n| --------------------------- | --------: | ---------: | ---------: | ------- | --------------------------------- |\n| anthropic/claude-sonnet-4.6 |     $3.00 |     $15.00 |    $0.0090 | 200K    | reasoning, vision, agentic, tools |\n| anthropic/claude-opus-4.8   |     $5.00 |     $25.00 |    $0.0150 | 1M      | reasoning, vision, agentic, tools |\n| anthropic/claude-opus-4.7   |     $5.00 |     $25.00 |    $0.0150 | 1M      | reasoning, vision, agentic, tools |\n| openai/gpt-5.5              |     $5.00 |     $30.00 |    $0.0175 | 1M      | reasoning, vision, agentic, tools |\n| openai/o1                   |    $15.00 |     $60.00 |    $0.0375 | 200K    | reasoning, tools                  |\n| openai/gpt-5.2-pro          |    $21.00 |    $168.00 |    $0.0945 | 400K    | reasoning, tools                  |\n| openai/gpt-5.4-pro          |    $30.00 |    $180.00 |    $0.1050 | 400K    | reasoning, tools                  |\n| anthropic/claude-opus-4.5   |     $5.00 |     $25.00 |    $0.0150 | 200K    | reasoning, vision, agentic, tools |\n| anthropic/claude-opus-5     |     $5.00 |     $25.00 |    $0.0150 | 1M      | reasoning, vision, agentic, tools |\n| openai/gpt-5.6-sol          |     $5.00 |     $30.00 |    $0.0170 | 1M      | reasoning, vision, agentic, tools |\n| anthropic/claude-fable-5    |    $10.00 |     $50.00 |    $0.0300 | 1M      | reasoning, vision, agentic, tools |\n| openai/gpt-5.5-pro          |    $30.00 |    $180.00 |    $0.1020 | 1M      | reasoning, vision, tools          |\n\n> **Free tier:** <!-- br:models.free -->7<!-- /br:models.free --> models cost nothing — `/model free` points to nemotron-3.5-lightning, or pick any free model directly (e.g., `/model nemotron-omni` for vision, `/model north-mini-code` for coding, `/model nemotron-3-ultra-550b` for reasoning + 1M context).\n> **Best value:** `xiaomi/mimo-v2.5`, `qwen/qwen3.8-flash` and `zai/glm-5.3-flash` deliver strong results at ~$0.0003/request.\n\n---\n\n## Payment\n\nNo account. No API key. **Payment IS authentication** via [x402](https://x402.org).\n\n```\nRequest → 402 (price: $0.003) → wallet signs USDC → retry → response\n```\n\nUSDC stays in your wallet until spent — non-custodial. Price is visible in the 402 header before signing.\n\n**Dual-chain support:** Pay with **USDC** on **Base (EVM)** or **USDC on Solana**. Both wallets are derived from a single BIP-39 mnemonic on first run.\n\n```bash\n/wallet              # Check balance and address (both chains)\n/wallet export       # Export mnemonic + keys for backup\n/wallet recover      # Restore wallet from mnemonic on a new machine\n/wallet solana       # Switch to Solana USDC payments\n/wallet base         # Switch back to Base (EVM) USDC payments\n/chain solana        # Alias for /wallet solana\n/stats               # View usage and savings\n/stats clear         # Reset usage statistics\n/exclude             # Show excluded models\n/exclude add <model> # Block a model from routing (aliases work: \"grok-4\", \"free\")\n/exclude remove <model> # Unblock a model\n/exclude clear       # Remove all exclusions\n```\n\n**Fund your wallet:**\n\n- **Base (EVM):** Send USDC on Base to your EVM address\n- **Solana:** Send USDC on Solana to your Solana address\n- **Coinbase/CEX:** Withdraw USDC to either network\n- **Credit card:** Reach out to [@bc1max on Telegram](https://t.me/bc1max)\n\n---\n\n## Screenshots\n\n<table>\n<tr>\n<td width=\"50%\" align=\"center\">\n<strong>Smart Routing in Action</strong><br><br>\n<img src=\"docs/clawrouter-savings.png\" alt=\"ClawRouter savings\" width=\"400\">\n</td>\n<td width=\"50%\" align=\"center\">\n<strong>Telegram Integration</strong><br><br>\n<img src=\"assets/telegram-demo.png\" alt=\"Telegram demo\" width=\"400\">\n</td>\n</tr>\n</table>\n\n---\n\n## Configuration\n\nFor basic usage, no configuration needed. For advanced options:\n\n| Variable                    | Default                               | Description             |\n| --------------------------- | ------------------------------------- | ----------------------- |\n| `BLOCKRUN_WALLET_KEY`       | auto-generated                        | Your wallet private key |\n| `BLOCKRUN_PROXY_PORT`       | `8402`                                | Local proxy port        |\n| `CLAWROUTER_DISABLED`       | `false`                               | Disable smart routing   |\n| `CLAWROUTER_SOLANA_RPC_URL` | `https://api.mainnet-beta.solana.com` | Solana RPC endpoint     |\n\n**Full reference:** [docs/configuration.md](docs/configuration.md)\n\n### Model Exclusion\n\nBlock specific models from being routed to. Useful if a model doesn't follow your agent instructions or you want to control costs.\n\n```bash\n/exclude add free/nemotron-3.5-lightning   # Block the default free model\n/exclude add grok-4                # Aliases work — blocks all grok-4 variants\n/exclude add gpt-5.4               # Skip expensive models\n/exclude                           # Show current exclusions\n/exclude remove grok-4             # Unblock a model\n/exclude clear                     # Remove all exclusions\n```\n\nExclusions persist across restarts (`~/.openclaw/blockrun/exclude-models.json`). If all models in a tier are excluded, the safety net ignores the filter so routing never breaks.\n\n---\n\n## Troubleshooting\n\n**When things go wrong, run the doctor:**\n\n```bash\nnpx @blockrun/xclawrouter doctor\n```\n\nThis collects diagnostics and sends them to Claude Sonnet for AI-powered analysis:\n\n```\n🩺 BlockRun Doctor v0.12.24\n\nSystem\n  ✓ OS: darwin arm64\n  ✓ Node: v20.11.0\n\nWallet\n  ✓ Address: 0x1234...abcd\n  ✓ Balance: $12.50\n\nNetwork\n  ✓ BlockRun API: reachable (142ms)\n  ✗ Local proxy: not running on :8402\n\n📤 Sending to Claude Sonnet 4.6 (~$0.003)...\n\n🤖 AI Analysis:\nThe local proxy isn't running. Run `openclaw gateway restart` to fix.\n```\n\n**Use Opus for complex issues:**\n\n```bash\nnpx @blockrun/xclawrouter doctor opus\n```\n\n**Ask a specific question:**\n\n```bash\nnpx @blockrun/xclawrouter doctor \"why is my request failing?\"\nnpx @blockrun/xclawrouter doctor opus \"深度分析我的配置\"\n```\n\n**Cost:** Sonnet ~$0.003 (default) | Opus ~$0.01\n\n---\n\n## Development\n\n```bash\ngit clone https://github.com/BlockRunAI/XClawRouter.git\ncd ClawRouter\nnpm install\nnpm run build\nnpm test\n```\n\n---\n\n## Support\n\n| Channel               | Link                                                               |\n| --------------------- | ------------------------------------------------------------------ |\n| 📅 Schedule Demo      | [calendly.com/vickyfu9/30min](https://calendly.com/vickyfu9/30min) |\n| 💬 Community Telegram | [t.me/blockrunAI](https://t.me/blockrunAI)                         |\n| 🐦 X / Twitter        | [x.com/blockrunai](https://x.com/blockrunai)                       |\n| 📱 Founder Telegram   | [@bc1max](https://t.me/bc1max)                                     |\n| ✉️ Email              | vicky@blockrun.ai                                                  |\n\n---\n\n## From the BlockRun Ecosystem\n\n<table>\n<tr>\n<td width=\"50%\">\n\n### ⚡ ClawRouter\n\n**The LLM router built for autonomous agents**\n\nYou're here. <!-- br:models.chatVisible -->76<!-- /br:models.chatVisible --> models, local smart routing, x402 USDC payments — the only stack that lets agents operate independently.\n\n`curl -fsSL https://blockrun.ai/XClawRouter-update | bash`\n\n</td>\n<td width=\"50%\">\n\n### 🤖 [BRCC](https://blockrun.ai/brcc.md)\n\n**BlockRun for Claude Code**\n\nRun Claude Code with <!-- br:models.chatVisible -->76<!-- /br:models.chatVisible --> models, no rate limits, no Anthropic account, no phone verification. Pay per request with USDC — your wallet is your identity.\n\n`curl -fsSL https://blockrun.ai/brcc-install | bash`\n\n</td>\n</tr>\n</table>\n\n---\n\n## More Resources\n\n| Resource                                               | Description              |\n| ------------------------------------------------------ | ------------------------ |\n| [Documentation](https://blockrun.ai/docs)              | Full docs                |\n| [Model Pricing](https://blockrun.ai/models)            | All models & prices      |\n| [Image Generation & Editing](docs/image-generation.md) | API examples, 5 models   |\n| [Routing Profiles](docs/routing-profiles.md)           | ECO/AUTO/PREMIUM details |\n| [Architecture](docs/architecture.md)                   | Technical deep dive      |\n| [Configuration](docs/configuration.md)                 | Environment variables    |\n| [Troubleshooting](docs/troubleshooting.md)             | Common issues            |\n\n### Blog\n\n| Article                                                                                            | Topic                                                   |\n| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |\n| [11 Free AI Models, Zero Cost](docs/11-free-ai-models-zero-cost-blockrun.md)                       | How BlockRun gives developers top-tier LLMs for nothing |\n| [ClawRouter Cuts LLM API Costs 500×](docs/clawrouter-cuts-llm-api-costs-500x.md)                   | Deep dive into cost savings                             |\n| [ClawRouter vs OpenRouter](docs/clawrouter-vs-openrouter-llm-routing-comparison.md)                | Head-to-head comparison                                 |\n| [Smart LLM Router: 14-Dimension Classifier](docs/smart-llm-router-14-dimension-classifier.md)      | How the routing engine works                            |\n| [LLM Router Benchmark: 46 Models, Sub-1ms](docs/llm-router-benchmark-46-models-sub-1ms-routing.md) | Performance benchmarks                                  |\n| [Anthropic Cost Savings](docs/anthropic-cost-savings.md)                                           | Reducing Claude API spend                               |\n\n---\n\n## Frequently Asked Questions\n\n### What is ClawRouter?\n\nClawRouter is an open-source (MIT licensed) smart LLM router built for autonomous AI agents. It analyzes each request across 15 dimensions and routes to the cheapest capable model in under 1ms, entirely locally — no external API calls needed for routing decisions.\n\n### How much can ClawRouter save on LLM costs?\n\nClawRouter's blended average cost is $2.05 per million tokens compared to $25/M for Claude Opus, representing <!-- br:savings.autoVsBaselinePct -->84<!-- /br:savings.autoVsBaselinePct -->% savings. Actual savings depend on your workload — simple queries are routed to free models ($0/request), while complex tasks get premium models.\n\n### How does ClawRouter compare to OpenRouter?\n\nClawRouter is open source and runs locally. It uses wallet-based authentication (no API keys) and USDC per-request payments (no credit cards or subscriptions). OpenRouter requires an account, API key, and credit card. ClawRouter also features smart routing — it automatically picks the best model for each request, while OpenRouter requires manual model selection.\n\n### How does ClawRouter compare to LiteLLM?\n\nBoth are open source and run locally. But ClawRouter adds smart routing (automatic model selection), wallet-based auth, and USDC payments. LiteLLM requires you to bring your own API keys and manually choose models.\n\n### What agents does ClawRouter work with?\n\nClawRouter works with any tool that makes OpenAI-compatible API calls — point it at `http://localhost:8402`. This includes continue.dev, Cursor, VS Code extensions, ElizaOS, and custom agents. It also integrates as a plugin with [OpenClaw](https://openclaw.ai) (an AI coding agent), which enables additional features like slash commands and usage reports.\n\n### Is ClawRouter free?\n\nClawRouter itself is free and MIT licensed. You pay only for the LLM API calls routed through it — and several models (`nemotron-3.5-lightning`, `nemotron-3-nano-30b`, `laguna-xs-2.1`, `north-mini-code`, `nemotron-3-nano-omni-30b-a3b-reasoning`, `nemotron-3-ultra-550b`, `llama-3.2-11b-vision`) are completely free. Use `/model free` to smart-route across them, or pick any by name.\n\n---\n\n<div align=\"center\">\n\n**MIT License** · [BlockRun](https://blockrun.ai) — Agent-native AI infrastructure\n\n⭐ If ClawRouter powers your agents, consider starring the repo!\n\n</div>\n","readmeFilename":"README.md"}