CLIProxyAPI is a free, open-source AI API proxy server that enables developers to access multiple AI models and coding assistants through a unified, OpenAI-compatible API interface. Written in Go, the software connects services such as OpenAI Codex, Anthropic Claude Code, Google Gemini CLI, Grok Build, Meta Muse Code, and Devin to applications that support OpenAI, Claude, or Gemini API protocols. CLIProxyAPI allows users to authenticate using OAuth accounts or API keys, enabling compatible development tools and applications to access supported AI models without configuring separate provider integrations. The platform supports multiple accounts per provider, automatic request distribution, round-robin load balancing, and configurable model routing to manage AI workloads across different services.

Features

  • Unified Multi-Provider AI API: Access OpenAI, Anthropic Claude, Google Gemini, xAI Grok, Meta Muse, Kimi, Devin, and other supported AI models through compatible OpenAI, Claude, Gemini, Codex, and Grok API interfaces.
  • OAuth and API Key Authentication: Connect supported AI coding services using OAuth login or API keys, including OpenAI Codex, Claude Code, Gemini CLI, Grok Build, and other provider accounts.
  • Multi-Account Load Balancing: Configure multiple accounts for the same AI provider and automatically distribute requests using round-robin load balancing to manage traffic across available accounts.
  • API Protocol Translation and Model Routing: Route requests between different AI providers using compatible API endpoints, configurable model mappings, and support for OpenAI-compatible upstream services such as OpenRouter.
  • Streaming, Tool Calling, and Multimodal Support: Process streaming and non-streaming responses, WebSocket connections where supported, function calls, external tools, and multimodal requests containing text and images.
  • Self-Hosting, Management, and SDK Integration: Deploy CLIProxyAPI locally or through Docker, configure providers and authentication settings, manage the service through its management API, and embed proxy functionality into Go applications using the provided SDK.

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow CLIProxyAPI

CLIProxyAPI Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CLIProxyAPI!

Additional Project Details

Operating Systems

FreeBSD, Linux, Mac, Windows

Programming Language

Go

Related Categories

Go API Gateways, Go AI Coding Tool, Go LLM Gateways

Registered

12 hours ago