# DeepSeek V4 模型档案
# 如你的账号还没有 V4 访问权限,可把 model_id 改成 deepseek/deepseek-chat
family: deepseek_v4

variants:
  flash:
    display_name: DeepSeek V4 Flash
    model_id: deepseek/deepseek-v4-flash
    api_base: https://api.deepseek.com/v1
    api_key_env: DEEPSEEK_API_KEY
    max_context: 1048576
    reliable_context: 262144
    max_output: 8192
    parallel_tools: false
    tool_calling_quality: good
    thinking_mode: false
    reasoning_effort_levels: []
    default_reasoning_effort: ""
    code_quality: good
    enable_run_python: true
    max_iterations: 50
    optimal_temperature: 0.3
    prompt_caching: false
    extended_thinking: false
    input_cny_per_mtoken: 1.0
    output_cny_per_mtoken: 12.0
    cache_hit_cny_per_mtoken: 0.1   # DeepSeek 前缀缓存命中价(input 的 ~0.1x)

  pro:
    display_name: DeepSeek V4 Pro
    model_id: deepseek/deepseek-v4-pro
    api_base: https://api.deepseek.com/v1
    api_key_env: DEEPSEEK_API_KEY
    max_context: 1048576
    reliable_context: 524288
    max_output: 8192
    parallel_tools: true
    tool_calling_quality: excellent
    thinking_mode: true
    reasoning_effort_levels: [low, medium, high, max]
    default_reasoning_effort: medium
    code_quality: excellent
    enable_run_python: true
    max_iterations: 100
    optimal_temperature: 0.2
    prompt_caching: false
    extended_thinking: false
    input_cny_per_mtoken: 2.0
    output_cny_per_mtoken: 20.0
    cache_hit_cny_per_mtoken: 0.2   # DeepSeek 前缀缓存命中价(input 的 ~0.1x)
