Litellm Rust — Development skill for Claude Code
Minimal Rust SDK port of LiteLLM – unified async client for OpenAI, Anthropic, Gemini, and xAI.
How to install Litellm Rust
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open avivsinai/litellm-rust and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Litellm Rust does
Minimal Rust SDK port of LiteLLM – unified async client for OpenAI, Anthropic, Gemini, and xAI.
Alternatives in Development
- Claude API — Build apps with the Claude API or Anthropic SDK 94.1k ★
- OpenAI Codex CLI — (Rust implementation) 67.8k ★
- Anthropic SDK Python — PyPI version 3.9k ★
README
litellm-rust
[](https://github.com/avivsinai/litellm-rust/actions/workflows/ci.yml) [](https://crates.io/crates/litellm-rust) [](https://docs.rs/litellm-rust) [](LICENSE) [](https://www.rust-lang.org/)
Minimal Rust SDK port of [LiteLLM](https://github.com/BerriAI/litellm) (library only). Provides a unified interface for chat, embeddings, images, and video across multiple LLM providers.
**Note**: This project is under active development. APIs may change.
Features
- Unified client for OpenAI-compatible, Anthropic, Gemini, xAI, and Z.AI providers
- Chat completions with streaming (SSE) support
- Tool calling — model-requested function calls surfaced on
ChatResponse.tool_callsin OpenAI shape (Anthropictool_useand GeminifunctionCallnormalized through the same shape) - Text embeddings
- Image generation (OpenAI DALL-E / GPT Image)
- Video generation (Gemini Veo, OpenAI Sora)
- Model routing with
provider/modelformat - Automatic retry with exponential backoff
- Cost tracking via response headers
- Embedded model registry with pricing and context window data
- Daily model registry refreshes from LiteLLM's canonical catalog
Supported Providers
| Provider | Chat | Streaming | Embeddings | Images | Video |
|---|---|---|---|---|---|
| OpenAI-compatible | yes | yes | yes | yes | yes |
| Anthropic | yes | yes | - | - | - |
| Gemini | yes | - | - | yes | yes |
| xAI | yes | yes | - | - | - |
| Z.AI | yes | yes | - | - | - |
Installation
Prefer [crates.io](https://crates.io/crates/litellm-rust). The published crate is **litellm-rust** `0.3.0`.
Related Skills
Nanopi
Tiny Rust port of Pi — a ~4 MB statically-linked coding agent CLI for old/low-resource Linux boxes. OpenAI + A
Openapis
Free Claude API + free OpenAI API in one unified proxy. Drop-in compatible with Anthropic SDK, OpenAI SDK, Cla
Agent Harness
Unified harness for hot-swapping between OpenAI Agents SDK and Anthropic Claude Agent SDK with shared tool reg
CLIProxyAPI Rust
Your Claude, ChatGPT and Gemini subscriptions as one fast API. A single Rust binary with OpenAI, Anthropic and
Claude Bridges
Gebruik OpenAI/Codex, xAI/Grok en modellen via OpenRouter in Claude Code. Ondersteunt ook Anthropic/Claude via
Agent Port
Local-first monitor & control surface for agent sessions (Claude Code, Codex) running in tmux — Rust service +
Related Agents
AI ML
AI/ML 통합 전문가 + LLM API 최신 모델/SDK 코딩 가이드. RAG 시스템, 문서 분석, OpenAI/Anthropic/Gemini/Ollama 최신 API 보장. "AI integra
LLM Orchestrator
Use this agent for LLM integration work — prompt engineering, multi-provider abstraction (OpenRouter, Gemini,
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS