AIClient2API
A self-hosted AI API proxy connects apps to client-based providers and converts requests between OpenAI, Claude, and Gemini protocols.

AIClient2API is a self-hosted AI API proxy for developers connecting chat apps and coding assistants to multiple model providers. It exposes services such as Antigravity, Codex, Grok, and Kiro through interfaces those apps already support.
- Protocol conversion: Connect applications through OpenAI-compatible, Claude, or Gemini APIs, with request conversion between protocols and support for custom providers.
- Provider routing: Group provider accounts into pools, route requests across them, and use automatic failover and health checks when a connection becomes unavailable.
- Model access: Use GPT, Grok, Claude Opus, Gemini Pro, Kimi, and MiniMax through supported providers, including Claude Opus through Kiro or Antigravity.
- Multimodal requests: Send images and documents, use image generation and editing through OpenAI-compatible interfaces, and access image and video generation through Grok.
- Web management: Manage provider connections and OAuth credentials, inspect provider health, and view request logs in a browser console.
The proxy runs on your own machine or server through Node.js or Docker and uses the GPL-3.0 license. It works with clients such as Cherry-Studio, NextChat, and Cline. The proxy is local, but the connected provider services process model requests remotely, so those requests require internet access and provider authentication.