#Running OpenClaw on VPS (Ubuntu) with claude-bridge/claude-sonnet-latest via openclaw-claude-bridge

1 messages Ā· Page 1 of 1 (latest)

main cobaltBOT
humble anchorBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> āœ… Mark Solution

radiant hound
#

Goal: Use Claude Code CLI (Max subscription) as a backend for OpenClaw without hitting extra billing / usage limits.

What happened: Max subscription limits burn extremely fast — suspected cause is high token usage per request due to large system prompts injected by OpenClaw.

What we ran:

• OpenClaw on Ubuntu VPS
• openclaw-claude-bridge (github.com/shinglokto/openclaw-claude-bridge) as proxy between OpenClaw and Claude Code CLI
• Claude authenticated via claude auth status → subscriptionType: max, apiProvider: firstParty
• Bridge spawns: claude --print --dangerously-skip-permissions --output-format stream-json --verbose --model claude-sonnet-latest

Environment:

• OS: Ubuntu (x64)
• Claude Code CLI: v2.1.92
• OpenClaw: latest
• Auth method: claude.ai (not API key)

Logs (bridge):
[claude.js] Spawning: claude --print --dangerously-skip-permissions ... thinking=on resume=true
[done] 10724ms chunks=1 āœ…
Question:
Is there an official/recommended way to use Claude Code CLI with Max subscription as OpenClaw backend without burning through limits? What's the current best practice for this setup?