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.
Popis od výrobce (angličtina)
Co je APISwitch?
APISwitch je program pro Windows s otevřeným zdrojovým kódem z kategorie „VPN a proxy“. Výrobce: kbkkb.
Instalace a systémové požadavky
Oficiální instalátory jsou k dispozici pro 64bit; typ instalátoru: EXE (Inno Setup). Lze ho nainstalovat jen pro aktuálního uživatele, bez oprávnění správce. Instalátor podporuje bezobslužnou (tichou) instalaci.
Výhody / Nevýhody
Výhody
- Otevřený zdrojový kód: kdokoli ho může zkontrolovat a sestavit
- Zdokumentovaná tichá instalace
- Instalace bez oprávnění správce
- Aktualizováno v posledních dvou měsících
Nevýhody
- Chybí nativní sestavení ARM64
Ve zkratce: APISwitch je program pro Windows s otevřeným zdrojovým kódem (kategorie „VPN a proxy“); sestavení: 64bit. Správci ho mohou nasadit bezobslužně.
Je stažení programu APISwitch bezpečné?
- Soubor se stahuje z domény výrobce (github.com)
- Odkaz ke stažení používá HTTPS
- Hash SHA256 je zveřejněn – soubor lze ověřit:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· Otevřít zprávu VirusTotal pro tento hash - Odkaz zatím nebyl ověřen
- Otevřený zdrojový kód
- ExeAtlas instalátory neukládá, nebalí ani nemění
Související návod: Jak ve Windows ověřit hash SHA256 souboru
Poslední verze
Všechny verze (1) ›| Verze | Datum | Velikost | Soubory |
|---|---|---|---|
| 0.3.2Nejnovější | 16. října 2026 | — | 64bit EXE (Inno Setup) |
Instalace z příkazového řádku
Tichá instalace ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Související návod: Jak používat winget: instalace a aktualizace programů
Informace
- Výrobce
- kbkkb
- Kategorie
- VPN a proxy
- Licence
- MIT
- Cena
- Zdarma
- Požadavky
- Windows 11 / 10
- Architektura
- 64bit
- Instalátor
- EXE (Inno Setup)
- Verze
- 0.3.2
- Datum vydání
- 16. října 2026
- Přidáno do katalogu
- 10. listopadu 2026
- Verzí v katalogu
- 1
- Stažení přes ExeAtlas
- 1
- Web
- github.com
- ID winget
- kbkkb.APISwitch
Hodnocení a recenze
Zatím žádné recenze. Hodnocení můžete přidat jako první.
Alternativy k programu APISwitch
Zobrazit vše ›-
Open source1,8 mil. ↓ -
Open source286,5 tis. ↓ -
Open source153,5 tis. ↓ -
Open source568,1 tis. ↓ -
Open source175,1 tis. ↓ -
Open source14,7 tis. ↓ -
Open source58,1 tis. ↓ -
Open source78 tis. ↓
Časté otázky
Je program APISwitch zdarma?
Ano. APISwitch je program s otevřeným zdrojovým kódem (licence MIT); stažení i používání je zdarma.
Je stažení programu APISwitch bezpečné?
Soubor se stahuje z github.com – tato doména patří výrobci; ExeAtlas soubor neukládá ani nemění. Porovnejte SHA256 staženého souboru s hodnotou na této stránce nebo otevřete zprávu VirusTotal pro tento hash.
Jak nainstalovat APISwitch přes winget?
Otevřete PowerShell nebo Windows Terminal a spusťte příkaz winget z této stránky. winget stáhne oficiální instalátor a před spuštěním ověří jeho hash SHA256.
Lze APISwitch nainstalovat v tichém režimu?
Ano. Stránka tiché instalace uvádí přesný příkaz pro každý instalátor.
Funguje APISwitch na ARM (Windows on Arm)?
Sestavení ARM64 neexistuje; Windows 11 on Arm může verzi 64bit spustit pomocí emulace.
Lze program APISwitch používat bez oprávnění správce?
Ano, existuje instalátor pro aktuálního uživatele, který oprávnění správce nepotřebuje.
Jaké jsou alternativy k programu APISwitch?
OpenVPN, nginx, Proton VPN, Tailscale a Netbird. Srovnání najdete na stránce alternativ.