一个用Go语言重写的Claude Code代理服务器,提供完整的前后端界面,支持将Claude API请求转换为OpenAI API调用。
特性
- 完整的Claude API兼容性: 支持完整的
/v1/messages端点 - 多提供商支持: OpenAI、Azure OpenAI、本地模型(Ollama)和任何OpenAI兼容的API
- 智能模型映射: 通过环境变量配置大小模型
- 函数调用: 完整的工具使用支持和转换
- 流式响应: 实时SSE流式支持
- 图像支持: Base64编码图像输入
- Web管理界面: 苹果设计风格的管理面板
- 数据库支持: 使用ent和SQLite3进行数据持久化
- 用户管理: 完整的用户认证和授权系统
- 请求日志: 详细的API请求日志记录和分析
- 系统监控: 实时系统性能监控和健康检查
- 缓存优化: 智能缓存系统提升性能
- 错误处理: 全面的错误处理和日志记录
地址 GitHub - ca-x/ccany: Proxy Claude Code to Any Open API
感谢以下项目
- GitHub - fuergaosi233/claude-code-proxy: Claude Code to OpenAI API Proxy
- GitHub - musistudio/claude-code-router: Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.
软件全部使用calude code 编写,使用的是anyrouter提供的api,在此感谢


