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.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
- Accepts OpenAI-format requests at
http://localhost:3456/v1/chat/completions - Converts them to Claude Code CLI commands
- Returns responses in OpenAI format (streaming supported)
Getting started
1
Install the proxy
Requires Node.js 20+ and Claude Code CLI.
2
Start the server
3
Test the proxy
4
Configure Velaclaw
Point Velaclaw at the proxy as a custom OpenAI-compatible endpoint:
Available models
Advanced
Proxy-style OpenAI-compatible notes
Proxy-style OpenAI-compatible notes
This path uses the same proxy-style OpenAI-compatible route as other custom
/v1 backends:- Native OpenAI-only request shaping does not apply
- No
service_tier, no Responsesstore, no prompt-cache hints, and no OpenAI reasoning-compat payload shaping - Hidden Velaclaw attribution headers (
originator,version,User-Agent) are not injected on the proxy URL
Auto-start on macOS with LaunchAgent
Auto-start on macOS with LaunchAgent
Create a LaunchAgent to run the proxy automatically:
Links
- npm: https://www.npmjs.com/package/claude-max-api-proxy
- GitHub: https://github.com/atalovesyou/claude-max-api-proxy
- Issues: https://github.com/atalovesyou/claude-max-api-proxy/issues
Notes
- This is a community tool, not officially supported by Anthropic or Velaclaw
- 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
For native Anthropic integration with Claude CLI or API keys, see Anthropic provider. For OpenAI/Codex subscriptions, see OpenAI provider.
Related
Anthropic provider
Native Velaclaw integration with Claude CLI or API keys.
OpenAI provider
For OpenAI/Codex subscriptions.
Model providers
Overview of all providers, model refs, and failover behavior.
Configuration
Full config reference.