Agent skill · Backend & API

litellm

Call 100+ LLM APIs with one interface using LiteLLM — unified API proxy for OpenAI, Anthropic, Google, Mistral, Cohere, and self-hosted models. Use when someone asks to "switch between LLM providers", "LiteLLM", "unified LLM API", "LLM proxy", "call Claude and GPT with the same code", "LLM load balancing", or "multi-model AI gateway". Covers provider routing, fallbacks, rate limiting, spend tracking, and self-hosted proxy.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill litellm-terminalskills-skills --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.0.0
Declared author: terminal-skills
Requires: Python. Node.js via OpenAI SDK (proxy mode). Self-hostable.
Path: skills/ai-llm/litellm-terminalskills-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LiteLLM ## Overview LiteLLM provides a single API to call 100+ LLM providers — OpenAI, Anthropic, Google Gemini, Mistral, Cohere, Azure, Bedrock, Ollama, and more. Write your code once using the OpenAI SDK format, then switch providers by changing a model string. As a proxy server, it adds load balancing, fallbacks, rate limiting, spend tracking, and API key management for teams. ## When to Use - Using multiple LLM providers and want a unified interface - Need automatic fallbacks (if Claude is down, use GPT) - Cost tracking across multiple providers and teams - Load balancing requests across multiple API keys or models - Self-hosted proxy to manage LLM access for a team ## Instructions ### Setup ```bash pip install litellm # Or run as proxy server pip install 'litellm[proxy]' ``` ### SDK Usage (Python) ```python # llm.py — Call any LLM with the same interface from litellm import completion # OpenAI response = completion( model="gpt-4o", messages=[{"role": "user", "content": "Hello!"}], ) # Anthropic — same interface, just change the model string response = completion( model="claude-sonnet-4-20250514", messages=[{"role": "user", "content": "Hello!"}], ) # Google Gemini response =

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Instructions
  4. Setup
  5. SDK Usage (Python)
  6. Proxy Server
  7. Node.js via Proxy
  8. Spend Tracking
  9. Examples
  10. Example 1: Multi-provider AI application
  11. Example 2: Team LLM gateway with cost controls
  12. Guidelines
Ships with 1 file
  • metadata.json
Commands it runs
pip install litellm
Or run as proxy server
pip install 'litellm[proxy]'
Start proxy
litellm --config litellm_config.yaml --port 4000
Call via OpenAI SDK (any language!)
curl http://localhost:4000/v1/chat/completions \
More from claude-skill-registry
All skills →
About this skill
What does the litellm skill do?

Call 100+ LLM APIs with one interface using LiteLLM — unified API proxy for OpenAI, Anthropic, Google, Mistral, Cohere, and self-hosted models. Use when someone asks to "switch between LLM providers", "LiteLLM", "unified LLM API", "LLM proxy", "call Claude and GPT with the same code", "LLM load balancing", or "multi-model AI gateway". Covers provider routing, fallbacks, rate limiting, spend tracking, and self-hosted proxy.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill litellm-terminalskills-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going