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

# OpenAI Options

> Configure Danswer to use different OpenAI models

Refer to [Model Configs](https://docs.danswer.dev/gen_ai_configs/overview#model-configs) for how to set the
environment variables for your particular deployment.

The default Danswer model is GPT-3.5-Turbo so if you wish to use this, there's no need to change anything.

## Set Danswer to use GPT-4

* GEN\_AI\_MODEL\_VERSION=gpt-4
* GEN\_AI\_API\_KEY=\<your-gpt4-compatible-key>
  * You can also leave this unset and set it later via the UI

## Set Danswer to use Text-Davinci-003

* GEN\_AI\_MODEL\_VERSION=text-davinci-003
* GEN\_AI\_API\_KEY=\<your-openai-key>
  * You can also leave this unset and set it later via the UI
