← 返回
AI智能 Key 中文

ClawCap

Spending cap proxy for OpenClaw. Enforce hard daily and monthly limits across all your AI models (Claude, GPT, Gemini, and more) under one cap. Stop runaway...
OpenClaw支出上限代理。在统一上限下,强制执行所有AI模型(Claude、GPT、Gemini等)的每日和每月硬性限制,防止超支。
kintupercy
AI智能 clawhub v1.1.2 2 版本 99861.5 Key: 需要
★ 0
Stars
📥 721
下载
💾 9
安装
2
版本
#latest

概述

ClawCap — Spending Cap for OpenClaw

Stop runaway API bills. ClawCap enforces hard spending caps across every model your agents use — Claude, GPT, Gemini, and more — under a single proxy URL.

What It Does

  • Hard daily & monthly caps — your agents stop when you hit your limit, not when your wallet is empty
  • All models, one cap — Claude, GPT, Gemini, DeepSeek, Mistral, and more tracked together
  • Heartbeat detection — catches agents stuck in polling loops burning tokens
  • Loop detection — stops agents repeating the same failed request
  • Kill switch — stop any agent instantly via Telegram or API
  • Real-time tracking — see exactly what you're spending per model

Setup (2 minutes)

1. Get Your Token

Sign up at clawcap.co and grab your proxy token. Free tier works instantly — no credit card needed.

Set it as an environment variable:

export CLAWCAP_TOKEN="cc_live_your_token_here"

2. Run Setup

The setup script automatically patches your OpenClaw config to route all providers through ClawCap:

node skills/clawcap/scripts/setup.js

This will:

  • Read your ~/.openclaw/openclaw.json
  • Point every provider's baseUrl to your ClawCap proxy URL
  • Back up your original config to ~/.openclaw/openclaw.json.backup

3. Done — You're Protected

Start OpenClaw normally. All requests now flow through ClawCap and your spending caps are enforced automatically.

Check your spend anytime:

curl https://clawcap.co/proxy/$CLAWCAP_TOKEN/status

Manual Setup

If you prefer to configure manually, set every provider's baseUrl in ~/.openclaw/openclaw.json to:

https://clawcap.co/proxy/YOUR_TOKEN

Your API keys stay the same — ClawCap only reads them to forward requests, never stores them.

Environment Variables

VariableDescription
-----------------------
CLAWCAP_TOKENYour ClawCap proxy token (starts with cc_live_)

Plans

PlanPriceFeatures
-----------------------
Free$0$5/day cap, kill switch, heartbeat detection
Solo$5/moCustom caps, heartbeat+loop protection, Telegram alerts
Pro$15/moMulti-agent tracking, per-model analytics, custom alert thresholds, weekly spend reports

Troubleshooting

Agent not routing through ClawCap: Check that baseUrl in your openclaw.json points to https://clawcap.co/proxy/cc_live_... — not the original API URL.

429 errors: You've hit your spending cap. Check /status to see current spend, or upgrade your plan for higher limits.

Token not working: Make sure you're using the full cc_live_... token from your setup page, not just the email.

Links

版本历史

共 2 个版本

  • v1.1.2 当前
    2026-05-01 08:15 安全 安全
  • v1.0.0
    2026-03-30 15:46 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,187
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,467
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,883