ClawRouter

Active
GitHub TypeScript MIT

Description

ClawRouter is an agent-facing LLM routing layer with 55+ models (8 free), picking the right model per task and optimizing cost.

Key Features

  • 55+ models — aggregated across providers
  • 8 free models — cuts agent bootstrap cost
  • Auto-routing — picks best model per task type
  • OpenAI-compatible — drop-in with OpenAI SDK
  • Transparent cost — live token pricing and quotas
  • Agent-friendly — one API for many models

Use Cases

💡 One API connecting 55+ LLM providers
💡 Auto-routing tasks to optimal models for agents
💡 Saving token cost in cost-sensitive applications
💡 Comparing different LLMs on the same prompt

Quick Start

npm install @clawrouter/sdk
import ClawRouter from "@clawrouter/sdk"
const client = new ClawRouter({ apiKey: process.env.CLAW_KEY });
const r = await client.chat({ model: "auto", messages: [{role:"user",content:"hi"}] });

Related Projects