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.
Description de l’éditeur (anglais)
APISwitch : présentation
APISwitch est un logiciel open source pour Windows édité par kbkkb, classé dans la catégorie « VPN et proxy ».
Installation et configuration requise
Des installateurs officiels existent pour Windows 64 bits, au format EXE (Inno Setup). Il peut s’installer pour le seul utilisateur courant, sans droits d’administrateur. L’installateur accepte une installation silencieuse, sans aucune intervention.
Points forts / Points faibles
Points forts
- Open source : chacun peut examiner et compiler le code
- Installation silencieuse documentée
- S’installe sans droits d’administrateur
- Mis à jour au cours des deux derniers mois
Points faibles
- Pas de version ARM64 native
En résumé: APISwitch est un logiciel open source de la catégorie « VPN et proxy », proposé pour les PC 64 bits. Les administrateurs peuvent le déployer sans intervention.
APISwitch : le téléchargement est-il sûr ?
- Le fichier est servi par github.com, le domaine de l’éditeur
- Le lien de téléchargement utilise HTTPS
- Une empreinte SHA256 est publiée : le fichier peut être vérifié:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· Ouvrir le rapport VirusTotal de cette empreinte - Le lien n’a pas encore été vérifié
- Le code source est public
- ExeAtlas n’héberge, n’emballe ni ne modifie aucun installateur
Guide associé: Vérifier l’empreinte SHA256 d’un fichier sous Windows
Versions récentes
Toutes les versions (1) ›| Version | Date | Taille | Fichiers |
|---|---|---|---|
| 0.3.2Dernière | 16 octobre 2026 | — | 64 bits EXE (Inno Setup) |
Installer en ligne de commande
Installation silencieuse ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Guide associé: Utiliser winget : installer et mettre à jour
Informations
- Éditeur
- kbkkb
- Catégorie
- VPN et proxy
- Licence
- MIT
- Prix
- Gratuit
- Configuration requise
- Windows 11 / 10
- Architecture
- 64 bits
- Installateur
- EXE (Inno Setup)
- Version
- 0.3.2
- Date de sortie
- 16 octobre 2026
- Ajouté au catalogue
- 10 novembre 2026
- Versions répertoriées
- 1
- Téléchargements via ExeAtlas
- 1
- Site officiel
- github.com
- Identifiant winget
- kbkkb.APISwitch
Notes et avis
Aucun avis pour l’instant. Soyez le premier à noter ce logiciel.
Alternatives à APISwitch
Tout voir ›-
Open source1,8 M ↓ -
Open source286,5 k ↓ -
Open source153,5 k ↓ -
Open source568,1 k ↓ -
Open source175,1 k ↓ -
Open source14,7 k ↓ -
Open source58,1 k ↓ -
Open source78 k ↓
Questions fréquentes
APISwitch est-il gratuit ?
Oui. APISwitch est un logiciel open source distribué sous licence MIT.
APISwitch : le téléchargement est-il sûr ?
Le fichier est servi par github.com, un domaine qui appartient à l’éditeur ; ExeAtlas n’héberge pas le fichier et ne le modifie pas. Comparez son empreinte SHA256 avec celle affichée ici, ou ouvrez le rapport VirusTotal de cette empreinte.
Comment installer APISwitch avec winget ?
Ouvrez PowerShell ou le Terminal Windows et exécutez la commande winget indiquée sur cette page. winget télécharge l’installateur officiel et vérifie son empreinte SHA256 avant de le lancer.
Peut-on installer APISwitch en mode silencieux ?
Oui. La page consacrée à l’installation silencieuse donne la commande exacte pour chaque installateur.
APISwitch fonctionne-t-il sur ARM (Windows on Arm) ?
Il n’existe pas de version ARM64 ; Windows 11 sur Arm peut exécuter la version 64 bits par émulation.
Peut-on utiliser APISwitch sans droits d’administrateur ?
Oui, un installateur par utilisateur fonctionne sans droits d’administrateur.
Quelles sont les alternatives à APISwitch ?
OpenVPN, nginx, Proton VPN, Tailscale et Netbird. La page des alternatives les compare.