Self-hosting 1024X on your own infra
Deploy a full multi-tenant gateway in 10 minutes.
· 1024X Team · 5 min read
You can run the same gateway we use, on your own VPC, behind your own audit logging. Source is open, deployment is one Spring Boot JAR plus a Postgres.
Prerequisites
- PostgreSQL 15+ (Flyway runs migrations on first boot)
- JDK 17
- (optional) Redis for caching upstream configs
Run it
bash
git clone https://github.com/1024x/1024x
cd 1024x
mvn -DskipTests package
java -jar target/NubaseApi.jarThe server listens on :2651 and serves the dashboard at /. Configure your upstream API keys in /admin/upstream and you're ready to take traffic.
What's bundled
- OpenAI / Anthropic / Gemini / Minimax / Zenmux providers with weighted failover
- Per-user API key issuance + JWT-backed dashboard
- Stripe checkout + webhook handler for subscription billing
- Daily token usage aggregation and per-request audit log
No telemetry phones home — your tokens, your accounting. Reach out if you want help wiring it up to your IdP or running it on Kubernetes.