# AI API Gateway

> Lets you point all your AI clients at one gateway for many models.

- Category: LLM gateways
- Self-hosted alternative to: LiteLLM
- Repository: https://github.com/MoyuFamily/ai-relay
- Licence: MIT
- GitHub stars: 131
- Last commit: 2026-11-30
- Latest release: v3.0.0
- Rank: 84 of 418 on OpenFlareStack
- Cloudflare resources it creates: D1 database, KV namespace
- Deploy: https://deploy.workers.cloudflare.com/?url=https://github.com/MoyuFamily/ai-relay
- Page: https://openflarestack.com/apps/ai-relay/

## Keeping it up to date

```bash
git remote add upstream https://github.com/MoyuFamily/ai-relay.git
git pull upstream main
npx wrangler deploy
```
