Skip to main content
SiliconFlow is a platform for providing endpoints for large language models. Explore SiliconFlow’s models here.

Authentication

Set your SILICONFLOW_API_KEY environment variable. Get your key from SiliconFlow here.

Example

Install the openai package:
Use Siliconflow with your Agent:
View more examples here.

Params

Siliconflow also supports the params of OpenAI.