mirror of
				https://github.com/infiniflow/ragflow.git
				synced 2025-10-31 01:40:20 +00:00 
			
		
		
		
	 5178daeeaf
			
		
	
	
		5178daeeaf
		
			
		
	
	
	
	
		
			
			### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ ### Type of change - [x] Documentation Update
		
			
				
	
	
		
			26 lines
		
	
	
		
			915 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			915 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| sidebar_position: 4
 | |
| slug: /llm_api_key_setup
 | |
| ---
 | |
| 
 | |
| # Set your LLM API key
 | |
| 
 | |
| You have two ways to input your LLM API key. 
 | |
| 
 | |
| ## Before Starting The System
 | |
| 
 | |
| In **user_default_llm** of [service_conf.yaml](https://github.com/infiniflow/ragflow/blob/main/docker/service_conf.yaml), you need to specify LLM factory and your own _API_KEY_. 
 | |
| RagFlow supports the flowing LLM factory, and with more coming in the pipeline:
 | |
| 
 | |
| > [OpenAI](https://platform.openai.com/login?launch), [Tongyi-Qianwen](https://dashscope.console.aliyun.com/model), 
 | |
| > [ZHIPU-AI](https://open.bigmodel.cn/), [Moonshot](https://platform.moonshot.cn/docs)
 | |
| 
 | |
| After sign in these LLM suppliers, create your own API-Key, they all have a certain amount of free quota.
 | |
| 
 | |
| ## After Starting The System
 | |
| 
 | |
| You can also set API-Key in **User Setting** as following:
 | |
| 
 | |
| 
 | |
| 
 |