Claude Code model router
Lynkr
Streamline your workflow with Lynkr, a CLI tool that acts as an HTTP proxy for efficient code interactions using Claude Code CLI.
Install
npm install -g lynkrFound in the project README. Check it for setup steps after installing.
git clone https://github.com/Fast-Editor/Lynkr.gitFrom the README
Lynkr An LLM Gateway which optimises your token usage. 84% fewer tokens on JSON tool results. 53% fewer tokens on tool-heavy requests. Sub-300ms semantic cache hits. Zero code changes. 84%JSON Compression 53%Tool Token Reduction <300msSemantic Cache Hits 14+LLM Providers 0Code Changes Required Numbers from the bundled benchmark against LiteLLM on identical free local backends — run it yourself: node benchmark-tier-routing.js. It doubles as a 19-scenario routing regression harness (currently 12/12 correctness checks), and MODE=routing runs a routing-only head-to-head that judges both proxies on the same acceptable-tier sets — including LiteLLM's Auto Router v2. How it works → Agentic benchmark (Terminal-Bench core, 80 tasks, Oct 2026): Lynkr 42/80 for $1.54 vs openrouter/auto 44/80 for $4.72 on the same VM and evening — tied on accuracy within single-run noise (Lynkr's three runs: 39, 39, 42) at ~30% of the cost; vLLM Semantic Router on the same models/hosts: 25/80 (34 agent timeouts from unbounded upstream stalls and per-turn CPU classification). Full comparison, fairness notes and what it changed in Lynkr → Third-party benchmark: on RouterArena (ICLR 2026, 8,400 queries) Lynkr's routing scores 67.65 arena / 68.41% accuracy at $0.29 per 1K queries with 92.38 robustness — above GPT-5's built-in router and NotDiamond at a fraction of their cost. Methodology & caveats → 🚀 New: Wrap Mode for AI Coding Tools Use Lynkr's routing with your AI coding assistant — maximize your subscription value: Wrapping gives you: - ✅ Tier routing (send simple tasks to free Ollama, complex to your subscription/API) - ✅ Sticky sessions: one routing decision per conversation via content fingerprinting, with automatic escalation when the task outgrows the model - ✅ TOON/RTK compression…
Details
- Repository
- Fast-Editor/Lynkr
- Website
- lynkrhq.com
- Language
- JavaScript
- License
- Apache-2.0
- Last updated
- 3 November 2026
- Topics
- agentsaiai-gatewayclaudeclaudecodecode-assistantcode-generationcursordatabricksdeveloper-toolsllamacppllm
FAQ
What is Lynkr?
Streamline your workflow with Lynkr, a CLI tool that acts as an HTTP proxy for efficient code interactions using Claude Code CLI. It is a model router for Claude Code, from Fast-Editor/Lynkr on GitHub.
How do I install Lynkr?
Run npm install -g lynkr, then follow the setup in the README.
Is Lynkr popular?
Fast-Editor/Lynkr has 639 GitHub stars and 75 forks. It was last updated on 3 November 2026.
More model routers & proxies
Casbin Gateway
646apache/casbin-gateway
See what every AI coding agent on your machine is doing, and whether the API behind it is the one you paid for. Claude Code, Codex, Cursor, Gemini CLI and more: one endpoint for 44 model vendors, A–F API authenticity grading, per-agent permissions, usage and prompt records.
Dario
584askalf/dario
One local endpoint that routes Claude Code, Cursor, Cline, Aider, Codex CLI and the SDKs through the Claude and ChatGPT plans you already pay for: seats first, then the fallback chain you configure, and a ledger of who paid. Zero runtime dependencies.
Claude Code Nexus
251KroMiose/claude-code-nexus
Proxy platform forwarding Claude Code requests to any OpenAI-compatible service.
React Native Boilerplate
523wataru-maeda/react-native-boilerplate
Production-ready React Native boilerplate for iOS, Android, and Web with Expo SDK 58, React 19.3, Expo Router, Redux Toolkit, TypeScript, Maestro E2E tests, and AGENTS.md rules and skills for AI coding agents (Claude Code, Codex, Cursor).
NadirClaw
661NadirRouter/NadirClaw
Source-available LLM router and AI cost optimizer. Routes simple prompts to cheap or local models and complex ones to premium models, automatically. Drop-in OpenAI-compatible proxy for Claude Code, Codex, Cursor and OpenClaw. Self-hosted, no middleman.
Openclaw Billing Proxy
518zacdcook/openclaw-billing-proxy
Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.