8 Best Claude Code Router Alternatives in 2026 (Open Source)

Claude Code Router — Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.. vs using Claude Code directly: Route different types of requests (background, thinking, long context) to optimal models from any provider, saving costs while maintaining Claude Code's UX - with dynamic switching and plugin system

These 8 open-source tools do the same job. They are ordered by how closely they match Claude Code Router, with live GitHub data so you can see which projects are actively maintained.

ToolGitHub starsStars / 30dLast commit
Claude Code Router(original)37.5k+1,1132026-09-26
NadirClaw655+462026-09-23
Manifest7.5k+5522026-09-30
Claude Code148.7k+10,4592026-09-30
Codex127.4k+9,5312026-09-30
Ollama182.0k+2,5112026-09-30
Gemini CLI107.2k+1,2692026-09-29
LLM12.6k+1792026-09-22
Happy24.0k+1,2102026-09-28
  1. 1. NadirClaw

    Open-source LLM router & AI cost optimizer. Routes simple prompts to cheap/local models, complex ones to premium — automatically. Drop-in OpenAI-compatible proxy for Claude Code, Codex, Cursor, OpenCl

    What sets it apart: Local-first LLM cost optimizer — classifies prompt complexity in 10ms and routes simple requests to 10-20x cheaper models, with no third-party proxy or middleman

    Best for: Teams spending heavily on LLM APIs wanting 40-70% cost reduction; AI coding assistants (Claude Code, Cursor) with mixed complexity prompts; Budget-conscious developers using multiple LLM providers

  2. 2. Manifest

    Smart LLM Routing for OpenClaw. Cut Costs up to 70% 🦞🦚

    What sets it apart: Free, open-source, local-first LLM router with transparent scoring — vs OpenRouter which is a cloud proxy with 5% fee and no routing transparency

    Best for: Reducing LLM API costs by routing to cheapest capable model; Teams using multiple LLM providers who want automatic failover

  3. 3. Claude Code

    Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows

    What sets it apart: Unlike Codex (OpenAI) which also runs in terminal, Claude Code has deeper codebase understanding via long-context and native GitHub integration with @claude mentions

    Best for: Developers who live in the terminal and want AI-assisted coding without leaving CLI; Teams using GitHub workflows who want automated PR reviews and code generation

  4. 4. Codex

    Lightweight coding agent that runs in your terminal

    What sets it apart: Unlike Claude Code (Anthropic-only), Codex uniquely integrates with existing ChatGPT subscriptions and offers both CLI and cloud-based (Codex Web) agent variants

    Best for: OpenAI ecosystem users wanting a terminal-first coding agent with ChatGPT plan integration; Teams already paying for ChatGPT Enterprise who want CLI-based code automation

  5. 5. Ollama

    Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

    What sets it apart: Unlike vLLM (production server focus) or LM Studio (GUI-first), Ollama is the simplest CLI-first tool for running local LLMs with one-command setup, an OpenAI-compatible API, and the largest ecosystem of 100+ community integrations.

    Best for: Developers who want to run open-source LLMs locally with zero configuration; Privacy-sensitive use cases requiring fully offline LLM inference

  6. 6. Gemini CLI

    An open-source AI agent that brings the power of Gemini directly into your terminal.

    What sets it apart: Unlike Claude Code ($20+/month) and Codex (ChatGPT subscription), Gemini CLI offers the most generous free tier (1,000 req/day) with 1M token context and built-in Google Search grounding

    Best for: Developers wanting a free, high-quota AI coding CLI with 1M token context for large codebases; CI/CD pipelines needing automated AI-powered PR reviews via GitHub Actions

  7. 7. LLM

    Access large language models from the command-line

    What sets it apart: vs direct API calls: Swiss-army-knife CLI that unifies 100+ LLMs behind one command, with automatic SQLite logging, embeddings, schemas, and a rich plugin ecosystem

    Best for: Power users who want LLM access from the terminal; Quick prototyping and experimentation with multiple LLM providers; Building CLI-based LLM workflows with conversation history

  8. 8. Happy

    Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured

    What sets it apart: Only mobile client for Claude Code and Codex with E2E encryption and instant device switching — vs being tethered to your desktop while agents run

    Best for: Developers wanting mobile access to Claude Code sessions; Monitoring long-running AI coding tasks from phone; Teams needing push notifications for AI agent actions