Skip to main content

SwitchX Pro ⚡

Universal AI Subscription Account Switcher & Rolling Quota Router for Claude Code, Google Antigravity, Cursor, and GitHub Copilot/Codex.

License Rust Open VSX

SwitchX Pro Logo


Why SwitchX?

Existing account switchers (like venomchampion/antigravity-account-switcher) are locked into a single VS Code webview, crash during heavy polling, and only handle Google Antigravity.

Developers pay for Claude Pro/Team ($20/mo), GitHub Copilot ($10-$20/mo), and Google Antigravity/Gemini subscriptions. When you hit rate limits, logging out and doing browser OAuth takes several minutes and disrupts your workflow.

SwitchX is an ultra-fast, cross-platform engine written in Rust with native editor and CLI integration:

  • 🚀 <10ms Instant Session Swapping via DPAPI and atomic filesystem profiles.
  • ⏱️ Dual Rolling Window Quota Engine: Tracks the 5-Hour sprint window and 7-Day marathon limit with live second-by-second countdowns.
  • ⚡ Auto-Failover (auto-next): Automatically detects exhausted capacity and routes your active session to the alt account with the highest quota.
  • 💻 Cross-Tool Runner: Run CLIs isolated with specific profiles: switchx run claude work -- claude.
  • 🎨 Sleek Extension Webview: Modern dark glassmorphism dashboard in the Activity Bar.

Supported Developer Tools

Tool / CLI Supported Auth Model Auto-Failover
Claude Code CLI (claude) Anthropic Web OAuth & Subscription Profiles ✅ Yes
Google Antigravity Standalone IDE Google OAuth Sessions (state.vscdb) ✅ Yes
Cursor & Windsurf IDE Cursor Machine & User Sessions ✅ Yes
GitHub Copilot & Codex GitHub OAuth Multi-Tenant (hosts.json) ✅ Yes

Installation

Via Cargo

cargo install switchx

Via NPX

npx switchx status

Via Open-VSX / VS Code

Search for SwitchX Pro in Open VSX or install the .vsix package.


CLI Usage

# Register subscription accounts
switchx add claude work --email "work@corp.com"
switchx add claude personal --email "me@gmail.com"
switchx add antigravity primary --email "dev@gmail.com"

# View status matrix and quota countdowns
switchx status

# Switch account manually
switchx switch claude work

# Auto-switch to the account with maximum quota
switchx auto-next claude

# Run Claude Code isolated with work profile
switchx run claude work -- claude

License

MIT OR Apache-2.0

Metadata

Release files for switchx-pro 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for switchx-pro 1.0.1
File Size Uploaded Provenance Actions
switchx_pro-1.0.1.tar.gz 3.3 kB Without provenance Details for switchx_pro-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for switchx-pro 1.0.1
File Interpreter ABI Platform Actions
switchx_pro-1.0.1-py3-none-any.whl Python 3 none any Details for switchx_pro-1.0.1-py3-none-any.whl

Total release size: 6.9 kB

Release files / switchx_pro-1.0.1.tar.gz

Download URL switchx_pro-1.0.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1e8a96823afe116c8266f3ed63400601678f8095f8df3b60528ae6cd75c6ed02
BLAKE2b-256 checksum
How to use checksums
c0eb2237595bc888dbc637dbc40ac2235266daba0a7d0b9f74beea8d322b9deb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / switchx_pro-1.0.1-py3-none-any.whl

Download URL switchx_pro-1.0.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7c054ee10089b3372148852748ec7b9052a7d396f04f01847a772fa0f86c401
BLAKE2b-256 checksum
How to use checksums
0e9ae89691d797ac477dc36cfaa9b5c5d5d90a1a3606436397a92571065d8995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for switchx-pro 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page