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.
Lýsing útgefanda (enska)
Hvað er APISwitch?
Forritið APISwitch er opinn hugbúnaður fyrir Windows í flokknum VPN og milliþjónar. Útgefandi: kbkkb.
Uppsetning og kröfur
Opinber uppsetningarforrit eru til fyrir 64 bita á sniðinu EXE (Inno Setup). Hægt er að setja það upp fyrir núverandi notanda eingöngu, án stjórnandaréttinda. Uppsetningarforritið styður uppsetningu án inngrips (hljóðláta uppsetningu).
Kostir / Gallar
Kostir
- Opinn hugbúnaður: hver sem er getur skoðað kóðann og byggt hann
- Skjalfest hljóðlát uppsetning
- Uppsetning án stjórnandaréttinda
- Uppfært síðustu tvo mánuði
Gallar
- Engin sérstök ARM64-útgáfa
Í stuttu máli: Forritið APISwitch er opinn hugbúnaður í flokknum VPN og milliþjónar fyrir Windows (64 bita). Kerfisstjórar geta dreift því án inngrips.
Er óhætt að sækja forritið APISwitch?
- Skráin kemur frá github.com, léni útgefandans sjálfs
- Niðurhalstengillinn notar HTTPS
- SHA256-gildi er birt, svo hægt er að sannreyna skrána:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· Opna skýrslu VirusTotal fyrir þetta gildi - Tengillinn hefur ekki verið prófaður enn
- Grunnkóðinn er opinn
- ExeAtlas hýsir hvorki, pakkar inn né breytir uppsetningarforritum
Tengdar leiðbeiningar: Hvernig á að athuga SHA256-gildi skráar í Windows
Nýlegar útgáfur
Allar 1 útgáfurnar ›| Útgáfa | Dagsetning | Stærð | Skrár |
|---|---|---|---|
| 0.3.2Nýjast | 16. október 2026 | — | 64 bita EXE (Inno Setup) |
Uppsetning af skipanalínu
Hljóðlát uppsetning ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Tengdar leiðbeiningar: Hvernig á að nota winget: setja upp og uppfæra forrit
Upplýsingar
- Útgefandi
- kbkkb
- Flokkur
- VPN og milliþjónar
- Leyfi
- MIT
- Verð
- Ókeypis
- Kröfur
- Windows 11 / 10
- Högun
- 64 bita
- Uppsetningarforrit
- EXE (Inno Setup)
- Útgáfa
- 0.3.2
- Gefið út
- 16. október 2026
- Bætt í skrána
- 10. nóvember 2026
- Skráðar útgáfur
- 1
- Niðurhöl á ExeAtlas
- 1
- Vefsíða
- github.com
- winget-auðkenni
- kbkkb.APISwitch
Einkunnir og umsagnir
Engar umsagnir enn. Gefðu fyrstu einkunnina.
Valkostir í stað forritsins APISwitch
Sjá allt ›-
Opinn hugbúnaður1,8 m. ↓ -
Opinn hugbúnaður286,5 þ. ↓ -
Opinn hugbúnaður153,5 þ. ↓ -
Opinn hugbúnaður568,1 þ. ↓ -
Opinn hugbúnaður175,1 þ. ↓ -
Opinn hugbúnaður14,7 þ. ↓ -
Opinn hugbúnaður58,1 þ. ↓ -
Opinn hugbúnaður78 þ. ↓
Algengar spurningar
Er APISwitch ókeypis?
Já. Forritið APISwitch er opinn hugbúnaður með leyfinu MIT.
Er óhætt að sækja forritið APISwitch?
Niðurhalið kemur frá github.com, sem er í eigu útgefandans; ExeAtlas hýsir hvorki né breytir skránni. Berið SHA256-gildi hennar saman við gildið sem hér er sýnt, eða opnið skýrslu VirusTotal fyrir það gildi.
Hvernig er APISwitch sett upp með winget?
Opnið PowerShell eða Windows Terminal og keyrið winget-skipunina á þessari síðu. winget sækir opinbera uppsetningarforritið og athugar SHA256-gildi þess áður en það er keyrt.
Er hægt að setja APISwitch upp hljóðlaust?
Já. Síðan um hljóðláta uppsetningu sýnir nákvæma skipun fyrir hvert uppsetningarforrit.
Keyrir APISwitch á ARM (Windows on Arm)?
Engin ARM64-útgáfa er til; Windows 11 on Arm getur keyrt 64 bita útgáfuna með hermun.
Er hægt að nota APISwitch án stjórnandaréttinda?
Já, það er til uppsetningarforrit fyrir einn notanda sem þarf ekki stjórnandaréttindi.
Hvaða forrit koma í stað forritsins APISwitch?
OpenVPN, nginx, Proton VPN, Tailscale og Netbird. Síðan um valkosti ber þau saman.