AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Construction › one-api-pro
✦ Free & open sourceConstruction

one-api-pro

Enterprise-grade AI API gateway with subscription plans and active-active clusters.

Enterprise AI API Gateway for Go

Deep refactor of one-api designed for enterprise API management rather than proxies.

Free forever · open source · MIT
✓ Needs IT✓ Browser-based✓ Real-time collaboration
7.3
ZEKAI
Enterprise AI API Gateway
Free & open source · Construction
Ease of setup5
Usefulness8
Maintenance9.5
Community6.5
★ 1,002
GITHUB
Oct 2026
UPDATED
MIT
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

one-api-pro is an enterprise-grade AI API gateway built with Go and Vue 3. It provides subscription billing, token management, and decentralized active-active clustering for organizations managing multiple AI models.

Runs on
Web
Hosting
Self-host
Languages
Go
License
MIT

What it is

The platform unifies over 30 model providers behind an OpenAI-compatible interface, offering fine-grained token controls and precise cost accounting. It includes built-in support for WeChat Pay and Alipay for real-time quota top-ups and subscriptions.

Who it's for

It suits enterprise engineering teams managing internal AI usage across multiple teams or departments. It is not suitable for public AI relay or forwarding stations.

Key features

Decentralized Active-Active Cluster

Nodes run independent MySQL and Redis instances, syncing via application-layer events without a shared database.

Subscription and Plan System

Provides token or request-based billing, period rate limits, and upgrade pricing based on remaining days.

Fine-grained Token Management

Enforces per-model allowlists, sub-net IP restrictions, and quota caps down to individual models.

Native Payment Integration

Supports WeChat Pay Native and Alipay Face-to-Face out of the box for automated user top-ups and orders.

How to start

Up and running in 3 steps

1
Clone the repository and build the Vue 3 admin console inside the web directory
2
Build the Go backend binary using go build after compiling the frontend assets
3
Run the executable specifying your desired port and log directory
Real talk

Our honest verdict

What's great

  • Supports over 30 AI model providers behind a single OpenAI-compatible interface
  • Decentralized active-active cluster architecture removes shared database bottlenecks
  • Built-in order auditing and payment channels for WeChat Pay and Alipay
  • Detailed token controls allow scoping permissions down to a single model

Where it falls short

  • Requires maintaining independent MySQL and Redis instances per cluster node
  • Building from source requires both Go and Node.js toolchains
  • Not intended for public-facing API intermediary or reseller services
Cost

Pricing & license

The software is open source with no stated licensing fees in the repository metadata. The only costs are the servers, databases, and payment gateway transaction fees required to run it yourself.

Paid work

Open remote AI-training roles

767 open remote AI-training roles, updated November 14, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

Get more

Use it, or have us set it up

📄 Free PDF: one-api-pro for Construction
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure one-api-pro for you — and train your team.
Get it done for you ↗
Questions

FAQ

Is one-api-pro suitable for running a public AI transfer station?

No, the developers explicitly state that this application targets enterprise AI gateway use cases and is not built for public relay stations.

How does the active-active cluster stay in sync without a shared database?

Each node runs its own MySQL and Redis instances while application-layer events keep data synchronized across the cluster.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Construction — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google