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ýrobcu (angličtina)
Čo je APISwitch?
APISwitch je program pre Windows s otvoreným zdrojovým kódom z kategórie „VPN a proxy“. Výrobca: kbkkb.
Inštalácia a systémové požiadavky
Oficiálne inštalátory sú k dispozícii pre 64-bit; typ inštalátora: EXE (Inno Setup). Dá sa nainštalovať iba pre aktuálneho používateľa, bez oprávnení správcu. Inštalátor podporuje bezobslužnú (tichú) inštaláciu.
Výhody / Nevýhody
Výhody
- Otvorený zdrojový kód: ktokoľvek ho môže skontrolovať a zostaviť
- Zdokumentovaná tichá inštalácia
- Inštalácia bez oprávnení správcu
- Aktualizované v posledných dvoch mesiacoch
Nevýhody
- Chýba natívne zostavenie ARM64
V skratke: APISwitch je program pre Windows s otvoreným zdrojovým kódom (kategória „VPN a proxy“); zostavenia: 64-bit. Správcovia ho môžu nasadiť bezobslužne.
Je stiahnutie programu APISwitch bezpečné?
- Súbor sa sťahuje z domény výrobcu (github.com)
- Odkaz na stiahnutie používa HTTPS
- Hash SHA256 je zverejnený – súbor sa dá overiť:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· Otvoriť správu VirusTotal pre tento hash - Odkaz zatiaľ nebol overený
- Otvorený zdrojový kód
- ExeAtlas inštalátory neukladá, nebalí ani nemení
Súvisiaci návod: Ako vo Windows overiť hash SHA256 súboru
Posledné verzie
Všetky verzie (1) ›| Verzia | Dátum | Veľkosť | Súbory |
|---|---|---|---|
| 0.3.2Najnovšia | 16. októbra 2026 | — | 64-bit EXE (Inno Setup) |
Inštalácia z príkazového riadka
Tichá inštalácia ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Súvisiaci návod: Ako používať winget: inštalácia a aktualizácia programov
Informácie
- Výrobca
- kbkkb
- Kategória
- VPN a proxy
- Licencia
- MIT
- Cena
- Zadarmo
- Požiadavky
- Windows 11 / 10
- Architektúra
- 64-bit
- Inštalátor
- EXE (Inno Setup)
- Verzia
- 0.3.2
- Dátum vydania
- 16. októbra 2026
- Pridané do katalógu
- 10. novembra 2026
- Verzií v katalógu
- 1
- Stiahnutia cez ExeAtlas
- 1
- Web
- github.com
- ID winget
- kbkkb.APISwitch
Hodnotenia a recenzie
Zatiaľ žiadne recenzie. Hodnotenie môžete pridať ako prví.
Alternatívy k programu APISwitch
Zobraziť všetko ›-
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 zadarmo?
Áno. APISwitch je program s otvoreným zdrojovým kódom (licencia MIT); stiahnutie aj používanie je zadarmo.
Je stiahnutie programu APISwitch bezpečné?
Súbor sa sťahuje z github.com – táto doména patrí výrobcovi; ExeAtlas súbor neukladá ani nemení. Porovnajte SHA256 stiahnutého súboru s hodnotou na tejto stránke alebo otvorte správu VirusTotal pre tento hash.
Ako nainštalovať APISwitch cez winget?
Otvorte PowerShell alebo Windows Terminal a spustite príkaz winget z tejto stránky. winget stiahne oficiálny inštalátor a pred spustením overí jeho hash SHA256.
Dá sa APISwitch nainštalovať v tichom režime?
Áno. Stránka tichej inštalácie uvádza presný príkaz pre každý inštalátor.
Funguje APISwitch na ARM (Windows on Arm)?
Zostavenie ARM64 neexistuje; Windows 11 on Arm dokáže verziu 64-bit spustiť pomocou emulácie.
Dá sa program APISwitch používať bez oprávnení správcu?
Áno, existuje inštalátor pre aktuálneho používateľa, ktorý oprávnenia správcu nepotrebuje.
Aké sú alternatívy k programu APISwitch?
OpenVPN, nginx, Proton VPN, Tailscale a Netbird. Porovnanie nájdete na stránke alternatív.