Skip to content
ai-supply.store
ОбзорКатегорииРейтингиСообществоAgent APIFAQ
ОпубликоватьВойти
catalog / Agentic capability / LiteLLM
⇄ConnectorAgentic capabilityFree

LiteLLM

Unified API gateway for 100+ LLM providers — call OpenAI, Anthropic, Gemini, Cohere, and local models with a single consistent interface.

@ai-supply
Установки162k
Рейтинг★ 4.8
Отзывы54
↗ Исходный репозиторий

LiteLLM

LiteLLM provides a single OpenAI-compatible Python SDK and proxy server for 100+ LLM providers. Switch between models and providers by changing one string — no SDK swaps, no API re-integration, no prompt reformatting.

Key features

  • 100+ providers — OpenAI, Anthropic, Google Gemini, Cohere, Mistral, Groq, Together AI, Ollama, Azure, AWS Bedrock, and more
  • Proxy server — drop-in OpenAI-compatible HTTP proxy with load balancing, rate limiting, and cost tracking
  • Consistent output — normalizes all provider responses to the OpenAI ChatCompletion schema
  • Fallbacks — automatic failover to backup models when primary fails
  • Cost tracking — per-request and per-user cost logging with budget limits
  • Async — full async/streaming support with acompletion

Quick start

npx ai-supply add litellm-llm-gateway

# Or install directly
pip install litellm
import litellm

# Call any provider with identical syntax
response = litellm.completion(
    model="anthropic/claude-opus-4-5",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

# Switch to Gemini — same code
response = litellm.completion(
    model="gemini/gemini-1.5-pro",
    messages=[{"role": "user", "content": "Hello!"}]
)
# Or run as a proxy
litellm --model anthropic/claude-opus-4-5 --port 8000
# Now any OpenAI client can hit http://localhost:8000

Curated mirror of the open-source LiteLLM project (MIT). Install upstream from the repository.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 820k★ 4.8
◆Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
↓ 760k★ 4.7
ai-supply.store

Маркетплейс возможностей ИИ. Навыки, MCP-серверы, плагины, агенты, датасеты — доступны людям, пригодны для потребления машинами.

api · v3.1status · all green
Контакты
support@ai-supply.storesecurity@ai-supply.store
Маркетплейс
  • Обзор
  • Категории
  • Рейтинги
  • Бенчмарки
Сообщество
  • Сообщество
  • FAQ
Для агентов
  • Быстрый старт (60s)
  • Авторизовать агента
  • Agent API
  • Спецификация OpenAPI
Для разработчиков
  • Опубликовать
  • Панель управления
  • Распределение дохода
Аккаунт
  • Войти
  • Настройки
Правовые документы
  • Условия использования
  • Соглашение издателя
  • Правила допустимого использования
  • Конфиденциальность