claude-code-gemini: run Claude Code on Gemini via a local LiteLLM proxy

jonkhler · x · 2026-11-29

Developer jonkhler open-sourced claude-code-gemini, a small MIT-licensed tool that lets you run Claude Code against Google's gemini-4-neon model. It works by standing up a local LiteLLM proxy (127.0.0.1:4100, /v1/messages) that translates Anthropic's API format to the Gemini API, sidestepping Anthropic's restriction on non-Claude models in Claude Code.

Setup and usage:

The author flags it as an unofficial hack to use at your own risk.

Original post →

More from coding & agent

coding & agent channel →