DEV Community

rf ui
rf ui

Posted on

I Built a Tiny OpenAI-Compatible Proxy Setup for My Side Projects

I Built a Tiny OpenAI-Compatible Proxy Setup for My Side Projects

If you run multiple AI side projects, juggling API keys and SDKs gets old. Here's the setup that simplified mine: point every OpenAI SDK at one compatible gateway.

from openai import OpenAI
client = OpenAI(api_key="YOUR_KEY", base_url="https://5pcloud.top/v1")
Enter fullscreen mode Exit fullscreen mode

Why

  • One key for 100+ models — switch via the model field
  • Off-peak DeepSeek as low as 2.5折 (25% off)
  • No foreign card, RMB top-up, free tier for new users
  • Unified rate-limit / retry logic

What I'd do differently

  • Start with the free tier, don't prepay big
  • Keep a status page check before batch jobs
  • For huge volume, self-host one-api

Try it: https://5pcloud.top/

Top comments (0)