30 lines
27 KiB
HTML
30 lines
27 KiB
HTML
<!doctype html>
|
||
<html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-quick_start/pricing" data-has-hydrated="false">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="generator" content="Docusaurus v3.1.0">
|
||
<title data-rh="true">Models & Pricing | DeepSeek API Docs</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://api-docs.deepseek.com/img/deepseek-social-card.jpeg"><meta data-rh="true" name="twitter:image" content="https://api-docs.deepseek.com/img/deepseek-social-card.jpeg"><meta data-rh="true" property="og:url" content="https://api-docs.deepseek.com/quick_start/pricing"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" property="og:locale:alternate" content="zh_cn"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Models & Pricing | DeepSeek API Docs"><meta data-rh="true" name="description" content="Model prices are listed in units of per 1M tokens. A token, the smallest unit of text that the model recognizes, can be a word, a number, or even a punctuation mark. We bill model usage based on the total number of input and output tokens by the model."><meta data-rh="true" property="og:description" content="Model prices are listed in units of per 1M tokens. A token, the smallest unit of text that the model recognizes, can be a word, a number, or even a punctuation mark. We bill model usage based on the total number of input and output tokens by the model."><link data-rh="true" rel="icon" href="/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://api-docs.deepseek.com/quick_start/pricing"><link data-rh="true" rel="alternate" href="https://api-docs.deepseek.com/quick_start/pricing" hreflang="en"><link data-rh="true" rel="alternate" href="https://api-docs.deepseek.com/zh-cn/quick_start/pricing" hreflang="zh-cn"><link data-rh="true" rel="alternate" href="https://api-docs.deepseek.com/quick_start/pricing" hreflang="x-default"><link rel="stylesheet" href="/assets/css/styles.a435d64a.css">
|
||
<script src="/assets/js/runtime~main.8ba4d68f.js" defer="defer"></script>
|
||
<script src="/assets/js/main.5f3f3a8a.js" defer="defer"></script>
|
||
<meta name="keywords" content="pricing"></head>
|
||
<body class="navigation-with-keyboard">
|
||
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const a=new URLSearchParams(window.location.search).entries();for(var[t,e]of a)if(t.startsWith("docusaurus-data-")){var n=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(n,e)}}catch(t){}}(),document.documentElement.setAttribute("data-announcement-bar-initially-dismissed",function(){try{return"true"===localStorage.getItem("docusaurus.announcement.dismiss")}catch(t){}return!1}())</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_xSgN" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><div class="announcementBar_jD37" style="background-color:#3b82f6;color:#ffffff" role="banner"><div class="announcementBarPlaceholder_HsNm"></div><div class="content_nvwr announcementBarContent_MDye">Search / Fetch API is now available, powered by our in-house search engine and supporting web search and fetch. <a href="/guides/search">Click here to view the guide</a></div><button type="button" aria-label="Close" class="clean-btn close closeButton_axJ4 announcementBarClose_TgSE"><svg viewBox="0 0 15 15" width="14" height="14"><g stroke="currentColor" stroke-width="3.1"><path d="M.75.75l13.5 13.5M14.25.75L.75 14.25"></path></g></svg></button></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner ds-navbar-row"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/logo-mark-light.svg" alt="DeepSeek API Docs Logo" class="themedComponent_EBr5 themedComponent--light_FDat" height="20" width="27"><img src="/img/logo-mark-dark.svg" alt="DeepSeek API Docs Logo" class="themedComponent_EBr5 themedComponent--dark_NU8c" height="20" width="27"></div><b class="navbar__title text--truncate">DeepSeek API Docs</b></a><div class="ds-navbar-search navbarSearchContainer_uDFu"><div class="navbar__search searchBarContainer_elP9" dir="ltr"><input placeholder="Search" aria-label="Search" class="navbar__search-input searchInput_PL9E"><div class="loadingRing_e0eg searchBarLoadingRing_gRG_"><div></div><div></div><div></div><div></div></div></div></div></div><div class="navbar__items navbar__items--right"><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link">Resources</a><ul class="dropdown__menu"><li><a href="https://github.com/deepseek-ai/awesome-deepseek-integration/tree/main" target="_blank" rel="noopener noreferrer" class="dropdown__link">Integrations<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li><a href="https://status.deepseek.com/" target="_blank" rel="noopener noreferrer" class="dropdown__link">API Status<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li><a href="https://static.deepseek.com/faq/index.html?lang=en#/category/4" target="_blank" rel="noopener noreferrer" class="dropdown__link">FAQ<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" class="iconLanguage_DSK9"><path fill="currentColor" d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></svg>English</a><ul class="dropdown__menu"><li><a href="/quick_start/pricing" target="_self" rel="noopener noreferrer" class="dropdown__link dropdown__link--active" lang="en">English</a></li><li><a href="/zh-cn/quick_start/pricing" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="zh-cn">中文(中国)</a></li></ul></div><a href="https://platform.deepseek.com/" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">DeepSeek Platform<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><a href="/zh-cn/quick_start/pricing" target="_self" rel="noopener noreferrer" class="clean-btn ds-locale-toggle" title="中文(中国)" aria-label="Switch to 中文(中国)"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true"><path fill="currentColor" d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></svg><span>中</span></a><div class="toggle_SQQt colorModeToggle_x44X"><button class="clean-btn toggleButton_Z4XR toggleButtonDisabled_lK4M" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_JCQN"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_R3EN"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div></div></div><div class="navbar__inner ds-section-tabs"><div class="navbar__items"><a aria-current="page" class="navbar__item navbar__link ds-section-tab navbar__link--active" href="/">Quick Start</a><a class="navbar__item navbar__link ds-section-tab" href="/guides/vision">API Guides</a><a class="navbar__item navbar__link ds-section-tab" href="/api/create-chat-completion">API Reference</a><a class="navbar__item navbar__link ds-section-tab" href="/news/news261017">News</a><a class="navbar__item navbar__link ds-section-tab" href="/updates">Change Log</a></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_O4_m"><div class="docsWrapper_mcSy"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_XdUj" type="button"></button><div class="docRoot_Dr47"><aside class="theme-doc-sidebar-container docSidebarContainer_baRN"><div class="sidebarViewport_VhFV"><div class="sidebar_pcuX"><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_r8D2 menuWithAnnouncementBar_d3mA"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/">Your First API Call</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" href="/quick_start/pricing">Models & Pricing</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/quick_start/token_usage">Token & Token Usage</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/quick_start/rate_limit">Rate Limit & Isolation</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/quick_start/error_codes">Error Codes</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link">Agent Integrations</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a href="https://deepseek-harness.github.io/deepseek-harness/en/guide/quickstart" target="_blank" rel="noopener noreferrer" class="menu__link menuExternalLink_kqFC" tabindex="0">DeepSeek Harness<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/quick_start/agent_integrations/claude_code">Claude Code</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/quick_start/agent_integrations/codex">Codex</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/quick_start/agent_integrations/opencode">OpenCode</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/quick_start/agent_integrations/openclaw">OpenClaw</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/quick_start/agent_integrations/hermes">Hermes</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/quick_start/agent_integrations/reasonix">Reasonix</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/quick_start/agent_integrations/workbuddy">WorkBuddy/CodeBuddy</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/quick_start/agent_integrations/qoder">Qoder</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a href="https://github.com/deepseek-ai/awesome-deepseek-agent/tree/main" target="_blank" rel="noopener noreferrer" class="menu__link menuExternalLink_kqFC" tabindex="0">Contribute Your Agent Integrations<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></li></ul></nav></div></div></aside><main class="docMainContainer_SNqp"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_GEdM"><div class="docItemContainer_OUCh"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_gDTe" aria-label="Breadcrumbs"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_fbmM"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">Models & Pricing</span><meta itemprop="position" content="1"></li></ul></nav><div class="tocCollapsible_lKxX theme-doc-toc-mobile tocMobile_kO7c"><button type="button" class="clean-btn tocCollapsibleButton_KNXb">On this page</button></div><div class="doc-content-with-action"><div class="doc-markdown-action"><div class="doc-page-actions"><div class="doc-page-actions__buttons"><button type="button" class="doc-copy-button" disabled="" aria-busy="true" title="Copy this page as Markdown"><svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><span class="doc-copy-button__label"><span class="doc-copy-button__label-placeholder" aria-hidden="true">Copy Markdown</span><span class="doc-copy-button__label-text">Copy Markdown</span></span></button><button type="button" class="doc-page-actions__toggle" id=":R1hralaqhH1:" aria-label="More Markdown options" title="More Markdown options" aria-haspopup="menu" aria-expanded="false" aria-controls=":R1hralaqh:"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="m4 6 4 4 4-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button></div><div class="doc-page-actions__menu" id=":R1hralaqh:" role="menu" aria-labelledby=":R1hralaqhH1:" hidden=""><a class="doc-markdown-link" role="menuitem" tabindex="-1" href="/quick_start/pricing.md" target="_blank" rel="noopener noreferrer" aria-label="Open Markdown in a new tab" title="Open Markdown in a new tab"><span>Open Markdown</span><svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></div><span class="doc-page-actions__status" role="status"></span></div></div><div class="theme-doc-markdown markdown"><div class="row"><div class="col col--12"><h1>Models & Pricing</h1>
|
||
<p>Model prices are listed in units of per 1M tokens. A token, the smallest unit of text that the model recognizes, can be a word, a number, or even a punctuation mark. We bill model usage based on the total number of input and output tokens by the model.</p>
|
||
<hr>
|
||
<h2 class="anchor anchorWithStickyNavbar_YAqC" id="model-details">Model Details<a href="#model-details" class="hash-link" aria-label="Direct link to Model Details" title="Direct link to Model Details"></a></h2>
|
||
<div style="font-size:14px"><b><table style="text-align:center"><tr><td colspan="3" style="text-align:center">MODEL</td><td>deepseek-flash<sup>(1)</sup></td><td>deepseek-v4-pro</td></tr><tr><td colspan="3">BASE URL (OpenAI Format)</td><td colspan="2"><a href="https://api.deepseek.com" target="_blank" rel="noopener noreferrer">https://api.deepseek.com</a></td></tr><tr><td colspan="3">BASE URL (Anthropic Format)</td><td colspan="2"><a href="https://api.deepseek.com/anthropic" target="_blank" rel="noopener noreferrer">https://api.deepseek.com/anthropic</a></td></tr><tr><td colspan="3" style="text-align:center">MODEL VERSION</td><td>DeepSeek-V4.1-Flash-1017</td><td>DeepSeek-V4-Pro-0813</td></tr><tr><td colspan="3">THINKING MODE</td><td colspan="2">Supports both non-thinking and thinking (default) modes<br>See <a href="/guides/thinking_mode">Thinking Mode</a> for how to switch</td></tr><tr><td colspan="3">CONTEXT LENGTH</td><td colspan="2">1M</td></tr><tr><td colspan="3">MAX OUTPUT</td><td colspan="2">MAXIMUM: 384K</td></tr><tr><td rowspan="7">FEATURES</td><td colspan="2"><a href="/guides/json_mode">Json Output</a></td><td>✓</td><td>✓</td></tr><tr><td colspan="2"><a href="/guides/tool_calls">Tool Calls</a></td><td>✓</td><td>✓</td></tr><tr><td colspan="2"><a href="/guides/responses_api">Responses API</a></td><td>✓</td><td>✓</td></tr><tr><td colspan="2"><a href="/guides/anthropic_api">Anthropic API</a></td><td>✓</td><td>✓</td></tr><tr><td colspan="2"><a href="/guides/chat_prefix_completion">Chat Prefix Completion(Beta)</a></td><td>✓</td><td>✓</td></tr><tr><td colspan="2"><a href="/guides/fim_completion">FIM Completion(Beta)</a></td><td>Non-thinking mode only</td><td>Non-thinking mode only</td></tr><tr><td colspan="2"><a href="/guides/vision">Vision</a></td><td>✓</td><td>Not supported</td></tr><tr><td rowspan="6">PRICING<sup>(2)</sup></td><td rowspan="2">1M INPUT TOKENS<br>(CACHE HIT)</td><td>OFF-PEAK</td><td>$0.003</td><td>$0.022</td></tr><tr><td>PEAK</td><td>$0.006</td><td>$0.044</td></tr><tr><td rowspan="2">1M INPUT TOKENS<br>(CACHE MISS)</td><td>OFF-PEAK</td><td>$0.15</td><td>$0.66</td></tr><tr><td>PEAK</td><td>$0.3</td><td>$1.32</td></tr><tr><td rowspan="2">1M OUTPUT TOKENS</td><td>OFF-PEAK</td><td>$0.6</td><td>$1.98</td></tr><tr><td>PEAK</td><td>$1.2</td><td>$3.96</td></tr><tr><td colspan="3">Concurrency Limit<sup>(3)</sup></td><td>2500</td><td>500</td></tr></table></b></div>
|
||
<div style="font-size:14px"><p>(1) Use <code>deepseek-flash</code> as the model name. The legacy names <code>deepseek-v4-flash</code> and <code>deepseek-v4-flash-vision-exp</code> are still accepted, but the corresponding models have been retired, their requests are served by the DeepSeek-V4.1-Flash-1017 model and billed at the Flash price.</p><p>(2) Off-peak rates are half of the peak rates. Peak hours are 01:00 - 04:00 and 06:00 - 10:00 UTC, Monday through Friday, excluding Chinese public holidays. All other hours are off-peak, including weekends and Chinese public holidays in full.</p><p>(3) For more details on concurrency limits, please refer to <a href="/quick_start/rate_limit">Rate Limit & Isolation</a>.</p></div>
|
||
<hr>
|
||
<h2 class="anchor anchorWithStickyNavbar_YAqC" id="search--fetch-pricing">Search & Fetch Pricing<a href="#search--fetch-pricing" class="hash-link" aria-label="Direct link to Search & Fetch Pricing" title="Direct link to Search & Fetch Pricing"></a></h2>
|
||
<p>Search and Fetch are standalone APIs billed per request.</p>
|
||
<table><thead><tr><th>API</th><th>Unit</th><th>Price</th></tr></thead><tbody><tr><td>Search</td><td>Per 1,000 successful requests</td><td>$0.75</td></tr><tr><td>Fetch</td><td>Per 1,000 successful requests</td><td>$0.75</td></tr></tbody></table>
|
||
<p>See the <a href="/guides/search">Search & Fetch guide</a> for API usage and complete billing rules.</p>
|
||
<hr>
|
||
<h2 class="anchor anchorWithStickyNavbar_YAqC" id="deduction-rules">Deduction Rules<a href="#deduction-rules" class="hash-link" aria-label="Direct link to Deduction Rules" title="Direct link to Deduction Rules"></a></h2>
|
||
<p>For model usage, the expense = number of tokens × price. Search and Fetch are charged per successful request at the rates above.
|
||
The corresponding fees will be directly deducted from your topped-up balance or granted balance, with a preference for using the granted balance first when both balances are available.</p>
|
||
<p>Product prices may vary and DeepSeek reserves the right to adjust them. We recommend topping up based on your actual usage and regularly checking this page for the most recent pricing information.</p></div></div></div></div><div class="col col--12"></div></article><div class="col col--12"><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href="/"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Your First API Call</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/quick_start/token_usage"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Token & Token Usage</div></a></nav></div></div></div><div class="col col--3"><div class="tableOfContents_QFHP thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#model-details" class="table-of-contents__link toc-highlight">Model Details</a></li><li><a href="#search--fetch-pricing" class="table-of-contents__link toc-highlight">Search & Fetch Pricing</a></li><li><a href="#deduction-rules" class="table-of-contents__link toc-highlight">Deduction Rules</a></li></ul></div></div></div></div></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">WeChat Official Account</div><ul class="footer__items clean-list"><li class="footer__item">
|
||
<img src="https://cdn.deepseek.com/official_account.jpg" alt="WeChat QRcode" width="160px">
|
||
</li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="mailto:api-service@deepseek.com" target="_blank" rel="noopener noreferrer" class="footer__link-item">Email<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://discord.gg/Tc7c45Zzu5" target="_blank" rel="noopener noreferrer" class="footer__link-item">Discord<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://twitter.com/deepseek_ai" target="_blank" rel="noopener noreferrer" class="footer__link-item">Twitter<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://github.com/deepseek-ai" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_YH95"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2026 DeepSeek, Inc.</div></div></div></footer></div>
|
||
</body>
|
||
</html> |