{
  "$schema": "https://modelparams.dev/api/v1/schema.json",
  "provider": "deepseek",
  "authType": "api_key",
  "model": "deepseek-chat",
  "params": [
    {
      "path": "max_tokens",
      "label": "Max tokens",
      "description": "Maximum number of output tokens the model may generate.",
      "group": "generation_length",
      "type": "integer",
      "default": 4096,
      "range": {
        "min": 1
      }
    },
    {
      "path": "temperature",
      "label": "Temperature",
      "description": "Controls randomness. In DeepSeek thinking mode this parameter is accepted for compatibility but has no effect.",
      "group": "sampling",
      "applicability": {
        "except": {
          "thinking.type": [
            "enabled"
          ]
        }
      },
      "type": "number",
      "default": 1,
      "range": {
        "min": 0,
        "max": 2,
        "step": 0.1
      }
    },
    {
      "path": "top_p",
      "label": "Top P",
      "description": "Controls nucleus sampling. In DeepSeek thinking mode this parameter is accepted for compatibility but has no effect.",
      "group": "sampling",
      "applicability": {
        "except": {
          "thinking.type": [
            "enabled"
          ]
        }
      },
      "type": "number",
      "default": 1,
      "range": {
        "min": 0,
        "max": 1,
        "step": 0.01
      }
    },
    {
      "path": "thinking.type",
      "label": "Thinking mode",
      "description": "Controls whether DeepSeek uses thinking mode before producing the final answer.",
      "group": "reasoning",
      "type": "enum",
      "default": "disabled",
      "values": [
        "disabled",
        "enabled"
      ]
    }
  ]
}
