AIClient2API
Self-hosted multi-protocol AI API proxy for Antigravity, Codex, Grok, Kiro, OpenAI, Claude, and custom providers. Supports OpenAI-compatible API, Claude API, Ge
What is AIClient2API?
Self-hosted multi-protocol AI API proxy for Antigravity, Codex, Grok, Kiro, OpenAI, Claude, and custom providers. Supports OpenAI-compatible API, Claude API, Gemini protocol conversion, GPT, Grok Build, Claude Opus, Gemini Pro, Kimi, MiniMax, provider pools, smart routing, and automatic failover.
Overview of AIClient2API
What it is
AIClient2API is a self-hosted multi-protocol AI API proxy. It converts client-only large model APIs (Antigravity, Codex, Grok, Kiro, Gemini) into a local OpenAI-compatible interface. Built on Node.js, it supports intelligent conversion between OpenAI, Claude, and Gemini protocols. The project uses a modular architecture based on strategy and adapter patterns, with account pool management, intelligent polling, automatic failover, and health check mechanisms. It claims 99.9% service availability. The project is open source under GPL-3.0.
Key features
- Multi-model unified interface: Access Gemini, Claude, Grok, Codex, Kimi, MiniMax through a single OpenAI-compatible API.
- Multi-protocol intelligent conversion: Supports conversion between OpenAI, Claude, and Gemini protocols.
- Account pool management: Multi-account polling, intelligent failover, and automatic degradation strategies.
- TLS fingerprint bypass: Built-in TLS Sidecar (Go uTLS) to simulate browser features and bypass restrictions.
- Web UI management console: Real-time configuration management and health status monitoring.
- AI-First design: Supports interaction with AI agents like OpenClaw, Hermes, and Claude Code.
- Provider pool with async refresh, buffer queue deduplication, global concurrency control, node warmup, and automatic expiry detection.
Use cases
- Converting client-only AI models (e.g., Gemini, Antigravity, Grok) into standard API endpoints for use in applications like Cherry-Studio, NextChat, and Cline.
- Bypassing rate limits and quotas of services like Gemini and Antigravity via OAuth authorization.
- Managing multiple provider accounts with automatic failover for high availability.
- Using AI agents to automatically configure and manage the proxy service.
Getting started
See the repository README for installation and configuration instructions.
License and pricing
Licensed under GPL-3.0. The project is open source; no pricing information is provided.
Based on the project's public README and repository metadata.