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.
Yayıncının açıklaması (İngilizce)
APISwitch nedir?
APISwitch, kbkkb tarafından yayımlanan açık kaynaklı bir Windows programıdır (vpn ve proxy).
Kurulum ve gereksinimler
Resmî kurulum dosyaları 64 bit Windows için EXE (Inno Setup) biçiminde sunuluyor. Yönetici izni olmadan yalnızca geçerli kullanıcı için kurulabilir. Kurulum dosyası soru sormadan (sessiz) kurulumu destekliyor.
Artılar / Eksiler
Artılar
- Açık kaynak: kodu herkes inceleyebilir ve derleyebilir
- Belgelenmiş sessiz kurulum
- Yönetici izni olmadan kurulabilir
- Son iki ayda güncellendi
Eksiler
- Yerel ARM64 sürümü yok
Kısaca: APISwitch, 64 bit bilgisayarlar için açık kaynaklı bir vpn ve proxy aracı. Sistem yöneticileri soru sormadan dağıtabilir.
APISwitch indirmek güvenli mi?
- Dosya yayıncının kendi alan adından (github.com) geliyor
- İndirme bağlantısı HTTPS kullanıyor
- SHA256 değeri yayımlanmış; dosyayı doğrulayabilirsiniz:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· Bu hash için VirusTotal raporunu açın - Bağlantı henüz kontrol edilmedi
- Kaynak kodu herkese açık
- ExeAtlas kurulum dosyalarını barındırmaz, sarmalamaz, değiştirmez
İlgili rehber: Windows’ta bir dosyanın SHA256 özeti nasıl doğrulanır
Son sürümler
1 sürümün tümü ›| Sürüm | Tarih | Boyut | Dosyalar |
|---|---|---|---|
| 0.3.2Güncel | 16 Ekim 2026 | — | 64 bit EXE (Inno Setup) |
Komut satırından kurulum
Sessiz kurulum ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-İlgili rehber: winget nasıl kullanılır: program kurma ve güncelleme
Bilgiler
- Yayıncı
- kbkkb
- Kategori
- VPN ve proxy
- Lisans
- MIT
- Fiyat
- Ücretsiz
- Gereksinim
- Windows 11 / 10
- Mimari
- 64 bit
- Kurulum türü
- EXE (Inno Setup)
- Sürüm
- 0.3.2
- Çıkış tarihi
- 16 Ekim 2026
- Kataloğa eklenme
- 10 Kasım 2026
- Kayıtlı sürüm
- 1
- ExeAtlas üzerinden indirme
- 1
- Resmî site
- github.com
- winget kimliği
- kbkkb.APISwitch
Puanlar ve yorumlar
Henüz yorum yok. İlk puanı siz verin.
APISwitch alternatifleri
Tümünü gör ›-
Açık kaynak1,8 Mn ↓ -
Açık kaynak286,5 B ↓ -
Açık kaynak153,5 B ↓ -
Açık kaynak568,1 B ↓ -
Açık kaynak175,1 B ↓ -
Açık kaynak14,7 B ↓ -
Açık kaynak58,1 B ↓ -
Açık kaynak78 B ↓
Sıkça sorulan sorular
APISwitch ücretsiz mi?
Evet. APISwitch açık kaynaklı bir programdır (MIT lisansı).
APISwitch indirmek güvenli mi?
İndirme github.com adresinden gelir; bu adres yayıncıya ait. ExeAtlas dosyayı barındırmaz ve değiştirmez. İndirdiğiniz dosyanın SHA256 değerini burada gösterilenle karşılaştırabilir ya da bu hash için VirusTotal raporunu açabilirsiniz.
APISwitch winget ile nasıl kurulur?
PowerShell ya da Windows Terminal açıp bu sayfadaki winget komutunu çalıştırın. winget resmî kurulum dosyasını indirir ve çalıştırmadan önce SHA256 değerini doğrular.
APISwitch sessiz kurulabilir mi?
Evet. Sessiz kurulum sayfasında her kurulum dosyası için tam komut var.
APISwitch ARM işlemcide (Windows on Arm) çalışır mı?
ARM64 sürümü yok; Windows 11 on Arm, 64 bit sürümünü öykünmeyle çalıştırabilir.
APISwitch yönetici izni olmadan kullanılabilir mi?
Evet, yönetici izni istemeyen kullanıcı başına kurulum dosyası var.
APISwitch alternatifleri nelerdir?
OpenVPN, nginx, Proton VPN, Tailscale ve Netbird. Alternatifler sayfası bunları karşılaştırıyor.