Showing results for claude code any router
Search instead for claude code anyrouter
🌐
GitHub
github.com › musistudio › claude-code-router
GitHub - musistudio/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.
The claude command will automatically route requests through Claude Code Router. Integrate with Agent SDK applications: Applications built with the Anthropic Agent SDK will automatically use the configured router and models.
Starred by 24K users
Forked by 1.9K users
Languages   TypeScript 95.4% | JavaScript 2.9% | CSS 1.6%
🌐
ClaudeLog
claudelog.com › home › mcps & add-ons › claude code router
Claude Code Router | ClaudeLog
It intercepts Claude Code requests and routes them to alternative AI providers like OpenRouter, DeepSeek, Ollama, and Gemini, giving you access to Claude Code's interface while using any supported AI model.
People also ask

What are the main features of Claude Code Router?
Key features include flexible interaction with Claude Code models, regular updates from Anthropic, a user-friendly design for easy setup, and an extensible architecture for custom functionalities.
🌐
mcpmarket.com
mcpmarket.com › home › mcp servers › claude code router
Claude Code Router: AI Model Interaction & Dev ...
How do I install and start using Claude Code Router?
To get started, clone the GitHub repository, install dependencies using `npm install`, download the latest release, and then run `npm start` to begin interacting with the Claude Code model.
🌐
mcpmarket.com
mcpmarket.com › home › mcp servers › claude code router
Claude Code Router: AI Model Interaction & Dev ...
Who provides updates for the Claude Code models used by the router?
The Claude Code Router benefits from regular updates and improvements directly provided by Anthropic, ensuring you always have access to the latest features and capabilities.
🌐
mcpmarket.com
mcpmarket.com › home › mcp servers › claude code router
Claude Code Router: AI Model Interaction & Dev ...
🌐
Skypage
skywork.ai › skypage › en › claude-code-router-ai-coding › 1976894936249856000
Claude Code Router: Unlock the Full Potential of AI Coding
But as the initial awe subsided, I quickly hit a wall—the rising costs of a Pro subscription, the limitations of being tied to a single model provider, and a nagging desire for more control over my workflow. My search for a solution led me to a game-changing open-source tool: Claude Code Router (CCR).
🌐
Hacker News
news.ycombinator.com › item
Claude Code Router | Hacker News
August 6, 2025 - I wish for a vetting tool. Have an LLM examine the code then write a spec of what it reads and writes, & you can examine that before running it. If something in the list is suspect.. you’ll know before you’re hosed not after :) · If the first llm wasn’t enough, the second won’t be either.
🌐
Lgallardo
lgallardo.com › 2025 › 08 › 20 › claude-code-router-openrouter-beyond-anthropic
Beyond Anthropic: Using Claude Code with Any Model via Claude Code Router and OpenRouter - lgallardo.com
August 20, 2025 - Claude Code Router solves these issues elegantly by intercepting requests and routing them to any compatible model provider.
🌐
OpenRouter
openrouter.ai › docs › guides › guides › claude-code-integration
Integration with Claude Code | OpenRouter | OpenRouter | Documentation
Claude Code is a powerful agentic tool. While you can use any model via OpenRouter, we recommend sticking to highly capable models (like Claude 4.5 Sonnet, GPT 5.2, etc.) for the best experience, as complex coding tasks require strong reasoning.
🌐
Claudecoderouter
claudecoderouter.com
Claude Code Router - Enhance Your AI Coding Workflow
The evidence leans toward it being useful for tasks like background processing and handling long contexts, with configuration via a JSON file. Claude Code Router’s core functionality revolves around routing requests to various AI models, supporting providers such as OpenRouter, DeepSeek, Ollama, Gemini, and Volcengine.
Find elsewhere
🌐
atal upadhyay
atalupadhyay.wordpress.com › 2025 › 10 › 03 › claude-code-router-complete-guide-with-hands-on-lab
Claude Code Router: Complete Guide with Hands-On Lab | atal upadhyay
October 3, 2025 - Introduction What is Claude Code Router? Claude Code Router (CCR) is an open-source proxy/middleware tool that acts as a compatibility layer between Claude Code CLI and various AI backend providers.
🌐
MCP Market
mcpmarket.com › home › mcp servers › claude code router
Claude Code Router: AI Model Interaction & Dev ...
Facilitates seamless interaction with Claude Code models by routing requests and enabling customized AI development environments. ... Claude Code Router offers a robust framework for integrating Claude Code into your development workflow. It provides flexible interaction with the Claude Code ...
🌐
Medium
medium.com › @renzuku › claude-code-agent-with-any-model-basically-free-46fd927b4744
Claude Code Agent with ANY model (basically FREE) | by Rajarshi Sandilya | Medium
August 14, 2025 - It reads ~/.claude-code-router/config.json, starts an HTTP server, and begins routing all Claude Code API calls through your configured provider/model rules.
🌐
npm
npmjs.com › package › @tellerlin › claude-code-router
@tellerlin/claude-code-router - npm
A powerful tool to route Claude Code requests to different models and customize any request. This is a fork of musistudio/claude-code-router with additional API Key Rotation functionality.
      » npm install @tellerlin/claude-code-router
    
