← 返回公开榜单
Cl

BlockRunAI/ClawRouter

The agent-native LLM router empowering OpenClaw — by BlockRunAI

本周新增
155 星
近 3 周倍数
0.6x
距上次推送
237 天
距上次发布
243 天
许可证
MIT

星标增长

每根柱子是这个周期记录下来的 star 增长:优先取逐个 stargazer 到达时间分桶的到达数,还没被 stargazer 扫描覆盖的仓库改用该周期的 star 净增;两个写者都没记录的周期画成虚线空档,而不是当成 0。柱高按各自窗口的峰值归一,两张图不共用坐标轴。指向任意一根柱子, tooltip 里是该周期的九项指标:当前值与周期内的净增。

指向或点击一根柱子,看当天的九项指标。

2/252/283/23/53/83/113/133/16

2026 年 2 月 27 日 新增 161 个星标; 2026 年 2 月 28 日 新增 30 个星标; 2026 年 3 月 1 日 新增 50 个星标; 2026 年 3 月 2 日 新增 61 个星标; 2026 年 3 月 3 日 新增 49 个星标; 2026 年 3 月 4 日 新增 287 个星标; 2026 年 3 月 5 日 新增 319 个星标; 2026 年 3 月 8 日 新增 660 个星标; 2026 年 3 月 10 日 新增 204 个星标; 2026 年 3 月 11 日 新增 40 个星标; 2026 年 3 月 16 日 新增 155 个星标

窗口内最高的一天是 2026 年 3 月 8 日,新增 660 个星标。

证据时间轴

  1. 第 2026 年第 11 周发布 3 次

    累计 28 个 release

  2. 第 2026 年第 10 周发布 9 次

    累计 25 个 release

  3. 第 2026 年第 9 周发布 7 次

    累计 16 个 release

README
The document stored for this repository, with its Chinese translation when one has been produced
ClawRouter Banner

The LLM router built for autonomous agents

Agents can't sign up for accounts. Agents can't enter credit cards.
Agents can only sign transactions.

ClawRouter is the only LLM router that lets agents operate independently.


Agent native  No API keys  Local routing  x402 USDC  Open source

npm version npm downloads GitHub stars CI TypeScript License: MIT

USDC Hackathon Winner x402 Protocol Base Network Solana OpenClaw Plugin Telegram


Why ClawRouter exists

Every 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.

Agents can't do any of that.

ClawRouter is built for the agent-first world:

  • No accounts — a wallet is generated locally, no signup
  • No API keys — your wallet signature IS authentication
  • No model selection — 15-dimension scoring picks the right model automatically
  • No credit cards — agents pay per-request with USDC via x402
  • No trust required — runs locally, <1ms routing, zero external dependencies

This is the stack that lets agents operate autonomously: x402 + USDC + local routing.


How it compares

OpenRouterLiteLLMMartianPortkeyClawRouter
Models200+100+Smart routingGateway41+
RoutingManual selectionManual selectionSmart (closed)ObservabilitySmart (open source)
AuthAccount + API keyYour API keysAccount + API keyAccount + API keyWallet signature
PaymentCredit cardBYO keysCredit card$49-499/moUSDC per-request
Runs locallyNoYesNoNoYes
Open sourceNoYesNoPartialYes
Agent-readyNoNoNoNoYes

✓ Open source · ✓ Smart routing · ✓ Runs locally · ✓ Crypto native · ✓ Agent ready

We're the only one that checks all five boxes.


Quick Start

# 1. Install with smart routing enabled
curl -fsSL https://blockrun.ai/ClawRouter-update | bash
openclaw gateway restart

# 2. Fund your wallet with USDC on Base or Solana (address printed on install)
# $5 is enough for thousands of requests

Done. Smart routing (blockrun/auto) is now your default model.


Routing Profiles

Choose your routing strategy with /model <profile>:

