DEV Community

brian austin
brian austin

Posted on

Claude Code without OpenClaw: set ANTHROPIC_BASE_URL and move on

Claude Code without OpenClaw: set ANTHROPIC_BASE_URL and move on

Anthropics announcement landed this week: Claude Code subscriptions can no longer use OpenClaw.

If you were using OpenClaw as your Claude Code backend, your setup just broke. And CVE-2026-33579 (privilege escalation in OpenClaw) means you probably shouldn't be running it locally anyway.

Here's the 60-second fix.

What ANTHROPIC_BASE_URL actually does

Claude Code has a built-in escape hatch. If you set this environment variable, Claude Code routes all API calls through your URL instead of Anthropic's servers:

export ANTHROPIC_BASE_URL=https://your-proxy.com
claude
Enter fullscreen mode Exit fullscreen mode

That's it. No config files. No plugins. No privilege escalation vulnerabilities.

Why OpenClaw existed

OpenClaw solved a real problem: Claude Code's rate limits hit hard when you're doing large refactors or running multiple agents in parallel.

A single Claude Code session doing a full test suite rewrite can exhaust your daily limit in 20 minutes. OpenClaw worked around this by rotating API keys or proxying requests.

The problem: it required running a local server with elevated permissions. CVE-2026-33579 shows what happens when that goes wrong.

The ANTHROPIC_BASE_URL alternative

Instead of a local server with elevated permissions, use a hosted proxy:

# One-time setup
export ANTHROPIC_BASE_URL=https://api.simplylouie.com

# Or add to your shell profile
echo 'export ANTHROPIC_BASE_URL=https://api.simplylouie.com' >> ~/.bashrc
source ~/.bashrc

# That's it. Claude Code now routes through the proxy.
claude
Enter fullscreen mode Exit fullscreen mode

Verify it's working:

curl $ANTHROPIC_BASE_URL/health
# {"status":"ok","model":"claude-opus-4-5"}
Enter fullscreen mode Exit fullscreen mode

What you get

  • No rate limit interruptions during long sessions
  • No local server to maintain
  • No CVEs to patch
  • Anthropic-compliant (this is the official mechanism Anthropic built for this)
  • $2/month at simplylouie.com — vs $20/month for ChatGPT Plus

The curl test

Before setting it as your default, test it works:

curl https://api.simplylouie.com/v1/messages \
  -H "x-api-key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4-5",
    "max_tokens": 100,
    "messages": [{"role": "user", "content": "ping"}]
  }'
Enter fullscreen mode Exit fullscreen mode

For parallel agent workflows

If you were using OpenClaw specifically for parallel agents:

# Terminal 1
cd /tmp/agent1 && git checkout -b feature-auth
export ANTHROPIC_BASE_URL=https://api.simplylouie.com
claude "refactor the authentication module"

# Terminal 2  
cd /tmp/agent2 && git checkout -b feature-tests
export ANTHROPIC_BASE_URL=https://api.simplylouie.com
claude "write integration tests for the API"

# Terminal 3
cd /tmp/agent3 && git checkout -b feature-docs
export ANTHROPIC_BASE_URL=https://api.simplylouie.com
claude "update the README and API docs"
Enter fullscreen mode Exit fullscreen mode

Each agent gets independent rate limits through the proxy. No local server. No elevated permissions.

On the CVE

CVE-2026-33579 is a privilege escalation vulnerability in OpenClaw's local server component. If you ran OpenClaw, audit your system for signs of exploitation before migrating.

The ANTHROPIC_BASE_URL proxy approach doesn't run anything locally with elevated permissions — it's just an HTTPS endpoint, no different from any other API call.

Summary

OpenClaw ANTHROPIC_BASE_URL proxy
Rate limits Bypassed Bypassed
Local server required Yes No
Elevated permissions Yes No
CVE risk Yes (33579) No
Anthropic-compliant No (now banned) Yes
Cost Free $2/month

The migration is literally two lines. simplylouie.com — 7-day free trial, no charge upfront.


If you were affected by the OpenClaw ban, drop a comment. Happy to help debug the migration.

Top comments (0)