APISwitch is a lightweight desktop management tool and local protocol routing gateway for third-party API providers and Google Antigravity official subscriptions. It manages provider configurations for Google Antigravity, Claude Code, Claude Desktop, Codex, OpenCode, and Pi, switches Google accounts with credential snapshots, tracks quota usage, and bridges OpenAI/Anthropic protocols through a local gateway with hot reload.
✨ Key Features
1. Unified Multi-Tool Management & Zero-Intrusion Switching
- Antigravity Quick Account Switching: Save credential snapshots and switch Google accounts with one click. Automatically captures and synchronizes the latest credentials before switching (preventing Refresh Token rotation expiration). Optionally auto-closes and smoothly restarts the IDE.
- Cross-Client Provider Sharing: One-click copy of provider configurations across Claude CLI, Claude Desktop, Codex, OpenCode, and Pi with intelligent field mapping (Auth Token ↔ Bearer Token / API Key). Enter once, use everywhere.
- Model Pool Management: Dedicated model pool mechanism for OpenCode and Pi, clearly distinguishing "In Config" from "Not in Config" states, supporting on-demand activation and batch maintenance.
- One-Click cc-switch Migration: Built-in migration wizard directly reads ~/.cc-switch/cc-switch.db, allowing checkbox selection to import existing providers with automatic deduplication and overwriting.
2. Built-in Local Protocol Routing Gateway
- High-Performance Local Gateway: Built-in lightweight HTTP gateway service (listening on 127.0.0.1:15725 by default, configurable Host and Port in settings, supports LAN sharing).
- Seamless Multi-Protocol Bridging:
- Codex Protocol Bridge: Translates standard OpenAI Chat Completions / Anthropic endpoints into Codex native Responses protocol.
- Claude CLI Protocol Bridge: Automatically manages authentication headers and request format mapping.
- Claude Desktop Model Mapping: Intercepts and rewrites claude-sonnet / opus / haiku requests to your designated upstream custom models.
- Long-Context Protection & Prompt Stripping: Automatically strips non-essential excessive system prompts and provides safeguards against massive 1M context overflows to prevent upstream 400 errors or unexpected costs.
- Zero-Restart Hot Reload: Point your client to the local gateway once. Provider switches reload instantly in the gateway with no client restarts needed.
3. Data Backup & Multi-Device Roaming
- One-Click Full Export: Bundle all tool provider configurations and Antigravity account data into a standardized JSON backup file.
- Flexible Restore Modes: Supports both "Merge & Append" (recommended: keeps existing configs while adding new or updating matching items) and "Full Overwrite" modes for seamless roaming across multiple machines.
- Direct Local Management: One click to open the local physical storage directory for full data ownership and transparency.
🔬 How It Works
- Google Antigravity: Login sessions are stored in VS Code's globalStorage SQLite database (ItemTable) under antigravityUnifiedStateSync.oauthToken and userStatus (base64-encoded Protobuf). APISwitch includes a lightweight Protobuf parser to safely extract email, subscription tier, and quota information. Account switching executes safe transactional writes with automatic .backup creation.
- Claude Code CLI: Precisely rewrites ANTHROPIC_* environment variables in ~/.claude/settings.json, strictly preserving all other configuration sections such as hooks and permissions.
- Claude Desktop: Manages Cowork inference gateway parameters (inferenceProvider, inferenceGatewayBaseUrl, inferenceGatewayApiKey, etc.). Switching back to "Official" cleanly removes these fields to restore native official login.
- OpenAI Codex: Configures model_provider and [model_providers.<id>] in ~/.codex/config.toml, synchronizing authentication with auth.json. Supports direct upstream connections or routing through the local gateway for protocol adaptation.
- OpenCode & Pi: Strictly adheres to their official specifications to read and write opencode.json and models.json / auth.json, ensuring immediate recognition by CLI and runtime environments.
- Safe Atomic Writes: All file modifications follow a "write temporary file → verify integrity → atomic replace" workflow, generating automatic .bak backups to prevent corruption from unexpected interruptions.
Beschreibung des Herstellers (Englisch)
Was ist APISwitch?
APISwitch ist ein quelloffenes Windows-Programm aus der Kategorie „VPN & Proxy“ von kbkkb.
Installation und Systemvoraussetzungen
Offizielle Installationsdateien gibt es für 64-Bit im Format EXE (Inno Setup). Eine Installation nur für den aktuellen Benutzer ist ohne Administratorrechte möglich. Das Setup unterstützt eine unbeaufsichtigte Installation ohne Rückfragen.
Vorteile / Nachteile
Vorteile
- Open Source: Der Quellcode ist einsehbar und lässt sich selbst kompilieren
- Dokumentierte stille Installation
- Installation ohne Administratorrechte möglich
- In den letzten zwei Monaten aktualisiert
Nachteile
- Keine native ARM64-Version
Kurz gesagt: APISwitch ist ein quelloffenes Tool aus der Kategorie „VPN & Proxy“ für PCs mit 64-Bit. Administratoren können es unbeaufsichtigt verteilen.
Ist der Download von APISwitch sicher?
- Die Datei kommt von github.com, einer Domain des Herstellers
- Der Download-Link verwendet HTTPS
- Ein SHA256-Hash ist veröffentlicht, die Datei lässt sich also prüfen:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· VirusTotal-Bericht zu diesem Hash öffnen - Der Link wurde noch nicht geprüft
- Der Quellcode ist öffentlich
- ExeAtlas hostet, verpackt oder verändert keine Installer
Passende Anleitung: SHA256-Hash einer Datei unter Windows prüfen
Neueste Versionen
Alle 1 Versionen ›| Version | Datum | Größe | Dateien |
|---|---|---|---|
| 0.3.2Aktuell | 16. Oktober 2026 | — | 64-Bit EXE (Inno Setup) |
Installation per Kommandozeile
Silent Install ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Passende Anleitung: winget-Anleitung: Programme installieren und updaten
Informationen
- Hersteller
- kbkkb
- Kategorie
- VPN & Proxy
- Lizenz
- MIT
- Preis
- Kostenlos
- Voraussetzung
- Windows 11 / 10
- Architektur
- 64-Bit
- Installer
- EXE (Inno Setup)
- Version
- 0.3.2
- Veröffentlicht
- 16. Oktober 2026
- Im Katalog seit
- 10. November 2026
- Erfasste Versionen
- 1
- Downloads über ExeAtlas
- 1
- Website
- github.com
- winget-ID
- kbkkb.APISwitch
Bewertungen und Rezensionen
Noch keine Rezensionen. Geben Sie die erste Bewertung ab.
Alternativen zu APISwitch
Alle anzeigen ›-
Open Source1,8 Mio. ↓ -
Open Source286.507 ↓ -
Open Source153.521 ↓ -
Open Source568.074 ↓ -
Open Source175.093 ↓ -
Open Source14.697 ↓ -
Open Source58.101 ↓ -
Open Source77.982 ↓
Häufige Fragen
Ist APISwitch kostenlos?
Ja. APISwitch ist Open-Source-Software unter der Lizenz MIT.
Ist der Download von APISwitch sicher?
Die Datei kommt von github.com, einer Domain des Herstellers; ExeAtlas hostet oder verändert sie nicht. Vergleichen Sie den SHA256-Hash der heruntergeladenen Datei mit dem hier angezeigten oder öffnen Sie den VirusTotal-Bericht zu diesem Hash.
Wie installiere ich APISwitch mit winget?
Öffnen Sie PowerShell oder Windows Terminal und führen Sie den winget-Befehl auf dieser Seite aus. winget lädt das offizielle Setup herunter und prüft vor dem Start den SHA256-Hash.
Lässt sich APISwitch still (silent) installieren?
Ja. Die Seite zur stillen Installation nennt für jeden Installer den genauen Befehl.
Läuft APISwitch auf ARM (Windows on Arm)?
Eine ARM64-Version gibt es nicht; Windows 11 on Arm kann die Version für 64-Bit per Emulation ausführen.
Kann ich APISwitch ohne Administratorrechte nutzen?
Ja, es gibt einen Installer für den einzelnen Benutzer, der keine Administratorrechte braucht.
Welche Alternativen zu APISwitch gibt es?
OpenVPN, nginx, Proton VPN, Tailscale und Netbird. Die Seite mit den Alternativen vergleicht sie.