Run Claude Code for Free on Windows with OmniRoute and Google AI Studio (Gemini Flash)
说明与用途
通过 OmniRoute 将 Claude Code 路由到 Google AI Studio Gemini Flash,在 Windows 上免费运行 Claude Code。
问题
Using Claude Code requires paid model access, limiting free usage on Windows.
结果
Claude Code runs on Windows for free by routing through OmniRoute to Google AI Studio Gemini Flash.
工作流
- Install Node.js and npm on Windows.
- Run
npm install -g omnirouteto install OmniRoute globally. - Start OmniRoute with
omnirouteand open its dashboard. - Connect Google AI Studio as a provider and enable "Import only free models" to import free Gemini Flash models.
- Launch Claude Code with
omniroute launch --profile auto-coding-freeso it uses the local OmniRoute endpoint. - Claude Code sends requests to OmniRoute, which forwards them to the free Gemini Flash models, enabling free usage.
证据
OmniRoute is a free, open-source AI gateway that runs on your own computer. It gives you one local endpoint (http://localhost:20128/v1) and connects it to many AI providers, including those with free tiers, such as Google AI Studio (Gemini Flash).
Then omniroute launch --profile auto-coding-free starts Claude Code through OmniRoute. Claude Code sends its requests to OmniRoute, which forwards them to the free models, so you use Claude Code’s workflow without paying for the model.
- 记录日期: 2026-10-21T00:41:22.117Z