# Is DeepSeek open source? Yes, weights are MIT, data is not

> DeepSeek V4.1 Flash and V4 Pro weights carry the MIT license. The training data and training code are not released, so it is open weight, not fully open source.

URL: https://claudegpt.si/news/is-deepseek-open-source  
Published: 2026-11-01T02:50:45.438Z  
Author: ClaudeGPT Si Newsroom  
Section: AI Models  
Topics: DeepSeek, Open source, Open-weight models, Hugging Face  
Publisher: ClaudeGPT Si

## Key takeaways

- The Hugging Face cards for DeepSeek V4.1 Flash, V4.1 Flash 1017, V4 Pro and V4 Pro 0813 say the repository and weights are MIT-licensed.
- DeepSeek has not published the training data, and we found no released training code for the models.
- The API is billed per token, while self-hosting needs server-scale hardware because the models have hundreds of billions of parameters.

DeepSeek's current models are open weight, and most of them carry the MIT license. That is the short answer to whether DeepSeek is open source. DeepSeek's Hugging Face cards for [V4.1 Flash](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash), V4.1 Flash 1017 and [V4 Pro](https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro) all say the repository and the weights are licensed under MIT, which allows commercial use. What DeepSeek has not published is the training data or the training code, so "open source" in the strict sense does not fit. "Open weights" does.

The distinction matters if you plan to build on these models. MIT weights mean you can download, run, fine-tune and ship them. They do not let you reproduce how the model was made.

## Which DeepSeek models have MIT weights

Here is what the Hugging Face cards showed on November 1, 2026.

| Model | License on the card | Notes |
| --- | --- | --- |
| DeepSeek-V4.1-Flash | MIT, repository and weights | 763B total parameters on the Hugging Face listing, about 8B active per token during prefill and 16B during decode, 1M-token context, handles images and text |
| DeepSeek-V4.1-Flash-1017 | MIT, repository and weights | A minor update to V4.1 Flash. The API's `deepseek-flash` now points to it |
| DeepSeek-V4-Pro | MIT, repository and weights | 1.6T total parameters, 49B active, 1M-token context. Described as a preview |
| DeepSeek-V4-Pro-0813 | MIT, repository and weights | The release that DeepSeek says supersedes the preview, with 1.7T parameters on the listing |
| DeepSeek-V4-Flash-Vision-Exp | MIT, but the card says "this repository" | It does not separately mention the weights. Read the repository license before relying on it |
| DeepSeek-V4-Flash-Base | No license shown | The page shows no license tag and no model card, so we can't say what terms apply |

Treat the last two rows with care. Each model has its own repository, and the license sits in that repository, not in a blanket statement for the whole company. Check the card for the exact model you download.

DeepSeek's [GitHub](https://github.com/deepseek-ai) also holds code. Its list of repositories includes GPU kernel libraries such as FlashMLA and DeepGEMM, and a deepseek-harness framework, all labeled MIT, plus an inference framework called DeepInfer labeled Apache-2.0. Those labels come from the repository list, and we did not open each license file.

## What DeepSeek has not released

The V4.1 Flash card says the model was trained from scratch on a multimodal corpus of 45 trillion tokens. It does not say what is in that corpus. The training data is not published. The card links a technical report and includes folders for inference and prompt encoding, but we found no training code for the model. The Hugging Face page lists the benchmark scores, which come from DeepSeek's own evaluation setup, not from independent tests.

So you can inspect the weights and run them, but you can't audit what they were trained on or retrain them from scratch.

## API or self-hosting

You can use DeepSeek two ways.

**The API.** DeepSeek's [API docs](https://api-docs.deepseek.com/) list two model names, `deepseek-flash` and `deepseek-v4-pro`. The API follows the OpenAI format at `https://api.deepseek.com`, and there is an Anthropic-compatible endpoint at `https://api.deepseek.com/anthropic`. It is billed per token. As of November 1, 2026, [the pricing page](https://api-docs.deepseek.com/quick_start/pricing) lists `deepseek-flash` at $0.15 per million input tokens on a cache miss and $0.60 per million output tokens off-peak. `deepseek-v4-pro` costs $0.66 and $1.98. Peak rates are double. Both models have a 1M-token context. See our guide on [whether DeepSeek is free](https://claudegpt.si/news/is-deepseek-free) for the full cost picture.

**Self-hosting.** You download the weights from Hugging Face and run them yourself. The scale is the catch. V4.1 Flash has 763B parameters on its listing, and V4 Pro has 1.6T. These are models for server clusters, not laptops. Your data stays on your own hardware, and you pick the infrastructure. For a closer look at the Flash model, read our [explainer on DeepSeek V4.1 Flash](https://claudegpt.si/news/deepseek-v4-1-flash-explained).

The two routes differ on data. Using DeepSeek's own app or API sends your prompts to DeepSeek. Self-hosting does not.

## Is DeepSeek free, safe and Chinese

The weights are free to download under MIT, but running them costs hardware. The API charges per token, and DeepSeek's site presents its chat as free to try.

On safety, the question is mostly about data. DeepSeek's privacy policy says it collects, processes and stores personal data in the People's Republic of China, and that it collects prompts, uploaded files and chat history. Self-hosted weights avoid that. We did not test the models for safety or security in this article.

DeepSeek is Chinese. The service is run by Hangzhou DeepSeek Artificial Intelligence Co., Ltd., according to its privacy policy.

## What to check before you build on it

Read the license in the repository of the model you pick, since cards differ. Then decide whether you need the API, where your data goes, or your own servers. Prices and model names have changed several times this year, so check the pricing page again before you commit.

## Frequently asked questions

### Is DeepSeek free?

The weights are free to download under MIT, but running them costs hardware. The API is billed per token, and DeepSeek's site presents its chat as free to try.

### Is DeepSeek safe?

DeepSeek's privacy policy says it stores personal data, including prompts and chat history, in China. Self-hosting the weights keeps your data on your own servers. We did not test the models for security.

### Is DeepSeek Chinese?

Yes. The service is operated by Hangzhou DeepSeek Artificial Intelligence Co., Ltd., according to its privacy policy.

## Sources

- [DeepSeek-V4.1-Flash model card](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash), DeepSeek on Hugging Face
- [DeepSeek-V4-Pro model card](https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro), DeepSeek on Hugging Face
- [DeepSeek-V4.1-Flash-1017 model card](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017), DeepSeek on Hugging Face
- [DeepSeek API docs](https://api-docs.deepseek.com/), DeepSeek
- [Models and pricing](https://api-docs.deepseek.com/quick_start/pricing), DeepSeek
- [DeepSeek on GitHub](https://github.com/deepseek-ai), DeepSeek
- [DeepSeek privacy policy](https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html), DeepSeek
