[toc]
The disclaimer states that this is for personal use only, if you like the service, you can pay to use it on the official website.
Supported AI Service Providers
Service Provider | Supported Model | Limit | |
---|---|---|---|
qwen | |||
kimi | |||
deepseek | |||
Name | Optional | Remarks |
---|---|---|
QWEN_AUTHORIZATION | Y | Bearer + {API_KEY} |
KIMI_AUTHORIZATION | Y | Bearer + {API_KEY} |
DEEPSEEK_AUTHORIZATION | Y | Bearer + {API_KEY} |
Multi-accounts:
Bearer TOKEN1,TOKEN2,TOKEN3
Please prepare a server with a public IP address and open port 5090. Pull the image and start the service.
docker pull tomz2024/open-proxy-api:latest
docker run -it -d --init --name open-proxy-api -p 5090:5090 -e TZ=Asia/Shanghai tomz2024/open-proxy-api:latest
# or configure the token in the environment variables
docker run -it -d --init --name open-proxy-api -p 5090:5090 -e TZ=Asia/Shanghai -e QWEN_AUTHORIZATION=xxx KIMI_AUTHORIZATION=yyy DEEPSEEK_AUTHORIZATION=zzzb -d tomz2024/open-proxy-api:latest
# View service real-time logs
docker logs -f open-proxy-api
# Restart the service
docker restart open-proxy-api
# docker stop open-proxy-api
docker stop open-proxy-api
version: '3'
services:
open-proxy-api:
container_name: open-proxy-api
image: tomz2024/open-proxy-api:latest
restart: always
ports:
- "5090:5090"
environment:
- TZ=Asia/Shanghai
- QWEN_AUTHORIZATION=xxx
- KIMI_AUTHORIZATION=yyy
- DEEPSEEK_AUTHORIZATION=zzz
Manually deploy the API on a public IP server that has port 5090 opened.
Please install Node.js and set up environment variables before running Node.js commands. Make sure the node
command is available.
Install dependencies
npm i
Install PM2 to process manage the application
npm i -g pm2
Build the application by going to dist directory
npm run build
Start the service
pm2 start dist/index.js --name "open-proxy-api"
View real-time logs of the service
pm2 logs open-proxy-api
Reload the application
pm2 reload open-proxy-api
Stop the application
pm2 stop open-proxy-api