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
/learn @looplj/AxonhubQuality Score
Category
Development & EngineeringSupported Platforms
README
AxonHub - All-in-one AI Development Platform
Use any SDK. Access any model. Zero code changes.
<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>NOTE
- This project is maintained by an individual. The author makes no warranties and assumes no liability for risks arising from its use. Please evaluate carefully.
- The core scope of this project does not include 2api (subscription-to-API conversion). If you need that, consider other open-source projects focused on 2api.
📖 Project Introduction
All-in-one AI Development Platform
AxonHub is the AI gateway that lets you switch between model providers without changing a single line of code.
Whether you're using OpenAI SDK, Anthropic SDK, or any AI SDK, AxonHub transparently translates your requests to work with any supported model provider. No refactoring, no SDK swaps—just change a configuration and you're done.
What it solves:
- 🔒 Vendor lock-in - Switch from GPT-4 to Claude or Gemini instantly
- 🔧 Integration complexity - One API format for 10+ providers
- 📊 Observability gap - Complete request tracing out of the box
- 💸 Cost control - Real-time usage tracking and budget management
Core Features
| Feature | What You Get | |---------|-------------| | 🔄 Any SDK → Any Model | Use OpenAI SDK to call Claude, or Anthropic SDK to call GPT. Zero code changes. | | 🔍 Full Request Tracing | Complete request timelines with thread-aware observability. Debug faster. | | 🔐 Enterprise RBAC | Fine-grained access control, usage quotas, and data isolation. | | ⚡ Smart Load Balancing | Auto failover in <100ms. Always route to the healthiest channel. | | 💰 Real-time Cost Tracking | Per-request cost breakdown. Input, output, cache tokens—all tracked. |
📚 Documentation
For detailed technical documentation, API references, architecture design, and more, please visit
🎯 Demo
Try AxonHub live at our demo instance!
Note:The demo instance currently configures Zhipu and OpenRouter free models.
Demo Account
- Email: demo@example.com
- Password: 12345678
⭐ Features
📸 Screenshots
Here are some screenshots of AxonHub in action:
<table> <tr> <td align="center"> <a href="docs/screenshots/axonhub-dashboard.png"> <img src="docs/screenshots/axonhub-dashboard.png" alt="System Dashboard" width="250"/> </a> <br/> System Dashboard </td> <td align="center"> <a href="docs/screenshots/axonhub-channels.png"> <img src="docs/screenshots/axonhub-channels.png" alt="Channel Management" width="250"/> </a> <br/> Channel Management </td> <td align="center"> <a href="docs/screenshots/axonhub-model-price.png"> <img src="docs/screenshots/axonhub-model-price.png" alt="Model Price" width="250"/> </a> <br/> Model Price </td> </tr> <tr> <td align="center"> <a href="docs/screenshots/axonhub-models.png"> <img src="docs/screenshots/axonhub-models.png" alt="Models" width="250"/> </a> <br/> Models </td> <td align="center"> <a href="docs/screenshots/axonhub-trace.png"> <img src="docs/screenshots/axonhub-trace.png" alt="Trace Viewer" width="250"/> </a> <br/> Trace Viewer </td> <td align="center"> <a href="docs/screenshots/axonhub-requests.png"> <img src="docs/screenshots/axonhub-requests.png" alt="Request Monitoring" width="250"/> </a> <br/> Request Monitoring </td> </tr> </table>🚀 API Types
| API Type | Status | Description | Document | | -------------------- | ---------- | ------------------------------ | -------------------------------------------- | | Text Generation | ✅ Done | Conversational interface | OpenAI API, Anthropic API, Gemini API | | Image Generation | ✅ Done | Image generation | Image Generation | | Rerank | ✅ Done | Results ranking | Rerank API | | Embedding | ✅ Done | Vector embedding generation | Embedding API | | Realtime | 📝 Todo | Live conversation capabilities | - |
🤖 Supported Providers
| Provider | Status | Supported Models | Compatible APIs | | ---------------------- | ---------- | ---------------------------- | --------------- | | OpenAI | ✅ Done | GPT-4, GPT-4o, GPT-5, etc. | OpenAI, Anthropic, Gemini, Embedding, Image Generation | | Anthropic | ✅ Done | Claude 3.5, Claude 3.0, etc. | OpenAI, Anthropic, Gemini | | Zhipu AI | ✅ Done | GLM-4.5, GLM-4.5-air, etc. | OpenAI, Anthropic, Gemini | | Moonshot AI (Kimi) | ✅ Done | kimi-k2, etc. | OpenAI, Anthropic, Gemini | | DeepSeek | ✅ Done | DeepSeek-V3.1, etc. | OpenAI, Anthropic, Gemini | | ByteDance Doubao | ✅ Done | doubao-1.6, etc. | OpenAI, Anthropic, Gemini, Image Generation | | Gemini | ✅ Done | Gemini 2.5, etc. | OpenAI, Anthropic, Gemini, Image Generation | | Fireworks | ✅ Done | MiniMax-M2.5, GLM-5, Kimi K2.5, etc. | OpenAI | | Jina AI | ✅ Done | Embeddings, Reranker, etc. | Jina Embedding, Jina Rerank | | OpenRouter | ✅ Done | Various models | OpenAI, Anthropic, Gemini, Image Generation | | ZAI | ✅ Done | - | Image Gene
