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.
คำอธิบายจากผู้เผยแพร่ (อังกฤษ)
APISwitch คือโปรแกรมอะไร
APISwitch เป็นโปรแกรมโอเพนซอร์สสำหรับ Windows ในหมวด VPN และพร็อกซี เผยแพร่โดย kbkkb
การติดตั้งและความต้องการของระบบ
มีตัวติดตั้งทางการสำหรับ Windows 64 บิต ในรูปแบบ EXE (Inno Setup) ติดตั้งเฉพาะผู้ใช้ปัจจุบันได้โดยไม่ต้องใช้สิทธิ์ผู้ดูแลระบบ ตัวติดตั้งรองรับการติดตั้งแบบเงียบ (silent install) โดยไม่ต้องตอบคำถามใด ๆ
ข้อดี / ข้อเสีย
ข้อดี
- โอเพนซอร์ส ใครก็ตรวจสอบและคอมไพล์โค้ดเองได้
- มีเอกสารวิธีติดตั้งแบบเงียบ
- ติดตั้งได้โดยไม่ต้องใช้สิทธิ์ผู้ดูแลระบบ
- มีการอัปเดตในช่วงสองเดือนที่ผ่านมา
ข้อเสีย
- ไม่มีเวอร์ชัน ARM64 แบบเนทีฟ
สรุปสั้น ๆ: APISwitch เป็นเครื่องมือโอเพนซอร์สในหมวด VPN และพร็อกซี สำหรับพีซี 64 บิต ผู้ดูแลระบบสามารถติดตั้งแบบอัตโนมัติโดยไม่ต้องมีผู้ใช้โต้ตอบ
ดาวน์โหลด APISwitch ปลอดภัยไหม
- ไฟล์ให้บริการจาก github.com ซึ่งเป็นโดเมนของผู้เผยแพร่เอง
- ลิงก์ดาวน์โหลดใช้ HTTPS
- มีค่าแฮช SHA256 เผยแพร่ไว้ จึงตรวจสอบไฟล์ได้:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· เปิดรายงาน VirusTotal ของค่าแฮชนี้ - ยังไม่ได้ตรวจสอบลิงก์
- ซอร์สโค้ดเปิดเผยต่อสาธารณะ
- ExeAtlas ไม่เก็บ ไม่ห่อหุ้ม และไม่แก้ไขตัวติดตั้ง
คู่มือที่เกี่ยวข้อง: วิธีตรวจค่าแฮช SHA256 ของไฟล์บน Windows
เวอร์ชันล่าสุด
ทั้งหมด 1 เวอร์ชัน ›| เวอร์ชัน | วันที่ | ขนาด | ไฟล์ |
|---|---|---|---|
| 0.3.2ล่าสุด | 16 ตุลาคม 2569 | — | 64 บิต EXE (Inno Setup) |
ติดตั้งผ่านบรรทัดคำสั่ง
ติดตั้งแบบเงียบ ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-คู่มือที่เกี่ยวข้อง: วิธีใช้ winget ติดตั้งและอัปเดตโปรแกรม
ข้อมูล
- ผู้เผยแพร่
- kbkkb
- หมวดหมู่
- VPN และพร็อกซี
- สัญญาอนุญาต
- MIT
- ราคา
- ฟรี
- ระบบที่ต้องการ
- Windows 11 / 10
- สถาปัตยกรรม
- 64 บิต
- ตัวติดตั้ง
- EXE (Inno Setup)
- เวอร์ชัน
- 0.3.2
- วันที่เผยแพร่
- 16 ตุลาคม 2569
- เพิ่มเข้าแค็ตตาล็อก
- 10 พฤศจิกายน 2569
- จำนวนเวอร์ชันในรายการ
- 1
- ยอดดาวน์โหลดบน ExeAtlas
- 1
- เว็บไซต์
- github.com
- winget ID
- kbkkb.APISwitch
คะแนนและรีวิว
ยังไม่มีรีวิว ร่วมให้คะแนนเป็นคนแรก
โปรแกรมทดแทน APISwitch
ดูทั้งหมด ›-
โอเพนซอร์ส1.8M ↓ -
โอเพนซอร์ส286.5K ↓ -
โอเพนซอร์ส153.5K ↓ -
โอเพนซอร์ส568.1K ↓ -
โอเพนซอร์ส175.1K ↓ -
โอเพนซอร์ส14.7K ↓ -
โอเพนซอร์ส58.1K ↓ -
โอเพนซอร์ส78K ↓
คำถามที่พบบ่อย
APISwitch ใช้ฟรีไหม
ฟรี APISwitch เป็นซอฟต์แวร์โอเพนซอร์ส ภายใต้สัญญาอนุญาต MIT
ดาวน์โหลด APISwitch ปลอดภัยไหม
ไฟล์ดาวน์โหลดมาจาก github.com ซึ่งเป็นของผู้เผยแพร่เอง ExeAtlas ไม่ได้เก็บหรือแก้ไขไฟล์นี้ คุณสามารถเทียบค่าแฮช SHA256 ของไฟล์กับค่าที่แสดงในหน้านี้ หรือเปิดรายงาน VirusTotal ของค่าแฮชนั้นได้
ติดตั้ง APISwitch ด้วย winget อย่างไร
เปิด PowerShell หรือ Windows Terminal แล้วรันคำสั่ง winget ที่แสดงในหน้านี้ winget จะดาวน์โหลดตัวติดตั้งทางการและตรวจสอบค่าแฮช SHA256 ก่อนเริ่มติดตั้ง
APISwitch ติดตั้งแบบเงียบได้ไหม
ได้ หน้าติดตั้งแบบเงียบมีคำสั่งที่ถูกต้องสำหรับตัวติดตั้งแต่ละแบบ
APISwitch ใช้บน ARM (Windows on Arm) ได้ไหม
ไม่มีเวอร์ชัน ARM64 แต่ Windows 11 on Arm สามารถรันเวอร์ชัน 64 บิต ผ่านการจำลองได้
ใช้ APISwitch โดยไม่มีสิทธิ์ผู้ดูแลระบบได้ไหม
ได้ มีตัวติดตั้งสำหรับผู้ใช้รายบุคคลที่ไม่ต้องใช้สิทธิ์ผู้ดูแลระบบ
มีโปรแกรมอะไรที่ใช้แทน APISwitch ได้บ้าง
OpenVPN, nginx, Proton VPN, Tailscale และ Netbird ดูการเปรียบเทียบได้ในหน้าโปรแกรมทดแทน