Published   Jul 24, 2025
Version   1.1.2
Author   musistudio
🌐
npm
npmjs.com › package › @rikaaa0928 › claude-code-router
@rikaaa0928/claude-code-router - npm
name: Claude Code on: issue_comment: types: [created] # ... other triggers jobs: claude: if: | (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || # ... other conditions runs-on: ubuntu-latest permissions: contents: read pull-requests: read issues: read id-token: write steps: - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 1 - name: Prepare Environment run: | curl -fsSL https://bun.sh/install | bash mkdir -p $HOME/.claude-code-router cat << 'EOF' > $HOME/.claude-code-router/config.json { "log": true, "OPENAI_API_KEY": "${{ secret
      » npm install @rikaaa0928/claude-code-router
    
Published   Jul 24, 2025
Version   1.0.26
Author   musistudio
🌐
Homebrew
formulae.brew.sh › formula › claude-code-router
claude-code-router — Homebrew Formulae
brew install claude-code-router · Tool to route Claude Code requests to different models and customize any request · https://github.com/musistudio/claude-code-router · License: MIT · Formula JSON API: /api/formula/claude-code-router.json · Formula code: claude-code-router.rb on GitHub ·
🌐
Arch Linux
aur.archlinux.org › packages › claude-code-router
AUR (en) - claude-code-router
https://registry.npmjs.org/@musistudio/claude-code-router/-/claude-code-router-1.0.65.tgz ... Report issues here. Copyright © 2004-2025 aurweb Development Team. AUR packages are user produced content. Any use of the provided files is at your own risk.
🌐
Reddit
reddit.com › r/localllama › claude code + claude-code-router + vllm (qwen3 coder 30b) won’t execute tools / commands. looking for tips
r/LocalLLaMA on Reddit: Claude Code + claude-code-router + vLLM (Qwen3 Coder 30B) won’t execute tools / commands. looking for tips
August 10, 2025 -

TL;DR: I wired up claude-code with claude-code-router (ccr) and vLLM running Qwen/Qwen3-Coder-30B-A3B-Instruct. Chat works, but inside Claude Code it never executes anything (no tool calls), so it just says “Let me check files…” and stalls. Anyone got this combo working?

Setup

Host: Linux
Serving model (vLLM):

python -m vllm.entrypoints.openai.api_server \
  --host 0.0.0.0 --port 8000 \
  --model Qwen/Qwen3-Coder-30B-A3B-Instruct \
  --dtype bfloat16 --enforce-eager \
  --gpu-memory-utilization 0.95 \
  --api-key sk-sksksksk \
  --max-model-len 180000 \
  --enable-auto-tool-choice \
  --tool-call-parser hermes \
  --tensor_parallel_size 2

I can hit this endpoint directly and get normal chat responses without issues.

claude-code-router config.json**:**

jsonCopyEdit{
  "LOG": true,
  "CLAUDE_PATH": "",
  "HOST": "127.0.0.1",
  "PORT": 3456,
  "APIKEY": "",
  "API_TIMEOUT_MS": "600000",
  "PROXY_URL": "",
  "transformers": [],
  "Providers": [
    {
      "name": "runpod",
      "api_base_url": "https://myhost/v1/chat/completions",
      "api_key": "sk-sksksksksk",
      "models": ["Qwen/Qwen3-Coder-30B-A3B-Instruct"]
    }
  ],
  "Router": {
    "default": "runpod,Qwen/Qwen3-Coder-30B-A3B-Instruct",
    "background": "",
    "think": "",
    "longContext": "",
    "longContextThreshold": 60000,
    "webSearch": ""
  }
}

