One subscription. Multiple IDEs. All models. $0 extra.
OCP turns your Claude Pro/Max subscription into a standard OpenAI-compatible API on localhost. Any tool that speaks the OpenAI protocol can use it:
OpenClaw · OpenCode · Cline · Continue.dev · Aider · and any tool that accepts an OpenAI base URL
OpenClaw Agent (Sonnet) ──┐
OpenCode (Opus) ───┤
Cline (Haiku) ───┼──→ OCP :3456 ──→ claude CLI ──→ Your subscription
Aider (Sonnet) ───┤
Continue.dev (Sonnet) ───┘
What's New
/ocp CLI + Gateway Plugin
10 commands from terminal, Telegram, or Discord:
ocp usage Session/weekly limits & per-model stats
ocp status Quick health overview
ocp settings View/update runtime parameters (no restart)
ocp health Full proxy diagnostics
ocp logs Recent error logs
ocp models / sessions / clear / restart
Real-Time Usage Monitoring
$ ocp usage
Plan Usage Limits
─────────────────────────────────────
Current session 3% used (resets in 4h 32m)
Weekly (all models) 3% used (resets in 6d 6h)
Model Stats
Model Req OK Er AvgT MaxT AvgP MaxP
haiku 1 1 0 6s 6s 0K 0K
opus 2 2 0 20s 26s 42K 43K
sonnet 2 2 0 24s 24s 41K 41K
Runtime Settings (no restart)
ocp settings maxPromptChars 200000
ocp settings tiers.opus.base 180000Safety & Reliability
- Prompt truncation at 150K chars
- Circuit breaker removed (caused cascading failures)
- Timeout increases: Opus 150s, Sonnet 120s, Haiku 45s
- New endpoints: /usage, /status, /settings, /logs
Upgrade
cd ~/.openclaw/projects/claude-proxy && git pull
launchctl kickstart -k gui/501/ai.openclaw.proxy