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.
Udgiverens beskrivelse (engelsk)
Hvad er APISwitch?
APISwitch er et Windows-program med åben kildekode fra kbkkb i kategorien VPN og proxy.
Installation og systemkrav
Der findes officielle installationsfiler til 64-bit i formatet EXE (Inno Setup). Programmet kan installeres kun for den aktuelle bruger, uden administratorrettigheder. Installationsfilen understøtter uovervåget installation uden spørgsmål (silent install).
Fordele / Ulemper
Fordele
- Open source: alle kan gennemse og kompilere koden
- Dokumenteret lydløs installation
- Kan installeres uden administratorrettigheder
- Opdateret inden for de seneste to måneder
Ulemper
- Ingen indbygget ARM64-version
Kort sagt: APISwitch er et værktøj med åben kildekode i kategorien VPN og proxy til pc’er med 64-bit. Administratorer kan udrulle det uovervåget.
Er det sikkert at downloade APISwitch?
- Filen leveres af github.com, udgiverens eget domæne
- Downloadlinket bruger HTTPS
- Der er offentliggjort en SHA256-hash, så du kan kontrollere filen:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· Åbn VirusTotal-rapporten for denne hash - Linket er ikke kontrolleret endnu
- Kildekoden er offentlig
- ExeAtlas hoster, indpakker eller ændrer ikke installationsfiler
Relateret vejledning: Sådan tjekker du en fils SHA256-hash i Windows
Nyeste versioner
Alle 1 versioner ›| Version | Dato | Størrelse | Filer |
|---|---|---|---|
| 0.3.2Nyeste | 16. oktober 2026 | — | 64-bit EXE (Inno Setup) |
Installér fra kommandolinjen
Lydløs installation ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Relateret vejledning: winget: installer og opdater programmer i Windows
Information
- Udgiver
- kbkkb
- Kategori
- VPN og proxy
- Licens
- MIT
- Pris
- Gratis
- Kræver
- Windows 11 / 10
- Arkitektur
- 64-bit
- Installationsfil
- EXE (Inno Setup)
- Version
- 0.3.2
- Udgivet
- 16. oktober 2026
- I kataloget siden
- 10. november 2026
- Registrerede versioner
- 1
- Downloads via ExeAtlas
- 1
- Websted
- github.com
- winget-id
- kbkkb.APISwitch
Bedømmelser og anmeldelser
Ingen anmeldelser endnu. Vær den første til at bedømme programmet.
Alternativer til APISwitch
Se alle ›-
Open source1,8 mio. ↓ -
Open source286,5 t ↓ -
Open source153,5 t ↓ -
Open source568,1 t ↓ -
Open source175,1 t ↓ -
Open source14,7 t ↓ -
Open source58,1 t ↓ -
Open source78 t ↓
Ofte stillede spørgsmål
Er APISwitch gratis?
Ja. APISwitch er open source-software under licensen MIT.
Er det sikkert at downloade APISwitch?
Filen kommer fra github.com, som tilhører udgiveren; ExeAtlas hoster eller ændrer den ikke. Sammenlign filens SHA256-hash med den, der vises her, eller åbn VirusTotal-rapporten for hashen.
Hvordan installerer jeg APISwitch med winget?
Åbn PowerShell eller Windows Terminal, og kør winget-kommandoen, der vises på denne side. winget downloader den officielle installationsfil og kontrollerer SHA256-hashen, før den køres.
Kan APISwitch installeres lydløst?
Ja. Siden om lydløs installation viser den præcise kommando for hver installationsfil.
Kører APISwitch på ARM (Windows on Arm)?
Der findes ingen ARM64-version; Windows 11 on Arm kan køre versionen til 64-bit via emulering.
Kan jeg bruge APISwitch uden administratorrettigheder?
Ja, der findes en installationsfil pr. bruger, som ikke kræver administratorrettigheder.
Hvilke alternativer findes der til APISwitch?
OpenVPN, nginx, Proton VPN, Tailscale og Netbird. Siden med alternativer sammenligner dem.