Setting the API Key and Language

Roo Code requires API keys to access large models. Before using Roo Code, you need to apply for a key. Roo Code supports more than 10 API providers, such as OpenAI and DeepSeek. This document uses SiliconFlow as an example.

Obtaining the Key

  1. Go to the SiliconFlow official website.
  2. Use your account to log in to the page.
  3. On the API key page, click Create API Key, enter the key description, and click Create Key.
  4. After the key is created, copy it.

Setting the API Key in Roo Code

  1. Open Roo Code.
  2. Select OpenAI Compatible from the API Provider drop-down list.
  3. Enter the URL of the SiliconFlow interface in the Base URL text box, as shown in the following figure.
  4. Enter the copied API key in OpenAI API Key.
  5. Enter the model to be used in the Model text box. In this example, Pro/deepseek-ai/DeepSeek-R1 is used.
  6. Click Let's go. The key setting is complete.

Setting the Language

By default, the language of Roo Code is English. Click the setting button in the upper right corner, click Language, and select a desired language.

After the selection is successful, click Save.