> ## 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.

# Introduction

**Open Interpreter** works with both hosted and local language models.

Hosted models are faster and more capable, but require payment. Local models are private and free, but are often less capable.

For this reason, we recommend starting with a **hosted** model, then switching to a local model once you've explored Open Interpreter's capabilities.

<CardGroup>
  <Card title="Hosted setup" icon="cloud" href="/language-models/hosted-models">
    Connect to a hosted language model like GPT-4 **(recommended)**
  </Card>

  <Card title="Local setup" icon="microchip" href="/language-models/local-models">
    Setup a local language model like Mistral
  </Card>
</CardGroup>

<br />

<br />

<Info>
  Thank you to the incredible [LiteLLM](https://litellm.ai/) team for their
  efforts in connecting Open Interpreter to hosted providers.
</Info>
