{"Code":200,"Data":{"AigcAttributes":"{}","AigcIsTop":0,"AigcType":"","AlreadyStar":false,"ApplyMeta":"{}","ApprovalMode":1,"ApprovalNotifyEmail":"","Architectures":["DeepseekV41ForCausalLM"],"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.1-Flash-1017"},"BaseModel":[],"BaseModelRelation":"","CardReady":0,"CardUnreadyReason":"","CertificationCreateBy":"","CertificationCreatedTime":-62135596800,"ChineseName":"","CoverHeight":0,"CoverImages":[],"CoverWidth":0,"CreatedBy":"msr2000","CreatedTime":1792204910,"DashSdkParameter":"","Datasets":{},"DemoAvailable":0,"DemoUnavailableReason":"","Description":"","Domain":[],"Downloads":53055,"ExampleCodeAvailable":0,"ExampleCodeUnavailableReason":"","ForbiddenVisibilityUpdate":false,"Frameworks":[],"FromSite":"maas","Id":1608134,"Integrating":0,"IntegrationFailureLog":"","IntegrationFailureReason":"","IsAccessible":1,"IsCertification":4,"IsHot":0,"IsNewModel":false,"IsOnline":1,"IsOrgClaimed":false,"IsPreTrain":0,"IsPublished":1,"IsTop":84,"Language":[],"LastUpdatedTime":1794312421,"Libraries":["safetensors"],"License":"mit","LicenseLink":"","LicenseName":"","Meta":"","Metrics":[],"ModelDetail":{},"ModelInfos":{"safetensor":{"chat_template":"","files":[{"name":"model.safetensors.index.json","sha256":"74b0686a3d2891980d5e303251b075a3bccae2c2ff650747db2620a649b98fa8","size":7470294},{"name":"model-00001-of-00048.safetensors","sha256":"13bd121075f0b68cb7e8e8021a1011d42a81a83f557a2602fd9c07d52fddb0ec","size":970533624},{"name":"model-00002-of-00048.safetensors","sha256":"43616eebd88dd4f1f1b642772356fc160478d1d9d04edd240431e7d065d2eda7","size":1323858272},{"name":"model-00003-of-00048.safetensors","sha256":"41611994fc9b27829b757d72257570d65a976fe65b8c6df8641adcd139d65ded","size":7389759032},{"name":"model-00004-of-00048.safetensors","sha256":"e8e901b3cb1ab46f32729c7eaab37bd774a09094f0a02c51a60e883f779f2c39","size":7389759032},{"name":"model-00005-of-00048.safetensors","sha256":"c5df71c02d6a22bcb20a0dbbcda9c6b65aa104f44415102a9a6a03bee92bb9de","size":7405953784},{"name":"model-00006-of-00048.safetensors","sha256":"a5d42afde2aee33619fb7a674b4c737c38d1f1d47a636a26f3edfb3b54164167","size":7389759032},{"name":"model-00007-of-00048.safetensors","sha256":"24856942add8f73f5e1fbaea1e9c9b6ff597fd1b4aa4651d789833dd3a5a2ab9","size":7389759032},{"name":"model-00008-of-00048.safetensors","sha256":"7bf5f7afb5d2bacad49feffb049989fb365d6dbf96986e76265bd7a7a3469564","size":7389759032},{"name":"model-00009-of-00048.safetensors","sha256":"e6ae47e9daca138fda8c04f833c8328eb21671c37d1c8e2c3f7a82aac26649f6","size":7389759032},{"name":"model-00010-of-00048.safetensors","sha256":"835e9a8b0a28cc571cb1cf9e6014b3d5eb84ac41990a8aa4519e1ac435d7e23c","size":7389759032},{"name":"model-00011-of-00048.safetensors","sha256":"5df968edefe59033e451ff8512bef57da2cf97b57b4e7a1380118489dd02915b","size":7405953784},{"name":"model-00012-of-00048.safetensors","sha256":"4f97bf292f58178ecdf593b55252a401d6e9102f18625a4fccc52b8ee57e7be0","size":7389759032},{"name":"model-00013-of-00048.safetensors","sha256":"1b8567854887396840eb5392ca763101308064a142cb36156159096e581659eb","size":7389761368},{"name":"model-00014-of-00048.safetensors","sha256":"e5ba6d7e4380728ad70b8208676075a898f80a64c3618060f1b81e4218a159d1","size":7389761368},{"name":"model-00015-of-00048.safetensors","sha256":"f4b29d936024e68f44fb14d0ffffb15b42b27be04b4a0296acdae695afa94c30","size":7389761368},{"name":"model-00016-of-00048.safetensors","sha256":"3aa67228351c80e708dab4ac7f6e56b19000649cce2cd655def3168a3de4115c","size":7389761368},{"name":"model-00017-of-00048.safetensors","sha256":"b704eec7b7aa1bad6c9d57fa7f61f2db28862e8e5fc2468fd9d872689c778c7d","size":7405956128},{"name":"model-00018-of-00048.safetensors","sha256":"1405cf03376739f46e72e6cdd4d404969f1b94c717bb01782a300e2fbbd17e29","size":7389761368},{"name":"model-00019-of-00048.safetensors","sha256":"a84beaded1913e8d6119ac111f25040c8ec42e59f200dbe04c3a991cac512669","size":7389761368},{"name":"model-00020-of-00048.safetensors","sha256":"038914f79cf5499da90f0bfb8e1b7761cc37d5f4dd132e2431a6d02c9fb9fdfe","size":7389761368},{"name":"model-00021-of-00048.safetensors","sha256":"2ba49f59c8cec144e41370f9f820f268899d0b5cd0501e881908ca65bccd2dc2","size":7389761368},{"name":"model-00022-of-00048.safetensors","sha256":"52f12cceca5e2fdd0191dfbd33b808b6c7ce844cf9351c119413c5ba3bcd28c8","size":7389761368},{"name":"model-00023-of-00048.safetensors","sha256":"d6e47e8b7147c64eb6619732694dda811e1a9f8af1894977919af9522724ca31","size":7400713088},{"name":"model-00024-of-00048.safetensors","sha256":"9d611d65374d37f5e02fdae14e680cb69bf55af8a8478802ac465b97c65be22b","size":7389761368},{"name":"model-00025-of-00048.safetensors","sha256":"8db532a7cbb23cd4b5aa775636ca13af95b758501290fb935074348f660a29cd","size":7389761368},{"name":"model-00026-of-00048.safetensors","sha256":"2d6d7261937d2a98c7398a55ed48dbf129d9b4f188aa9148e46ea9f720255115","size":7389761368},{"name":"model-00027-of-00048.safetensors","sha256":"8e76de6a5cdc7ac0923526d1c1a2e6459c55bbfa692793b29cdfe07b4f9fbc52","size":7395337384},{"name":"model-00028-of-00048.safetensors","sha256":"3c0e5ad6a4e8e811c1a55fd8f5b59c9fa329b241c671997c28fc7a01944d5a77","size":7389761368},{"name":"model-00029-of-00048.safetensors","sha256":"392a950bcb062b89f683abc52d49a17e92c66f80cd1cb6fb92b71091da75319b","size":7389761368},{"name":"model-00030-of-00048.safetensors","sha256":"0b44d1364e578fc26dc0cc86564e49a92871a51063fb7f2f3b51cb020de44ab0","size":7389761368},{"name":"model-00031-of-00048.safetensors","sha256":"d3230ffc32e11c5a34505c5acaeaff642aed5c770b297695e1f7a94071d361ac","size":7395337384},{"name":"model-00032-of-00048.safetensors","sha256":"96d284016ac885415859346d971c0de43bd9e7947337edfb53c34462866ef1d7","size":7389761368},{"name":"model-00033-of-00048.safetensors","sha256":"313953b3b6aaa6d4c60bbcfc177dda5d8d1380c9fe72d82560ba078f55278a8d","size":7389761368},{"name":"model-00034-of-00048.safetensors","sha256":"98eb27655774796bb3feadb35ec64a9849104b88c4c6ae7cabf6fc1ee317a056","size":7389761368},{"name":"model-00035-of-00048.safetensors","sha256":"4a321a28c048389039e4595641fe0b1f130428c61fc8f655545afe0083d37cd9","size":7395337384},{"name":"model-00036-of-00048.safetensors","sha256":"97c7910a8a14002dd941f45f6ddb2bd335eaf6fa05f4a76b2ff9285d6557b65d","size":7389761368},{"name":"model-00037-of-00048.safetensors","sha256":"d37ee013b805344619536e299c73adf92df03744aa0a242f2c5465590015e5be","size":7389761368},{"name":"model-00038-of-00048.safetensors","sha256":"7713bf7a78319eb1c6214b312e0a2da8cac88d77dce851d50f1113d78f8975a4","size":7389761368},{"name":"model-00039-of-00048.safetensors","sha256":"658a77d47d217995b9b78612e69ee0d0e33f6c2240f4ec629fecdca3ecb03f4c","size":7395337384},{"name":"model-00040-of-00048.safetensors","sha256":"6a9dbcc8d5894ba614b5e962764f45f6d0df7f14f1287b17f173d1f2cd762186","size":7389761368},{"name":"model-00041-of-00048.safetensors","sha256":"458308f08ed29b34850bd6b9d10bf769620729d3725c77f7bc0c1d14e01b47cc","size":7389761368},{"name":"model-00042-of-00048.safetensors","sha256":"3d283a4ed6eb2d5013bacc97c3500361926a3261957943434513304df52adfd7","size":7389761368},{"name":"model-00043-of-00048.safetensors","sha256":"4ae12b941c3facf8616ce62dd45bc6868076c2aeb82106f98123ea6c5bb64182","size":1323837624},{"name":"model-00044-of-00048.safetensors","sha256":"3e8ac315c2bcca3e83c5e6e25c5758a75c03732063a6ff0c1b0e24b9ff49f6e6","size":2652728736},{"name":"model-00045-of-00048.safetensors","sha256":"9c73b27c4343236790008979d5e0b565f687aa64440031b9e096fed1ab8039c5","size":2573998176},{"name":"model-00046-of-00048.safetensors","sha256":"1dccc19a3741972c661de734572dc7d4b899e6e99bfbdf3ae4e057c707e5b339","size":2706402896},{"name":"model-00047-of-00048.safetensors","sha256":"76a05106ece259be83d1bfea0dcb54f23377864ee60fd321690f35e6698a2af5","size":101535150936},{"name":"model-00048-of-00048.safetensors","sha256":"9dc51433e195bc78b5ad846b68643cc0351d3b174e5e4309222d3b7402c83afd","size":101537926640}],"model_size":484619644114,"tensor_type":["F8_E4M3","BF16","F8_E8M0","I8","F32"]}},"ModelRevisions":null,"ModelSource":"USER_UPLOAD","ModelTools":"","ModelType":["deepseek_v41"],"MuseInfo":null,"NEXA":{"Catalogues":null,"ModelCover":"","ScientificField":"","Source":"","SubScientificField":null},"Name":"DeepSeek-V4.1-Flash-1017","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":null,"PaiSdkParameter":null,"Path":"deepseek-ai","ProtectedMode":2,"ReadMeContent":"\n# DeepSeek-V4.1-Flash-1017\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.1\" /\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.1-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://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash/blob/main/DeepSeek_V41_Tech_Report.pdf\"\u003e\u003cb\u003eTechnical Report\u003c/b\u003e 👁️\u003c/a\u003e\n\u003c/p\u003e\n\n## Introduction\n\n**DeepSeek-V4.1-Flash-1017** is a minor update to [**DeepSeek-V4.1-Flash**](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash), delivering substantial improvements across reasoning, coding, agentic tasks, and visual benchmarks. Alongside these gains, the model reduces task execution time and output length, enabling users to complete tasks faster and at lower cost and advancing the performance–cost Pareto frontier across multiple agent harnesses.\n\n\u003cdiv align=\"center\"\u003e\n\n| Benchmark | DS-V4.1-Flash-1017 | DS-V4.1-Flash | K3 | GLM-5.3 | GPT-5.6 Sol | Opus 5 |\n| :--- | :---: | :---: | :---: | :---: | :---: | :---: |\n| HLE w/o tools | 42.6 (44.0†) | 36.8 (39.1†) | 43.5 | 42.0† | 44.5 | 56.3 |\n| Terminal-Bench 4.0 | 42.3 | 31.2 | 12.6 | 37.9 | 39.9 | 51.8 |\n| DeepSWE v1.1 | 77.0 | 74.2 | 67.5 | 66.9 | 73.0 | 74.0 |\n| ProgramBench | 29.1 | 20.3 | 17.5 | 19.0 | 23.0 | 37.0 |\n| NL2Repo-Bench | 68.2 | 65.4 | 58.0 | 58.0 | 56.8 | 75.3 |\n| Automation-Bench v1.0.6 | 60.5 | 54.8 | 46.7 | 48.8 | 45.8 | 50.3 |\n| Agents’ Last Exam | 35.4 | 31.8 | 27.6 | 28.5 | 26.7 | 28.6 |\n| Apex Bench v1.1 | 72.1 | 64.6 | 47.8 | 56.6 | 54.3 | 65.8 |\n| Chartography (w/tools) | 83.0 | 78.9 | 68.1 | — | 79.9 | 84.0 |\n| BabyVision (w/tools) | 92.5 | 89.6 | 85.7 | — | 88.9 | 94.1 |\n| ZeroBench-main (w/tools) | 51.0 | 49.0 | 41.0 | — | 53.0 | 52.0 |\n\n\u003c/div\u003e\n\n*† denotes the text-only subset of HLE. We use the Claude Code harness for Terminal-Bench 4.0 and the Mini-SWE-V2 harness for DeepSWE v1.1.*\n\n## Prompt Encoding\n\nThis release does not include a Jinja-format chat template. The [`encoding`](encoding/README.md) folder contains a self-contained Python reference implementation (`encoding.py`) with test cases for multi-turn conversations, tool calling, thinking mode, numeric reasoning effort, mid-conversation system messages, and interleaved image content.\n\nFor production use, we additionally release [deepseek-recipe](https://github.com/deepseek-ai/deepseek-recipe), a set of Rust libraries with Python bindings that provides the same prompt format as a maintained, protocol-aware toolkit. It converts Messages, Chat Completions, and Responses API requests into the Conversation format, encodes them into DeepSeek V4 and V4.1 prompts or token IDs, and parses model output back into complete or streamed responses — covering thinking, tool calls, images, and generation settings. Model inference, tool execution, and HTTP transport are left to the caller.\n\n## Minimal Inference\n\nPlease refer to the [`inference`](inference/README.md) folder for instructions on weight conversion and running inference locally.\n\n**Recommended sampling parameters:**\n\n| Parameter | Value |\n| :--- | :--- |\n| `temperature` | 1.0 |\n| `top_p` | 1.0 |\n| `context_window` | 1M tokens |\n| `max_tokens` | ≥ 256K |\n\n## License\n\nThis repository and the model weights are licensed under the [MIT License](LICENSE).\n\n## Citation\n\n```bibtex\n@misc{deepseekai2026deepseekv41flash,\n      title={DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression},\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](mailto:service@deepseek.com).\n\n","ReadMeTips":null,"RelatedArxivId":[],"RelatedPaper":[],"Revision":"master","Stars":1405,"StorageSize":510311062592,"Studios":[],"SubVisionFoundation":"","SupportApiInference":false,"SupportDashDeployment":0,"SupportDashInference":0,"SupportDashTraining":0,"SupportDeployment":0,"SupportExperience":1,"SupportFinetuning":0,"SupportFlexTrain":0,"SupportInference":"txt2txt","SupportPaiModelGallery":null,"SupportPaiSdk":0,"SupportPivotEval":true,"SwingDeployInfo":null,"Tags":[],"Tasks":[{"ChineseName":"视觉多模态理解","Description":"","DomainName":"multi-modal","Id":295,"IsExhibition":true,"IsHot":0,"IsLeaf":true,"IsLoginRequired":true,"IsRetrieval":true,"Level":1,"Name":"image-text-to-text","ParentId":-1,"ParentTask":null,"Sorting":0,"SupportWidgets":false,"TypicalModel":"","WidgetConfig":"{}","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":"image-text-to-text","template":{"general":false,"thinking":true}}]},"Message":"success","RequestId":"639c01b2-a280-499b-b474-8c13418461c7","Success":true}