> ## Documentation Index
> Fetch the complete documentation index at: https://langchain.idochub.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# LiteLLM

> [LiteLLM](https://github.com/BerriAI/litellm) is a library that simplifies calling Anthropic, Azure, Huggingface, Replicate, etc.

## Installation and setup

<CodeGroup>
  ```bash pip theme={null}
  pip install langchain-litellm
  ```

  ```bash uv theme={null}
  uv add langchain-litellm
  ```
</CodeGroup>

## Chat Models

```python theme={null}
from langchain_litellm import ChatLiteLLM
```

```python theme={null}
from langchain_litellm import ChatLiteLLMRouter
```

See more detail in the guide [here](/oss/python/integrations/chat/litellm).

## API reference

For detailed documentation of all `ChatLiteLLM` and `ChatLiteLLMRouter` features and configurations head to the API reference: [https://github.com/Akshay-Dongare/langchain-litellm](https://github.com/Akshay-Dongare/langchain-litellm)
