← Switch

How Switch worksAlpha

Switch puts all your AI accounts in one place on your Mac, and gives every coding tool on it one endpoint that uses them.

A short tour: adding accounts, connecting an app and reading usage. The accounts in it are made up.

Switch is an internal tool. We built it at Darkmatter for our own team, and it is how we use AI at work: each of us connects our subscriptions and keys once, and Claude Code, Codex and the rest of our tools run on whichever account has room. We’re sharing it as it is. It is alpha software, made for the way we work, and we don’t offer support. Read the terms before you use it.

Install

Switch runs on Macs with Apple silicon. It isn’t available for Intel Macs yet.

  1. Download Switch.
  2. Open the download and move Switch into your Applications folder.
  3. Open it. It is signed by Darkmatter Labs and notarized by Apple, so macOS doesn’t block it. The first time, macOS asks whether to open an app downloaded from the internet; choose Open.

Switch lives in the menu bar. Click its icon to see whether it’s running, what it served in the last day and how much each account has left. Choose Open Switch for the window. Closing the window keeps Switch running; Quit Switch stops it. Open Switch at login, in the same menu, starts it each time you log in.

To update, download Switch again and replace the copy in Applications. Your accounts, keys, settings and history stay.

Add your accounts

In the window, choose Add account and pick a provider. You can add several accounts for the same provider.

The switch beside an account pauses or resumes it. Remove account…, in the account’s menu, deletes it from your Mac. It doesn’t sign you out at the provider; do that in your account settings there.

Connect your apps

Connect lists every app Switch can set up, each with a menu of every model your accounts can reach, so any app can run on a model from any provider.

If an app is already open, Switch asks you to reopen it. For the Claude and Codex desktop apps, Undo appears beside the confirmation and puts back the setup they had before, if they had one.

Any other tool that lets you set an OpenAI-compatible base URL works too. Copy the base URL and the key from Connect into its settings. The address answers only on your Mac, unless you turn on the hub below, and every request needs that key. Copy setup prompt gives Claude Code or Codex instructions to find your other tools and set them up for you.

Some apps send requests from their own servers, such as Cursor’s built-in chat. Those can’t reach an address on your Mac, so they can’t use Switch.

How requests are routed

When a request comes in, Switch picks an account that can serve the model you asked for. Requests are spread across your accounts, and a conversation stays on the same account while it can. Paused accounts are skipped. API keys are billed per token, so Switch uses them only when no signed-in account can answer.

Usage and limits

Usage shows how much each Claude and ChatGPT account has left, as the provider reports it, including what you used outside Switch. Click an account for its reset times and model-specific limits. Switch sends a notification when an account is down to 20%, 5% or nothing left; turn this off with Low allowance alerts in the menu bar.

Below the accounts, Switch shows what went through it: requests, failures, tokens, speed, and a chart by day and account for the last 24 hours, 7, 30 or 90 days. It estimates what those tokens would cost at each provider’s list price. These are estimates, not your bill. Set your own price under Model prices for models without a public one.

Traces

Traces can record each conversation that goes through Switch, for debugging or to build training data. It is off until you turn it on. Recordings stay on your Mac. Export them as JSONL, or delete them all, from the same tab. Switch removes keys and common token patterns from recordings, but they hold your prompts and answers, so read them before you share them.

Your other machines

Under Hub, you can let your other devices use the accounts on this Mac. Turn the hub on, and it becomes reachable from your Tailscale network only. Add a key for each device under Hub settings, then use the hub’s address and that key like any other endpoint. Removing a key cuts that device off without changing the others. Sign-ins and API keys stay on this Mac. With Traces on, conversations from those devices are recorded on this Mac too.

Many providers don’t allow you to share an account, subscription or key with other people. Check their terms before you give anyone else a key.

Your data

Switch keeps your accounts, keys, settings and history in ~/.switch on your Mac, readable only by you. Switch doesn’t encrypt these files itself, so your Mac’s login and disk encryption protect them. Switch sends requests to the providers you connect, to machines you set up yourself, and to models.dev for prices. It sends nothing about your accounts, keys, prompts or answers to Darkmatter.

If something goes wrong

Uninstall

  1. Put back any app you set up to use Switch. The Codex app and command line use Switch until you do: copy ~/.codex/config.toml.before-switch back over ~/.codex/config.toml, or, if there is no such file, remove the switch provider from config.toml. In the Claude app, choose another inference provider. Point any other tool you set up by hand back at its own provider.
  2. Turn off Open Switch at login in the menu bar, choose Quit Switch, then delete Switch from Applications.
  3. To remove your accounts, keys, history and traces, delete ~/.switch. Switch also leaves ~/Library/Application Support/drkm-switch, ~/Library/LaunchAgents/ai.drkm.switch.login.plist and, if you added Cursor, ~/Library/Caches/cli-proxy-api/auth-cursor-bridge, which can hold conversations.

Terms · © 2026 Darkmatter Labs, Inc.