Client: ccr code

On launch, Claude Code connects to http://127.0.0.1:3456, starts fine, runs /init, and says:

…but then it never actually runs anything (no bash/dir/tool calls happen).

What works vs. what doesn’t

  • ✅ Direct requests to vLLM chat/completions return normal assistant messages.

  • ✅ Claude Code UI starts up, reads the repo, and “thinks”.

  • ❌ It never triggers any tool calls (no file ops, no bash, no git, no nothing), so it just stalls at the “checking files” step.

Things I’ve tried

  • Drop the Hermes parser: remove --enable-auto-tool-choice and --tool-call-parser hermes from vLLM so we only use OpenAI tool calling. But it won't answer any request and throws an error.

Questions:

  1. Has anyone run Claude Code → ccr → vLLM successfully with Qwen3 Coder 30B A3B? If yes, what exact vLLM flags (especially around tool calling) and chat template did you use?

  2. Should I avoid --tool-call-parser hermes with Qwen? Is there a known parser that works better with Qwen3 for OpenAI tools?

  3. ccr tips: Any ccr flags/env to force tool_choice or to log the raw upstream responses so I can confirm whether tool_calls are present/missing?

Logs / snippet

From Claude Code:

shellCopyEdit... Welcome to Claude Code ...
> /init is analyzing your codebase…
> ok
> Let me first check what files and directories we have...
# (stalls here; no tool execution happens)

If you’ve got this stack working, I’d love to see your vLLM command, ccr config, and (ideally) a single tool-call response as proof-of-life. Thanks!

Top answer
1 of 5
9
Hi. I can chime in on this one. First of all, I hate to say this, but: Gwen3 Coder is broken. It is. There has been some gaslighting and damange control. I understand why Gwen would be sensitive about this, but the model is broken. Second, the prompt band aid that Unsloth attempted does not fix the model with Cline/Roo Code. Here is the issue at Github: https://github.com/RooCodeInc/Roo-Code/issues/6630 Don't be intimidated about the code discussion. Just listen to the dev of this. I will quote daniel-lxs on this. "This is a problem with the model itself, we do not have instructions for the model to use or and these seem to be hallucinations from the model, I'm closing the issue, let me know if you have any questions." I went a step further. There is a LLM toolcall proxy on github here. https://github.com/ziozzang/llm-toolcall-proxy It was useful to cook up a small proxy with some heuristics to repair some of the tool calls the model was sending to Roo, but it's not enough. The gain wasn't worth it. I was able to repair some of the malformed calls, but it gets really sticky with the calls. The trouble is, Gwen3 Coder is omitting the tag. Writing a tool to figure out where the path information is in a read, diff, or write is more tricky than you might think. I quickly realized it can't be solved. We would almost need another model sitting between Gwen3 Coder and Roo acting as a smart proxy to sort this out. In short, the model is broken.
2 of 5
8
In my experience qwen3 coder is trash at calling tools. Unsloth didnt fix it. It's a problem with coder. qwen3-30b-a3b-thinking-2507 is far superior to use at coding compared to coder.
🌐
Apidog
apidog.com › blog › use-claude-code-with-openrouter
How to Use Claude Code with OpenRouter
3 weeks ago - By bridging the two systems, you can get the best of both worlds: Claude Code’s developer-friendly interface and OpenRouter’s wide model catalog. This integration is what we are referring to as “Claude Code with Openrouter.” · The trick is using a "router / proxy" that translates between the two API formats.
🌐
Reddit
reddit.com › r/chatgptcoding › claude code router - which models work best? kimi k2?
r/ChatGPTCoding on Reddit: Claude Code Router - Which models work best? Kimi K2?
May 23, 2025 -

Which model has the best tool calling with Claude code router?

Been experimenting with claude code router seen seen here: https://github.com/musistudio/claude-code-router

I got Kimi-K2 to work with Groq, but the tool calling seems to cause issues.

Is anyone else having luck with Kimi-k2 or any other models for claude code router (which is of course quite reliant on tool calling). Ive tried trouble shooting it quite abit but wondering if this is a config issue.