ProfileStrategySavingsBest For
/model autoBalanced (default)74-100%General use
/model ecoCheapest possible95-100%Maximum savings
/model premiumBest quality0%Mission-critical
/model freeFree tier only100%Zero cost

Shortcuts: /model grok, /model br-sonnet, /model gpt5, /model o3


How It Works

100% local routing. <1ms latency. Zero external API calls.

Request → Weighted Scorer (15 dimensions) → Tier → Best Model → Response
TierECO ModelAUTO ModelPREMIUM Model
SIMPLEnvidia/gpt-oss-120b (FREE)kimi-k2.5 ($0.60/$3.00)kimi-k2.5
MEDIUMgemini-2.5-flash-lite ($0.10/$0.40)grok-code-fast ($0.20/$1.50)gpt-5.2-codex ($1.75/$14.00)
COMPLEXgemini-2.5-flash-lite ($0.10/$0.40)gemini-3.1-pro ($2/$12)claude-opus-4.6 ($5/$25)
REASONINGgrok-4-fast ($0.20/$0.50)grok-4-fast ($0.20/$0.50)claude-sonnet-4.6 ($3/$15)

Blended average: $2.05/M vs $25/M for Claude Opus = 92% savings


Image Generation

Generate images directly from chat with /imagegen:

/imagegen a dog dancing on the beach
/imagegen --model dall-e-3 a futuristic city at sunset
/imagegen --model banana-pro --size 2048x2048 mountain landscape
ModelProviderPriceMax Size
nano-bananaGoogle Gemini Flash$0.05/image1024x1024
banana-proGoogle Gemini Pro$0.10/image4096x4096
dall-e-3OpenAI DALL-E 3$0.04/image1792x1024
gpt-imageOpenAI GPT Image 1$0.02/image1536x1024
fluxBlack Forest Flux 1.1$0.04/image1024x1024

Image Editing (img2img)

Edit existing images with /img2img:

/img2img --image ~/photo.png change the background to a starry sky
/img2img --image ./cat.jpg --mask ./mask.png remove the background
OptionRequiredDescription
--image <path>YesLocal image file path (supports ~/)
--mask <path>NoMask image (white = area to edit)
--model <model>NoModel to use (default: gpt-image-1)
--size <WxH>NoOutput size (default: 1024x1024)

API endpoint: POST http://localhost:8402/v1/images/image2image — see full docs.


Models & Pricing

41+ models across 7 providers, one wallet:

Click to expand full model list
ModelInput $/MOutput $/MContextReasoning
OpenAI
gpt-5.2$1.75$14.00400K*
gpt-4o$2.50$10.00128K
gpt-4o-mini$0.15$0.60128K
gpt-oss-120bFREEFREE128K
o1$15.00$60.00200K*
o1-mini$1.10$4.40128K*
o3$2.00$8.00200K*
o4-mini$1.10$4.40128K*
Anthropic
claude-opus-4.6$5.00$25.00200K*
claude-sonnet-4.6$3.00$15.00200K*
claude-haiku-4.5$1.00$5.00200K
Google
gemini-3.1-pro$2.00$12.001M*
gemini-3-pro-preview$2.00$12.001M*
gemini-3-flash-preview$0.50$3.001M
gemini-2.5-pro$1.25$10.001M*
gemini-2.5-flash$0.30$2.501M
gemini-2.5-flash-lite$0.10$0.401M
DeepSeek
deepseek-chat$0.28$0.42128K
deepseek-reasoner$0.28$0.42128K*
xAI
grok-4-0709$0.20$1.50131K*
grok-4-1-fast-reasoning$0.20$0.50131K*
grok-code-fast-1$0.20$1.50131K
Moonshot
kimi-k2.5$0.60$3.00262K*
MiniMax
minimax-m2.5$0.30$1.20205K*

Free tier: gpt-oss-120b costs nothing and serves as automatic fallback when wallet is empty.


Payment

No account. No API key. Payment IS authentication via x402.

