🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)
🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)

🔧 Programmierung 🕛 kürzlich 8 Min Lesezeit
0

Zero-Cost AI in VS Code

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht




Zero-Cost AI: Accessing Premium Models in VS Code Without API Keys



How I built a VS Code extension that gives you free access to Qwen-Max and DeepSeek models using only your existing web account — no billing, no tokens, no limits.









🎯 The Problem with Modern AI Tools



The state of AI development has become expensive:





  • API keys needed for every provider


  • Per-token pricing that adds up quickly


  • Rate limits blocking your workflow


  • Multiple subscriptions to different services


  • Browser sessions constantly expiring



Premium AI services charge significant monthly fees:





  • ChatGPT Plus: $20/month


  • Claude Pro: $20/month


  • Gemini Advanced: $20/month



That's over $600/year for basic access! And you still need separate accounts for each service.



What if there was another way?









💡 The Solution: Browser-Based Authentication



I developed AI Free VSCode — an open-source extension that leverages your existing free tier accounts from AI providers through browser automation.






Key Innovation



Instead of requiring API keys (which often have strict rate limits), the extension:




  1. Uses Playwright to automate a real Chromium browser session

  2. Stores authentication cookies locally

  3. Makes requests through the official web APIs

  4. Gives you full access to the same free tier available on their websites






Result?



Zero cost - uses existing free accounts


No API keys - just sign in once


Higher limits - same as browsing the website


Native integration - works directly in Copilot Chat


Agent mode - full tool calling support







🏗 Architecture Overview





Extension Structure





CODE
ai-free-vscode/
├── src/
│ ├── extension.mjs # Entry point & commands
│ ├── lmProvider.mjs # Unified LM provider interface
│ ├── deepseek/
│ │ ├── auth.mjs # Browser login with Playwright
│ │ ├── client.mjs # API client implementation
│ │ ├── provider.mjs # Model logic & session management
│ │ └── config.mjs # Configuration constants
│ ├── qwen/
│ │ ├── auth.mjs # Qwen authentication
│ │ ├── client.mjs # Qwen API client
│ │ └── provider.mjs # Qwen model implementation
│ ├── utils/
│ │ ├── logger.mjs # Debug logging
│ │ ├── rateLimiter.mjs # Rate limiting protection
│ │ ├── responseValidator.mjs
│ │ └── tokenValidator.mjs
│ └── promptUtils.mjs # Message formatting
├── package.json # Extension manifest
└── README.md # Documentation







Core Components





1. Authentication Flow



The extension registers commands for users to authenticate:




CODE
context.subscriptions.push(
vscode.commands.registerCommand("deepseek.login", async () => {
await clearProfileSession(); // Clear old session
const result = await loginAndSaveAuth(); // New login via Playwright
auth.cookieHeader = result.cookieHeader;
auth.token = result.token;
}),
);






Process:




  • Opens Chromium browser via Playwright

  • User signs into provider normally

  • Session cookies captured and stored locally

  • Cookies used for subsequent API requests






2. Unified Provider Interface



All models are unified under a single vendor namespace:




CODE
class AiFreeVscodeChatModelProvider {
async provideLanguageModelChatResponse(
model,
messages,
options,
progress,
token,
) {
// Convert VS Code messages to API format
const convertedMessages = convertMessages(messages);
const tools = convertToolSchemas(options?.tools);
const prompt = messagesToPrompt(convertedMessages, tools);

// Route to appropriate provider
switch (model.family) {
case "deepseek":
await deepseekComplete({ modelId, prompt, auth, onText, signal });
break;
case "qwen":
await qwenComplete({
modelId,
prompt,
auth,
onText,
onThinking,
signal,
});
break;
}
}
}






Process:




  • Routes VS Code chat requests to appropriate provider

  • Handles both DeepSeek and Qwen models

  • Converts messages to API format

  • Manages streaming responses






3. Smart Session Management



Maintains conversation continuity with session caching:




CODE
const sessionIdCache = new Map();

async function runComplete({
modelId,
prompt,
auth,
threadKey,
messagesCount,
}) {
// Start fresh session for first message in thread
if (messagesCount === 1) {
sessionIdCache.delete(threadKey);
}

// Try cached session first (for conversation continuity)
const cachedSessionId = sessionIdCache.get(threadKey);
if (cachedSessionId) {
const ok = await attempt(cachedSessionId);
if (ok) return; // Success!
}

// Retry with new session
const sessionId = await client.createSession({ signal });
sessionIdCache.set(threadKey, sessionId);
await attempt(sessionId);
}












🔧 Installation & Setup






Step 1: Install the Extension



Download the latest .vsix file from


  • Add new models - Implement additional AI providers


  • Improve docs - Clarify setup instructions


  • Enhance UX - Better error messages, UI improvements


  • Write tests - Increase coverage for edge cases



  • Getting started:




    CODE
    git clone https://github.com/AppsGanin/ai-free-vscode
    cd ai-free-vscode
    npm install
    # Edit code, press F5 to test






    Contributions welcome! PRs are always appreciated.









    📝 Legal Disclaimer




    This extension is unofficial and not affiliated with any AI provider.





    • Use at your own risk - Automating web sessions may violate ToS


    • No guarantees - May stop working if providers change APIs


    • No liability - Authors not responsible for consequences



    Always review Terms of Service before use.










    🎯 Conclusion



    AI Free VSCode demonstrates that you don't need expensive API keys or multiple subscriptions to access premium AI capabilities. By leveraging browser automation and existing free tiers, we've created a solution that:




    • 💰 Costs nothing - literally $0 monthly subscription

    • 🚀 Works instantly - one-time sign-in, perpetual access

    • 🔒 Respects privacy - all data stays local

    • 🛠️ Integrates seamlessly - native VS Code experience



    Whether you're a student learning to code, a indie developer building your startup, or just someone who wants powerful AI tools without breaking the bank - this extension removes financial barriers and puts cutting-edge technology in your hands.






    Ready to try it?



    👉 Download the extension


    ⭐ Star the repo if it helps your workflow


    📣 Share with fellow developers



    Let's democratize AI access together! 🚀

    Vollständiger Original-Bericht
    Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
    ↗ Original-Artikel auf dev.to lesen
    Wie bewertest du diesen Beitrag?
    1 Klick Feedback
    Teilen mit Netzwerk & Team:

    Community-Analysen & Experten-Meinungen 0

    Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
    Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
    Community Pulse: Relevanz-Einschätzung
    1 Klick Experten-Votum
    🔴 Akute Relevanz 0%
    🟡 In Evaluierung 0%
    🟢 Keine Auswirkung 0%
    Spannende Innovation 0%
    Verwandte Story-Cluster & Quellen (Vektor-KI)
    Port 8095 Engine
    1 Quelle
    Hackers Just Poisoned the Rust Supply Chain | Threat Wire
    1 Quelle
    Hackers Found a Way Into Humanoid Robots | Threat Wire
    1 Quelle
    Bits und so #1021 (Passwort für Laufwerk)
    Ähnliche Beiträge
    🔍 Verwandte News

    Auch interessante Nachrichten Zero-Cost AI in VS Code

    Thematisch verwandte Begriffe: ZeroCost, Code · 6 Treffer

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...