AI API Gateway
MoyuFamily/ai-relay
Lets you point all your AI clients at one gateway for many models.
A self-hosted alternative to LiteLLM.
What it sets up in your account
- D1D1 database
A SQL database for the app’s records. - KVKV namespace
A key value store for settings and fast lookups.
- Category
- LLM gateways
- Licence
- MIT
- Stars
- 131
- Last commit
- today
- Latest release
- v3.0.0
Use it with AI or code
- Markdown for AIPaste into ChatGPT, Claude or any LLM.
/apps/ai-relay.md - JSON APIFree, no key, CORS open.
/api/v1/apps/ai-relay.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/MoyuFamily/ai-relay.git
git pull upstream main
npx wrangler deploy