Users can continue using the Claude Code environment even if their Anthropic account is blocked. By utilizing a local LiteLLM proxy, the tool can be redirected to use ChatGPT models via an existing subscription instead of the Anthropic API.

The setup requires Docker and a specific configuration repository. The proxy acts as an intermediary, translating requests from Claude Code into a format compatible with ChatGPT's backend using the user's OAuth token, eliminating the need for an OpenAI API key.

The configuration includes a custom patch for LiteLLM to handle system messages correctly, as Claude Code transmits them in a format incompatible with standard ChatGPT routes. The proxy is restricted to local access on 127.0.0.1 to maintain security.

Users can resume previous sessions by running the provided script with the --resume flag. While local MCP servers and project hooks remain functional, some features requiring a direct claude.ai login will not work, and users are subject to OpenAI's usage limits.