Claude Code model router

Claude Code Provider Gateway

The easiest way to use Claude Code with any LLM. Install the app, pick your provider, done.

Install

From source
git clone https://github.com/danielalves96/claude-code-provider-gateway.git

From the README

Claude Code Provider Gateway

Claude Code, your provider, one local gateway.

Run Claude Code through OpenAI Account, GitHub Copilot, OpenRouter, DeepSeek, Groq, xAI, Mistral, GLM, Minimax, Command Code, Ollama, LM Studio, llama.cpp, custom OpenAI/Anthropic-compatible endpoints, and many other providers, while keeping the Claude Code workflow intact.

Free, open source, and local-first.

Website · Documentation · Download

  View app screens

What This Is

Claude Code Provider Gateway, or CCPG, is a desktop app that starts a local gateway on your machine. Claude Code talks to the Anthropic-compatible proxy surface, while external tools can use the OpenAI-compatible /v1 surface. The gateway routes each request to the provider and model you configured, translates protocols when needed, and streams the result back in the caller's expected format.

You keep Claude Code's agent loop, tool use, project context, custom commands, hooks, MCP servers, and IDE workflow. You choose the model backend.

CCPG is not an npm package for end users. It has two official runtime modes:
the Tauri desktop app for a native local experience, and a Docker/Web mode for
users who want to run the same daemon and panel in a browser without installing
a desktop app.

Why It Exists

Claude Code is one of the best AI coding tools available, but the default experience keeps you tied to one provider, one model catalog, and one pricing model.

CCPG gives you the missing control layer:

- Use cheaper models for routine edits.
- Use stronger reasoning models when the task deserves it.
- Run local models for sensitive code.
- Use Copilot or OpenAI Account auth from a desktop UI.
- See what Claude Code is actually sending in the background.

Everything runs locally. There is no hosted CCPG service, no…
Read the full README on GitHub

Details

Website
ccpg.live
Language
TypeScript
License
MIT
Last updated
5 June 2026
Topics
claude-aiclaude-codefree-claude-codelinuxmacosmulti-agentmulti-provideropen-sourcewindows

FAQ

What is Claude Code Provider Gateway?

The easiest way to use Claude Code with any LLM. Install the app, pick your provider, done. It is a model router for Claude Code, from danielalves96/claude-code-provider-gateway on GitHub.

How do I install Claude Code Provider Gateway?

Clone danielalves96/claude-code-provider-gateway from GitHub and follow the setup steps in its README.

Is Claude Code Provider Gateway popular?

danielalves96/claude-code-provider-gateway has 100 GitHub stars and 15 forks. It was last updated on 5 June 2026.

More model routers & proxies

Ocgo

100

emanuelcasco/ocgo

OCGO Provides an Ollama-style CLI for running Claude Code through an OpenCode Go subscription via a local Anthropic-compatible proxy.

Model routers & proxies20

Token Proxy

94

mxyhi/token_proxy

Local AI API gateway for OpenAI / Gemini / Anthropic. Runs on your machine, keeps tokens counted (SQLite), offers priority-based load balancing, optional OpenAI Chat↔Responses format conversion, and one-click setup for Claude Code / Codex.

Model routers & proxies20

Anthropic Proxy Rs

94

m0n0x41d/anthropic-proxy-rs

A proxy server that intercepts Anthropic API requests and converts them to OpenAI-compatible format, enabling integration with dozens of inference providers such as OpenRouter, Together.ai, Novita AI, and other third-party API services. Primary use cases include Claude Code and other Claude Agent SDK-based tools.

Model routers & proxies36

ClaudeCodeProxy

97

AIDotNet/ClaudeCodeProxy

Claude Code Proxy

Model routers & proxies13

Litellm Relay

113

LiteLLM-Labs/litellm-relay

Onboard AI tools in one step, and catch the rest. Relay sets up Claude Desktop, Claude Code, and Codex to run through your LiteLLM AI Gateway with zero dev setup and routes shadow AI (Notion AI, Perplexity, …) there too.

Model routers & proxies11

Openapis

95

IngARodriguez/openapis

Free Claude API + free OpenAI API in one unified proxy. Drop-in compatible with Anthropic SDK, OpenAI SDK, Claude Code CLI, OpenCode, LangChain. 100+ models (Claude Opus 4.7, Sonnet 4.6, Haiku 4.5, GPT-5.5, GPT-5.4-mini, GPT-5.3-codex). Open beta — totally free.

Model routers & proxies15

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.