Skip to content

Apex AI ProxyYour Free Personal AI Gateway

Aggregate multiple AI service providers behind a unified OpenAI-compatible API. Overcome rate limits, maximize free quotas, and simplify your AI integrations.

Apex AI Proxy

Why Choose Apex AI Proxy?

🚀 Quick Deployment

Deploy to Cloudflare Workers in under 60 seconds. No complex infrastructure setup required.

bash
# Clone and deploy
git clone https://github.com/loadchange/apex-ai-proxy.git
cd apex-ai-proxy
pnpm install
pnpm run deploy

🔄 Smart Request Distribution

Automatically routes requests to available providers, ensuring maximum uptime and performance.

javascript
// Configure multiple providers for the same model
const modelProviderConfig = {
  'gpt-4o-mini': {
    providers: [
      {
        provider: 'azure',
        model: 'gpt-4o-mini',
      },
      {
        provider: 'deepseek',
        model: 'deepseek-chat',
      }
    ],
  },
};

💻 Drop-in Replacement

Works seamlessly with existing OpenAI client code. No changes required.

python
from openai import OpenAI

# Just change the base_url - everything else stays the same
client = OpenAI(
    base_url="https://your-proxy.workers.dev/v1",
    api_key="your-configured-api-key"
)

response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello!"}]
)

Supported Providers

🌊 Azure OpenAI

Enterprise-grade OpenAI models with enhanced security and compliance.

🧠 DeepSeek

High-performance language models with competitive pricing and capabilities.

☁️ Aliyun DashScope

Alibaba Cloud's comprehensive AI model platform with global reach.

🚀 DeepInfra

Fast and reliable inference for popular open-source AI models.

Latest Updates

🆕 OpenAI Next-Gen /v1/responses API Support

We now support the latest OpenAI /v1/responses-style API, ensuring compatibility with next-generation OpenAI tools and clients.

  • Enhanced Compatibility: Seamless integration with the latest OpenAI ecosystem tools
  • Future-Proofing: Stays aligned with evolving OpenAI standards
  • Response ID Tracking: Advanced features enabled through response caching

🤖 Full Anthropic API Compatibility

Complete support for Anthropic's Messages API with automatic protocol conversion.

  • Claude Code Integration: Works seamlessly with Claude Code and other Anthropic tools
  • Tool Usage Support: Full support for function calling and tool interactions
  • Streaming Responses: Real-time streaming with proper event formatting

Community & Support

📖 Documentation

Comprehensive guides and API references to get you started quickly.

Read the Docs →

💬 GitHub Discussions

Join the community to ask questions, share ideas, and get help.

Join Discussion →

🐛 Issue Tracking

Report bugs, request features, and track development progress.

Report Issues →

Ready to Break Free from Rate Limits?

Deploy your personal AI gateway in under 60 seconds and start aggregating multiple AI providers today.

Released under the MIT License.