Use any OpenRouter model (Qwen, Llama, Mistral, etc.) with Claude Code.
Claude Code CLI → Local Proxy (localhost:8787) → OpenRouter API
The proxy converts Anthropic API format to OpenAI format, enabling Claude Code to work with any OpenRouter model.
For prompt-free setup, create a .env file:
cp .env.example .env
# Edit .env with your API keyWindows:
.\launch-claude-openrouter.ps1Mac/Linux:
./launch-claude-openrouter.sh| Guide | Description |
|---|---|
| Setup Guide | Detailed installation instructions |
| Configuration | Environment variables and .env setup |
| Architecture | How the proxy works, agent/MCP support |
| Model Guide | Choosing the right OpenRouter model |
| Troubleshooting | Common issues and solutions |
docker compose down