ccflare is a proxy for the Claude API that provides intelligent load balancing across multiple accounts. It tracks every request, response, and rate limit, ensuring you never hit rate limits. Ideal for operations teams managing high-volume API interactions.
git clone https://github.com/snipeship/ccflare.githttps://github.com/snipeship/ccflare/docs/
[{"step":"Install and configure ccflare","action":"Run `pip install ccflare` and set up your Claude API accounts in the configuration file. Ensure each account has the necessary permissions and rate limits for your workload.","tip":"Use environment variables for sensitive API keys (e.g., `CLAUDE_API_KEY_1`, `CLAUDE_API_KEY_2`)."},{"step":"Define your workload","action":"Specify the number of requests, endpoint, payload, and the list of accounts to distribute the load. Example: `ccflare --requests 500 --endpoint https://api.claude.com/v1/chat --payload '{\"model\": \"claude-3-opus\"}' --accounts acc-001,acc-002,acc-003`.","tip":"For large payloads, use a JSON file and reference it in the payload flag (e.g., `--payload @requests.json`)."},{"step":"Execute and monitor","action":"Run the command and monitor the real-time output or log file. ccflare will display progress, errors, and rate limit warnings as they occur.","tip":"Use the `--log` flag to save a detailed log file for post-processing (e.g., `--log ccflare_run.log`)."},{"step":"Analyze the results","action":"Review the summary report generated by ccflare. Identify failed requests, rate limit warnings, and account-specific issues. Use this data to adjust your account distribution or retry failed requests.","tip":"For failed requests, use the `ccflare retry` command with the log file to automatically resend them (e.g., `ccflare retry --log ccflare_run.log`)."},{"step":"Scale or optimize","action":"Based on the results, add more accounts to handle higher volumes or adjust the distribution to balance the load more evenly. Monitor the health of each account over time.","tip":"Set up a cron job to run ccflare periodically (e.g., every hour) for continuous API interactions without manual intervention."}]
Automatically distribute API requests across multiple Claude accounts to avoid rate limits.
Monitor and analyze API usage in real-time to optimize costs and performance.
Log and debug API requests and responses for easier troubleshooting.
Maintain conversation context in applications using session-based load balancing.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/snipeship/ccflareCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use ccflare to send [NUMBER] API requests to [ENDPOINT] with [PAYLOAD]. Distribute the load evenly across [NUMBER] Claude API accounts to avoid rate limits. Track all responses and log any errors or rate limit hits in a structured format. Return a summary of successful requests, failed requests, and rate limit warnings.
``` === ccflare Load Balancing Report === **Request Summary:** - Total Requests Sent: 500 - Successful Responses: 498 (99.6%) - Failed Requests: 2 (0.4%) - Rate Limit Warnings: 0 **Account Distribution:** - Account 1 (claude-acc-001): 167 requests - Account 2 (claude-acc-002): 166 requests - Account 3 (claude-acc-003): 167 requests **Failed Requests:** 1. Request ID: req-042 - Account: claude-acc-002 - Error: 'Invalid API key' - Timestamp: 2024-05-20T14:32:11Z - Retry Suggested: Yes (API key rotation recommended) 2. Request ID: req-187 - Account: claude-acc-003 - Error: 'Timeout after 30s' - Timestamp: 2024-05-20T14:35:44Z - Retry Suggested: Yes (Network latency issue) **Rate Limit Tracking:** - No rate limit warnings detected across all accounts. - All accounts maintained healthy usage (avg. 85% of quota). **Recommendations:** - Rotate the API key for Account 2 (claude-acc-002) to prevent future invalid key errors. - Monitor network conditions for Account 3 (claude-acc-003) during peak hours. - Consider adding Account 4 (claude-acc-004) for higher throughput if needed. ```
Cloud ETL platform for non-technical data integration
IronCalc is a spreadsheet engine and ecosystem
Get more done every day with Microsoft Teams – powered by AI
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan