Unified API proxy for multiple AI providers. Use your own API keys.
| Provider | Base URL | Key Header |
|---|---|---|
| OpenAI | https://YOUR_DOMAIN/openai/ | Authorization |
| Google Gemini | https://YOUR_DOMAIN/gemini/ | x-goog-api-key |
| Anthropic Claude | https://YOUR_DOMAIN/claude/ | x-api-key |
| Groq | https://YOUR_DOMAIN/groq/ | Authorization |
| Cohere | https://YOUR_DOMAIN/cohere/ | Authorization |
| xAI (Grok) | https://YOUR_DOMAIN/xai/ | Authorization |
| Mistral | https://YOUR_DOMAIN/mistral/ | Authorization |
| GitHub AI | https://YOUR_DOMAIN/github/ | Authorization |
Replace the original API base URL with this service's URL. Pass your API key in the appropriate header.
curl https://YOUR_DOMAIN/openai/v1/chat/completions \
-H "Authorization: Bearer YOUR_OPENAI_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-4", "messages": [{"role": "user", "content": "Hello"}]}'curl https://YOUR_DOMAIN/claude/v1/messages \
-H "x-api-key: YOUR_ANTHROPIC_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model": "claude-3-opus-20240229", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'