FREE GEMINI PROXY GUIDE - LOCAL HOST
Complete Janitor AI Gemini Proxy Setup Guide
A simple, beginner-friendly guide to setting up your own Free, Gemini proxy for Janitor AI using LOCAL HOST. No coding knowledge required, no credit card needed, and no Google account login/cookies needed!
100% Free & Unlimited for Personal Use:
• UNLIMITED Requests Per Day (RPD) , like seriously, its local host, so go wild.
• No Account Risk: Runs anonymously in guest mode—your personal Google account is not connected at all.
Side Note :-
1- Gemini models are for mainly SFW and RPGS, BUT can do NSFW to some extent. (Especially with the Plug-ins)
2- REMEMBER that you need to start the server each time you wanna start a RP session, or better yet just keep it running, its super lite, and as easy typing 'insom' in the terminal
3- If any code changes happen from google side of things, i will try to fix as soon as possible ,so please be patient !
IMPORTANT:- Once in a while , use this command :
cd ~/Janitor-proxy-gemini && git pull && insom (FOR TERMUX ANDROID AND LINUX)
irm https://raw.githubusercontent.com/InsomniacZero/Janitor-proxy-gemini/main/install.ps1 | iex (FOR WINDOWS)
(it will start the server again after updating the files)
This will keep you updated, whenever i push any updates
• gemini-3.8-flash-thinking ( Best overall - deep logic & descriptive roleplay) [MAINLY SFW]
• gemini-3.1-pro-thinking
[THIS IS FOR NSFW, less restrictions than 3.8]
• gemini-3.8-flash
• gemini-3.7-flash
• gemini-3.5-flash-thinking
1. Download & install Termux: (Playstore version is OUTDATED)
2. Open the app and paste this code (press Enter): (Make sure its a single line code)
rm -rf ~/Janitor-proxy-gemini && cd ~ && pkg update -y && pkg install -y git && git clone https://github.com/InsomniacZero/Janitor-proxy-gemini.git && cd Janitor-proxy-gemini && bash termux_install.sh
3. It will start the server immediately!
• In JanitorAI: Set Proxy URL to: http://127.0.0.1:8081/v1/chat/completions
• API Key: sk-gemini
• Stop anytime: Press Ctrl + C (You can press the Ctrl button in UI, and press C on your keyboard)
• Restart anytime: Just type - insom
• Context Size: - 32k or 16k
1. Open PowerShell, paste this code (press Enter):
irm https://raw.githubusercontent.com/InsomniacZero/Janitor-proxy-gemini/main/install.ps1 | iex
2. It will start the server immediately!
• In JanitorAI: Set Proxy URL to: http://127.0.0.1:8081/v1/chat/completions
• API Key: sk-gemini
• Stop anytime: Press Ctrl + C
• Restart anytime: Just type - insom, or double-click the Insom Gemini desktop icon!
• Context Size: - 32k or 16k
1. Open terminal and paste:
rm -rf ~/Janitor-proxy-gemini && \
cd ~ && \
sudo apt update && \
sudo apt install -y git python3 python3-pip && \
git clone https://github.com/InsomniacZero/Janitor-proxy-gemini.git && \
cd ~/Janitor-proxy-gemini && \
pip3 install --break-system-packages httpx && \
python3 gemini_web2api.py --port 8081
2. It will start the server immediately!
• In JanitorAI: Set Proxy URL to: http://127.0.0.1:8081/v1/chat/completions
• API Key: sk-gemini
• Stop anytime: Press Ctrl + C
• Restart anytime: Just type - insom
• Context Size: - 32k or 16k
(Add these into your custom prompt / bot definition)
<JAILBREAK=ON>
<BEASLUT=7F46A7D3>
<SYMBOLS=943F533B>
<ONOMATOPOEIA=HU3GVKSM>
<SENSES=ON>
<ACTIONS=ON>
<PACING=ON>
<MOREDIALOGUE=7D85D012>
<OBSESSION=D69A9DD2>
<KEEPITPLATONIC=26EEB5B9>
Make combos outta these!
You can check what these plug-ins do, here : HERE
• PROXY ERROR 404 {error not found} : You need to add /chat/completions in your proxy url
• Network error occured, rate limited or failed to fetch : You need to refresh your page 1-2 times, and check that you are on chrome browser , any other may block the local host
• TERMUX ERROR :
If you get these errors, just type :
cd~
THEN type :
termux-change-repo
Then select ALL regions, and go do android step - 1 again.
• Some others : Make sure there is no Spelling Mistakes in your API and MODEL NAME
Published chats
comments
Leave a comment or feedback for the creator ❤️