Deploy a proxy in front of OpenAI API to allow your frontend to make requests without exposing your API key while enforcing rate limiting. Designed for speed and ease of deployment.
- JWT authentication
- Chat streaming
- Per user rate limiting
- Start the proxy
export OPENAI_API_KEY=sk-XXX cargo run
- Start the example
cd examples/openai-proxy-js-example npm i npm run dev open localhost:3000