router-for-me/CLIProxyAPI ? reverse-engineered prompt
Reverse engineered prompt
Hey, can you build me a tool that lets me use my AI subscriptions like ChatGPT Plus and Claude Pro as if they were developer APIs? I'm tired of my coding tools asking for an OpenAI API key when I'm already paying for a subscription, and I want to use the models I'm already paying for.
I'm picturing a proxy server that I can run locally. It should handle the login process for different AI services—like Gemini, Claude, Qwen, and OpenAI's models—using my regular accounts.
The main thing is that this server should expose a local API endpoint that's compatible with the standard OpenAI API. That way, I can just point any client or dev tool to it, and it will route the requests to the right service using my subscription. It should be smart enough to handle streaming, function calls, and even balance requests if I add multiple accounts. Using Go would be great, and please include a Dockerfile to make it easy to run.
Are you gonna build this?
make sure you review the code using coderabbit