{
 "kind": "model",
 "slug": "deepseek-ai-deepseek-v3-2",
 "path": "models/open/deepseek-ai-deepseek-v3-2/",
 "name": "DeepSeek-V3.2",
 "maker": "DeepSeek",
 "density": "full",
 "crumbs": [
  [
   "Models",
   "models/"
  ],
  [
   "Open models",
   "models/open/"
  ]
 ],
 "lead": "Very large reasoning model for agents.",
 "chips": [
  {
   "label": "Text and agents",
   "path": "models/open/"
  },
  {
   "label": "Commercial use"
  }
 ],
 "primary": {
  "label": "Copy model id",
  "copy": "deepseek-ai/DeepSeek-V3.2"
 },
 "links": [
  {
   "label": "Hugging Face",
   "href": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2"
  },
  {
   "label": "Demos",
   "href": "https://huggingface.co/spaces?search=DeepSeek-V3.2"
  }
 ],
 "track": "New versions, price and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "Commercial use",
   "value": "Allowed",
   "status": "yes",
   "sub": "MIT",
   "quote": "to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
   "note": "The MIT license allows any use, including selling, if the notice is kept.",
   "src": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/LICENSE"
  },
  {
   "key": "local",
   "label": "On your machine",
   "status": "info",
   "value": "Needs a server",
   "sub": "685.4B parameters, ~411.2 GB at 4-bit",
   "note": "Our estimate: about 0.6 GB per billion parameters at 4-bit, with room for the context.",
   "src": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2"
  },
  {
   "key": "api",
   "label": "Through an API",
   "status": "yes",
   "value": "$0.26 / $0.38",
   "sub": "per 1M tokens, DeepInfra",
   "note": "Cheapest live provider with tool calling, as the provider reports its price.",
   "src": "https://huggingface.co/docs/inference-providers"
  },
  {
   "key": "tools",
   "label": "Tool calling",
   "status": "yes",
   "value": "3 of 3 providers",
   "sub": "3 providers, 3 with tool calling",
   "note": "Providers whose API supports tool calling for this model, as each reports it.",
   "src": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2"
  }
 ],
 "vfoot": "Checked against its official pages on Nov 23, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What DeepSeek-V3.2 does",
   "parts": [
    {
     "t": "prose",
     "text": "DeepSeek-V3.2 is an open language model by DeepSeek that reasons through hard problems and uses tools for AI agents, built to stay efficient on long texts. It is very large, about 685 billion parameters, and runs on servers with several graphics cards. The weights are on Hugging Face, free to use in paid products under the MIT license."
    },
    {
     "t": "h3",
     "text": "What people use it for"
    },
    {
     "t": "uses",
     "items": [
      {
       "title": "Solve hard math and coding problems",
       "text": "Use it for step-by-step reasoning on competition-level math and programming tasks.",
       "idea": false
      },
      {
       "title": "Agents that think while using tools",
       "text": "The model can keep reasoning between tool calls, which helps agents that search, run code or call services.",
       "idea": false
      },
      {
       "title": "Work with long documents",
       "text": "Its sparse attention design cuts compute on long inputs while keeping answer quality, so long files cost less to process.",
       "idea": false
      },
      {
       "title": "Build prompts in its own format",
       "text": "The maker's Python scripts turn a normal chat history into the exact text the model expects.",
       "idea": false
      },
      {
       "title": "Chat with it on your own servers",
       "text": "Convert the weights for the maker's demo code and start an interactive chat split across your graphics cards.",
       "idea": false
      },
      {
       "title": "Search agents with a special role",
       "text": "A separate developer role in the prompt is meant only for search-agent setups.",
       "idea": false
      }
     ]
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "DeepSeek-V3.2 popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "1,617",
       "l": "likes on Hugging Face"
      },
      {
       "n": "11.1M",
       "l": "downloads, last 30 days"
      },
      {
       "n": "4",
       "l": "Hugging Face trending score"
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported by Hugging Face, checked Nov 26, 2026. Downloads include automated ones; some repositories report none."
    }
   ]
  },
  {
   "id": "run",
   "nav": "Run it",
   "h2": "Where to run DeepSeek-V3.2",
   "parts": [
    {
     "t": "h3",
     "text": "Through an API"
    },
    {
     "t": "table",
     "head": [
      "Provider",
      "$ per 1M in / out",
      "Tools",
      "Context"
     ],
     "rows": [
      [
       "DeepInfra (94.7% up, 24h)",
       "$0.26 / $0.38",
       "Yes",
       "164K"
      ],
      [
       "OpenRouter",
       "$0.26 / $0.38",
       "Yes",
       "164K"
      ],
      [
       "Featherless (80.7% up, 24h)",
       "$0.9 / $1.6",
       "Yes",
       "131K"
      ]
     ],
     "num": true
    },
    {
     "t": "small",
     "text": "As reported by each provider via Hugging Face Inference Providers and OpenRouter, checked Nov 26, 2026."
    },
    {
     "t": "h3",
     "text": "On your machine"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Parameters",
       "v": "685.4B"
      },
      {
       "l": "Memory at 4-bit",
       "v": "about 411.2 GB",
       "sub": "Our estimate: 0.6 GB per billion parameters, with room for the context."
      },
      {
       "l": "GGUF builds",
       "v": "5 on Hugging Face",
       "sub": "For llama.cpp, Ollama and LM Studio; e.g. unsloth/DeepSeek-V3.2-GGUF"
      },
      {
       "l": "MLX builds",
       "v": "2 on Hugging Face",
       "sub": "For Apple silicon"
      }
     ]
    }
   ]
  },
  {
   "id": "license",
   "nav": "License",
   "h2": "DeepSeek-V3.2 license",
   "parts": [
    {
     "t": "prose",
     "text": "Free to use, change and sell in paid products under the MIT license, weights included. Keep the copyright and license notice with copies of the files."
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In a paid product",
       "v": "Yes",
       "status": "yes",
       "sub": "The MIT license allows any use, including selling, if the notice is kept.",
       "quote": "to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
       "src": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/LICENSE"
      },
      {
       "l": "Ship the weights to users",
       "v": "With conditions",
       "status": "cond",
       "sub": "Keep the copyright and permission notice with every copy of the weights or code.",
       "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
       "src": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/LICENSE"
      },
      {
       "l": "Work for clients",
       "v": "Yes",
       "status": "yes",
       "sub": "You may build and deliver client projects on it; the notice stays with copied files.",
       "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy",
       "src": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/LICENSE"
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "DeepSeek-V3.2",
       "me": true,
       "facts": [
        "1,617 likes",
        "MIT"
       ]
      },
      {
       "name": "Qwen3.8-27B",
       "path": "models/open/qwen-qwen3-8-27b/",
       "why": "Qwen · image-text-to-text",
       "facts": [
        "21.7K likes",
        "Apache 2.0"
       ]
      },
      {
       "name": "Kimi-K3",
       "path": "models/open/moonshotai-kimi-k3/",
       "why": "moonshotai · image-text-to-text",
       "facts": [
        "12K likes",
        "Custom license"
       ]
      },
      {
       "name": "Llama-3.1-8B-Instruct",
       "path": "models/open/meta-llama-llama-3-1-8b-instruct/",
       "why": "meta-llama · text-generation",
       "facts": [
        "9,102 likes",
        "Llama 3.1 license"
       ]
      },
      {
       "name": "Qwen3.8-Flash-Next",
       "path": "models/open/qwen-qwen3-8-flash-next/",
       "why": "Qwen · image-text-to-text",
       "facts": [
        "7,502 likes",
        "Custom license"
       ]
      }
     ],
     "more": "All text and agents models",
     "more_path": "models/open/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "prompt",
     "text": "For deepseek-ai/DeepSeek-V3.2 do not use tokenizer.apply_chat_template (there is no Jinja template); build prompts with encode_messages from the repo's encoding/encoding_dsv32.py, sample with temperature 1.0 and top_p 0.95, and run it on a multi-GPU server following inference/README.md."
    },
    {
     "t": "steps",
     "items": [
      {
       "text": "Convert the Hugging Face weights for the demo code; set MP to the number of graphics cards you have.",
       "code": "cd inference\nexport EXPERTS=256\npython convert.py --hf-ckpt-path ${HF_CKPT_PATH} --save-path ${SAVE_PATH} --n-experts ${EXPERTS} --model-parallel ${MP}",
       "src": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/inference/README.md"
      },
      {
       "text": "Start the interactive chat.",
       "code": "export CONFIG=config_671B_v3.2.json\ntorchrun --nproc-per-node ${MP} generate.py --ckpt-path ${SAVE_PATH} --config ${CONFIG} --interactive",
       "src": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/inference/README.md"
      },
      {
       "text": "In your own app, build prompts with the encoding scripts and use the recommended sampling settings.",
       "code": null,
       "src": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/README.md"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Model id to use"
    },
    {
     "t": "tabs",
     "label": "Where to run",
     "items": [
      {
       "tab": "OpenRouter",
       "intro": "OpenAI-compatible: base URL https://openrouter.ai/api/v1",
       "code": "deepseek/deepseek-v3.2"
      },
      {
       "tab": "Hugging Face router",
       "intro": "OpenAI-compatible: base URL https://router.huggingface.co/v1",
       "code": "deepseek-ai/DeepSeek-V3.2"
      },
      {
       "tab": "Local (GGUF)",
       "intro": "A community GGUF build on Hugging Face; read its card before use.",
       "code": "unsloth/DeepSeek-V3.2-GGUF"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Mistakes to avoid"
    },
    {
     "t": "mistakes",
     "items": [
      {
       "dont": "tokenizer.apply_chat_template(messages) as with other models",
       "fix": "encode_messages(messages, thinking_mode=\"thinking\", ...) from encoding/encoding_dsv32.py",
       "why": "This release ships no Jinja chat template, only the Python encoder."
      },
      {
       "dont": "Using parse_message_from_completion_text as-is in production",
       "fix": "Wrap parsing in your own error handling and retry or reject broken output",
       "why": "The parser handles only well-formed output and does not repair bad model output."
      },
      {
       "dont": "Sending messages with the developer role to DeepSeek's official hosted service",
       "fix": "Use the developer role only with your own deployment, for search-agent setups",
       "why": "The official service rejects that role."
      },
      {
       "dont": "Picking DeepSeek-V3.2-Speciale for an agent that calls tools",
       "fix": "Use DeepSeek-V3.2 for tool calling; keep Speciale for pure reasoning",
       "why": "Speciale does not support tool calling."
      },
      {
       "dont": "Running an inference demo copied before 2025-11-17",
       "fix": "Use the current inference code from the repo",
       "why": "Older demo code had a position-encoding bug in the indexer that could lower quality."
      }
     ]
    }
   ]
  },
  {
   "id": "faq",
   "nav": "Questions",
   "h2": "Questions",
   "parts": [
    {
     "t": "faq",
     "items": [
      {
       "q": "Can I use DeepSeek-V3.2 in a paid product?",
       "a": "Yes. The code and the weights are under MIT; keep the license notice with copies.",
       "evidence": {
        "url": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/README.md",
        "quote": "This repository and the model weights are licensed under the MIT License."
       }
      },
      {
       "q": "Does it work with apply_chat_template?",
       "a": "No. Use the Python encoder in the encoding folder of the repo.",
       "evidence": {
        "url": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/README.md",
        "quote": "This release does not include a Jinja-format chat template."
       }
      },
      {
       "q": "What sampling settings should I use?",
       "a": "Temperature 1.0 and top_p 0.95 for local deployment.",
       "evidence": {
        "url": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/README.md",
        "quote": "For local deployment, we recommend setting the sampling parameters to temperature = 1.0, top_p = 0.95."
       }
      },
      {
       "q": "How is it different from DeepSeek-V3.2-Exp?",
       "a": "The model structure is the same; the run-locally instructions live with V3.2-Exp.",
       "evidence": {
        "url": "https://huggingface.co/deepseek-ai/DeepSeek-V3.2/raw/main/README.md",
        "quote": "The model structure of DeepSeek-V3.2 and DeepSeek-V3.2-Speciale are the same as DeepSeek-V3.2-Exp."
       }
      }
     ]
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "DeepSeek"
  ],
  [
   "Task",
   "Text and agents"
  ],
  [
   "Pipeline",
   "text-generation"
  ],
  [
   "On Hugging Face since",
   "Dec 1, 2025"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Parameters",
   "685.4B"
  ],
  [
   "Context",
   "164K tokens"
  ],
  [
   "Hugging Face",
   "deepseek-ai/DeepSeek-V3.2"
  ]
 ],
 "good": [
  "About 685 billion parameters, stored mostly in 8-bit numbers (FP8), so it needs a server with several large graphics cards.",
  "The model settings allow up to 163,840 tokens of context.",
  "There is no ready chat template file; prompts are built with the maker's Python scripts."
 ],
 "checked_line": "Hand-checked from 7 official pages on Nov 23, 2026; numbers refresh daily.",
 "logo": null
}