Skip to content

A simple proxy for AI services including OpenAI, Anthropic, Gemini, Groq, Perplexity

License

Notifications You must be signed in to change notification settings

zcong1993/ai-proxy-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Proxy

This is a simple proxy for AI services.

Sponsorship

This project is sponsored by ChatWise, the fastest AI chatbot that works for any LLM.

Usage

Replace your API domain with the domain of the proxy deployed on your server. For example:

  • Gemini:
    • from https://generativelanguage.googleapis.com/v1beta
    • tohttps://your-proxy/generativelanguage/v1beta
  • OpenAI:
    • from https://api.openai.com/v1
    • to https://your-proxy/openai/v1
  • Anthropic:
    • from https://api.anthropic.com/v1
    • to https://your-proxy/anthropic/v1
  • Groq:
    • from https://api.groq.com/openai/v1
    • to https://your-proxy/groq/openai/v1
  • Perplexity:
    • from https://api.perplexity.ai
    • to https://your-proxy/pplx

Deployment

Deploy this as a Docker container, check out Dockerfile.

Why Deno?

I tried to use Bun but it has issues: oven-sh/bun#8616

License

MIT.

About

A simple proxy for AI services including OpenAI, Anthropic, Gemini, Groq, Perplexity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.2%
  • Dockerfile 19.8%