Claude Max API Proxy — AI skill for Claude Code
Actively maintained fork that allows using Claude Code as a model provider via OpenAI compatible protocol.
How to install Claude Max API Proxy
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open wende/claude-max-api-proxy and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Max API Proxy does
Actively maintained fork that allows using Claude Code as a model provider via OpenAI compatible protocol.
Alternatives in AI
- Opencodex — Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama… 12.3k ★
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- Devo — Model-neutral agent desktop/runtime for private, enterprise, and OpenAI-compatible / Anthropic-compatible mode 316 ★
README
Claude Max API Proxy
Actively maintained fork of [atalovesyou/claude-max-api-proxy](https://github.com/atalovesyou/claude-max-api-proxy) with OpenClaw integration, improved streaming, and expanded model support.
**Use your existing Claude Code subscription (Pro, Max, or Team) with any OpenAI-compatible client — no separate API costs!**
This proxy wraps the Claude Code CLI as a subprocess and exposes an OpenAI-compatible HTTP API, allowing tools like OpenClaw, Continue.dev, or any OpenAI-compatible client to use your Claude subscription instead of paying per-API-call. It works with any subscription tier that Claude Code itself supports — Pro, Max, or Team — not just Max.
Why This Exists
| Approach | Cost | Limitation |
|---|---|---|
| Claude API | ~$15/M input, ~$75/M output tokens | Pay per use |
| Claude subscription (Pro/Max/Team) | Flat monthly fee | OAuth blocked for third-party API use |
| This Proxy | $0 extra (uses your existing subscription) | Routes through CLI |
Anthropic blocks OAuth tokens from being used directly with third-party API clients. However, the Claude Code CLI *can* use OAuth tokens from any subscription tier. This proxy bridges that gap by wrapping the CLI and exposing a standard API.
How It Works
Your App (OpenClaw, Continue.dev, etc.)
↓
HTTP Request (OpenAI format)
↓
Claude Max API Proxy (this project)
↓
Claude Code CLI (subprocess)
↓
OAuth Token (from your Claude Code subscription)
↓
Anthropic API
↓
Response → OpenAI format → Your App
Features
- OpenAI-compatible API — Works with any client that supports OpenAI's API format
- Streaming support — Real-time token streaming via Server-Sent Events
- Multiple models — Claude Opus, Sonnet, and Haiku with flexible model aliases
- OpenClaw integration — Automatic tool name mapping and system prompt adaptation
- Content block handling — Proper text bloc
Related Skills
Smart Switch
Multi-app model provider switcher: manage OpenAI/Anthropic-protocol providers (base URL + API key + models) an
Deterministic Agent Control Protocol
Governance gateway for AI agents — bounded, auditable, session-aware control with MCP proxy, shell proxy & HTT
Aigateway
Protocol-faithful, multi-provider AI gateway for OpenAI, Anthropic, Gemini, and OpenAI-compatible APIs — nativ
Req LLM Gateway
OpenAI-compatible LLM proxy with telemetry and multi-provider routing
Proxy Tool
TUI launcher and protocol-translating proxy that points CLI coding agents (Claude Code, Codex, Kimi Code) at a
Cmc Proxy
Reverse-proxy a GOAT/commandcode AI subscription to localhost for Claude Code & Codex — OpenAI/Anthropic/Respo
Related Agents
Lmstudio Local
A locally-hosted model served through LM Studio's OpenAI-compatible API,
Provider Debugger
Diagnose live-provider compatibility failures for Kimi, GLM, and other OpenAI-compatible endpoints
Openrouter Agent
Runs a model from any of ~60 vendors through OpenRouter's OpenAI-compatible endpoint, billed per token against