This is a simple proxy for AI services.
This project is sponsored by ChatWise, the fastest AI chatbot that works for any LLM.
Replace your API domain with the domain of the proxy deployed on your server. For example:
- Gemini:
- from
https://generativelanguage.googleapis.com/v1beta
- to
https://your-proxy/generativelanguage/v1beta
- from
- OpenAI:
- from
https://api.openai.com/v1
- to
https://your-proxy/openai/v1
- from
- Anthropic:
- from
https://api.anthropic.com/v1
- to
https://your-proxy/anthropic/v1
- from
- Groq:
- from
https://api.groq.com/openai/v1
- to
https://your-proxy/groq/openai/v1
- from
- Perplexity:
- from
https://api.perplexity.ai
- to
https://your-proxy/pplx
- from
- Mistral:
- from
https://api.mistral.ai
- to
https://your-proxy/mistral
- from
- OpenRouter:
- from
https://openrouter.ai/api
- to
https://your-proxy/openrouter
- from
- xAI:
- from
https://api.xai.ai
- to
https://your-proxy/xai
- from
Use the hosted API, for example OpenAI https://ai-proxy.chatwise.app/openai/v1
Deploy this as a Docker container, check out Dockerfile.
MIT.