Request → 402 (price: $0.003) → wallet signs USDC → retry → response

USDC stays in your wallet until spent — non-custodial. Price is visible in the 402 header before signing.

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.

/wallet              # Check balance and address (both chains)
/wallet export       # Export mnemonic + keys for backup
/wallet recover      # Restore wallet from mnemonic on a new machine
/wallet solana       # Switch to Solana USDC payments
/wallet base         # Switch back to Base (EVM) USDC payments
/chain solana        # Alias for /wallet solana
/stats               # View usage and savings
/stats clear         # Reset usage statistics

Fund your wallet:

  • Base (EVM): Send USDC on Base to your EVM address
  • Solana: Send USDC on Solana to your Solana address
  • Coinbase/CEX: Withdraw USDC to either network
  • Credit card: Reach out to @bc1max on Telegram

Screenshots

Smart Routing in Action

ClawRouter savings
Telegram Integration

Telegram demo

Configuration

For basic usage, no configuration needed. For advanced options:

VariableDefaultDescription
BLOCKRUN_WALLET_KEYauto-generatedYour wallet private key
BLOCKRUN_PROXY_PORT8402Local proxy port
CLAWROUTER_DISABLEDfalseDisable smart routing
CLAWROUTER_SOLANA_RPC_URLhttps://api.mainnet-beta.solana.comSolana RPC endpoint

Full reference: docs/configuration.md


Troubleshooting

When things go wrong, run the doctor:

npx @blockrun/clawrouter doctor

This collects diagnostics and sends them to Claude Sonnet for AI-powered analysis:

🩺 BlockRun Doctor v0.12.24

System
  ✓ OS: darwin arm64
  ✓ Node: v20.11.0

Wallet
  ✓ Address: 0x1234...abcd
  ✓ Balance: $12.50

Network
  ✓ BlockRun API: reachable (142ms)
  ✗ Local proxy: not running on :8402

📤 Sending to Claude Sonnet 4.6 (~$0.003)...

🤖 AI Analysis:
The local proxy isn't running. Run `openclaw gateway restart` to fix.

Use Opus for complex issues:

npx @blockrun/clawrouter doctor opus

Ask a specific question:

npx @blockrun/clawrouter doctor "why is my request failing?"
npx @blockrun/clawrouter doctor opus "深度分析我的配置"

Cost: Sonnet ~$0.003 (default) | Opus ~$0.01


Development

git clone https://github.com/BlockRunAI/ClawRouter.git
cd ClawRouter
npm install
npm run build
npm test

Support

ChannelLink
📅 Schedule Democalendly.com/vickyfu9/30min
💬 Community Telegramt.me/blockrunAI
🐦 X / Twitterx.com/BlockRunAI
📱 Founder Telegram@bc1max
✉️ Emailvicky@blockrun.ai

From the BlockRun Ecosystem

⚡ ClawRouter

The LLM router built for autonomous agents

You're here. 41+ models, local smart routing, x402 USDC payments — the only stack that lets agents operate independently.

curl -fsSL https://blockrun.ai/ClawRouter-update | bash

🦞 SocialClaw

Intelligence-as-a-function for X/Twitter

The first X analytics an agent can call. One function call = one intelligence report. $0.08, not $49/month. No dashboard, no login, no subscription.

pip install blockrun-llm[solana]

GitHub


More Resources

ResourceDescription
DocumentationFull docs
Model PricingAll models & prices
Image Generation & EditingAPI examples, 5 models
Routing ProfilesECO/AUTO/PREMIUM details
ArchitectureTechnical deep dive
ConfigurationEnvironment variables
TroubleshootingCommon issues

MIT License · BlockRun — Agent-native AI infrastructure

⭐ If ClawRouter powers your agents, consider starring the repo!

页面上的每个数字都来自记录下来的 stargazer 到达时间,没有评分公式,也没有 AI 判定。 任何结论都可以用 /api/v1/repos/{id}/stats 里的原始增量自己重算。