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

# Petals

To use Open Interpreter with a model from Petals, set the `model` flag to begin with `petals/`:

<CodeGroup>
  ```bash Terminal theme={null}
  interpreter --model petals/petals-team/StableBeluga2
  ```

  ```python Python theme={null}
  from interpreter import interpreter

  interpreter.llm.model = "petals/petals-team/StableBeluga2"
  interpreter.chat()
  ```
</CodeGroup>

# Pre-Requisites

Ensure you have petals installed:

```bash Terminal theme={null}
pip install git+https://github.com/bigscience-workshop/petals
```

# Supported Models

We support any model on [Petals:](https://github.com/bigscience-workshop/petals)

<CodeGroup>
  ```bash Terminal theme={null}
  interpreter --model petals/petals-team/StableBeluga2
  interpreter --model petals/huggyllama/llama-65b
  ```

  ```python Python theme={null}
  interpreter.llm.model = "petals/petals-team/StableBeluga2"
  interpreter.llm.model = "petals/huggyllama/llama-65b"
  ```
</CodeGroup>

# Required Environment Variables

No environment variables are required to use these models.
