Skip to main content

Claude Max API Proxy

claude-max-api-proxy is a community tool that exposes your Claude Max/Pro subscription as an OpenAI-compatible API endpoint. This allows you to use your subscription with any tool that supports the OpenAI API format.
This path is technical compatibility only. Anthropic has blocked some subscription usage outside Claude Code in the past. You must decide for yourself whether to use it and verify Anthropic’s current terms before relying on it.

Why Use This?

If you have a Claude Max subscription and want to use it with OpenAI-compatible tools, this proxy may reduce cost for some workflows. API keys remain the clearer policy path for production use.

How It Works

The proxy:
  1. Accepts OpenAI-format requests at http://localhost:3456/v1/chat/completions
  2. Converts them to Claude Code CLI commands
  3. Returns responses in OpenAI format (streaming supported)

Installation

Usage

Start the server

Test it

With OpenClaw

You can point OpenClaw at the proxy as a custom OpenAI-compatible endpoint:

Available Models

Auto-Start on macOS

Create a LaunchAgent to run the proxy automatically:

Notes

  • This is a community tool, not officially supported by Anthropic or OpenClaw
  • Requires an active Claude Max/Pro subscription with Claude Code CLI authenticated
  • The proxy runs locally and does not send data to any third-party servers
  • Streaming responses are fully supported

See Also