# 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](https://heyely.si/docs/models?q=google) and connect with any tool that speaks a supported wire protocol:

* [OpenCode](https://heyely.si/docs/coding-tools/opencode), [Cline](https://heyely.si/docs/coding-tools/cline), and [Zed](https://heyely.si/docs/coding-tools/zed) over Chat Completions.
* [Codex](https://heyely.si/docs/coding-tools/codex-cli) over Responses.
* [Claude Code](https://heyely.si/docs/coding-tools/claude-code) over Messages.

Explore [Coding tools](https://heyely.si/docs/coding-tools) to view every supported client.
