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.
Opis izdajatelja (angleščina)
Kaj je APISwitch?
APISwitch je odprtokoden program za Windows iz kategorije „VPN in posredniški strežniki“. Izdajatelj je kbkkb.
Namestitev in sistemske zahteve
Uradne namestitvene datoteke so na voljo za 64-bitno, v obliki EXE (Inno Setup). Namestiti ga je mogoče samo za trenutnega uporabnika, brez skrbniških pravic. Namestitvena datoteka podpira tiho namestitev brez sodelovanja uporabnika.
Prednosti / Slabosti
Prednosti
- Odprta koda: vsakdo jo lahko pregleda in sam prevede
- Dokumentirana tiha namestitev
- Namesti se brez skrbniških pravic
- Posodobljen v zadnjih dveh mesecih
Slabosti
- Ni izvorne različice ARM64
Na kratko: APISwitch je odprtokoden program za Windows (kategorija „VPN in posredniški strežniki“), na voljo za 64-bitno. Skrbniki ga lahko uvajajo brez sodelovanja uporabnika.
Je prenos programa APISwitch varen?
- Datoteka se prenese z domene izdajatelja (github.com)
- Povezava za prenos uporablja HTTPS
- Objavljena je zgoščena vrednost SHA256, zato je datoteko mogoče preveriti:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· Odpri poročilo VirusTotal za to zgoščeno vrednost - Povezava še ni bila preverjena
- Izvorna koda je javna
- ExeAtlas namestitvenih datotek ne gosti, ne ovija in ne spreminja
Povezan vodnik: Kako v sistemu Windows preveriti SHA256 datoteke
Najnovejše različice
Vse različice (1) ›| Različica | Datum | Velikost | Datoteke |
|---|---|---|---|
| 0.3.2Najnovejša | 16. oktober 2026 | — | 64-bitno EXE (Inno Setup) |
Namestitev iz ukazne vrstice
Tiha namestitev ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Povezan vodnik: Kako uporabljati winget: namestitev in posodobitve
Informacije
- Izdajatelj
- kbkkb
- Kategorija
- VPN in posredniški strežniki
- Licenca
- MIT
- Cena
- Brezplačno
- Zahteve
- Windows 11 / 10
- Arhitektura
- 64-bitno
- Namestitvena datoteka
- EXE (Inno Setup)
- Različica
- 0.3.2
- Izdano
- 16. oktober 2026
- Dodano v katalog
- 10. november 2026
- Število različic
- 1
- Prenosi na ExeAtlasu
- 1
- Spletna stran
- github.com
- ID winget
- kbkkb.APISwitch
Ocene in mnenja
Mnenj še ni. Lahko ste prvi, ki oceni program.
Alternative za program APISwitch
Prikaži vse ›-
Odprta koda1,8 mio. ↓ -
Odprta koda286,5 tis. ↓ -
Odprta koda153,5 tis. ↓ -
Odprta koda568,1 tis. ↓ -
Odprta koda175,1 tis. ↓ -
Odprta koda14,7 tis. ↓ -
Odprta koda58,1 tis. ↓ -
Odprta koda78 tis. ↓
Pogosta vprašanja
Je program APISwitch brezplačen?
Da. APISwitch je odprtokoden program (licenca MIT), ki ga je mogoče brezplačno prenesti in uporabljati.
Je prenos programa APISwitch varen?
Datoteka se prenese z domene github.com, ki pripada izdajatelju; ExeAtlas datoteke ne gosti in je ne spreminja. Zgoščeno vrednost SHA256 prenesene datoteke primerjajte s tisto na tej strani ali odprite poročilo VirusTotal za to vrednost.
Kako namestiti APISwitch z wingetom?
Odprite PowerShell ali Windows Terminal in zaženite ukaz winget s te strani. winget prenese uradno namestitveno datoteko in pred zagonom preveri njeno zgoščeno vrednost SHA256.
Ali je APISwitch mogoče namestiti tiho?
Da. Na strani o tihi namestitvi je natančen ukaz za vsako namestitveno datoteko.
Ali APISwitch deluje na procesorjih ARM (Windows on Arm)?
Različice ARM64 ni; Windows 11 on Arm lahko različico 64-bitno zažene z emulacijo.
Ali je program APISwitch mogoče uporabljati brez skrbniških pravic?
Da, na voljo je namestitvena datoteka za trenutnega uporabnika, ki ne potrebuje skrbniških pravic.
Katere so alternative za program APISwitch?
OpenVPN, nginx, Proton VPN, Tailscale in Netbird. Primerjava je na strani z alternativami.