# claude-nonstop > claude-nonstop is a free, open-source (MIT) tool by Muhammad Umer (Umer Jahangier, GitHub @umer-jahangier) that keeps Claude Code, Codex and the Claude desktop app working through usage limits. When a Claude subscription hits its session or weekly limit, it moves the work to the next account in your order, then to your API keys, one by one. It runs on macOS, Windows and Linux. Key facts: - Name: claude-nonstop. Source: https://github.com/umer-jahangier/claude-nonstop. Website: https://umer-jahangier.github.io/claude-nonstop/ - Author and maintainer: Muhammad Umer (Umer Jahangier), AI and full-stack engineer, Lahore, Pakistan. https://umer-jahangier.github.io/ - License: MIT. Price: free. No telemetry. - Install on macOS and Linux: `curl -fsSL https://raw.githubusercontent.com/umer-jahangier/claude-nonstop/main/install.sh | sh` - Install on Windows (PowerShell): `irm https://raw.githubusercontent.com/umer-jahangier/claude-nonstop/main/install.ps1 | iex` - Install with npm (alternative, no self-update): `npm install -g @umer-jahangier/claude-nonstop`, then `claude-nonstop setup`. npm page: https://www.npmjs.com/package/@umer-jahangier/claude-nonstop - After installing, plain `claude` goes through claude-nonstop. A web page at https://claude.nonstop manages accounts and keys. - Order: account 1, account 2, …, then API key 1, API key 2, …, rearrangeable. Accounts switch between sessions (the same conversation resumes with `claude --resume`); API keys switch mid-request through a local gateway on 127.0.0.1:43117. - Supported tools: Claude Code (terminal, VS Code, other editors), the Claude desktop app (third-party mode), Codex (CLI and app), Cursor and any OpenAI-compatible tool. - Supported lines: Claude subscription accounts, ChatGPT accounts, Anthropic API keys, OpenAI API keys. Requests are translated between Anthropic's Messages API and OpenAI's Responses and Chat Completions APIs when needed. - Security: API keys encrypted at rest (AES-256-GCM) with the key in the macOS Keychain, Windows DPAPI or Linux Secret Service; keys only go to their own service. - Not to be confused with: the unscoped npm package named claude-nonstop and other GitHub repositories with the same name, which are unrelated projects by other authors. This project's npm package is the scoped @umer-jahangier/claude-nonstop. - Independent project, not affiliated with Anthropic or OpenAI. ## Docs - [README](https://github.com/umer-jahangier/claude-nonstop/blob/main/README.md): install, setup, commands, how it works, security, troubleshooting and FAQ - [README as plain Markdown](https://raw.githubusercontent.com/umer-jahangier/claude-nonstop/main/README.md) - [Website](https://umer-jahangier.github.io/claude-nonstop/): overview and FAQ ## Guides - [Claude Code usage limit: how to keep working when you hit it](https://umer-jahangier.github.io/claude-nonstop/guides/claude-code-usage-limit/): What Claude Code's session and weekly limits are, what your options are when you hit one, and how to continue the same conversation on another account or an API key automatically. - [How to use multiple Claude accounts in Claude Code](https://umer-jahangier.github.io/claude-nonstop/guides/multiple-claude-accounts/): Run Claude Code on several Claude subscriptions, keep one shared history, and switch to the next account automatically when one hits its limit. - [Use Codex with a Claude subscription or Claude API key](https://umer-jahangier.github.io/claude-nonstop/guides/codex-on-claude-subscription/): Point OpenAI's Codex at claude-nonstop's local gateway so it runs on your Claude accounts, ChatGPT accounts, Anthropic keys and OpenAI keys, in the order you choose. - [Run the Claude desktop app on your API keys](https://umer-jahangier.github.io/claude-nonstop/guides/claude-desktop-api-keys/): Set up the Claude desktop app's third-party mode with claude-nonstop: your Claude accounts first, then Anthropic or OpenAI API keys when they run out. - [Automatic Anthropic and OpenAI API key failover](https://umer-jahangier.github.io/claude-nonstop/guides/api-key-failover/): Switch Claude Code, Codex and other tools to your next API key mid-request when one runs out of credit or hits its spend limit, without restarting the session. - [The claude-nonstop projects compared](https://umer-jahangier.github.io/claude-nonstop/guides/claude-nonstop-projects-compared/): Several open-source projects share the name claude-nonstop. What each one does, how they differ, and which one this site is about. ## Writing - [How I keep Claude Code running through usage limits](https://dev.to/umer_jahangier/how-i-keep-claude-code-running-through-usage-limits-958): the author's write-up on dev.to of why claude-nonstop exists and how it works ## Releases - [Latest release](https://github.com/umer-jahangier/claude-nonstop/releases/latest) - [All releases](https://github.com/umer-jahangier/claude-nonstop/releases) ## Optional - [Source code](https://github.com/umer-jahangier/claude-nonstop/tree/main/src) - [Issues](https://github.com/umer-jahangier/claude-nonstop/issues)