New API
New API is a self-hosted LLM gateway that puts one OpenAI-compatible API in front of OpenAI, Claude, Gemini and many other providers. Its web console manages channels, users, API keys, quotas, model pricing and billing, and it converts requests between the OpenAI, Claude and Gemini formats.
New API
Installation
Default install:
1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/new-api.sh)"
Default Credentials
| Username | Password |
|---|---|
admin | None |
Notes
Sign in with the admin user and password stored in /opt/new-api_data/.env.
Self-registration is open by default. Turn it off under System Settings > Basic Authentication if others can reach the instance.
Behind an HTTPS reverse proxy, set SESSION_COOKIE_SECURE=true and SESSION_COOKIE_TRUSTED_URL to the public origin in /opt/new-api_data/.env, then restart new-api.