gemini-api-cli: Plug Gemini's Full Multimodal Stack Into Claude Code or Codex
Claude Code and Codex can now call Gemini's full multimodal stack without switching windows or spinning up MCP servers. Monthly API credits bundled with Google AI Pro and Ultra subscriptions keep the extra cost near zero for many teams.
Google has released gemini-api-cli, a pure-Go single-file binary that brings Gemini's entire multimodal stack to whatever coding agent you already use. Instead of switching to Google's own interactive terminal agent (gemini-cli) or relying on a T3 Code front-end, you add gemini-api to PATH, mention it in your project's AGENTS.md, and your existing Claude Code, Codex, or other agent can shell out to Gemini for image generation, PDF analysis, video transcription, speech synthesis, music, or background Deep Research. The tool stays silent unless called, exposing self-describing schemas and a --dry-run mode so the host agent can validate HTTP requests before sending them.
Google DeepMind's Philipp released the project on October 26. It authenticates with a developer API key (GEMINI_API_KEY) rather than the OAuth flow used by gemini-cli, so it does not consume the quota in your Google AI Pro/Ultra subscription. However, Google now lets Pro and Ultra subscribers claim monthly API credits through Google AI Studio. Pro gets $10 per month, Ultra 5x gets $40, and Ultra 20x gets $100 (no credits for the $4.99 AI Plus plan; only the subscription's primary account earns them). Unused credits roll over for 12 months. The setup workflow covers installation, key configuration, a prompt block for AGENTS.md, and a Codex test that built a landing page with generated images, voiceover, and a background Deep Research task.
Google is treating its agent as a utility component rather than a competitor to Claude Code and Codex, acknowledging that developers won't switch their primary agent just to access Gemini models.
The self-describing --schema and --dry-run approach avoids the context-window bloat of MCP servers, making it a cleaner fit for long-lived agent sessions where system-prompt space is precious.
Monthly API credits attached to Pro and Ultra subscriptions turn a would-be paid API integration into a no-cost add-on for many developers, but only if they remember to claim the credits in Google AI Studio.