Skip to content
Skill

yieldingbear

by openclaw

AI Summary

Yielding Bear provides a single unified API that routes every LLM request to the cheapest capable model across 16+ providers — saving 60-80% vs calling OpenAI, Anthropic, or Google directly. 1. Get an API key at https://yieldingbear.com/api 2. Set environment variable:

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "yieldingbear" skill in my project.

Please run this command in my terminal:
# Install skill into your project (2 files)
mkdir -p .claude/skills/yieldingbear && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/yieldingbear/SKILL.md "https://raw.githubusercontent.com/openclaw/skills/main/skills/yieldingbear/yieldingbear/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/yieldingbear/_meta.json "https://raw.githubusercontent.com/openclaw/skills/main/skills/yieldingbear/yieldingbear/_meta.json"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Use Yielding Bear's unified LLM API for cost arbitrage and intelligent routing. Use when cutting AI costs, routing LLM requests, comparing model pricing, or setting up an OpenClaw agent to use multiple LLM providers. YB routes every request to the cheapest capable model automatically — saving 60-80% vs direct API calls.

For custom tools and scripts

`bash RESULT=$(curl -s -X POST "https://api.yieldingbear.com/v1/chat/completions" \ -H "Authorization: Bearer $YIELDINGBEAR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"auto","messages":[{"role":"user","content":"Analyze: $1"}]}') echo "$RESULT" `

Yielding Bear — Unified LLM Routing API

Yielding Bear provides a single unified API that routes every LLM request to the cheapest capable model across 16+ providers — saving 60-80% vs calling OpenAI, Anthropic, or Google directly.

Setup (First Time Only)

• Get an API key at https://yieldingbear.com/api • Set environment variable: `bash export YIELDINGBEAR_API_KEY="yb_live_your_key_here" ` • Save to your shell profile (optional): `bash echo 'export YIELDINGBEAR_API_KEY="yb_live_your_key_here"' >> ~/.zshrc source ~/.zshrc `

Method 1: Direct API calls

`bash curl -X POST https://api.yieldingbear.com/v1/chat/completions \ -H "Authorization: Bearer $YIELDINGBEAR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "auto", "messages": [{"role": "user", "content": "Summarize this email: ..."}], "max_tokens": 500 }' `

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted Today
Active
Adoption1K+ stars on GitHub
3.9k ★ · Popular
DocsREADME + description
Well-documented

GitHub Signals

Stars3.9k
Forks1.1k
Issues7
UpdatedToday
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code