Gemini CLI

Overview

Gemini CLI is Google's CLI experience for Gemini ecosystem workflows.

Installation

bash
npm install -g @google/gemini-cli

or

bash
brew install gemini-cli

ModelStack Compatibility

Gemini CLI generally uses Google-authenticated infrastructure and does not provide standard arbitrary OpenAI-compatible base URL routing in common setups.

warning

If your Gemini CLI build does not expose a custom provider endpoint option, direct ModelStack routing is not available.

If you want Gemini-class models through ModelStack with unified billing and routing, use an OpenAI-compatible client such as:

  • Cursor
  • Continue
  • Cline
  • Roo Code
  • Aider
  • Zed