Skip to main content
LiteLLM is an open-source Python library that provides a unified interface for accessing LLMs, translating inputs and mapping exceptions.

Prerequisites

  • A SambaCloud account with an API key
  • Python 3.11.5 or higher installed

Example code

View the LiteLLM documentation for more examples and usage with a LiteLLM Proxy Server.