Skip to content
API Reference

DeepSeek

DeepSeek models are efficient, reasoning-oriented chat models.

Models

Model Code Notes
DeepSeek V4.1 Flash deepseek-v4.1-flash Latest; new-architecture Flash model, 1M context, vision input.
DeepSeek V4 Pro 0813 deepseek-v4-pro-0813 Official release superseding the V4 Pro preview build.
DeepSeek V4 Flash (0731) deepseek-v4-flash-0731 Fast and economical.
DeepSeek V4 Pro deepseek-v4-pro High capability.

Capabilities

  • tools, tool_choice
  • temperature, top_p, max_tokens, response_format

See Parameter Support by Model for the full matrix.

Example

from openai import OpenAI

client = OpenAI(base_url="https://llm.siraya.ai/v1", api_key="<API_KEY>")
resp = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Solve: 12 * 13."}],
)
print(resp.choices[0].message.content)