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.
Opis producenta (angielski)
Czym jest APISwitch?
APISwitch to program na Windows o otwartym kodzie źródłowym z kategorii „VPN i proxy”. Producent: kbkkb.
Instalacja i wymagania
Oficjalne instalatory są dostępne dla architektur: 64-bit; typ instalatora: EXE (Inno Setup). Instalacja tylko dla bieżącego użytkownika jest możliwa bez uprawnień administratora. Instalator obsługuje instalację nienadzorowaną (cichą).
Zalety / Wady
Zalety
- Otwarty kod źródłowy: każdy może go przejrzeć i skompilować
- Udokumentowana cicha instalacja
- Instalacja bez uprawnień administratora
- Ostatnia aktualizacja w ciągu ostatnich dwóch miesięcy
Wady
- Brak natywnej wersji ARM64
W skrócie: APISwitch to program na Windows o otwartym kodzie źródłowym z kategorii „VPN i proxy”; wersje: 64-bit. Administratorzy mogą go wdrażać bez udziału użytkownika.
Czy pobieranie programu APISwitch jest bezpieczne?
- Plik jest pobierany z domeny producenta (github.com)
- Link do pobrania używa HTTPS
- Opublikowano sumę SHA256, więc plik można zweryfikować:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· Otwórz raport VirusTotal dla tej sumy - Link nie był jeszcze sprawdzany
- Kod źródłowy jest publiczny
- ExeAtlas nie przechowuje, nie opakowuje i nie modyfikuje instalatorów
Powiązany poradnik: Jak sprawdzić sumę SHA256 pliku w Windows
Najnowsze wersje
Wszystkie wersje (1) ›| Wersja | Data | Rozmiar | Pliki |
|---|---|---|---|
| 0.3.2Najnowsza | 16 października 2026 | — | 64-bit EXE (Inno Setup) |
Instalacja z wiersza poleceń
Cicha instalacja ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Powiązany poradnik: Winget – jak instalować i aktualizować programy
Informacje
- Producent
- kbkkb
- Kategoria
- VPN i proxy
- Licencja
- MIT
- Cena
- Za darmo
- Wymagania
- Windows 11 / 10
- Architektura
- 64-bit
- Instalator
- EXE (Inno Setup)
- Wersja
- 0.3.2
- Data wydania
- 16 października 2026
- Dodano do katalogu
- 10 listopada 2026
- Wersje w katalogu
- 1
- Pobrania z ExeAtlas
- 1
- Strona WWW
- github.com
- ID winget
- kbkkb.APISwitch
Oceny i opinie
Brak opinii. Można dodać pierwszą ocenę.
Alternatywy dla programu APISwitch
Zobacz wszystkie ›-
Open source1,8 mln ↓ -
Open source286,5 tys. ↓ -
Open source153,5 tys. ↓ -
Open source568,1 tys. ↓ -
Open source175,1 tys. ↓ -
Open source14,7 tys. ↓ -
Open source58,1 tys. ↓ -
Open source78 tys. ↓
Najczęstsze pytania
Czy program APISwitch jest darmowy?
Tak. APISwitch to oprogramowanie open source na licencji MIT; można je pobrać i używać za darmo.
Czy pobieranie programu APISwitch jest bezpieczne?
Plik jest pobierany z serwera github.com, który należy do producenta; ExeAtlas nie przechowuje ani nie modyfikuje pliku. Sumę SHA256 pobranego pliku można porównać z podaną na tej stronie albo otworzyć raport VirusTotal dla tej sumy.
Jak zainstalować program APISwitch przez winget?
Wystarczy otworzyć PowerShell lub Terminal Windows i uruchomić polecenie winget podane na tej stronie. winget pobiera oficjalny instalator i przed uruchomieniem sprawdza jego sumę SHA256.
Czy program APISwitch obsługuje cichą instalację?
Tak. Na stronie cichej instalacji podano dokładne polecenie dla każdego instalatora.
Czy APISwitch działa na procesorach ARM (Windows on Arm)?
Brak wersji ARM64; Windows 11 on Arm może uruchomić wersję 64-bit w emulacji.
Czy z programu APISwitch można korzystać bez uprawnień administratora?
Tak, istnieje instalator dla bieżącego użytkownika, który nie wymaga uprawnień administratora.
Jakie są alternatywy dla programu APISwitch?
OpenVPN, nginx, Proton VPN, Tailscale i Netbird. Strona alternatyw zawiera ich porównanie.