DEV Community

ENHIBI NAJOUA
ENHIBI NAJOUA

Posted on

Run Claude Code for Free on Windows with OmniRoute and Google AI Studio (Gemini Flash)

What is OmniRoute?
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).

How it works?
you install it with npm and start it with omniroute. In its dashboard you connect a provider with your API key and enable “Import only free models”, so only free models are imported. 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.

To make it work on your laptop (windows), just follow the steps in the following slides :












Top comments (3)

Collapse
 
yladraoui profile image
Youness Ladraoui •

Great opportunity for those who want to try Claude code for free.

Collapse
 
nenhibi profile image
ENHIBI NAJOUA •

Yes, Youness, exactly! Thank you for your feedback. 😊

Collapse
 
hamza_kebir_3a70cac2620d1 profile image
Hamza Kebir •

Very helpful and easy to understand