Gemini CLI
Why Gemini CLI cannot connect directly to HeyEly, and how to run Gemini models through supported tools.
Gemini CLI is not compatible with HeyEly directly.
Why it cannot connect
Gemini CLI exclusively speaks Google's native Gemini API protocol. HeyEly exposes OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages endpoints, so there is no native Gemini wire route for the CLI to target. Setting GOOGLE_GEMINI_BASE_URL redirects the hostname, not the request format.
Use Gemini models from another tool
You can still run Gemini models through HeyEly right away! Browse available Gemini IDs on Models and connect with any tool that speaks a supported wire protocol:
- OpenCode, Cline, and Zed over Chat Completions.
- Codex over Responses.
- Claude Code over Messages.
Explore Coding tools to view every supported client.