ClawRouter Deep Dive: OpenClaw's LLM Router Cuts API Costs 92% with No API Keys, USDC Wallet Payments
BlockRunAI's OpenClaw-native LLM router hit 2,400 GitHub stars in 11 days. Under the hood: 100% local 15-dimension scoring under 1ms, x402 protocol USDC payments as authentication, and a 30+ model pool spanning 6 providers. A detailed technical breakdown.
BlockRunAI’s OpenClaw-native LLM router ClawRouter reached 2,400 GitHub stars in 11 days post-release. The design—no API keys required, 100% local routing under 1ms, USDC wallet as authentication, 30+ models across 6 providers—positions it distinctly from conventional LLM routers. Here’s a technical breakdown of how it works.
The Problem It Solves
Running OpenClaw on Claude Opus 4.5 ($5/$25 per million tokens input/output) charges premium rates for every heartbeat check and routine task. ClawRouter classifies each request and routes it to an appropriately-priced model, achieving 92% cost reduction versus Opus 4.5 on a typical workload.
Core Architecture: 15-Dimension Local Scoring
The most technically notable feature is that classification runs entirely on the local machine:
Request → Weighted Scorer (15 dimensions)
│
├── High confidence → Pick model from tier → Done
│
└── Low confidence → Default to MEDIUM tier → Done
- Classification latency: <1ms
- External API calls: Zero
- Privacy: Request content never leaves the machine
Unlike routers that rely on external classification APIs, there’s no cold-start latency and no classification cost. The fallback to MEDIUM tier on low-confidence inputs is a pragmatic design choice.
The Four-Tier Routing System
| Tier | Primary Model | Cost (input/M) | Use Cases |
|---|---|---|---|
| SIMPLE | NVIDIA Kimi K2.5 | $0.001 | Arithmetic, routine processing |
| MEDIUM | Grok Code Fast 1 | $1.50 | Summarization, code assistance |
| COMPLEX | Gemini 2.5 Pro | $10.00 | React implementation, complex design |
| REASONING | Grok 4.1 Fast | $0.50 | Mathematical proofs, logical reasoning |
A special rule: requests containing 2+ reasoning markers are routed to the REASONING tier at 0.97 confidence—dropping cost from $25/M to $0.50/M for those tasks.
Blended average cost: $2.05/M (92% reduction from Opus 4.5’s $25/M)
Four Routing Profiles
/model auto # Default: balanced quality + cost (74-100% savings)
/model eco # Maximum savings (95.9-100%)
/model premium # Best quality only (Opus 4.5)
/model free # Free tier only (gpt-oss-120b, zero cost)
Example: switching to /model eco then requesting “Write a React component” routes to DeepSeek ($0.28/$0.42), achieving 98.3% savings versus Opus 4.5.
The Most Innovative Feature: x402 Protocol Payments
ClawRouter’s most distinctive design choice is its payment model. No API keys—a USDC wallet on Base L2 serves as both payment and authentication.
Request → 402 (price: $0.003) → wallet signs USDC → retry → response
Using the x402 HTTP payment extension, the price is visible in the 402 response header before the wallet auto-signs and retries. USDC is non-custodial (you control the private key) and spent only as used.
# Install
curl -fsSL https://blockrun.ai/ClawRouter-update | bash
openclaw gateway restart
# Fund wallet with $5 USDC — enough for thousands of requests
The implications are significant: no per-provider API account management, access to 30+ models from a single $5 USDC deposit. Using an open blockchain payment rail eliminates lock-in to specific provider accounts.
Kimi K2.5: The Agentic Workflows Choice
The Moonshot AI model occupying the SIMPLE tier is purpose-built for agent swarms:
- Coordinates up to 100 parallel agents, 4.5x faster execution
- Stable across 200-300 sequential tool calls without drift
- Vision-to-Code: generates production React from UI mockups and videos
- 76% cheaper than Claude Opus on agentic benchmarks
Routing routine tasks to Kimi K2.5 ($0.001/M) while reserving Opus/Sonnet for genuinely complex work is the intended ClawRouter use case.
Model Pool (Key Models)
| Provider | Notable Model | Input $/M |
|---|---|---|
| OpenAI | GPT-5.2 / o3 | $1.75 / $2.00 |
| Anthropic | Opus 4.5 / Sonnet 4.6 | $5.00 / $3.00 |
| Gemini 2.5 Pro / Flash | $1.25 / $0.15 | |
| xAI | Grok 4.1 Fast Reasoning | $0.20 |
| DeepSeek | deepseek-chat | $0.14 |
| Moonshot | Kimi K2.5 | $0.50 |
A free-tier fallback (gpt-oss-120b at $0) continues operation when the wallet balance reaches zero—a practical design for uninterrupted automation.
Assessment
Three factors explain ClawRouter’s rapid traction:
1. Zero-latency classification: Local-only routing avoids the router becoming a performance bottleneck—a common problem with external classifier APIs.
2. No API key barrier: The x402 + USDC combination removes the biggest UX friction for accessing multiple LLM providers. One wallet deposit covers 30+ models.
3. Agent-native design: Multi-step task auto-detection, tool usage awareness, context size filtering—agentic workflow support is built-in rather than bolted on.
The primary adoption friction is the USDC wallet requirement. Users unfamiliar with Base L2 or crypto wallets face an onboarding step that traditional API-key tools don’t require. The ultra-low SIMPLE tier cost ($0.001/M) also warrants verification that output quality meets task requirements before committing to eco routing profiles in production workflows.
関連記事
ClawRouter詳解:OpenClaw用LLMルーターがAPIキー不要・USDCウォレット決済で92%コスト削減を実現
BlockRunAI製のOpenClaw専用LLMルーター「ClawRouter」が11日でGitHub 2,400スターを達成。100%ローカルの15次元スコアリングで1ms以下のルーティング判定、x402プロトコルによるAPIキー不要のUSDC決済、30種以上のモデルプールなど、独自アーキテクチャを詳細に解説。
Claude HaikuがLinkedInのパスワードを勝手にリセット――自律型就職応募エージェント「ApplyPilot」が2日間で1,000件を突破
オープンソースの自律型就職応募エージェント「ApplyPilot」がr/ClaudeAIで話題に。Claude HaikuがLinkedInセッション切れを検知してパスワードリセットを自己判断、フランス語の求人には全工程をフランス語で対応。2日間1,000件応募・面接中という結果が採用市場にAIスパムという新たな問題を提起している。
868のスキルをnpx 1コマンドで——「Antigravity Awesome Skills」が主要AIコーディングエージェントの共通スキル基盤になりつつある
Claude Code・Gemini CLI・Codex CLI・Cursor・GitHub Copilotなど主要AIコーディングアシスタントを横断する868以上のスキルライブラリ「Antigravity Awesome Skills」(v5.4.0)を詳細分析。Anthropic・Vercel・OpenAI・Supabase・Microsoftの公式スキルを統合した設計思想、ロール別バンドル・ワークフロー機能、SKILL.mdによる相互運用性のアーキテクチャを解説する。
人気記事
ChatGPT(OpenAI)とClaude(Anthropic)の機能比較 2026年版。コーディング・長文解析・コスト・API料金の違いを検証
ChatGPT(GPT-4o/o3)とClaude(Sonnet 4.6/Opus 4.5)を2026年時点の最新情報で比較する。コーディング能力、長文処理、日本語品質、API料金、無料プランの違いをSWE-benchなどのベンチマーク結果とともに解説する。
【2026年2月20日 所感】「AIがコードを書く」は仮説から現実になった——しかし私たちはその意味をまだ消化できていない
2026年2月20日に観測したコーディングエージェント関連ニュースの総括と所感。Anthropicの自律性研究、cmux、MJ Rathbunのエージェント事故、HN「外骨格 vs チーム」論争、Stripe Minions週1000件PR、Taalas 17k tokens/sec——朝から夜までの流れを通じて見えてきた「AIがコードを書く時代」の実相を考察する。
868のスキルをnpx 1コマンドで——「Antigravity Awesome Skills」が主要AIコーディングエージェントの共通スキル基盤になりつつある
Claude Code・Gemini CLI・Codex CLI・Cursor・GitHub Copilotなど主要AIコーディングアシスタントを横断する868以上のスキルライブラリ「Antigravity Awesome Skills」(v5.4.0)を詳細分析。Anthropic・Vercel・OpenAI・Supabase・Microsoftの公式スキルを統合した設計思想、ロール別バンドル・ワークフロー機能、SKILL.mdによる相互運用性のアーキテクチャを解説する。
最新記事
AIエージェント間通信の標準化競争が始まる——AquaとAgent Semantic Protocolが同日登場
2026年2月23日、Hacker Newsに2つのAIエージェント通信プロジェクトが同日掲載された。Go製CLI「Aqua」とセマンティックルーティングを実装する「Agent Semantic Protocol」は、MCPが解決できないP2P・非同期通信の課題に取り組む。
Claude Sonnet 4.6、無料・Proプランのデフォルトモデルに——社内テストでOpus 4.5を59%の確率で上回る
Anthropicは2026年2月17日にリリースしたClaude Sonnet 4.6を、claude.aiの無料・Proプランのデフォルトモデルに設定した。価格はSonnet 4.5と同額の$3/$15 per 1Mトークン。社内評価ではコーディングエージェント用途でOpus 4.5を上回る結果が出ている。
GoogleがOpenClaw経由のGemini利用ユーザーのアカウントを永久停止——月額$250請求継続のまま
2026年2月23日、Hacker Newsで140pt/107コメントを集めたレポートによると、GoogleはOpenClaw(サードパーティクライアント)経由でGeminiを使用していたGoogle AI Pro/Ultraユーザーを予告なしに永久停止した。技術的・経済的背景を整理する。