{"slug": "show-hn-cloudgrip-open-source-ai-proxy-to-cap-llm-api-budgets", "title": "Show HN: CloudGrip – Open-source AI proxy to cap LLM API budgets", "summary": "Developer Aliyunazeer released CloudGrip, an open-source, self-hosted AI proxy gateway built with Node.js, Express, and SQLite that enforces hard budget caps on LLM API spending. CloudGrip acts as a local circuit-breaker that automatically halts requests once a configured spending cap is reached, and it ships with a dark-mode admin dashboard tracking client spend, active users, token metrics, site visits, and request metadata. The project is MIT-licensed and installs via git clone of the cloudgrip-backend repository followed by npm install and a .env file specifying PORT, DATABASE_URL, RESEND_API_KEY, and SESSION_SECRET.", "body_md": "A lightweight, self-hosted AI proxy gateway and dashboard built with Node.js, Express, and SQLite to manage LLM API budgets and control execution loops.\n\nRunaway agent loops and unmonitored context reloads can drain your API budget overnight. CloudGrip acts as a local circuit-breaker proxy, enforcing strict budget caps and giving you real-time visibility over your API spend and request logs.\n\n- **Budget Circuit-Breaker:** Automatically halts requests when spending reaches your configured cap.\n- **Real-Time Telemetry:** Tracks site visits, client spend, and request metadata.\n- **Self-Hosted Privacy:** All logs and proxy states stay secure within your own instance.\n- **Admin Analytics Dashboard:** Built-in dark-mode dashboard to monitor active users and token metrics.\n\n1. \n**Clone the repository:** git clone[https://github.com/Aliyunazeer/cloudgrip-backend.git](https://github.com/Aliyunazeer/cloudgrip-backend.git) cd cloudgrip-backend\n2. \n**Install dependencies:** npm install\n3. \n**Configure your environment:** Create a .env file in the root directory and add your credentials:\nPORT=5000\nDATABASE_URL=your_supabase_postgres_connection_string\nRESEND_API_KEY=your_resend_api_key\nSESSION_SECRET=your_secure_session_secret\n4. \n**Run the server:** node server.js\n\nMIT", "url": "https://wpnews.pro/news/show-hn-cloudgrip-open-source-ai-proxy-to-cap-llm-api-budgets", "canonical_source": "https://github.com/Aliyunazeer/cloudgrip-backend", "published_at": "2026-10-07 12:03:53+00:00", "updated_at": "2026-10-07 12:21:30.780061+00:00", "lang": "en", "topics": ["ai-infrastructure", "ai-agents", "developer-tools", "ai-tools"], "entities": ["CloudGrip", "Aliyunazeer", "Node.js", "Express", "SQLite", "Supabase", "Resend", "GitHub"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/show-hn-cloudgrip-open-source-ai-proxy-to-cap-llm-api-budgets", "markdown": "https://wpnews.pro/news/show-hn-cloudgrip-open-source-ai-proxy-to-cap-llm-api-budgets.md", "text": "https://wpnews.pro/news/show-hn-cloudgrip-open-source-ai-proxy-to-cap-llm-api-budgets.txt", "jsonld": "https://wpnews.pro/news/show-hn-cloudgrip-open-source-ai-proxy-to-cap-llm-api-budgets.jsonld"}}