Claude Code model router
claude-worker-proxy
Cloudflare Worker proxy for pointing Claude Code at other model providers.
Install
git clone https://github.com/glidea/claude-worker-proxy.gitFrom the README
本项目由 code0.ai 赞助 —— 一站接入 gpt-image / Gemini / Claude 等主流 AI 模型,稳定不掉线,按量计费即充即用,专为 AI 创作者打造。注册后联系客服可免费领取测试额度,支持企业对接及开票。
感谢 Claude API 赞助本项目!Claude API 是专注 Claude 模型的官方渠道 API 服务商,基于 Anthropic 官方 Key 与 AWS Bedrock 官方渠道,提供稳定的 Claude Code 与 Agent 应用接入体验,支持 Claude 全系列模型,保留 Tool Use、长上下文等官方能力。服务非逆向、非降智,适合 Claude Code 深度用户、Agent 工程师与企业技术团队使用。通过专属链接注册后联系客服,可领取免费测试额度,并支持开票和团队对接。
把各家(Gemini,OpenAI)的模型 API 转换成 Claude 格式提供服务
特性
- 🚀 一键部署到 Cloudflare Workers
- 🔄 兼容 Claude Code。配合 One-Balance 低成本,0 费用使用 Claude Code
- 📡 支持流式和非流式响应
- 🛠️ 支持工具调用
- 🎯 零配置,开箱即用
快速部署
使用方法
参数说明
- URL 格式:{worker_url}/{type}/{provider_url_with_version}/v1/messages
- type: 目标厂商类型,目前支持 gemini, openai, openai-responses
- provider_url_with_version: 目标厂商 API 基础地址
- x-api-key: 目标厂商的 API Key
OpenAI Chat Completions 示例:
OpenAI Responses API 示例:
在 Claude Code 中使用
AI 学习交流社群
我的其它项目
📕 小红书账号 - 持续分享 AI 原创Details
- Repository
- glidea/claude-worker-proxy
- Language
- TypeScript
- License
- MIT
- Last updated
- 10 July 2026
- Topics
- claudeclaude-codecloudflare-workerproxy
FAQ
What is claude-worker-proxy?
Cloudflare Worker proxy for pointing Claude Code at other model providers. It is a model router for Claude Code, from glidea/claude-worker-proxy on GitHub.
How do I install claude-worker-proxy?
Clone glidea/claude-worker-proxy from GitHub and follow the setup steps in its README.
Is claude-worker-proxy popular?
glidea/claude-worker-proxy has 276 GitHub stars and 131 forks. It was last updated on 10 July 2026.
More model routers & proxies
Openclaw Billing Proxy
518zacdcook/openclaw-billing-proxy
Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage
shunt
373pleaseai/shunt
Per-agent routing proxy that sends selected Claude Code subagents to other models.
React Native Boilerplate
523wataru-maeda/react-native-boilerplate
Production-ready React Native boilerplate for iOS, Android, and Web with Expo SDK 58, React 19.3, Expo Router, Redux Toolkit, TypeScript, Maestro E2E tests, and AGENTS.md rules and skills for AI coding agents (Claude Code, Codex, Cursor).
clauth
292uwuclxdy/clauth
Claude Code multi-account manager with a usage monitor and TUI.
Dario
584askalf/dario
One local endpoint that routes Claude Code, Cursor, Cline, Aider, Codex CLI and the SDKs through the Claude and ChatGPT plans you already pay for: seats first, then the fallback chain you configure, and a ledger of who paid. Zero runtime dependencies.
Snip
476edouard-claude/snip
CLI proxy that reduces LLM token usage by 60-90%. Declarative YAML filters for Claude Code, Cursor, Copilot, Gemini. rtk alternative in Go.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.