{"Code":200,"Data":{"AigcAttributes":"{}","AigcIsTop":0,"AigcType":"","AlreadyStar":false,"ApplyMeta":"{}","ApprovalMode":1,"ApprovalNotifyEmail":"","Architectures":["DeepseekV4ForCausalLM"],"Avatar":"https://img.alicdn.com/imgextra/i1/O1CN01yhHrHg1Pdl3UKPhGc_!!6000000001864-2-tps-88-88.png","Backbone":[],"BackendSupport":{"architectures":null,"backend_info":{"deploy_task":null,"lmdeploy":null,"lmdeploy_turbomind":null,"ollama":null,"sglang":null,"vllm":null},"model_id":"deepseek-ai/DeepSeek-V4-Pro"},"BaseModel":[],"BaseModelRelation":"","CardReady":0,"CardUnreadyReason":"","CertificationCreateBy":"","CertificationCreatedTime":-62135596800,"ChineseName":"","CoverHeight":0,"CoverImages":[],"CoverWidth":0,"CreatedBy":"msr2000","CreatedTime":1776838046,"DashSdkParameter":"","Datasets":{},"DemoAvailable":0,"DemoUnavailableReason":"","Description":"","Domain":[],"Downloads":245162,"ExampleCodeAvailable":0,"ExampleCodeUnavailableReason":"","ForbiddenVisibilityUpdate":false,"Frameworks":["Pytorch"],"FromSite":"maas","Id":1221093,"Integrating":0,"IntegrationFailureLog":"","IntegrationFailureReason":"","IsAccessible":1,"IsCertification":4,"IsHot":0,"IsNewModel":false,"IsOnline":1,"IsOrgClaimed":false,"IsPreTrain":0,"IsPublished":1,"IsTop":0,"Language":[],"LastUpdatedTime":1782130422,"Libraries":["safetensors","pytorch"],"License":"mit","LicenseLink":"","LicenseName":"","Meta":"","Metrics":[],"ModelDetail":{},"ModelInfos":{"safetensor":{"chat_template":"","files":[{"name":"model.safetensors.index.json","sha256":"a3a39b9ccb4e729851922fc9c770f5c5755e7b9d7e96cd02c23f0e12b5e25cb9","size":11305684},{"name":"model-00001-of-00064.safetensors","sha256":"0ef64d991b80c86f24bd78d1bac9d452d95bc78e6b1d8feb6a182dae0240c7e5","size":1853358176},{"name":"model-00002-of-00064.safetensors","sha256":"a2eba858e27f76c45c72be841904fdab61430038d10a6eb1315382c463edd05b","size":13874726024},{"name":"model-00003-of-00064.safetensors","sha256":"bcb447cf477f3e5f402c76af6544978235895256e11582b1782780e195cb9de7","size":13874726024},{"name":"model-00004-of-00064.safetensors","sha256":"ff448399c432294cf2c32fef0f2d0c45198dba478ccbb26fdbe3d9470a9e3401","size":13910006752},{"name":"model-00005-of-00064.safetensors","sha256":"0833ba3fc3c9976388a72cc6f25fb2e9e3c7971bd7f9b21e651891f118852d8b","size":13868522072},{"name":"model-00006-of-00064.safetensors","sha256":"cf7e1aaa849312f1d9f31ddb8309b48483a14bd594310db99c548085c6b6d78a","size":13903802792},{"name":"model-00007-of-00064.safetensors","sha256":"a1407195df32a4f05f81679df125b226a643d3d2039c8bf191a5261254d3d729","size":13868522072},{"name":"model-00008-of-00064.safetensors","sha256":"80fd70e6888dbed2f25d0e5cf5cd703d927356e5902edc7ee2e9ea0efea8a8ee","size":13903802792},{"name":"model-00009-of-00064.safetensors","sha256":"65d633781dad4735df26ad1ad428592513088ff9c5649ef4aae0ad80ead8abe1","size":13868522072},{"name":"model-00010-of-00064.safetensors","sha256":"77b54d8e48f5b53f0d29d0b55e9040b79cda41fe1959aaddba568e69e315fa90","size":13903802792},{"name":"model-00011-of-00064.safetensors","sha256":"ded642930dc67969f38eca789a9071e5d3dda76f634687db998bff367a495a99","size":13868522072},{"name":"model-00012-of-00064.safetensors","sha256":"aeec3cfca08c45c7325e36b3c936da1d6e1fe4b2293fa5ae9183d907595c912c","size":13903805136},{"name":"model-00013-of-00064.safetensors","sha256":"20329c33fa44137d57a1cd6908cae0d667f2dc242a969899b2aa139c8df5addd","size":13868524408},{"name":"model-00014-of-00064.safetensors","sha256":"1830a51d66eaf06b22e1c58329d93b59c7281340bf3d8f851fa9e78b35edab28","size":13903805136},{"name":"model-00015-of-00064.safetensors","sha256":"8e76a5fe75ab666c6700fe50b23da4ab39b2c27415cf4190eecfdfdc975919d7","size":13868524408},{"name":"model-00016-of-00064.safetensors","sha256":"61af73d908edcc6b820ca5d7cca27114b51f2def5f9e742ad7d6a66bb950b989","size":13903805136},{"name":"model-00017-of-00064.safetensors","sha256":"64159da36792f522305d580b725941c5b0abd29808c41eb944b8e9c8b1a85146","size":13868524408},{"name":"model-00018-of-00064.safetensors","sha256":"95c161b04fca5bba2d8739467e07f570eb82234f28912502583d557061c030a4","size":13903805136},{"name":"model-00019-of-00064.safetensors","sha256":"4155f2b1a428af47753345678152a5c69df51fa60d18b1203c1484cfc261fa45","size":13868524408},{"name":"model-00020-of-00064.safetensors","sha256":"b42f5ba06ac82c53ddff70ac98b96a568f91455d5fde37615535d89c4050c982","size":13903805136},{"name":"model-00021-of-00064.safetensors","sha256":"0a60b02dc21dcf513fdd1c30ad6cdd91f9ff3943d77f1c085b1aa0525663186d","size":13868524408},{"name":"model-00022-of-00064.safetensors","sha256":"8c0b74723a79f8cc6dea610709ce55336a4f1ba3ba8bf6739869e8764e769bc2","size":13903805136},{"name":"model-00023-of-00064.safetensors","sha256":"5f6cc767aa2780413d7eb80abb7fd038fc8ba5f9534893238a3d2e22954d90ce","size":13868524408},{"name":"model-00024-of-00064.safetensors","sha256":"90c8bcd93574b932491b71445b6bc1c898e9f42ed381160b5cd6a6febfdc06bd","size":13903805136},{"name":"model-00025-of-00064.safetensors","sha256":"8fc226e154239f211f65474941263c4696ea5c3dc602c146397662373fb02bfe","size":13868524408},{"name":"model-00026-of-00064.safetensors","sha256":"0e01fdd4ad9a5d3341bdf8cb09dba9b02282804be69f2a61b3fe1dad1ee1702d","size":13903805136},{"name":"model-00027-of-00064.safetensors","sha256":"1e5ea5c025c2d0c73d207040bf9ea1fec03e26a0d7238af760290ee374611ecd","size":13868524408},{"name":"model-00028-of-00064.safetensors","sha256":"626dff2e694137259aa316f944c045eb584d035ddc13e5bc70c451653af4801a","size":13903805136},{"name":"model-00029-of-00064.safetensors","sha256":"cd38adfa81f429167f29db3a6381ade884cb9d718aa6f44aa013c35e621ec829","size":13868524408},{"name":"model-00030-of-00064.safetensors","sha256":"ae1b865dd129d58bb741763eb9714ada226d978161f76beee08740bea0c7afb6","size":13903805136},{"name":"model-00031-of-00064.safetensors","sha256":"0035e4b9a1e9b7f6a060ab314a51587f12386877855e338955d31a4a7510e26d","size":13868524408},{"name":"model-00032-of-00064.safetensors","sha256":"de1ae311527cdaed5f0834e504b9a9d4c85aaf4ec5b0b251ba4e2f5be8c4fce1","size":13903805136},{"name":"model-00033-of-00064.safetensors","sha256":"3adb1d4da092b5b7873c7e535db4ed7d0eec00d49f08a5bc4e158176dbbce502","size":13868524408},{"name":"model-00034-of-00064.safetensors","sha256":"22edfb2d4f24590dc16e7f32a6e97b938cae14da5113014e9c9af23b85a14eae","size":13903805136},{"name":"model-00035-of-00064.safetensors","sha256":"33f29691d7d99028cfe76a70cf9bc7db2ce42a808a0015860725bc89b3404376","size":13868524408},{"name":"model-00036-of-00064.safetensors","sha256":"a2eccd1b26083d32bec90c735824ce5a29976b661cb9acba93cf9d54eb39adda","size":13903805136},{"name":"model-00037-of-00064.safetensors","sha256":"e437b266df8e8f9381ddc3fb096a2cd7425aa61884e9be5e280034404f78ad57","size":13868524408},{"name":"model-00038-of-00064.safetensors","sha256":"6d88fe9ea60374a3ba960c38e27cc2361a0db3a54148a77bf59067077d5808b6","size":13903805136},{"name":"model-00039-of-00064.safetensors","sha256":"11d76ed51713f09c7c579ca48ebfb935cbfde1f4e8eec59f5d2f01ce88c14f00","size":13868524408},{"name":"model-00040-of-00064.safetensors","sha256":"db048ee990c2c77feb6f42cb72f1c55333aafb7c872b1681beddce25ee1f7847","size":13903805136},{"name":"model-00041-of-00064.safetensors","sha256":"6378a7a765016688a02b844d0b148c1ee5a5921bb2847c90c44c455dd210fc09","size":13868524408},{"name":"model-00042-of-00064.safetensors","sha256":"2b8ff8775b8807566baa0dbe1f8d4a900fd168c395ffedeadd9e17c7dab6b840","size":13903805136},{"name":"model-00043-of-00064.safetensors","sha256":"184b068f1ccf22318ea1d2add79bebf3e0f3bf02fddf5148696d4d97497a74ef","size":13868524408},{"name":"model-00044-of-00064.safetensors","sha256":"033fb548ce2d348ba5d4832077b3ca23e4d3a6a0648ab54e6e06a94ea243b346","size":13903805136},{"name":"model-00045-of-00064.safetensors","sha256":"644bf603deaa4cef01778269b434dc5b15e38835a8d6b19b61cfba1f719d7025","size":13868524408},{"name":"model-00046-of-00064.safetensors","sha256":"4a385c12ab746b513a5590707d5919e713ef9dc7a8bd51d26828fa6578f7c268","size":13903805136},{"name":"model-00047-of-00064.safetensors","sha256":"9867fd027e38ef63818916432605085cbe029800ad6f9418d7801f5b56cef4b6","size":13868524408},{"name":"model-00048-of-00064.safetensors","sha256":"9a888dba876800f2983004d9951baffbc6c16456369badde4360419f50e0849e","size":13903805136},{"name":"model-00049-of-00064.safetensors","sha256":"960c9139a6a83a2473eda09b267e6ba47b95cc19bbb1a9b1f7bac2b45bf53cee","size":13868524408},{"name":"model-00050-of-00064.safetensors","sha256":"30b87de8350dd805240a812b5ec25094689652ee531463e541bc45feee304f92","size":13903805136},{"name":"model-00051-of-00064.safetensors","sha256":"eb539e5674aa3d43610a7356cc7c54f0e68e695f8cf141318df85565c321c445","size":13868524408},{"name":"model-00052-of-00064.safetensors","sha256":"590d0b044b0215aec29a736ffce2d733c3c47287025599d8117de36a6331c97a","size":13903805136},{"name":"model-00053-of-00064.safetensors","sha256":"d9a746bf9bb208e5f07641a432e6f9d1194a4f8986ac6214a6335a05ec0b8be3","size":13868524408},{"name":"model-00054-of-00064.safetensors","sha256":"a230b4c58df07517a18ed495a86755861ed20eb57b2580a63f1339b3608a0309","size":13903805136},{"name":"model-00055-of-00064.safetensors","sha256":"6850e7814c506bc22d8b1941d14374476912f897d8e6290b17d18e2650399ec1","size":13868524408},{"name":"model-00056-of-00064.safetensors","sha256":"bffc8f966668bbb52cb5f70611782195840acedb14f03af3f3d4061827ad87b2","size":13903805136},{"name":"model-00057-of-00064.safetensors","sha256":"23c0e3c7680fb12730c67b42c8fceaca6e7b8578398bd477d50f38187a5c974a","size":13868524408},{"name":"model-00058-of-00064.safetensors","sha256":"5bcb1fae104e5ab6d1a2e25d6a5da5a98a5ee46d5e2db13042e5c3fab347950b","size":13903805136},{"name":"model-00059-of-00064.safetensors","sha256":"249935bc5bb459d4fb2341a983abd137bd8fa8e13c970125fb2e0b578375cb13","size":13868524408},{"name":"model-00060-of-00064.safetensors","sha256":"cf96a777bcbaca05d9b04b71cea6d0d431352e1415ee8d2876c099c1861260a3","size":13903805136},{"name":"model-00061-of-00064.safetensors","sha256":"b76467b20ebe9ca4952cbea00e5ea94c353ae472fae82d4fff824d107fea2b18","size":13868524408},{"name":"model-00062-of-00064.safetensors","sha256":"36a8b9ab83f3bc084d4fa0fbbe56418b94b35721aa7743ddcc7c09973dfd0004","size":13903805136},{"name":"model-00063-of-00064.safetensors","sha256":"0dfab2c9dca3e8503d1449cf4fe58313bf99addd069e3cfff30b89c762b0fe0f","size":1853831588},{"name":"model-00064-of-00064.safetensors","sha256":"b440981f273d256befc31c8d17a26fa1834d93a8e1aeb256ee540d9b1ca9d387","size":13956840780}],"model_size":861608274846,"tensor_type":["F8_E8M0","I8","F32","F8_E4M3","I64","BF16"]}},"ModelRevisions":null,"ModelSource":"USER_UPLOAD","ModelTools":"","ModelType":["deepseek_v4"],"MuseInfo":null,"NEXA":{"Catalogues":null,"ModelCover":"","ScientificField":"","Source":"","SubScientificField":null},"Name":"DeepSeek-V4-Pro","NewVersion":"","NickName":"","OfficialTags":null,"OpenAiSwingDeployInfo":{"Order":0,"Recommend":null,"lmdeploy":{"eas":{"Script":"","requirements":""},"ens":{"Script":"","requirements":""},"fc":{"Script":"","requirements":""},"image_tag":""},"ollama":{"eas":{"Script":"","requirements":""},"ens":{"Script":"","requirements":""},"fc":{"Script":"","requirements":""},"image_tag":""},"pipeline":{"eas":{"Script":"","requirements":""},"ens":{"Script":"","requirements":""},"fc":{"Script":"","requirements":""},"image_tag":""},"vllm":{"eas":{"Script":"","requirements":""},"ens":{"Script":"","requirements":""},"fc":{"Script":"","requirements":""},"image_tag":""}},"Organization":{"ApplyFailureReason":"","ApplyReason":"","Avatar":"https://resouces.modelscope.cn/avatar/6c8d6d52-b760-4538-9b32-35dd5ebecc68.jpg","CreateCompetition":false,"CreatedBy":"Cherrytest","Description":"[\"root\",{},[\"p\",{},[\"span\",{\"data-type\":\"text\"},[\"span\",{\"bold\":true,\"data-type\":\"leaf\"},\"深度求索（DeepSeek）成立于 2023 年，一家致力于将通用人工智能（AGI）变为现实的中国公司。\"]]],[\"p\",{},[\"span\",{\"data-type\":\"text\"},[\"span\",{\"bold\":true,\"data-type\":\"leaf\"},\"怀抱好奇，解构 AGI 之谜；践行长期主义，回答时代之问。\"]]]]","DisplayUrl":"","Email":"","EmailDomain":"","FollowerCnt":0,"FromSite":"","FullName":"DeepSeek","GithubAddress":" https://www.deepseek.com/","GmtCreated":"2023-11-02T14:39:45Z","GmtModified":"2026-11-09T08:57:51Z","Id":405,"InitAdminMembers":"","IsApply":false,"IsCertification":"","MemberCnt":0,"Mobile":"","Name":"deepseek-ai","Path":"","Roles":null,"SocialLinks":null,"StarCnt":0,"Status":0,"SubscribeVo":null,"Type":2},"PaiModelGalleryUrl":{"deploy":"https://account.aliyun.com/login/login.htm?oauth_callback=https%3A//pai.console.aliyun.com/regionId%3Dcn-hangzhou%23/quick-start/models/DeepSeek-V4-Pro/intro%3FviewType%3DDeploy%26from%3DModelScope\u0026lang=zh"},"PaiSdkParameter":null,"Path":"deepseek-ai","ProtectedMode":2,"ReadMeContent":"# DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence\n\n\u003c!-- markdownlint-disable first-line-h1 --\u003e\n\u003c!-- markdownlint-disable html --\u003e\n\u003c!-- markdownlint-disable no-duplicate-header --\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/logo.svg?raw=true\" width=\"60%\" alt=\"DeepSeek-V4\" /\u003e\n\u003c/div\u003e\n\u003chr\u003e\n\u003cdiv align=\"center\" style=\"line-height: 1;\"\u003e\n  \u003ca href=\"https://www.deepseek.com/\" target=\"_blank\" style=\"margin: 2px;\"\u003e\n    \u003cimg alt=\"Homepage\" src=\"https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/badge.svg?raw=true\" style=\"display: inline-block; vertical-align: middle;\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://chat.deepseek.com/\" target=\"_blank\" style=\"margin: 2px;\"\u003e\n    \u003cimg alt=\"Chat\" src=\"https://img.shields.io/badge/🤖%20Chat-DeepSeek%20V4-536af5?color=536af5\u0026logoColor=white\" style=\"display: inline-block; vertical-align: middle;\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\" style=\"line-height: 1;\"\u003e\n  \u003ca href=\"https://huggingface.co/deepseek-ai\" target=\"_blank\" style=\"margin: 2px;\"\u003e\n    \u003cimg alt=\"Hugging Face\" src=\"https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-DeepSeek%20AI-ffc107?color=ffc107\u0026logoColor=white\" style=\"display: inline-block; vertical-align: middle;\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/deepseek_ai\" target=\"_blank\" style=\"margin: 2px;\"\u003e\n    \u003cimg alt=\"Twitter Follow\" src=\"https://img.shields.io/badge/Twitter-deepseek_ai-white?logo=x\u0026logoColor=white\" style=\"display: inline-block; vertical-align: middle;\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\" style=\"line-height: 1;\"\u003e\n  \u003ca href=\"LICENSE\" style=\"margin: 2px;\"\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/badge/License-MIT-f5de53?\u0026color=f5de53\" style=\"display: inline-block; vertical-align: middle;\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://arxiv.org/abs/2606.19348\"\u003e\u003cb\u003eTechnical Report\u003c/b\u003e👁️\u003c/a\u003e\n\u003c/p\u003e\n\n## Introduction\n\nWe present a preview version of **DeepSeek-V4** series, including two strong Mixture-of-Experts (MoE) language models — **DeepSeek-V4-Pro** with 1.6T parameters (49B activated) and **DeepSeek-V4-Flash** with 284B parameters (13B activated) — both supporting a context length of **one million tokens**.\n\nDeepSeek-V4 series incorporate several key upgrades in architecture and optimization:\n\n1. **Hybrid Attention Architecture:** We design a hybrid attention mechanism combining Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA) to dramatically improve long-context efficiency. In the 1M-token context setting, DeepSeek-V4-Pro requires only **27% of single-token inference FLOPs** and **10% of KV cache** compared with DeepSeek-V3.2.\n2. **Manifold-Constrained Hyper-Connections (mHC):** We incorporate mHC to strengthen conventional residual connections, enhancing stability of signal propagation across layers while preserving model expressivity.\n3. **Muon Optimizer:** We employ the Muon optimizer for faster convergence and greater training stability.\n\nWe pre-train both models on more than **32T** diverse and high-quality tokens, followed by a comprehensive post-training pipeline. The post-training features a two-stage paradigm: independent cultivation of domain-specific experts (through SFT and RL with GRPO), followed by unified model consolidation via on-policy distillation, integrating distinct proficiencies across diverse domains into a single model.\n\n**DeepSeek-V4-Pro-Max**, the maximum reasoning effort mode of DeepSeek-V4-Pro, significantly advances the knowledge capabilities of open-source models, firmly establishing itself as the best open-source model available today. It achieves top-tier performance in coding benchmarks and significantly bridges the gap with leading closed-source models on reasoning and agentic tasks. Meanwhile, **DeepSeek-V4-Flash-Max** achieves comparable reasoning performance to the Pro version when given a larger thinking budget, though its smaller parameter scale naturally places it slightly behind on pure knowledge tasks and the most complex agentic workflows.\n\n\u003cdiv align=\"center\"\u003e\n \u003cimg src=\"assets/dsv4_performance.png\" \u003e\n\u003c/div\u003e\n\n## Model Downloads\n\n\u003cdiv align=\"center\"\u003e\n\n| **Model** | **#Total Params** | **#Activated Params** | **Context Length** | **Precision** | **Download** |\n| :---: | :---: | :---: | :---: | :---: | :---: |\n| DeepSeek-V4-Flash-Base | 284B | 13B | 1M | FP8 Mixed | [HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-Base) \\| [ModelScope](https://modelscope.cn/models/deepseek-ai/DeepSeek-V4-Flash-Base) |\n| DeepSeek-V4-Flash | 284B | 13B | 1M | FP4 + FP8 Mixed* | [HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash) \\| [ModelScope](https://modelscope.cn/models/deepseek-ai/DeepSeek-V4-Flash) |\n| DeepSeek-V4-Pro-Base | 1.6T | 49B | 1M | FP8 Mixed | [HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro-Base) \\| [ModelScope](https://modelscope.cn/models/deepseek-ai/DeepSeek-V4-Pro-Base) |\n| DeepSeek-V4-Pro | 1.6T | 49B | 1M | FP4 + FP8 Mixed* | [HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro) \\| [ModelScope](https://modelscope.cn/models/deepseek-ai/DeepSeek-V4-Pro) |\n\n\u003c/div\u003e\n\n*\\*FP4 + FP8 Mixed: MoE expert parameters use FP4 precision; most other parameters use FP8.*\n\n## Evaluation Results\n\n### Base Model\n\n\u003cdiv align=\"center\"\u003e\n\n| Benchmark (Metric) | # Shots | DeepSeek-V3.2-Base | DeepSeek-V4-Flash-Base | DeepSeek-V4-Pro-Base |\n| :--- | :---: | :---: | :---: | :---: |\n| Architecture | - | MoE | MoE | MoE |\n| # Activated Params | - | 37B | 13B | 49B |\n| # Total Params | - | 671B | 284B | 1.6T |\n| **World Knowledge** | | | | |\n| AGIEval (EM) | 0-shot | 80.1 | 82.6 | **83.1** |\n| MMLU (EM) | 5-shot | 87.8 | 88.7 | **90.1** |\n| MMLU-Redux (EM) | 5-shot | 87.5 | 89.4 | **90.8** |\n| MMLU-Pro (EM) | 5-shot | 65.5 | 68.3 | **73.5** |\n| MMMLU (EM) | 5-shot | 87.9 | 88.8 | **90.3** |\n| C-Eval (EM) | 5-shot | 90.4 | 92.1 | **93.1** |\n| CMMLU (EM) | 5-shot | 88.9 | 90.4 | **90.8** |\n| MultiLoKo (EM) | 5-shot | 38.7 | 42.2 | **51.1** |\n| Simple-QA verified (EM) | 25-shot | 28.3 | 30.1 | **55.2** |\n| SuperGPQA (EM) | 5-shot | 45.0 | 46.5 | **53.9** |\n| FACTS Parametric (EM) | 25-shot | 27.1 | 33.9 | **62.6** |\n| TriviaQA (EM) | 5-shot | 83.3 | 82.8 | **85.6** |\n| **Language \u0026 Reasoning** | | | | |\n| BBH (EM) | 3-shot | **87.6** | 86.9 | 87.5 |\n| DROP (F1) | 1-shot | 88.2 | 88.6 | **88.7** |\n| HellaSwag (EM) | 0-shot | 86.4 | 85.7 | **88.0** |\n| WinoGrande (EM) | 0-shot | 78.9 | 79.5 | **81.5** |\n| CLUEWSC (EM) | 5-shot | 83.5 | 82.2 | **85.2** |\n| **Code \u0026 Math** | | | | |\n| BigCodeBench (Pass@1) | 3-shot | **63.9** | 56.8 | 59.2 |\n| HumanEval (Pass@1) | 0-shot | 62.8 | 69.5 | **76.8** |\n| GSM8K (EM) | 8-shot | 91.1 | 90.8 | **92.6** |\n| MATH (EM) | 4-shot | 60.5 | 57.4 | **64.5** |\n| MGSM (EM) | 8-shot | 81.3 | **85.7** | 84.4 |\n| CMath (EM) | 3-shot | 92.6 | **93.6** | 90.9 |\n| **Long Context** | | | | |\n| LongBench-V2 (EM) | 1-shot | 40.2 | 44.7 | **51.5** |\n\n\u003c/div\u003e\n\n### Instruct Model\n\nDeepSeek-V4-Pro and DeepSeek-V4-Flash both support three reasoning effort modes:\n\n| Reasoning Mode | Characteristics | Typical Use Cases | Response Format |\n| :--- | :--- | :--- | :--- |\n| Non-think | Fast, intuitive responses | Routine daily tasks, low-risk decisions | `\u003c/think\u003e` summary |\n| Think High | Conscious logical analysis, slower but more accurate | Complex problem-solving, planning | `\u003cthink\u003e` thinking `\u003c/think\u003e` summary |\n| Think Max | Push reasoning to its fullest extent | Exploring the boundary of model reasoning capability | Special system prompt + `\u003cthink\u003e` thinking `\u003c/think\u003e` summary |\n\n#### DeepSeek-V4-Pro-Max vs Frontier Models\n\n\u003cdiv align=\"center\"\u003e\n\n| Benchmark (Metric) | Opus-4.6 Max | GPT-5.4 xHigh | Gemini-3.1-Pro High | K2.6 Thinking | GLM-5.1 Thinking | DS-V4-Pro Max |\n| :--- | :---: | :---: | :---: | :---: | :---: | :---: |\n| **Knowledge \u0026 Reasoning** | | | | | | |\n| MMLU-Pro (EM) | 89.1 | 87.5 | **91.0** | 87.1 | 86.0 | 87.5 |\n| SimpleQA-Verified (Pass@1) | 46.2 | 45.3 | **75.6** | 36.9 | 38.1 | 57.9 |\n| Chinese-SimpleQA (Pass@1) | 76.4 | 76.8 | **85.9** | 75.9 | 75.0 | 84.4 |\n| GPQA Diamond (Pass@1) | 91.3 | 93.0 | **94.3** | 90.5 | 86.2 | 90.1 |\n| HLE (Pass@1) | 40.0 | 39.8 | **44.4** | 36.4 | 34.7 | 37.7 |\n| LiveCodeBench (Pass@1) | 88.8 | - | 91.7 | 89.6 | - | **93.5** |\n| Codeforces (Rating) | - | 3168 | 3052 | - | - | **3206** |\n| HMMT 2026 Feb (Pass@1) | 96.2 | **97.7** | 94.7 | 92.7 | 89.4 | 95.2 |\n| IMOAnswerBench (Pass@1) | 75.3 | **91.4** | 81.0 | 86.0 | 83.8 | 89.8 |\n| Apex (Pass@1) | 34.5 | 54.1 | **60.9** | 24.0 | 11.5 | 38.3 |\n| Apex Shortlist (Pass@1) | 85.9 | 78.1 | 89.1 | 75.5 | 72.4 | **90.2** |\n| **Long Context** | | | | | | |\n| MRCR 1M (MMR) | **92.9** | - | 76.3 | - | - | 83.5 |\n| CorpusQA 1M (ACC) | **71.7** | - | 53.8 | - | - | 62.0 |\n| **Agentic** | | | | | | |\n| Terminal Bench 2.0 (Acc) | 65.4 | **75.1** | 68.5 | 66.7 | 63.5 | 67.9 |\n| SWE Verified (Resolved) | **80.8** | - | 80.6 | 80.2 | - | 80.6 |\n| SWE Pro (Resolved) | 57.3 | 57.7 | 54.2 | **58.6** | 58.4 | 55.4 |\n| SWE Multilingual (Resolved) | **77.5** | - | - | 76.7 | 73.3 | 76.2 |\n| BrowseComp (Pass@1) | 83.7 | 82.7 | **85.9** | 83.2 | 79.3 | 83.4 |\n| HLE w/ tools (Pass@1) | 53.1 | 52.0 | 51.6 | **54.0** | 50.4 | 48.2 |\n| GDPval-AA (Elo) | 1619 | **1674** | 1314 | 1482 | 1535 | 1554 |\n| MCPAtlas Public (Pass@1) | **73.8** | 67.2 | 69.2 | 66.6 | 71.8 | 73.6 |\n| Toolathlon (Pass@1) | 47.2 | **54.6** | 48.8 | 50.0 | 40.7 | 51.8 |\n\n\u003c/div\u003e\n\n#### Comparison across Modes\n\n\u003cdiv align=\"center\"\u003e\n\n| Benchmark (Metric) | V4-Flash Non-Think | V4-Flash High | V4-Flash Max | V4-Pro Non-Think | V4-Pro High | V4-Pro Max |\n| :--- | :---: | :---: | :---: | :---: | :---: | :---: |\n| **Knowledge \u0026 Reasoning** | | | | | | |\n| MMLU-Pro (EM) | 83.0 | 86.4 | 86.2 | 82.9 | 87.1 | **87.5** |\n| SimpleQA-Verified (Pass@1) | 23.1 | 28.9 | 34.1 | 45.0 | 46.2 | **57.9** |\n| Chinese-SimpleQA (Pass@1) | 71.5 | 73.2 | 78.9 | 75.8 | 77.7 | **84.4** |\n| GPQA Diamond (Pass@1) | 71.2 | 87.4 | 88.1 | 72.9 | 89.1 | **90.1** |\n| HLE (Pass@1) | 8.1 | 29.4 | 34.8 | 7.7 | 34.5 | **37.7** |\n| LiveCodeBench (Pass@1) | 55.2 | 88.4 | 91.6 | 56.8 | 89.8 | **93.5** |\n| Codeforces (Rating) | - | 2816 | 3052 | - | 2919 | **3206** |\n| HMMT 2026 Feb (Pass@1) | 40.8 | 91.9 | 94.8 | 31.7 | 94.0 | **95.2** |\n| IMOAnswerBench (Pass@1) | 41.9 | 85.1 | 88.4 | 35.3 | 88.0 | **89.8** |\n| Apex (Pass@1) | 1.0 | 19.1 | 33.0 | 0.4 | 27.4 | **38.3** |\n| Apex Shortlist (Pass@1) | 9.3 | 72.1 | 85.7 | 9.2 | 85.5 | **90.2** |\n| **Long Context** | | | | | | |\n| MRCR 1M (MMR) | 37.5 | 76.9 | 78.7 | 44.7 | 83.3 | **83.5** |\n| CorpusQA 1M (ACC) | 15.5 | 59.3 | 60.5 | 35.6 | 56.5 | **62.0** |\n| **Agentic** | | | | | | |\n| Terminal Bench 2.0 (Acc) | 49.1 | 56.6 | 56.9 | 59.1 | 63.3 | **67.9** |\n| SWE Verified (Resolved) | 73.7 | 78.6 | 79.0 | 73.6 | 79.4 | **80.6** |\n| SWE Pro (Resolved) | 49.1 | 52.3 | 52.6 | 52.1 | 54.4 | **55.4** |\n| SWE Multilingual (Resolved) | 69.7 | 70.2 | 73.3 | 69.8 | 74.1 | **76.2** |\n| BrowseComp (Pass@1) | - | 53.5 | 73.2 | - | 80.4 | **83.4** |\n| HLE w/ tools (Pass@1) | - | 40.3 | 45.1 | - | 44.7 | **48.2** |\n| MCPAtlas (Pass@1) | 64.0 | 67.4 | 69.0 | 69.4 | **74.2** | 73.6 |\n| GDPval-AA (Elo) | - | - | 1395 | - | - | **1554** |\n| Toolathlon (Pass@1) | 40.7 | 43.5 | 47.8 | 46.3 | 49.0 | **51.8** |\n\n\u003c/div\u003e\n\n## Chat Template\n\nThis release does not include a Jinja-format chat template. Instead, we provide a dedicated `encoding` folder with Python scripts and test cases demonstrating how to encode messages in OpenAI-compatible format into input strings for the model, and how to parse the model's text output. Please refer to the [`encoding`](encoding/README.md) folder for full documentation.\n\nA brief example:\n\n```python\nfrom encoding_dsv4 import encode_messages, parse_message_from_completion_text\n\nmessages = [\n    {\"role\": \"user\", \"content\": \"hello\"},\n    {\"role\": \"assistant\", \"content\": \"Hello! I am DeepSeek.\", \"reasoning_content\": \"thinking...\"},\n    {\"role\": \"user\", \"content\": \"1+1=?\"}\n]\n\n# messages -\u003e string\nprompt = encode_messages(messages, thinking_mode=\"thinking\")\n\n# string -\u003e tokens\nimport transformers\ntokenizer = transformers.AutoTokenizer.from_pretrained(\"deepseek-ai/DeepSeek-V4-Pro\")\ntokens = tokenizer.encode(prompt)\n```\n\n## How to Run Locally\n\nPlease refer to the [inference](inference/README.md) folder for detailed instructions on running DeepSeek-V4 locally, including model weight conversion and interactive chat demos.\n\nFor local deployment, we recommend setting the sampling parameters to `temperature = 1.0, top_p = 1.0`. For the Think Max reasoning mode, we recommend setting the context window to at least **384K** tokens.\n\n## License\n\nThis repository and the model weights are licensed under the [MIT License](LICENSE).\n\n## Citation\n\n```\n@misc{deepseekai2026deepseekv4,\n      title={DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence},\n      author={DeepSeek-AI},\n      year={2026},\n}\n```\n\n## Contact\n\nIf you have any questions, please raise an issue or contact us at [service@deepseek.com](service@deepseek.com).\n\n","ReadMeTips":null,"RelatedArxivId":["2606.19348"],"RelatedPaper":[299510],"Revision":"master","Stars":680,"StorageSize":864739861745,"Studios":[],"SubVisionFoundation":"","SupportApiInference":false,"SupportDashDeployment":0,"SupportDashInference":0,"SupportDashTraining":0,"SupportDeployment":0,"SupportExperience":1,"SupportFinetuning":0,"SupportFlexTrain":0,"SupportInference":"txt2txt","SupportPaiModelGallery":["deploy"],"SupportPaiSdk":0,"SupportPivotEval":true,"SwingDeployInfo":null,"Tags":[],"Tasks":[{"ChineseName":"文本生成","Description":"","DomainName":"nlp","Id":22,"IsExhibition":true,"IsHot":0,"IsLeaf":true,"IsLoginRequired":true,"IsRetrieval":true,"Level":1,"Name":"text-generation","ParentId":-1,"ParentTask":null,"Sorting":0,"SupportWidgets":false,"TypicalModel":"","WidgetConfig":"{\"task\": \"text-generation\", \"inputs\": [{\"type\": \"text\", \"validator\": {\"max_words\": \"1000\"}, \"displayType\": \"OnlyTextArea\"}], \"output\": {\"displayType\": \"ReadonlyText\", \"transformOutputs\": [{\"outputKey\": \"text\"}], \"displayOutputMapping\": \"text\"}, \"examples\": []}","WidgetValidator":""}],"Tools":[],"TriggerWords":null,"Visibility":5,"VisionFoundation":"","_":null,"widgets":[{"enable":true,"enabled":false,"examples":[{"inputs":[{"data":"你好","name":"text"}],"name":"","parameters":null,"title":""}],"inferencespec":null,"inputs":null,"parameters":null,"task":"text-generation","template":{"general":false,"thinking":true}}]},"Message":"success","RequestId":"79ce8062-55bc-4f02-9741-6ac57e101168","Success":true}