将 GeminiCLI 和 Antigravity 转换为 OpenAI 、GEMINI 和 Claude API 接口
gcli2api is a Python-based proxy server that converts Google's GeminiCLI tool and the Antigravity IDE into fully compatible API endpoints for OpenAI, Gemini, and Claude formats. It exposes standard REST endpoints including `/v1/chat/completions`, `/v1/models`, `/v1/messages` (Claude-compatible), and Gemini native generate/stream endpoints, allowing any client that speaks those API formats to route requests through GeminiCLI or Antigravity credentials without code changes. The server handles automatic format detection and conversion between message structures, supports multimodal input, and includes a web management console with WebSocket real-time log streaming, bulk credential upload via ZIP files, and JWT-authenticated panel access. A notable operational feature is the multi-credential rotation system, which load-balances across multiple Google OAuth credential files, tracks per-credential error codes like 429 and 403, and automatically disables failing credentials. Deployment options cover Docker, Docker Compose, Linux, macOS, Windows, and Termux. Developers building with Claude Code or any OpenAI-compatible client who want to leverage GeminiCLI's free or quota-based access at scale are the primary audience.
- ✓License: NOASSERTION
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/su-kaka/gcli2apiTools overview
What people ask about gcli2api
What is su-kaka/gcli2api?
+
su-kaka/gcli2api is tools for the Claude AI ecosystem. 将 GeminiCLI 和 Antigravity 转换为 OpenAI 、GEMINI 和 Claude API 接口 It has 4.9k GitHub stars and was last updated 22d ago.
How do I install gcli2api?
+
You can install gcli2api by cloning the repository (https://github.com/su-kaka/gcli2api) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is su-kaka/gcli2api safe to use?
+
Our security agent has analyzed su-kaka/gcli2api and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains su-kaka/gcli2api?
+
su-kaka/gcli2api is maintained by su-kaka. The last recorded GitHub activity is from 22d ago, with 11 open issues.
Are there alternatives to gcli2api?
+
Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.
Deploy gcli2api to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/su-kaka-gcli2api)<a href="https://claudewave.com/repo/su-kaka-gcli2api"><img src="https://claudewave.com/api/badge/su-kaka-gcli2api" alt="Featured on ClaudeWave: su-kaka/gcli2api" width="320" height="64" /></a>More Tools
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies