AI Interface Aggregation and Gateway Management Platform
Quick Start • Features • Deployment • Frontend • License
ai-paths is an AI gateway and operations platform for:
- multi-provider model routing
- channel and token management
- usage analytics and operational dashboards
- organization-level quota and billing workflows
- private deployment and internal AI platform scenarios
The default frontend in web/default has been visually rebuilt in an animal-island-ui inspired style while preserving the original feature set.
This project is intended only for lawful, authorized, and compliant AI gateway usage.
- You are responsible for obtaining valid upstream API keys, accounts, model access, and service permissions.
- You must comply with upstream provider terms, local laws, and any regulatory requirements that apply to your deployment.
- If you expose generative AI capabilities publicly, you are responsible for filing, licensing, content safety, audit logging, payment, and tax obligations in your jurisdiction.
- Unified AI gateway for multiple upstream model providers
- Channel CRUD, grouping, weights, failover, and routing controls
- API key issuance and management
- User management, authentication, and access control
- Usage statistics, dashboards, and operational visibility
- Billing-related settings, recharge workflows, and quota accounting
- Multi-language interface support
- Private deployment friendly architecture
This repository currently includes multiple web surfaces. The redesign work in this delivery targets:
web/default
Highlights of the updated default frontend:
ai-pathsbranding and default assetsanimal-island-uiinspired visual language- warmer background palette and mint-accented controls
- larger radii, softer shadows, and more playful card surfaces
- updated public pages, auth pages, shared UI components, and dashboard shell
git clone https://github.com/QuantumNous/new-api.git
cd new-api
# edit your deployment config first
docker-compose up -ddocker pull calciumion/new-api:latest
docker run --name new-api -d --restart always \
-p 3000:3000 \
-e TZ=Asia/Shanghai \
-v ./data:/data \
calciumion/new-api:latestOpen:
http://localhost:3000
Typical deployment options:
- SQLite for simple single-instance setups
- MySQL or PostgreSQL for more persistent multi-user setups
- Redis for cache and distributed scenarios
- Docker / Docker Compose for containerized deployment
Common environment concerns:
SESSION_SECRETis required for consistent multi-instance login state.CRYPTO_SECRETis required when shared encrypted data is used across instances.- Mount
/datawhen using SQLite in containers.
- Backend API contracts remain unchanged by the frontend redesign.
- The default frontend respects runtime system branding from server status when configured.
- The redesigned default frontend also includes its own README at
web/default/README.md.
This repository remains licensed under the GNU Affero General Public License v3.0.
Additional terms under AGPLv3 Section 7 still apply:
- Modified versions must preserve the author attribution notice
Frontend design and development by New API contributors. - Modified versions that present a user interface must also preserve a visible link to the original project: https://github.com/QuantumNous/new-api
This project is based on One API.
If your organization cannot use AGPLv3 software or you need a different licensing path, contact: support@quantumnous.com