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.
Beschrijving van de uitgever (Engels)
Wat is APISwitch?
APISwitch is een opensource Windows-programma in de categorie VPN & proxy van kbkkb.
Installatie en systeemeisen
Er zijn officiële installatiebestanden voor 64-bits in de vorm van EXE (Inno Setup). Installeren voor alleen de huidige gebruiker kan zonder beheerdersrechten. De installer ondersteunt een onbeheerde (stille) installatie.
Voordelen / Nadelen
Voordelen
- Open source: iedereen kan de code inzien en zelf compileren
- Gedocumenteerde stille installatie
- Installeren zonder beheerdersrechten
- In de afgelopen twee maanden bijgewerkt
Nadelen
- Geen native ARM64-versie
Kort gezegd: APISwitch is een opensource tool uit de categorie VPN & proxy voor pc’s met 64-bits. Beheerders kunnen het onbeheerd uitrollen.
Is APISwitch veilig om te downloaden?
- Het bestand komt van github.com, een domein van de uitgever zelf
- De downloadlink gebruikt HTTPS
- Er is een SHA256-hash gepubliceerd, dus het bestand is te controleren:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· Open het VirusTotal-rapport voor deze hash - De link is nog niet gecontroleerd
- De broncode is openbaar
- ExeAtlas host, verpakt of wijzigt geen installers
Gerelateerde handleiding: SHA256-hash van een bestand controleren in Windows
Recente versies
Alle 1 versies ›| Versie | Datum | Grootte | Bestanden |
|---|---|---|---|
| 0.3.2Nieuwste | 16 oktober 2026 | — | 64-bits EXE (Inno Setup) |
Installeren via de opdrachtregel
Stille installatie ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Gerelateerde handleiding: winget gebruiken: programma’s installeren en updaten
Informatie
- Uitgever
- kbkkb
- Categorie
- VPN & proxy
- Licentie
- MIT
- Prijs
- Gratis
- Vereist
- Windows 11 / 10
- Architectuur
- 64-bits
- Installer
- EXE (Inno Setup)
- Versie
- 0.3.2
- Uitgebracht
- 16 oktober 2026
- Toegevoegd aan de catalogus
- 10 november 2026
- Versies in de lijst
- 1
- Downloads via ExeAtlas
- 1
- Website
- github.com
- winget-ID
- kbkkb.APISwitch
Beoordelingen en reviews
Nog geen reviews. Geef als eerste een beoordeling.
Alternatieven voor APISwitch
Alles bekijken ›-
Open source1,8 mln. ↓ -
Open source286,5K ↓ -
Open source153,5K ↓ -
Open source568,1K ↓ -
Open source175,1K ↓ -
Open source14,7K ↓ -
Open source58,1K ↓ -
Open source78K ↓
Veelgestelde vragen
Is APISwitch gratis?
Ja. APISwitch is opensourcesoftware onder de licentie MIT.
Is APISwitch veilig om te downloaden?
Het bestand komt van github.com, een domein van de uitgever zelf; ExeAtlas host of wijzigt het niet. Vergelijk de SHA256-hash van het gedownloade bestand met de hash op deze pagina, of open het VirusTotal-rapport voor die hash.
Hoe wordt APISwitch met winget geïnstalleerd?
Open PowerShell of Windows Terminal en voer het winget-commando van deze pagina uit. winget downloadt de officiële installer en controleert de SHA256-hash voordat die wordt gestart.
Kan APISwitch stil (silent) worden geïnstalleerd?
Ja. De pagina over stille installatie geeft per installer het exacte commando.
Werkt APISwitch op ARM (Windows on Arm)?
Er is geen ARM64-versie; Windows 11 on Arm kan de versie voor 64-bits via emulatie draaien.
Werkt APISwitch zonder beheerdersrechten?
Ja, er is een installer per gebruiker waarvoor geen beheerdersrechten nodig zijn.
Wat zijn alternatieven voor APISwitch?
OpenVPN, nginx, Proton VPN, Tailscale en Netbird. De pagina met alternatieven vergelijkt ze.