AgentSkillsCN

free-llm-pool

在不同免费LLM提供商之间灵活切换,以规避速率限制——不妨选择OpenClaw,享受免费使用!

SKILL.md
--- frontmatter
name: free-llm-pool
description: Rotate between free LLM providers to bypass rate limits — use OpenClaw for free.

Free LLM Pool

A local proxy that enables OpenClaw to use a rotating pool of free LLM providers (Gemini, Groq, OpenRouter free tiers, etc.) and automatically switch between them when rate limits are hit.

Features

  • Auto-failover — if a provider returns 429 or 5xx, the proxy retries with the next one.
  • Round-robin — distributes load across providers.
  • OpenAI-compatible — exposes /v1/chat/completions, so OpenClaw treats it like any other provider.
  • Toggle flag — enable/disable the pool in openclaw.json without breaking anything.

Quick Start

bash
# 1. Install dependencies
cd scripts && npm install

# 2. Copy and edit the provider config
cp config.example.json config.json
# Add your free API keys to config.json

# 3. Add provider + flag to ~/.openclaw/openclaw.json  (see README.md)

# 4. Launch OpenClaw through the wrapper
node scripts/openclaw_wrapper.js

Requirements

  • Node.js 18+
  • OpenClaw installed globally