MartialBE/one-hub
OpenAI 接口管理 & 分发系统,改自songquanpeng/one-api。支持更多模型,加入统计页面,完善非openai模型的函数调用。 observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 68
- Release rhythm 60
- Longevity 77
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 10.0
- age_days: 1089
- days_rel: 270
- days_push: 195
- n_releases_24m: 35
Adoption not part of the score
2882 stars · 495 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
One Hub is a self-hosted OpenAI-compatible API management and distribution system forked from songquanpeng/one-api, written in Go. It aggregates multiple LLM providers (OpenAI, Claude, Gemini, and more) behind a unified API with user management, billing, statistics dashboards, and improved function-calling support for non-OpenAI models.
Use cases
- manage and distribute openai api keys across a team
- unify multiple llm providers behind one openai-compatible endpoint
- self-host an llm api gateway with usage billing
- proxy claude and gemini requests through an openai-style api
- track token usage and costs per user with dashboards
- add function calling support to non-openai models
- resell llm api access with quotas and user groups
When to choose
- you need a single OpenAI-compatible gateway in front of many LLM providers
- you want per-user quotas, billing, and usage analytics for LLM access
- you need better function-calling compatibility for non-OpenAI models than one-api offers
- you want Prometheus monitoring and channel-level proxying for LLM traffic
When to avoid
- you need guaranteed stability or official support - the project is maintained for personal learning with no support guarantees
- you want to migrate an existing one-api deployment - the database schema is incompatible
- you only use a single LLM provider directly without needing distribution or key management
- you must serve unregistered generative AI services to the public in China, which the license terms prohibit
Facets
service · maturity active
api-gateway llm-inference proxy monitoring auth large-language-models apis self-hosted developer-tools artificial-intelligence self-hosted go cross-platform openai-api api-distribution llm-gateway one-api-fork token-management multi-provider rate-limits telegram-bot prometheus billing docker web-server linux
2 sources
- readme: https://github.com/MartialBE/one-hub · fetched 2026-08-28 · 4959d5be683f
- homepage: https://one-hub.xiao5.info/ · fetched 2026-08-29 · c32135ae723c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MartialBE/one-hub | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="MartialBE/one-hub")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem