Status: [UNTESTED] Endpoints found: https://ai-proxy.YOUR-USERNAME.workers.dev/anthropic/v1/messages Source: https://github.com/zxcloli666/AI-Worker-Proxy # 🚀 AI Worker Proxy: All AI Models in One API (Free & 100% Uptime) [![Deploy to Cloudflare Workers](https://img.shields.io/badge/Deploy-Cloudflare%20Workers-orange?logo=cloudflare)](https://workers.cloudflare.com/) [![OpenAI Compatible](https://img.shields.io/badge/OpenAI-Compatible-green)](https://openai.com/) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) Tired of your AI API keys running out of credits or getting rate-limited? Want to use Claude or Gemini but your app only supports OpenAI? This is a **Free AI Gateway** that runs on Cloudflare Workers. It acts as a middleman: you send it an OpenAI-style request, and it routes it to **ChatGPT, Claude, Gemini, or even free local models**, rotating your API keys automatically so you never hit limits. - **💰 Cost:** $0 (Runs on Cloudflare's free tier - 100k requests/day). - **⚡ Setup time:** 5 minutes. No coding required. --- ## 🔥 Why You Need This * **100% Uptime (Failover):** If OpenAI goes down, it instantly switches to Claude or Gemini. Your app never stops working. * **Key Rotation:** Put in 5 different API keys. It will use them one by one. Bye-bye rate limits. * **One API to Rule Them All:** Talk to Anthropic Claude 3.5, Google Gemini 2.0, and GPT-4o using the exact same code. * **Stealth Configuration:** Change your routing logic via GitHub Variables without touching a single line of code. --- ## 🎮 How to Install (Easy Guide) You don't need to know how to code. Just follow these 4 steps to get your own private AI proxy. ### Step 1: Fork this Repository Scroll to the top right of this GitHub page and click the **"Fork"** button. This creates your own copy of the project. ### Step 2: Add Cloudflare Secrets to GitHub Your GitHub needs permission to push the code to your Cloudflare account. 1. Go to your new forked repository. 2. Click **Settings** (top tab) -> **Secrets and variables** (left sidebar) -> **Actions**. 3. Click the green **"New reposit