axonhub
⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs. Built-in failover, load balancing, cost control & end-to-end tracing.
Install / Use
npx skills add looplj/axonhubInstalls into whichever agent you are using.
CLAUDE.md
Claude Code project instructions
Quality Score
Category
AI & Machine LearningSupported Platforms
Skill content
View source on GitHubAxonHub - All-in-one AI 开发平台
任意 SDK、任意模型、零代码改动
<a href="https://trendshift.io/repositories/16225" target="_blank"><img src="https://trendshift.io/api/badge/repositories/16225" alt="looplj%2Faxonhub | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</div> <div align="center"> </div>❤️ 赞助商
<div align="center"> <table width="100%"> <tr> <td width="50%" align="center" valign="top"> <a href="https://lj.s.gy/oZl7Vd" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="docs/sponsors/atlas-cloud-logomark-white.svg"/> <source media="(prefers-color-scheme: light)" srcset="docs/sponsors/atlas-cloud-logomark-black.svg"/> <img src="docs/sponsors/atlas-cloud-logomark-black.svg" alt="Atlas Cloud" height="50"/> </picture> <br/> <strong>Atlas Cloud</strong> </a> <p align="left"> <a href="https://lj.s.gy/oZl7Vd" target="_blank">Atlas Cloud</a> 是一个全模态 AI 推理平台,为开发者提供统一的 AI API 来访问视频生成、图像生成和 LLM API。无需管理多个供应商集成,只需连接一次即可统一访问 300+ 精选模型,涵盖所有模态。 </p> <p align="left"> 查看 Atlas Cloud 的 <a href="https://lj.s.gy/jknt2V" target="_blank">全新 Coding plan 促销</a>,获取更经济实惠的 API 访问方案。 </p> </td> <td width="50%" align="center" valign="top"> <a href="https://lj.s.gy/jKk8uU" target="_blank"> <img src="https://raw.githubusercontent.com/Krill-ai-org/krill-ai-static/refs/heads/main/krill-logo/Eng/250x150.png" alt="Krill AI" height="50"/> <br/> <strong>Krill AI</strong> </a> <p align="left"> 感谢 Krill AI 赞助本项目。Krill 提供 GPT、Claude、Gemini 及多款国产模型的官方稳定极速 API 中转服务,支持企业级定制、报销开票和 7x16 小时专属技术支持。其独家适配的 WebSocket 连接方式可带来更快的首字速度。 </p> <p align="left"> 使用 <a href="https://lj.s.gy/jKk8uU" target="_blank">此链接</a> 注册,并在充值时填写 <code>AxonHub</code> 优惠码,首次购买 Codex 套餐可享 77 折优惠。 </p> </td> </tr> </table> </div> <br/> <table border="1" cellspacing="0" cellpadding="16"> <thead> <tr> <th align="center" width="220">赞助商</th> <th align="left">详情</th> </tr> </thead> <tbody> <tr> <td align="center" valign="middle"> <a href="https://lj.s.gy/8HNo22" target="_blank"> <img src="https://www-static.qbox.me/_next/static/media/logo.0fc18feaa621d2068a7180631f742256.jpg" alt="七牛云 AI" height="90"/> <br/> <strong>七牛云 AI</strong> </a> </td> <td valign="middle"> 七牛云 AI 是七牛云(02567.HK)旗下企业级大模型 MaaS 平台,一站式调用全球 150+ 主流模型,兼容全球主流模型厂商协议,覆盖文本、图像、音频、视频、文件处理等全模态处理能力,服务超过 169 万企业及开发者用户。七牛云 AI 为 AxonHub 项目的用户提供了专属福利:通过<a href="https://lj.s.gy/8HNo22" target="_blank">此链接</a>注册,企业用户免费领 1200 万 Token,开发者免费领 300 万 Token。 </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://lj.s.gy/Wo8IuN" target="_blank"> <img src="https://api.fenno.ai/branding/standard/icon.webp" alt="FennoAI" height="90"/> <br/> <strong>FennoAI</strong> </a> </td> <td valign="middle"> FennoAI 是一家面向企业研发团队和开发者的高稳定、高性能 API 中转服务商,兼容 OpenAI 与 Anthropic 协议,可无缝接入 Codex、Claude Code、OpenCode 等主流 AI 编程工具。平台具备企业级稳定性,可支撑千亿 Token/日的调用规模,并支持境内外主体公对公结算及开票,满足企业级研发与采购需求。作为 AxonHub 用户专属福利,通过<a href="https://lj.s.gy/Wo8IuN" target="_blank">专属链接</a>购买订阅,仅需 1.99 美元即可获得价值 50 美元的 Coding Plan 额度。同时支持邀请奖励,邀请好友购买最高可获得 20% 返佣,邀请越多,奖励越高。 </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://bloome.im/app?ref=MjgMzmCY&utm_medium=github&utm_source=looplj-axonhub-ivor-202606" target="_blank"> <img src="docs/sponsors/bloome.png" alt="Bloome" height="90"/> <br/> <strong>Bloome</strong> </a> </td> <td valign="middle"> 想试用 AxonHub,但不想在本地配置环境?可以在 Bloome 上运行: <a href="https://bloome.im/app?ref=MjgMzmCY&utm_medium=github&utm_source=looplj-axonhub-ivor-202606" target="_blank">快速使用</a>, 通过浏览器或手机一键启动,也可以轻松分享给你的团队。 </td> </tr> </tbody> </table>📖 项目介绍
All-in-one AI 开发平台
AxonHub 是 AI 网关,让你无需改动一行代码即可切换模型供应商。
无论你使用的是 OpenAI SDK、Anthropic SDK 还是任何 AI SDK,AxonHub 都会透明地将你的请求转换为与任何支持的模型供应商兼容的格式。无需重构,无需更换 SDK——只需更改配置即可。
它解决了什么问题:
- 🔒 供应商锁定 - 从 GPT-4 瞬间切换到 Claude 或 Gemini
- 🔧 集成复杂性 - 一个 API 格式对接 10+ 供应商
- 📊 可观测性缺口 - 开箱即用的完整请求追踪
- 💸 成本控制 - 实时用量追踪和预算管理
核心特性 Core Features
| 特性 | 你能获得什么 | |------|-------------| | 🔄 任意 SDK → 任意模型 | 用 OpenAI SDK 调用 Claude,或用 Anthropic SDK 调用 GPT。零代码改动。 | | 🔍 完整请求追踪 | 线程级可观测性的完整请求时间线。更快定位问题。 | | 🔐 企业级 RBAC | 细粒度访问控制、用量配额和数据隔离。 | | ⚡ 智能负载均衡 | <100ms 自动故障转移。始终路由到最健康的渠道。 | | 💰 实时成本追踪 | 每次请求的成本明细。输入、输出、缓存 Token——全部追踪。 |
📚 文档 | Documentation
文档索引 | Documentation Index
- 📑 完整文档索引 - 所有文档导航和快速查找
DeepWiki
详细的技术文档、API 参考、架构设计等内容,可以访问
🎯 演示 | Demo
在我们的 演示实例 上体验 AxonHub!
注意:演示网站目前配置了 Zhipu 和 OpenRouter 的免费模型。
演示账号 | Demo Account
- 邮箱 Email: demo@example.com
- 密码 Password: 12345678
⭐ 特性 | Features
📸 截图 | Screenshots
以下是 AxonHub 的实际运行截图:
<table> <tr> <td align="center"> <a href="docs/screenshots/axonhub-dashboard.png"> <img src="docs/screenshots/axonhub-dashboard.png" alt="系统仪表板" width="250"/> </a> <br/> 系统仪表板 </td> <td align="center"> <a href="docs/screenshots/axonhub-channels.png"> <img src="docs/screenshots/axonhub-channels.png" alt="渠道管理" width="250"/> </a> <br/> 渠道管理 </td> <td align="center"> <a href="docs/screenshots/axonhub-model-price.png"> <img src="docs/screenshots/axonhub-model-price.png" alt="模型价格" width="250"/> </a> <br/> 模型价格 </td> </tr> <tr> <td align="center"> <a href="docs/screenshots/axonhub-models.png"> <img src="docs/screenshots/axonhub-models.png" alt="模型" width="250"/> </a> <br/> 模型 </td> <td align="center"> <a href="docs/screenshots/axonhub-trace.png"> <img src="docs/screenshots/axonhub-trace.png" alt="追踪查看" width="250"/> </a> <br/> 追踪查看 </td> <td align="center"> <a href="docs/screenshots/axonhub-requests.png"> <img src="docs/screenshots/axonhub-requests.png" alt="请求监控" width="250"/> </a> <br/> 请求监控 </td> </tr> </table>🚀 API 类型 | API Types
| API 类型 | 状态 | 描述 | 文档 | |---------|--------|-------------|--------| | 文本生成(Text Generation) | ✅ Done | 对话交互接口 | OpenAI API、Anthropic API、Gemini API | | 图片生成(Image Generation) | ✅ Done | 图片生成 | Image Generation | | 重排序(Rerank) | ✅ Done | 结果排序 | Rerank API | | 嵌入(Embedding) | ✅ Done | 向量嵌入生成 | Embedding API | | 实时对话(Realtime) | 📝 Todo | 实时对话功能 | - |
🤖 支持的提供商 | Supported Providers
| 提供商 Provider | 状态 Status | 支持模型 Models | 兼容 API | | ---------------------- | ---------- | ---------------------------- | --------------- | | OpenAI | ✅ 已完成 | GPT-4, GPT-4o, GPT-5 等 | OpenAI, Anthropic, Gemini, Embedding, Image Generation | | Anthropic | ✅ 已完成 | Claude 3.5, Claude 3.0 等 | OpenAI, Anthropic, Gemini | | 智谱 AI (Zhipu) | ✅ 已完成 | GLM-4.5, GLM-4.5-air 等 | OpenAI, Anthropic, Gemini | | 月之暗面 (Moonshot) | ✅ 已完成 | kimi-k2 等 | OpenAI, Anthropic, Gemini | | DeepSeek | ✅ 已完成 | DeepSeek-V3.1 等 | OpenAI, Anthropic, Gemini | | 字节跳动豆包 | ✅ 已完成 | doubao-1.6 等 | OpenAI, Anthropic, Gemini, Image Generation | | Gemini | ✅ 已完成 | Gemini 2.5 等 | OpenAI, Anthropic, Gemini, Image Generation | | Jina AI | ✅ 已完成 | Embeddings, Reranker 等 | Jina Embedding, Jina Rerank | | OpenRouter | ✅ 已完成 | 多种模型 | Ope
Truncated for display — read the full file on GitHub.
Related Skills
caveman
107.1k🪨 why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
claude-mem
94.4kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
84.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
83.5kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
