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.
Descrizione del produttore (inglese)
Cos’è APISwitch?
APISwitch è un programma open source per Windows di kbkkb, nella categoria VPN e proxy.
Installazione e requisiti
I file di installazione ufficiali sono disponibili per Windows 64 bit in formato EXE (Inno Setup). Si può installare solo per l’utente corrente, senza diritti di amministratore. L’installer supporta l’installazione automatica, senza richieste all’utente.
Pro / Contro
Pro
- Open source: chiunque può esaminare e compilare il codice
- Installazione silenziosa documentata
- Si installa senza diritti di amministratore
- Aggiornato negli ultimi due mesi
Contro
- Nessuna versione ARM64 nativa
In breve: APISwitch è un programma open source per Windows della categoria VPN e proxy, per PC 64 bit. Gli amministratori di sistema possono distribuirlo senza interazione.
Scaricare APISwitch è sicuro?
- Il file è fornito da github.com, il dominio del produttore
- Il link di download usa HTTPS
- L’hash SHA256 è pubblicato: il file si può verificare:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· Apri il rapporto VirusTotal di questo hash - Il link non è ancora stato controllato
- Il codice sorgente è pubblico
- ExeAtlas non ospita, non incapsula e non modifica gli installer
Guida correlata: Come verificare l’hash SHA256 di un file su Windows
Versioni recenti
Tutte le versioni (1) ›| Versione | Data | Dimensione | File |
|---|---|---|---|
| 0.3.2Ultima | 16 ottobre 2026 | — | 64 bit EXE (Inno Setup) |
Installazione da riga di comando
Installazione silenziosa ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Guida correlata: Come usare winget: installare e aggiornare app
Informazioni
- Produttore
- kbkkb
- Categoria
- VPN e proxy
- Licenza
- MIT
- Prezzo
- Gratis
- Requisiti
- Windows 11 / 10
- Architettura
- 64 bit
- Installer
- EXE (Inno Setup)
- Versione
- 0.3.2
- Data di rilascio
- 16 ottobre 2026
- Aggiunto al catalogo
- 10 novembre 2026
- Versioni elencate
- 1
- Download da ExeAtlas
- 1
- Sito ufficiale
- github.com
- ID winget
- kbkkb.APISwitch
Valutazioni e recensioni
Ancora nessuna recensione.
Alternative ad APISwitch
Vedi tutti ›-
Open source1,8 Mln ↓ -
Open source286,5K ↓ -
Open source153,5K ↓ -
Open source568,1K ↓ -
Open source175,1K ↓ -
Open source14,7K ↓ -
Open source58,1K ↓ -
Open source78K ↓
Domande frequenti
APISwitch è gratis?
Sì. APISwitch è un software open source con licenza MIT.
Scaricare APISwitch è sicuro?
Il file viene scaricato da github.com, un dominio che appartiene al produttore; ExeAtlas non ospita né modifica il file. Si può confrontare il suo hash SHA256 con quello indicato qui oppure aprire il rapporto VirusTotal di quell’hash.
Come si installa APISwitch con winget?
Basta aprire PowerShell o Windows Terminal ed eseguire il comando winget riportato in questa pagina. winget scarica l’installer ufficiale e ne verifica l’hash SHA256 prima di avviarlo.
APISwitch si può installare in modo silenzioso?
Sì. La pagina dell’installazione silenziosa riporta il comando esatto per ogni installer.
APISwitch funziona su ARM (Windows on Arm)?
Non esiste una versione ARM64; Windows 11 su Arm può eseguire la versione 64 bit tramite emulazione.
APISwitch si può usare senza diritti di amministratore?
Sì, esiste un installer per singolo utente che non richiede diritti di amministratore.
Quali sono le alternative ad APISwitch?
OpenVPN, nginx, Proton VPN, Tailscale e Netbird. La pagina delle alternative le mette a confronto.