Skip to content

ClawRouter

Local LLM router that sends each request to the cheapest capable model for AI agents

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

78

Health

Thriving

Overview

Stars

6,669

Last commit

today

Nov 2026

Repository age

10 months

since Feb 2026

Latest version

v0.12.321

Nov 2026

Contributors

–

8 active in 90 days

Releases

25

last 12 months

Language

TypeScript

ClawRouter is an MIT-licensed router, written in TypeScript, that runs on your machine and picks a model for each request. It scores a request across 15 dimensions and routes it to the cheapest model that can handle it. Routing happens locally and takes under a millisecond.

It connects to the BlockRun gateway, which offers 91 chat models from nine providers, including OpenAI, Anthropic, Google, xAI and DeepSeek, behind one endpoint and one balance. You can pay by credit card and an API key, or with USDC on Solana or Base using an x402 wallet and no account. Eight models are free with no signup.

It is built for autonomous agents that cannot create accounts or enter card details. It works as an alternative to pinning one expensive model, and to hosted routing services. The project reports savings of up to 84% against a fixed Claude Opus workload mix.

Who it's for

Developers building autonomous AI agents

A wallet signature can act as the account, so agents can pay without human signup.

Skip if: Your agents already run on a single provider key you are happy with.

Teams cutting LLM API spend

Routing to the cheapest capable model reduces cost on mixed traffic.

Skip if: You must use one specific model for every request.

The problem it solves

Agents cannot sign up for accounts or hold credit cards, and pinning one premium model for every call is costly. ClawRouter picks a cheaper capable model per request and lets the agent pay by itself.

Strengths

  • Scores each request on 15 dimensions locally in under 1ms
  • 91 chat models from nine providers behind one endpoint
  • Pay by card, API key, or USDC micropayments via x402
  • Eight models are free with no signup, key or wallet
  • MIT licensed; 25 releases in the last year

Trade-offs

  • Model access and billing go through the BlockRun gateway
  • Savings figures come from a published workload mix, not your traffic
  • Wallet-based payment needs USDC on Solana or Base

Self-host ClawRouter

Self-hostable
Yes

Frequently asked questions

Is it free?

The router is MIT licensed. Eight models are free without signup, and others are paid per use by card or USDC.

Can I run it myself?

Yes. The router runs on your machine and routes locally.

Which models does it cover?

91 chat models from nine providers, including OpenAI, Anthropic, Google, xAI and DeepSeek.

Do I need an account?

No. You can pay with an x402 wallet, or use the free models with no signup.

Similar tools in LLM gateways and routers

oh-my-cpa

LLM gateways and routers

Self-hosted web console for monitoring and routing traffic through CLIProxyAPI

487 55 today Thriving MIT

agentgateway

LLM gateways and routers

Rust proxy that routes and secures LLM, MCP and agent-to-agent traffic

6.4k 1.1k today Thriving Apache-2.0

busbar

LLM gateways and routers

Self-hosted Rust gateway routing LLM traffic with budgets, failover and audit logs

241 25 2 months ago Active Apache-2.0

Replaces OpenRouter

optillm

LLM gateways and routers

OpenAI-compatible proxy that adds reasoning techniques like MOA and MCTS to any LLM

4.3k 399 8 days ago Thriving Apache-2.0

webchat2api

LLM gateways and routers

398 83 6 months ago Slowing MIT

WindsurfAPI

LLM gateways and routers

3.2k 628 today Thriving MIT