Configure DeepSeek in CowAgent, a cost-effective default for agent mode: chat and task planning, with thinking mode on the V4 series, set up in the web console or config.json.
DeepSeek is one of the default recommended providers in Agent mode, focused on cost-effective text chat and task planning.
deepseek-flash and the V4 series (deepseek-v4-flash / deepseek-v4-pro) support an explicit “thinking mode”: before producing the final answer, the model emits a chain of thought (reasoning_content) to improve answer quality.
Controlled by the global enable_thinking config, and can also be toggled from the Web Console’s configuration page:
{ "enable_thinking": true}
true: the model thinks before answering across all channels. The Web Console displays the thinking process; IM channels (WeChat / WeCom / DingTalk / Feishu) do not show it but still get better answers.
false: thinking is disabled, responses are faster, and time-to-first-token is lower.
Sampling parameters: in thinking mode, temperature, top_p, presence_penalty, and frequency_penalty are ignored by the server (without errors). CowAgent automatically skips them.
Multi-turn tool calls: when the history contains tool calls, DeepSeek requires every assistant message to include reasoning_content. CowAgent handles this automatically, so toggling thinking mode across turns will not cause errors.
deepseek-flash (V4.1 Flash, natively multimodal) is used by default; switch to deepseek-v4-pro for complex tasks; enable enable_thinking when deep reasoning is needed.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CowAgent","description":"CowAgent - AI Super Assistant powered by LLMs, with autonomous task planning, long-term memory, skills system, and multi-channel deployment.","colors":{"primary":"#35A85B","light":"#4ABE6E","dark":"#228547"},"logo":{"light":"https://mintcdn.com/minimalfuture/kFr6XLKqkl319blp/images/logo.jpg?fit=max\u0026auto=format\u0026n=kFr6XLKqkl319blp\u0026q=85\u0026s=71578eed432dfbc8615e84af3b5f2eab","dark":"https://mintcdn.com/minimalfuture/kFr6XLKqkl319blp/images/logo.jpg?fit=max\u0026auto=format\u0026n=kFr6XLKqkl319blp\u0026q=85\u0026s=71578eed432dfbc8615e84af3b5f2eab"},"favicon":"https://mintcdn.com/minimalfuture/kFr6XLKqkl319blp/images/favicon.ico?fit=max\u0026auto=format\u0026n=kFr6XLKqkl319blp\u0026q=85\u0026s=38cedc5ca4e6be81dc0609fe0e9c11ba","appearance":{"default":"light"},"navbar":{"links":[{"href":"https://cowagent.ai/","label":"官网"},{"href":"https://cowagent.ai/download/","label":"下载"},{"href":"https://cowagent.ai/zh/blog/","label":"博客"},{"href":"https://github.com/zhayujie/CowAgent","label":"GitHub"}]},"footer":{"socials":{"github":"https://github.com/zhayujie/CowAgent"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"https://cowagent.ai/","label":"Website"},{"href":"https://cowagent.ai/download/","label":"Download"},{"href":"https://cowagent.ai/blog/","label":"Blog"},{"href":"https://github.com/zhayujie/CowAgent","label":"GitHub"}]},"href":"intro"},{"language":"zh","navbar":{"links":[{"href":"https://cowagent.ai/?lang=zh","label":"官网"},{"href":"https://cowagent.ai/zh/download/","label":"下载"},{"href":"https://cowagent.ai/zh/blog/","label":"博客"},{"href":"https://github.com/zhayujie/CowAgent","label":"GitHub"}]},"href":"zh/intro"},{"language":"ja","navbar":{"links":[{"href":"https://cowagent.ai/","label":"ウェブサイト"},{"href":"https://cowagent.ai/download/","label":"ダウンロード"},{"href":"https://cowagent.ai/blog/","label":"ブログ"},{"href":"https://github.com/zhayujie/CowAgent","label":"GitHub"}]},"href":"ja/intro"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"minimalfuture","hasAudioNarration":false,"actualSubdomain":"minimalfuture","customDomains":["docs.cowagent.ai"],"gitSource":{"type":"github","owner":"zhayujie","repo":"cowagent","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6add6ce8ce7ca80a46440b79","collectionId":"8f128fce-cf34-41b9-91c0-113fae41ed3d","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6add6ce8ce7ca80a46440b79"},"entitlements":{},"buildId":"6add6ce8ce7ca80a46440b79","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"en","tag":"Releases","count":23},{"language":"en","tag":"Release Notes","count":23},{"language":"ja","tag":"リリース","count":23},{"language":"ja","tag":"リリースノート","count":23},{"language":"zh","tag":"版本","count":23},{"language":"zh","tag":"发布记录","count":23},{"language":"en","tag":"Tools","count":18},{"language":"ja","tag":"ツール","count":18},{"language":"zh","tag":"工具","count":18},{"language":"en","tag":"Models","count":15},{"language":"en","tag":"Model Configuration","count":15},{"language":"ja","tag":"モデル","count":15},{"language":"ja","tag":"モデル設定","count":15},{"language":"zh","tag":"模型","count":15},{"language":"zh","tag":"模型配置","count":15},{"language":"en","tag":"Channels","count":13},{"language":"en","tag":"Platforms","count":13},{"language":"en","tag":"Built-in Tools","count":13},{"language":"ja","tag":"チャネル","count":13},{"language":"ja","tag":"プラットフォーム","count":13},{"language":"ja","tag":"内蔵ツール","count":13},{"language":"zh","tag":"通道","count":13},{"language":"zh","tag":"接入渠道","count":13},{"language":"zh","tag":"内置工具","count":13},{"language":"en","tag":"Skills","count":7},{"language":"ja","tag":"スキル","count":7},{"language":"zh","tag":"技能","count":7},{"language":"en","tag":"CLI","count":6},{"language":"zh","tag":"命令","count":6},{"language":"ja","tag":"CLI","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"models/deepseek","slug":"/models/deepseek","pageMetadata":{"title":"DeepSeek","description":"Configure DeepSeek in CowAgent, a cost-effective default for agent mode: chat and task planning, with thinking mode on the V4 series, set up in the web console or config.json.","href":"/models/deepseek"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure DeepSeek in CowAgent, a cost-effective default for agent mode: chat and task planning, with thinking mode on the V4 series, set up in the web console or config.json.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`DeepSeek is one of the default recommended providers in Agent mode, focused on cost-effective text chat and task planning.`}),`\n`,_jsx(Heading,{level:`2`,id:`text-chat`,children:`Text Chat`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"deepseek-flash\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deepseek_api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`model`})}),_jsxs(_components.td,{children:[`Supports `,_jsx(_components.code,{children:`deepseek-flash`}),` (Default, V4.1 Flash, natively multimodal), `,_jsx(_components.code,{children:`deepseek-v4-flash`}),`, `,_jsx(_components.code,{children:`deepseek-v4-pro`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`deepseek_api_key`})}),_jsxs(_components.td,{children:[`Create one on the `,_jsx(_components.a,{href:`https://platform.deepseek.com/api_keys`,children:`DeepSeek Platform`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`deepseek_api_base`})}),_jsxs(_components.td,{children:[`Optional, defaults to `,_jsx(_components.code,{children:`https://api.deepseek.com/v1`}),`. Can be changed to a third-party proxy`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`model-selection`,children:`Model Selection`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Model`}),_jsx(_components.th,{children:`Use Case`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`deepseek-flash`})}),_jsx(_components.td,{children:`Default recommended; V4.1 Flash, natively multimodal, fast and low cost`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`deepseek-v4-flash`})}),_jsx(_components.td,{children:`Previous-generation V4 Flash`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`deepseek-v4-pro`})}),_jsx(_components.td,{children:`Smarter; better for complex tasks`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`thinking-mode`,children:`Thinking Mode`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`deepseek-flash`}),` and the V4 series (`,_jsx(_components.code,{children:`deepseek-v4-flash`}),` / `,_jsx(_components.code,{children:`deepseek-v4-pro`}),`) support an explicit “thinking mode”: before producing the final answer, the model emits a chain of thought (`,_jsx(_components.code,{children:`reasoning_content`}),`) to improve answer quality.`]}),`\n`,_jsx(Heading,{level:`3`,id:`toggle`,children:`Toggle`}),`\n`,_jsxs(_components.p,{children:[`Controlled by the global `,_jsx(_components.code,{children:`enable_thinking`}),` config, and can also be toggled from the Web Console’s configuration page:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enable_thinking\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: the model thinks before answering across all channels. The Web Console displays the thinking process; IM channels (WeChat / WeCom / DingTalk / Feishu) do not show it but still get better answers.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),`: thinking is disabled, responses are faster, and time-to-first-token is lower.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`reasoning-effort`,children:`Reasoning Effort`}),`\n`,_jsxs(_components.p,{children:[`Under thinking mode, `,_jsx(_components.code,{children:`reasoning_effort`}),` controls reasoning intensity:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enable_thinking\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reasoning_effort\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"high\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Use Case`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`high`}),` (Default)`]}),_jsx(_components.td,{children:`Day-to-day Agent tasks; balanced reasoning and speed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max`})}),_jsx(_components.td,{children:`Complex coding, long-horizon planning, strictly constrained tasks; deeper reasoning but more time and output tokens`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`reasoning_effort`}),` only takes effect when `,_jsx(_components.code,{children:`enable_thinking`}),` is `,_jsx(_components.code,{children:`true`}),`; it is ignored automatically when the model does not support thinking mode.`]}),`\n`,_jsx(Heading,{level:`3`,id:`behavior-notes`,children:`Behavior Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Sampling parameters`}),`: in thinking mode, `,_jsx(_components.code,{children:`temperature`}),`, `,_jsx(_components.code,{children:`top_p`}),`, `,_jsx(_components.code,{children:`presence_penalty`}),`, and `,_jsx(_components.code,{children:`frequency_penalty`}),` are ignored by the server (without errors). CowAgent automatically skips them.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Multi-turn tool calls`}),`: when the history contains tool calls, DeepSeek requires every assistant message to include `,_jsx(_components.code,{children:`reasoning_content`}),`. CowAgent handles this automatically, so toggling thinking mode across turns will not cause errors.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`deepseek-flash`}),` (V4.1 Flash, natively multimodal) is used by default; switch to `,_jsx(_components.code,{children:`deepseek-v4-pro`}),` for complex tasks; enable `,_jsx(_components.code,{children:`enable_thinking`}),` when deep reasoning is needed.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"DeepSeek","description":"Configure DeepSeek in CowAgent, a cost-effective default for agent mode: chat and task planning, with thinking mode on the V4 series, set up in the web console or config.json.","href":"/models/deepseek"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Text Chat","slug":"text-chat","depth":2,"children":[{"title":"Model Selection","slug":"model-selection","depth":3,"children":[]}]},{"title":"Thinking Mode","slug":"thinking-mode","depth":2,"children":[{"title":"Toggle","slug":"toggle","depth":3,"children":[]},{"title":"Reasoning Effort","slug":"reasoning-effort","depth":3,"children":[]},{"title":"Behavior Notes","slug":"behavior-notes","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"minimalfuture","siteName":"CowAgent","title":"DeepSeek - CowAgent","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/models/deepseek","matchLevel":0},"zh":{"href":"/zh/models/deepseek","matchLevel":1},"ja":{"href":"/ja/models/deepseek","matchLevel":1}}},"lastModified":"2026-10-14T09:36:28.125Z","originalFileLocation":"models/deepseek.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure DeepSeek in CowAgent, a cost-effective default for agent mode: chat and task planning, with thinking mode on the V4 series, set up in the web console or config.json.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CowAgent\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/minimalfuture/gk-TAsZO3835JLt2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/minimalfuture/gk-TAsZO3835JLt2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/minimalfuture/gk-TAsZO3835JLt2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/minimalfuture/gk-TAsZO3835JLt2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/minimalfuture/gk-TAsZO3835JLt2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/minimalfuture/gk-TAsZO3835JLt2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/minimalfuture/gk-TAsZO3835JLt2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/minimalfuture/gk-TAsZO3835JLt2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/minimalfuture/gk-TAsZO3835JLt2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"DeepSeek - CowAgent\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure DeepSeek in CowAgent, a cost-effective default for agent mode: chat and task planning, with thinking mode on the V4 series, set up in the web console or config.json.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CowAgent\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cowagent.ai/models/deepseek\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://minimalfuture.mintlify.app/_mintlify/api/og/v2?division=Model+Configuration\u0026amp;title=DeepSeek\u0026amp;description=Configure+DeepSeek+in+CowAgent%2C+a+cost-effective+default+for+agent+mode%3A+chat+and+task+planning%2C+with+thinking+mode+on+the+V4+series%2C+set+up+in+the+web+console+\u0026amp;theme=0a7de74e5357106a73c9a24a\u0026amp;signature=1f1e357374212e4b361f0e2728600705a046292abd8cd2bc03eb787e659782fa\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"DeepSeek - CowAgent\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure DeepSeek in CowAgent, a cost-effective default for agent mode: chat and task planning, with thinking mode on the V4 series, set up in the web console or config.json.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://minimalfuture.mintlify.app/_mintlify/api/og/v2?division=Model+Configuration\u0026amp;title=DeepSeek\u0026amp;description=Configure+DeepSeek+in+CowAgent%2C+a+cost-effective+default+for+agent+mode%3A+chat+and+task+planning%2C+with+thinking+mode+on+the+V4+series%2C+set+up+in+the+web+console+\u0026amp;theme=0a7de74e5357106a73c9a24a\u0026amp;signature=1f1e357374212e4b361f0e2728600705a046292abd8cd2bc03eb787e659782fa\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/minimalfuture/gk-TAsZO3835JLt2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CowAgent\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#35A85B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cowagent.ai/models/deepseek\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/models/deepseek.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.cowagent.ai/models/deepseek\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.cowagent.ai/zh/models/deepseek\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.cowagent.ai/ja/models/deepseek\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.cowagent.ai/models/deepseek\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cowagent.ai/#organization\",\"name\":\"CowAgent\",\"url\":\"https://docs.cowagent.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/minimalfuture/kFr6XLKqkl319blp/images/logo.jpg?fit=max\u0026auto=format\u0026n=kFr6XLKqkl319blp\u0026q=85\u0026s=71578eed432dfbc8615e84af3b5f2eab\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cowagent.ai#website\",\"name\":\"CowAgent\",\"url\":\"https://docs.cowagent.ai\",\"publisher\":{\"@id\":\"https://docs.cowagent.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cowagent.ai/models/deepseek#webpage\",\"url\":\"https://docs.cowagent.ai/models/deepseek\",\"name\":\"DeepSeek\",\"description\":\"Configure DeepSeek in CowAgent, a cost-effective default for agent mode: chat and task planning, with thinking mode on the V4 series, set up in the web console or config.json.\",\"dateModified\":\"2026-10-14T09:36:28.125Z\",\"isPartOf\":{\"@id\":\"https://docs.cowagent.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cowagent.ai/models/deepseek#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cowagent.ai/models/deepseek#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Model Configuration\",\"item\":\"https://docs.cowagent.ai/models/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DeepSeek\",\"item\":\"https://docs.cowagent.ai/models/deepseek\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cowagent.ai/models/deepseek#article\",\"headline\":\"DeepSeek\",\"name\":\"DeepSeek\",\"description\":\"Configure DeepSeek in CowAgent, a cost-effective default for agent mode: chat and task planning, with thinking mode on the V4 series, set up in the web console or config.json.\",\"url\":\"https://docs.cowagent.ai/models/deepseek\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cowagent.ai/models/deepseek#webpage\"},\"dateModified\":\"2026-10-14T09:36:28.125Z\",\"publisher\":{\"@id\":\"https://docs.cowagent.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cowagent.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CowAgent\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CowAgent","nav":{"global":null,"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"https://cowagent.ai/","label":"Website"},{"href":"https://cowagent.ai/download/","label":"Download"},{"href":"https://cowagent.ai/blog/","label":"Blog"},{"href":"https://github.com/zhayujie/CowAgent","label":"GitHub"}]},"tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/intro"}]},{"tab":"Get Started","pages":[{"title":"Get Started","href":"/guide/quick-start"}]},{"tab":"Models","groups":[{"group":"Model Configuration","pages":[{"title":"Models Overview","description":"Model providers CowAgent supports and what each can do: text, vision, image generation, speech and embeddings across OpenAI, Claude, Gemini, DeepSeek, Qwen, Doubao, Kimi, GLM, MiniMax and more.","href":"/models"},{"title":"DeepSeek","href":"/models/deepseek"},{"title":"Claude","description":"Configure Anthropic Claude in CowAgent: chat with native image understanding, plus thinking mode with adjustable reasoning effort, set up in the web console or config.json.","href":"/models/claude"},{"title":"Gemini","href":"/models/gemini"},{"title":"OpenAI","href":"/models/openai"},{"title":"MiniMax","href":"/models/minimax"},{"title":"GLM","href":"/models/glm"},{"title":"Qwen","href":"/models/qwen"},{"title":"Doubao","href":"/models/doubao"},{"title":"Kimi","href":"/models/kimi"},{"title":"ERNIE","href":"/models/qianfan"},{"title":"MiMo","href":"/models/mimo"},{"title":"LinkAI","href":"/models/linkai"},{"title":"Coding Plan","href":"/models/coding-plan"},{"title":"Custom","href":"/models/custom"}]}]},{"tab":"Tools","pages":[{"title":"Tools","href":"/tools"}]},{"tab":"Skills","pages":[{"title":"Skills","href":"/skills"}]},{"tab":"Memory","pages":[{"title":"Memory","href":"/memory"}]},{"tab":"Knowledge","pages":[{"title":"Knowledge","href":"/knowledge"}]},{"tab":"Channels","pages":[{"title":"Channels","href":"/channels"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli"}]},{"tab":"Multi-Agent","pages":[{"title":"Multi-Agent","href":"/multi-agent/team"}]},{"tab":"Extensions","pages":[{"title":"Extensions","href":"/extensions/chat-api"}]},{"tab":"Releases","pages":[{"title":"Releases","href":"/releases/overview"}]}]},{"language":"zh","navbar":{"links":[{"href":"https://cowagent.ai/?lang=zh","label":"官网"},{"href":"https://cowagent.ai/zh/download/","label":"下载"},{"href":"https://cowagent.ai/zh/blog/","label":"博客"},{"href":"https://github.com/zhayujie/CowAgent","label":"GitHub"}]},"pages":[{"title":"zh","href":"/zh/models/deepseek"}]},{"language":"ja","navbar":{"links":[{"href":"https://cowagent.ai/","label":"ウェブサイト"},{"href":"https://cowagent.ai/download/","label":"ダウンロード"},{"href":"https://cowagent.ai/blog/","label":"ブログ"},{"href":"https://github.com/zhayujie/CowAgent","label":"GitHub"}]},"pages":[{"title":"ja","href":"/ja/models/deepseek"}]}]},"title":"DeepSeek - CowAgent","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":[],"chunks":[]}