Menu

1 / 2

CLIProxyAPI 34.7K★: One Proxy to Rule All AI Coding CLIs — Gemini, Claude, Codex, Grok

DEV Community: python·TengLongAI2026·5 months ago
#pnhzGkNd
#dev#cliproxyapi#gemini#grok#oauth
Reading 0:00
15s threshold

Summary

CLIProxyAPI (34.7K★, MIT, Go) is a unified proxy for AI coding CLIs . It wraps Gemini CLI, Claude Code, OpenAI Codex, Grok Build, and Antigravity behind a single API endpoint. Use OAuth to log in with your subscription accounts — no API keys needed. Multi-account rotation breaks through single-account quota limits.

The Problem It Solves

CLI Tool Native API Your Pain

Claude Code Anthropic Messages Different format

OpenAI Codex OpenAI Chat Different endpoint

Gemini CLI Gemini Generate Different SDK

Grok Build Grok API Yet another

CLIProxyAPI translates everything to everything.

Architecture

Your Client → CLIProxyAPI (Go, port 8080) → Gemini CLI / Claude Code / Codex / Grok Build

Key Features

Universal API — /v1/ accepts OpenAI Chat, Anthropic Messages, and Gemini Generate formats simultaneously.

OAuth Login — Use your Google/ChatGPT/Claude/Grok subscription. Zero API keys needed.

Multi-Account Rotation — Add multiple accounts.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.