---
title: DeepSeek-V4-Pro
canonical_url: "https://www.modelscope.cn/models/mlx-community/DeepSeek-V4-Pro"
md_url: "https://www.modelscope.cn/models/mlx-community/DeepSeek-V4-Pro.md"
repository: mlx-community/DeepSeek-V4-Pro
last_updated: 2026-06-07
license: mit
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - deepseek_v4
architectures:
  - DeepseekV4ForCausalLM
base_model:
  - deepseek-ai/DeepSeek-V4-Pro
base_model_relation: quantized
parameters: 249.2B
tensor_type:
  - U8
  - U32
  - F32
  - BF16
  - I64
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
downloads: 81
stars: 1
tags:
  - mlx
---

# DeepSeek-V4-Pro

> DeepSeek-V4-Pro - mlx-community 在 ModelScope 开源的模型。mlx-community/DeepSeek-V4-Pro

mlx-community/DeepSeek-V4-Pro 是 ModelScope 魔搭社区上的 249.2B 参数text-generation模型，采用 mit 许可，基于 deepseek-ai/DeepSeek-V4-Pro 构建。

- **Repository**: mlx-community/DeepSeek-V4-Pro
- **License**: mit
- **Tasks**: text-generation
- **Parameters**: 249.2B
- **Base model**: deepseek-ai/DeepSeek-V4-Pro
- **Tags**: mlx
- **Downloads**: 81
- **Stars**: 1
- **Last updated**: 2026-06-07

Source: https://www.modelscope.cn/models/mlx-community/DeepSeek-V4-Pro

---

# mlx-community/DeepSeek-V4-Pro

This 8-bit model [mlx-community/DeepSeek-V4-Pro](https://huggingface.co/mlx-community/DeepSeek-V4-Pro) was converted to MLX format from [deepseek-ai/DeepSeek-V4-Pro](https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro).

DeepSeek-V4-Pro is a Mixture-of-Experts model with 1.6T total parameters, 49B activated parameters, and a context length of 1M tokens. Refer to the [original model card](https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro) for more details on the model.

## Use with mlx

```bash
pip install mlx-lm
```

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/DeepSeek-V4-Pro")

prompt = "hello"

if tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)
```
