DeepSeek is a platform for providing endpoints for Large Language models. See their library of models here.

We recommend experimenting to find the best-suited model for your use-case. Here are some general recommendations:

  • deepseek-chat model is good for most basic use-cases.
  • deepseek-reasoner model is good for complex reasoning and multi-step tasks.

DeepSeek does not have rate limits. See their docs for information about how to deal with slower responses during high traffic.

Authentication

Set your DEEPSEEK_API_KEY environment variable. Get your key from here.

Example

Use DeepSeek with your Agent:

View more examples here.

Params

ParameterTypeDefaultDescription
idstr"deepseek-chat"The specific model ID used for generating responses.
namestr"DeepSeek"The name identifier for the DeepSeek model.
providerstr"DeepSeek"The provider of the model.
api_keyOptional[str]-The API key used for authenticating requests to the DeepSeek service. Retrieved from the environment variable DEEPSEEK_API_KEY.
base_urlstr"https://api.deepseek.com"The base URL for making API requests to the DeepSeek service.

DeepSeek also supports the params of OpenAI.