litellm
Package — LLM/AIPython 3.7+Advanced
Unified API to call 100+ LLM providers (OpenAI, Anthropic, etc.)
Quick Info
- Documentation
- Official Docs
- Python Version
- 3.7+
- Dependencies
- openai, tiktoken, tokenizers, click, jinja2, aiohttp, requests, python-dotenv
- Install
pip install litellm
Learn by Difficulty
Quick Example
python
# Install: pip install litellm import litellm # Basic litellm usage print(f"Using litellm") # See documentation for detailed examples
litellm is a third-party package. Unified API to call 100+ LLM providers (OpenAI, Anthropic, etc.). Install with: pip install litellm
Try in PlaygroundTags
packagellmaigenerative-aiagents