Skip to content
Yoink

Claude Code account switchers compared

Last checked . Spotted something out of date? Open an issue.

Several open source tools switch Claude Code accounts, and they split along two lines: switchers built around Claude Code usage and rotation (claude-swap, and clauth, which also handles Codex), and tools that cover more vendors and API-key providers. yoink is in the second group. This page compares six of them from their own READMEs.

On this page

What every switcher has to change

Claude Code keeps one login per machine, in two places: a credential blob (the Claude Code-credentials Keychain entry on macOS, or ~/.claude/.credentials.json on Linux and Windows) and an oauthAccount identity block in ~/.claude.json. A switcher either swaps both of those for you, or gives each account its own config directory so nothing has to be swapped. yoink's docs recommend restarting Claude Code after a switch, and How it works walks through the swap that yoink does. Some switchers, such as claude-swap and CCSwitcher, document that a running session picks up the new login on its own.

Without a switcher

You can keep accounts apart by hand: give each one its own config directory and set CLAUDE_CONFIG_DIR in the shell that runs it. That costs nothing to install. The price is bookkeeping: one directory per account, a shell alias per directory, and settings you have to keep in step yourself. Some of the tools below automate exactly that pattern, while others swap a single login in place.

The tools side by side

ToolKindPlatformsOther tools' loginsAPI keys into other agentsUsage displayAutomatic switchingLicense
claude-swapPython CLI and TUI, optional macOS menu barWindows, macOS, Linux and WSLNoNot documentedYesYesMIT
clauthRust CLI and TUILinux, macOS, Windows through Git Bash or MSYS2Yes (Codex)Not documentedYesYesMIT
swapdexRust CLI with a shim and a local proxyLinux, WSL, macOSYes (Codex, Gemini CLI, Antigravity)Not documentedYesNoMIT
Claude SwitchermacOS menu bar appmacOS 12 or laterYes (Codex)Not documentedYesYesMIT
CCSwitcherNative SwiftUI menu bar appmacOS 14 or laterNot documentedNot documentedYesNot documentedNot documented
yoinkCLI plus a macOS menu bar appmacOS, Linux, Windows (app: macOS 12 or later)Yes (Codex, Kimi Code, Gemini, Copilot)Yes (13 harnesses)NoNoMIT

Every cell comes from the linked README on the date at the top of this page. "Not documented" means the README does not say, not that the feature is missing. Two notes the table cannot hold: swapdex describes itself as "a hint, not a quota-dodging auto-rotator", and offers proxy failover only when you configure it. Claude Switcher's automatic switching is off by default and triggers at 100% of a window.

Pick by situation

  • You only use Claude Code and want limits handled for you. claude-swap and clauth both show 5-hour and 7-day usage and switch on their own near a limit. clauth adds parallel isolated sessions; claude-swap adds cswap run for a second account in one terminal. See yoink vs claude-swap and yoink vs clauth.
  • You want each account in its own directory, never copied. swapdex keeps a permanent login directory per Claude Code or Codex account and routes requests through a local proxy.
  • You want a Mac menu bar with usage at a glance. CCSwitcher and Claude Switcher both show usage in the menu bar; Claude Switcher also switches Codex.
  • You use several vendors, or API keys in several agents. yoink switches Claude Code, ChatGPT (Codex), Kimi Code, Gemini and GitHub Copilot logins from one CLI, and writes API-key providers into 13 coding harnesses. It shows no usage and never switches on its own.

Where CC Switch and Claude Code Router fit

CC Switch often comes up in the same searches, but it solves a neighbouring problem: it is a desktop app that switches API providers across ten coding tools, with a local routing proxy, MCP, skills and prompts management, and a usage dashboard. Its README does not describe saving several Claude Code subscription logins, so it is not in the table above. yoink vs CC Switch compares the provider side.

Claude Code Router is a local gateway: coding agents send requests to it, and it routes each one to a provider. Its README does not describe switching subscription logins either. yoink vs Claude Code Router covers the gateway versus native config trade.

FAQ

Which Claude Code account switchers run on Windows?

Of the tools above, claude-swap and yoink list native Windows support, and clauth runs on Windows through Git Bash or MSYS2. swapdex lists Linux, WSL and macOS. Claude Switcher and CCSwitcher are macOS menu bar apps.

Which switchers show Claude Code usage limits?

claude-swap, clauth, swapdex, Claude Switcher and CCSwitcher all show usage in some form, most as 5-hour and 7-day windows. yoink does not show usage or quotas.

  • Switch between Claude Code accounts

    Keep a work and a personal Claude Code account and switch in one command. yoink swaps the Keychain entry or .credentials.json and the oauthAccount block.

  • How it works

    How yoink switches Claude Code accounts: the Keychain entry or .credentials.json, the oauthAccount block in ~/.claude.json, and the re-snapshot step first.

  • yoink vs claude-swap

    claude-swap is a Claude-only switcher with usage tracking and auto-rotation. yoink adds Codex, Kimi, Gemini and Copilot logins and providers in 13 agents.

  • yoink vs CC Switch

    CC Switch is a GUI-first desktop app with a routing proxy and many presets. yoink is a terminal-first CLI that writes native configs for 13 coding agents.

  • yoink vs clauth

    clauth is a deep Claude Code account manager with usage bars, auto-switch and parallel sessions. yoink is broader: five vendors' logins plus API keys.

  • yoink vs Claude Code Router

    Claude Code Router is a local gateway that routes agents' requests to the providers you pick. yoink writes provider keys into each agent's config instead.