Skip to content

SiliconFlow Settings

If you are looking for SiliconFlow or SiliconCloud setup, this page gives the standard Agently integration path.

OpenAICompatible setup

python
from agently import Agently

Agently.set_settings("OpenAICompatible", {
  "base_url": "https://api.siliconflow.cn/v1",
  "api_key": "YOUR_SILICONFLOW_API_KEY",
  "model": "Qwen/Qwen2.5-7B-Instruct"
})

Troubleshooting

1. 401 Unauthorized

  • Verify your API key
  • Verify the key has access to the selected model

2. model not found

  • Confirm exact model name from the model list
  • Check path prefixes and casing (for example Qwen/...)