One-API Setup Guide: From Zero to Production
One-API is the open-source gateway that powers Global API. Here's how to deploy it...
Prerequisites
A Linux server (Ubuntu 20.04+)Docker installedAPI keys from model providersQuick Setup
docker run -d -p 3000:3000 \
-e OPENAI_API_KEY=your-key \
justsong/one-api
Production Considerations
Use Redis for session storageSet up Nginx reverse proxyConfigure rate limiting