The API key for DeepSeek (defaults to DEEPSEEK_API_KEY env var)
base_url
str
"https://api.deepseek.com"
The base URL for the DeepSeek API
reasoning_effort
Optional[str]
None
Controls reasoning effort in thinking mode. Valid values are "high" and "max". Regular requests default to "high"; DeepSeek automatically uses "max" for some complex agent requests
use_thinking
Optional[bool]
None
Controls thinking mode. None uses the model default (on for thinking-capable models). Set False for faster responses without thinking
supports_native_structured_outputs
bool
False
Whether the model supports native structured outputs
DeepSeek extends OpenAILike and accepts all of its parameters.