Claude Code model router
Claude Code Copilot
Use Claude Code for free via GitHub Copilot — local proxy that translates Anthropic API to Copilot API
Install
git clone https://github.com/samarth777/claude-code-copilot.gitFrom the README
Claude Code via GitHub Copilot Use Claude Code for free by routing it through your existing GitHub Copilot subscription. This project runs a lightweight local proxy that translates between Anthropic's Messages API (which Claude Code speaks) and OpenAI's Chat Completions API (which GitHub Copilot speaks). No Anthropic API key needed — just your Copilot subscription. Features - Full API Translation — Anthropic Messages API ↔ OpenAI Chat Completions, including streaming - Web Search — Emulates Anthropic's web_search_20250305 tool using DuckDuckGo Lite (free) or Brave Search API - Docker Support — Run the proxy as an always-on container that survives reboots - Zero Dependencies — Pure Node.js, no npm install needed Prerequisites - GitHub account with an active Copilot subscription (Individual, Business, or Enterprise) - Node.js 18+ (or Docker) - Claude Code installed (npm install -g @anthropic-ai/claude-code) Quick Start 1. Clone and authenticate The auth script opens a GitHub device code flow in your browser. Your token is saved to ~/.claude-copilot-auth.json. 2. Start Claude Code One-command launcher (recommended): This auto-starts the proxy (via Docker if available, otherwise as a background process) and launches Claude Code. Or use Docker directly: The proxy runs with restart: always — it stays running across reboots. 3. Select your model Inside Claude Code, use /model to switch between available models (Claude Opus, Sonnet, etc.). Web Search The proxy emulates Anthropic's web search tool so Claude Code's WebSearch works automatically. Search providers: - Brave Search API — Best results. Set BRAVE_API_KEY env var (free tier: 2000 queries/month at api.search.brave.com) - DuckDuckGo Lite — Free, no API key needed (default) How It Works Claude Code…
Details
- Repository
- samarth777/claude-code-copilot
- Language
- JavaScript
- License
- MIT
- Last updated
- 16 February 2026
- Topics
- claude-codecoding-agentcopilot
FAQ
What is Claude Code Copilot?
Use Claude Code for free via GitHub Copilot — local proxy that translates Anthropic API to Copilot API It is a model router for Claude Code, from samarth777/claude-code-copilot on GitHub.
How do I install Claude Code Copilot?
Clone samarth777/claude-code-copilot from GitHub and follow the setup steps in its README.
Is Claude Code Copilot popular?
samarth777/claude-code-copilot has 37 GitHub stars and 10 forks. It was last updated on 16 February 2026.
More model routers & proxies
SEPCC
43sepehrbayat/SEPCC
SEPCC — A Claude Code proxy with context that survives. Route Claude Code through 17+ providers, resume sessions across restarts, and never lose your place. Fork of Free Claude Code.
Claude Rotate
41doxaras/claude-rotate
Multi-account rotating proxy for Claude Code — consume-first quota rotation, burst-aware 429 handling, hold-until-reset, per-device analytics. Herd-safe by test.
Claude Session Viewer
43prime-radiant-inc/claude-session-viewer
Session Explorer: a local web app for browsing Claude Code and OpenAI Codex CLI session histories, built with React Router, Express, and SQLite.
Claude Zeroclaw Nexus
52omaralisql/Claude-Zeroclaw-Nexus
Claude Code ZeroClaw Pro 2026: AI Multitool & CLI Router for Claude SDK Subagents
GLMproxy
40eequaled/GLMproxy
Cross platform GLM proxy for AutoClaw's Zhipu AI models. Provides OpenAI-compatible Chat Completions and Anthropic Messages APIs for Claude Code, Cursor, Continue, OpenCode, and SDKs
Commandcode API Proxy
36thaolaptrinh/commandcode-api-proxy
Bring your CommandCode Go subscription to OpenCode, Claude Code, and more.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.