कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

claude-max-proxy-setup

error403agent द्वारा

Coding Agents & IDEs
285clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Use when an agent or developer wants to reduce Claude API costs, route requests through a Claude Max or Pro.

विवरण

यह स्किल क्या करती है

Routes Claude API requests through a Claude Max or Pro subscription instead of per-token billing. The claude-max-api-proxy package exposes your authenticated Claude Code CLI session as an OpenAI-compatible HTTP endpoint on localhost:3456. Any OpenAI-compatible client connects to this local endpoint without needing a separate API key.

Replaces variable per-token API billing ($15-75/M tokens) with a fixed monthly subscription cost, making high-volume agent usage predictable.

इसे कब इस्तेमाल करें

  • Cutting Claude API costs when monthly usage exceeds $20
  • Running Claude Opus 4.6 without per-token charges
  • Connecting OpenClaw to a flat-rate Claude subscription
  • Using LangChain or custom scripts against a Claude Max plan
  • Switching from API billing to subscription-based access mid-project

उदाहरण वर्कफ़्लो

इनपुट

User asks: Set up the proxy so OpenClaw uses my Claude Max subscription

एजेंट
  1. 1

    Verify Claude Code CLI is installed and authenticated with claude --print test

  2. 2

    Install claude-max-api-proxy globally with npm install -g claude-max-api-proxy

  3. 3

    Start the proxy with claude-max-api and confirm health via curl http://localhost:3456/health

  4. 4

    Update ~/.openclaw/openclaw.json to set OPENAI_BASE_URL to http://localhost:3456/v1 and add claude-opus-4, claude-sonnet-4, claude-haiku-4 model entries

  5. 5

    Restart OpenClaw and verify a test request returns a response through the proxy

आउटपुट

OpenClaw routes all Claude requests through the local proxy, billing against the Claude Max subscription instead of per-token API charges

आवश्यकताएँ

  • Claude Max ($200/mo) or Claude Pro ($20/mo) subscription at claude.ai
  • Claude Code CLI installed and authenticated via claude login

इंस्टॉलेशन

clawhub install error403agent/claude-max-proxy-setup

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक