---
title: "OpenAI LLM"
description: "OpenAI is the most popular closed-source option for many AnythingLLM users"
---

import { Callout } from "nextra/components";
import Image from "next/image";

<Image
  src="/images/anythingllm-setup/llm-configuration/cloud/openai/header-image.png"
  height={1080}
  width={1920}
  quality={100}
  alt="OpenAI LLM"
/>

# OpenAI LLM

[OpenAI](https://OpenAI.com) is the most popular closed-source option for many AnythingLLM users.

We support all of the current chat models for System, Workspace, and Agent execution.

## Connecting to OpenAI

<Callout type="info" emoji="️💡">
  **Valid API Key required!**

    You must obtain a valid API key from [platform.openai.com](https://platform.openai.com) for this integration to work.

    Ensure you also have attached a billing account or you may still be unable to use this provider.

</Callout>

All OpenAI models are currently available for use with AnythingLLM.

You can update your model to a different model at any time in the **Settings**.

<Image
  src="/images/anythingllm-setup/llm-configuration/cloud/openai/openai-llm.png"
  height={1080}
  width={1920}
  quality={100}
  alt="OpenAI LLM settings"
/>
