通过现有的 Pro/Max 订阅使用 OpenAI 兼容 API 运行 Claude Opus 4.6

📄 中文摘要

使用 openclaw-claude-proxy(ocp),用户可以在本地通过标准的 OpenAI 兼容接口访问 Claude Pro 或 Claude Max 的功能,而无需额外支付每个 token 的费用。该工具是一个零依赖、单文件的 Node.js 代理,能够在 localhost:3456 上暴露 /v1/chat/completions 端点,并通过用户现有的 OAuth 会话将请求路由到 Claude CLI。它兼容 LangChain、Open WebUI、LlamaIndex、Cursor 等应用,提供了一个经济高效的解决方案,充分利用用户的订阅价值。

📄 English Summary

Run Claude Opus 4.6 via OpenAI-compatible API using your existing Pro/Max subscription

The openclaw-claude-proxy (ocp) allows users to access the functionalities of Claude Pro or Claude Max locally via a standard OpenAI-compatible API without incurring additional per-token costs. This tool is a zero-dependency, single-file Node.js proxy that exposes the /v1/chat/completions endpoint on localhost:3456 and routes requests through the Claude CLI using the user's existing OAuth session. It is compatible with applications such as LangChain, Open WebUI, LlamaIndex, and Cursor, providing an economical solution that maximizes the value of users' subscriptions.

Powered by Cloudflare Workers + Payload CMS + Claude 3.5

数据源: OpenAI, Google AI, DeepMind, AWS ML Blog, HuggingFace 等