Overview of the ai-proxy Plugin
masterThe ai-proxy plugin simplifies access to Large Language Model (LLM) and embedding model providers. It acts as a transformer, converting APISIX plugin configurations into the specific request formats required by various providers, including:
- OpenAI
- DeepSeek
- Azure
- AIMLAPI
- Anthropic
- OpenRouter
- Gemini
- Vertex AI
- Amazon Bedrock
- Other OpenAI-compatible APIs
Additionally, the plugin can log LLM request metadata (such as token usage, model name, and time to first response) into the access log. These logs are compatible with logging plugins like http-logger and kafka-logger. Note that these logs are sent to the access log and do not affect error.log.