DEV Community

Youness Ladraoui
Youness Ladraoui

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 works on your laptop (windows), just follow the steps in the following slides :












Top comments (6)

Collapse
 
acha_essenhaji profile image
Aïcha Es-senhaji •

Good job, my teammate! 👏

Collapse
 
yladraoui profile image
Youness Ladraoui •

Thank you so much, you're the best

Collapse
 
nenhibi profile image
ENHIBI NAJOUA •

Great job, Youness

Collapse
 
yladraoui profile image
Youness Ladraoui •

Thank you so much Najoua 😁

Collapse
 
aassabhiba profile image
Hiba AASSAB •

Great work, proud of uu !!👌🏻

Collapse
 
yladraoui profile image
Youness Ladraoui •

Thank you so much Hiba, i'm proud of you too😁