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
Deploy this as a Docker container, check out Dockerfile.
I tried to use Bun but it has issues: oven-sh/bun#8616
MIT.