▲ToolTrail
← All tools

Gemini API CLI

by Google

An experimental, stateless command-line tool that lets any agent with shell access (Claude Code, Codex, Antigravity and others) call Gemini models: text and reasoning, file analysis, image, audio, music and video generation, and background managed agents.

Free · from Free CLI (open source); Gemini API usage billed by Google★ 3.5k GitHub stars

What people use it for

Pricing

The CLI is Apache-2.0 open source and a single Go binary for macOS, Linux and Windows. It needs a Gemini API key, and API calls are priced by Google; see the Gemini API docs for current rates and any free tier.

Prices change often. Always confirm on the official site.

Recent updates