sub2api
PlaygrndLabs/sub2api
Turn your LLM subscriptions into a private API gateway with a dashboard and API keys.
A self-hosted alternative to OpenRouter.
What it sets up in your account
- R2R2 bucket
Storage for files and uploads. - DODurable Objects
Keeps live sessions and realtime state.
- Category
- LLM gateways
- Licence
- MIT
- Stars
- 19
- Last commit
- today
Use it with AI or code
- Markdown for AIPaste into ChatGPT, Claude or any LLM.
/apps/sub2api.md - JSON APIFree, no key, CORS open.
/api/v1/apps/sub2api.json
Keeping it up to date
The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.
git remote add upstream https://github.com/PlaygrndLabs/sub2api.git
git pull upstream main
npx wrangler deploy