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

# Custom Endpoint

Simply set `api_base` to any OpenAI compatible server:

<CodeGroup>
  ```bash Terminal theme={null}
  interpreter --api_base <custom_endpoint>
  ```

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

  interpreter.llm.api_base = "<custom_endpoint>"
  interpreter.chat()
  ```
</CodeGroup>
