Claude Code model router

UniClaudeProxy

Use any LLM with Claude Code — proxy that translates Anthropic API to OpenAI, Gemini, DeepSeek, Ollama, and more. Full tool calling, streaming, ReAct XML fallback, hot-reload config.

Install

From source
git clone https://github.com/vibheksoni/UniClaudeProxy.git

From the README

UniClaudeProxy

    Use Any LLM with Claude Code — The Universal Anthropic API Proxy

    Quick Start •
    Features •
    Configuration •
    Providers •
    Architecture

UniClaudeProxy is a lightweight, high-performance FastAPI proxy that lets Claude Code talk to any LLM backend — OpenAI-compatible APIs, Google Gemini, DeepSeek, GLM, Ollama, or Anthropic passthrough. Drop it in as your API endpoint and use whatever model you want with Claude Code's full tool-calling capabilities.
I wanted a quick way to use all the models in Claude Code without being locked to a single provider. So I built one of the best proxies out there — fast, modular, and packed with features that just work.

If this project is useful to you, consider giving it a star. It helps others find it.

Why UniClaudeProxy?

- Use any model with Claude Code — DeepSeek, GLM, Ollama, Gemini, or any OpenAI-compatible API
- Zero changes to Claude Code — just point the API URL to localhost:9223
- Full tool calling support — native function calling + ReAct XML fallback for models without it
- Streaming first — real-time SSE streaming with proper Anthropic event format
- Production ready — hot-reload config, image support, thinking/reasoning blocks, custom headers
- Secure by default — local-only mode blocks all non-localhost connections out of the box

Features

Provider Support

Core Features

- Automatic API Translation — Converts Anthropic Messages API requests to OpenAI, Gemini, or Claude passthrough format and back, seamlessly
- Full Streaming Support — Real-time SSE streaming with proper message_start, content_block_delta, message_delta, and message_stop events
- Native Tool Calling — Full function calling support across all provider types with automatic ID conversion (toolu_  fc_ …
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
9 May 2026
Topics
ai-toolsanthropicapi-proxyclaudeclaude-codedeepseekfastapigeminillm-proxyollamaopenaireact-xml

FAQ

What is UniClaudeProxy?

Use any LLM with Claude Code — proxy that translates Anthropic API to OpenAI, Gemini, DeepSeek, Ollama, and more. Full tool calling, streaming, ReAct XML fallback, hot-reload config. It is a model router for Claude Code, from vibheksoni/UniClaudeProxy on GitHub.

How do I install UniClaudeProxy?

Clone vibheksoni/UniClaudeProxy from GitHub and follow the setup steps in its README.

Is UniClaudeProxy popular?

vibheksoni/UniClaudeProxy has 62 GitHub stars and 17 forks. It was last updated on 9 May 2026.

More model routers & proxies

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