# Modal

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/modal/Modal)

Modal large language models.

To use, you should have the ``modal-client`` python package installed.

Any parameters that are valid to be passed to the call can be passed
in, even if not explicitly saved on this class.

## Signature

```python
Modal()
```

## Description

**Example:**

.. code-block:: python

from langchain_community.llms import Modal
modal = Modal(endpoint_url="")

## Extends

- `LLM`

## Properties

- `endpoint_url`
- `model_kwargs`
- `model_config`

## Methods

- [`build_extra()`](https://reference.langchain.com/python/langchain-community/llms/modal/Modal/build_extra)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/llms/modal.py#L15)