Claude Plan Setup
MARDUK Kit works with five Anthropic billing flavors. Pick the one that matches your situation.
TL;DR
| You have… | Use… | Cost | Best for |
|---|---|---|---|
| Claude Pro/Max plan | OAuth proxy | ~$0 (within plan limits) | Solo users, heavy chat |
| Anthropic API key | Direct API | $3-15 per million tokens | Heavy automation |
| Both | Pro/Max for chat + API for crons | Best of both | Power users (recommended) |
| Neither | OpenRouter or DeepSeek | $0.10-3 / Mt | Budget-conscious |
| Want fully free | Ollama local | $0 | Privacy / offline |
Option 1: Claude Pro/Max via OAuth proxy
If you already pay Anthropic $20/mo (Pro) or $100/mo (Max) for the chat app, you can route Marduk through that subscription with zero extra cost.
npm install -g claude-max-proxy
claude-max-proxy auth # opens browser; log in once
claude-max-proxy start --port 3456 &In ~/.openclaw/openclaw.json:
"env": { "OPENAI_BASE_URL_MAX": "http://localhost:3456/v1" },
"auth": { "order": { "openai": ["openai:max-proxy", "openai:default"] } }Limits
- Pro: ~50 msgs / 5h sustained
- Max: ~250 msgs / 5h sustained (varies by model)
Option 2: Anthropic API direct
- Go to console.anthropic.com
- Settings → API Keys → Create Key
- Copy the
sk-ant-api03-...value - Paste into
setup.shwhen prompted
Pricing reference
| Model | Input | Output | Cache read |
|---|---|---|---|
| claude-opus-4 | $15/Mt | $75/Mt | $1.50/Mt |
| claude-sonnet-4 | $3/Mt | $15/Mt | $0.30/Mt |
| claude-haiku-4 | $0.80/Mt | $4/Mt | $0.08/Mt |
Option 3: Hybrid (recommended)
Most cost-effective for serious users. Pro/Max for high-frequency low-stakes work, API for Opus-tier work.
"agents": {
"list": [
{ "id": "main", "model": { "primary": "openai/claude-sonnet-4" } },
{ "id": "cipher", "model": { "primary": "anthropic/claude-opus-4" } },
{ "id": "atlas", "model": { "primary": "anthropic/claude-opus-4" } },
{ "id": "scout", "model": { "primary": "openai/claude-haiku-4" } }
]
}Real cost expectations
| Setup | Daily | Monthly |
|---|---|---|
| Pro alone | $0 | $20 |
| Max alone | $0 | $100 |
| API only (Sonnet default) | $2-8 | $60-240 |
| Pro + API split | $0.50-2 | $35-80 |
| OpenRouter (DeepSeek default) | $0.10-1 | $3-30 |
| Ollama only | $0 | $0 |
Switching providers later
openclaw config set env.ANTHROPIC_API_KEY "sk-ant-api03-NEW..."
openclaw config set agents.defaults.model.primary "anthropic/claude-sonnet-4"
openclaw doctor --fix