gemini runner invokes the Google Gemini CLI binary as a subprocess. This is the easiest way to get started without any API costs — Google’s free tier provides a generous number of requests per day with no credit card required.
Requirements
-
The
geminiCLI installed globally: - A Google account for authentication. The free tier does not require a credit card.
- Node.js 20 or later.
Authentication
The Gemini CLI uses Google OAuth for authentication. On first run, it opens a browser window to complete the login flow:remoteagent init.
Setup
gemini when prompted by the interactive wizard. Since no API key is required for the free tier, the wizard will skip the API key prompt.
How it works
The runner executes:Free tier limits
Google’s free tier for Gemini CLI provides a daily quota of requests. For most development tasks — reviewing a file, fixing a bug, writing tests — you are unlikely to hit the limit during normal usage. If you need higher throughput or want to use Gemini via an API key (for the Gemini API), you can set theGEMINI_API_KEY environment variable before starting the agent. The gemini CLI will use the API key instead of the OAuth flow.
Pros and cons
| Pros | Cons |
|---|---|
| Free tier — no credit card required | Beta status — some output parsing edge cases |
| No API key to manage for free usage | Daily rate limits on the free tier |
| Access to Gemini 2.x models | Subprocess overhead per invocation |
| — | Less capable than Claude for complex coding tasks (varies by task) |