VS Code extension taps your browser login to use Claude, Gemini, or ChatGPT free
A developer fed up with API bills built a VS Code extension that reuses an existing browser login session to access AI assistants at no cost. No API key or paid plan is needed — just a regular account on Claude, Gemini, or ChatGPT.
Normally, using AI inside a code editor requires an API key — a paid access code sold by the AI company. This extension takes a different route: it hooks into the browser where the user is already logged in and tunnels that session into VS Code, bypassing the need for a key entirely. The result is full AI coding assistance with zero API spend.
The trade-off is risk. All three AI services prohibit this kind of session hijacking in their terms of service, so accounts could be suspended if detected. The extension also depends on each service's web interface staying consistent — a site update could break it without warning. For solo developers on a tight budget it offers real savings, but it is not a stable long-term solution.
Key points
- Bridges your browser's logged-in AI session directly into VS Code
- Supports Claude, Gemini, and ChatGPT with no API key required
- Eliminates API costs entirely for personal coding use
- Violates the terms of service of all three AI providers — account bans are possible
- Relies on web interfaces that can change, so it may break after any service update
Quick term guide
- extension
- A small add-on installed in a browser to add new features.
- session
- A continuous period of interaction between a user and a computer program.
- AI assistant
- A software tool that uses artificial intelligence to answer questions or help with tasks.
- API key
- A private code that lets a service know which account is using it.
- code editor
- A special program used for writing and editing software instructions.
- Interface
- The visual parts of a program that a human interacts with.
- developers
- Developers are people who build software, apps, or websites.
- API costs
- Fees paid when software calls an online service programmatically.