sidebar_position: 5
An API key is required for RAGFlow to interact with an online AI model. This guide provides information about setting your API key in RAGFlow.
For now, RAGFlow supports the following online LLMs. Click the corresponding link to apply for your API key. Most LLM providers grant newly-created accounts trial credit, which will expire in a couple of months, or a promotional amount of free quota.
:::note If you find your online LLM is not on the list, don’t feel disheartened. The list is expanding, and you can file a feature request with us! Alternatively, if you have customized or locally-deployed models, you can bind them to RAGFlow using Ollama, Xinferenc, or LocalAI. :::
You have two options for configuring your API key:
factory with your chosen LLM.api_key with yours.base_url if you use a proxy to connect to the remote service.*After logging into RAGFlow, you will find your chosen model appears under Added models on the Model Providers page.*
:::caution WARNING After logging into RAGFlow, configuring API key through the service_conf.yaml file will no longer take effect. :::
After logging into RAGFlow, you can only configure API Key on the Model Providers page:
:::note
If you wish to update an existing API key at a later point:
:::