inference-providers

DeepSeek V4 Pro

by deepseek · family deepseek-v4

Facts

Release date2026-08-13
Retired date
Knowledge cutoff
Context (max)1,048,576
Max output384,000
Modalitiestext → text
Aliasesdeepseek-v4-pro-0813
Open weightsno
DescriptionHybrid thinking on by default (V4-Pro-0813); 1M context, 384K max output shared with CoT.

Unknown values are shown as —.

Intelligence Index v4.1.1: 53 · V4 Pro 0813, max effort · Source: Artificial Analysis (accessed 2026-08-20)

Offerings

ProviderWire IDVariantEndpointProtocolStatusPrice (USD / Mtok)Reasoning
Alibaba Token Plandeepseek-v4-proprocompatible-modeopenai-chatgatoggle · default on · returns reasoning_content · round-trips reasoning_content
DeepSeekdeepseek-v4-proproanthropicanthropic-messagesga1.32 / 3.96toggle · default on · returns reasoning_content · round-trips reasoning_content
DeepSeekdeepseek-v4-proprochat-completionsopenai-chatga1.32 / 3.96effort · default on · returns reasoning_content · round-trips reasoning_content
Fireworks AIdeepseek-v4-proproinference-v1openai-chatga1.74 / 3.48effort · default on · returns reasoning_content
IO Intelligence (io.net)deepseek-ai/DeepSeek-V4-Proprochatopenai-chatga1.49 / 3.02effort · default on · returns reasoning_content · round-trips reasoning_content
NVIDIA NIM APIdeepseek-ai/deepseek-v4-proprov1-chat-completionsopenai-chatretiredadaptive · default on · returns reasoning_content · round-trips reasoning_content
Ollama Clouddeepseek-v4-pro:0813prov1-chat-completionsopenai-chatgaeffort · default on · returns hidden
OpenCode Godeepseek-v4-proprogo-chat-completionsopenai-chatgaeffort · default on · returns reasoning_content · round-trips reasoning_content
OpenCode Zendeepseek-v4-proprochat-completionsopenai-chatga1.32 / 3.96effort · default on · returns reasoning_content · round-trips reasoning_content
OpenRouterdeepseek/deepseek-v4-pro-0813prochat-completionsopenai-chatga0.66 / 1.98effort · default on · returns reasoning_content · round-trips reasoning_content
OpenRouterdeepseek/deepseek-v4-proprochat-completionsopenai-chatga1.60 / 3.20effort · default on · returns reasoning_content · round-trips reasoning_content

Reasoning controls

Alibaba Token Plan· deepseek-v4-pro· compatible-mode toggle

enable_thinking on true · off false

toggle · default on · returns reasoning_content · round-trips reasoning_content

DeepSeek· deepseek-v4-pro· anthropic toggle

thinking.type on enabled · off disabled

toggle · default on · returns reasoning_content · round-trips reasoning_content

DeepSeek· deepseek-v4-pro· chat-completions effort

reasoning_effort lowhigh●max

thinking.type on enabled · off disabled

effort · default on · returns reasoning_content · round-trips reasoning_content

Fireworks AI· deepseek-v4-pro· inference-v1 effort

reasoning_effort lowmediumhigh● Default not documented — verify.

effort · default on · returns reasoning_content

IO Intelligence (io.net)· deepseek-ai/DeepSeek-V4-Pro· chat effort

reasoning.effort nonelowmediumhigh● Default not documented — verify.

effort · default on · returns reasoning_content · round-trips reasoning_content

NVIDIA NIM API· deepseek-ai/deepseek-v4-pro· v1-chat-completions adaptive

adaptive · default on · returns reasoning_content · round-trips reasoning_content

Ollama Cloud· deepseek-v4-pro:0813· v1-chat-completions effort

reasoning_effort nonelowmediumhigh●max Default level not documented; verify.

effort · default on · returns hidden

OpenCode Go· deepseek-v4-pro· go-chat-completions effort

reasoning_effort lowhigh●max

thinking.type on enabled · off disabled

effort · default on · returns reasoning_content · round-trips reasoning_content

OpenCode Zen· deepseek-v4-pro· chat-completions effort

reasoning_effort lowhigh●max

thinking.type on enabled · off disabled

effort · default on · returns reasoning_content · round-trips reasoning_content

OpenRouter· deepseek/deepseek-v4-pro-0813· chat-completions effort

reasoning.effort nonelowmedium●highxhighmax

effort · default on · returns reasoning_content · round-trips reasoning_content

OpenRouter· deepseek/deepseek-v4-pro· chat-completions effort

reasoning.effort nonelowmedium●highxhighmax

effort · default on · returns reasoning_content · round-trips reasoning_content

Example requests

Alibaba Token Plan · openai-chat · deepseek-v4-pro

curl 'https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek-v4-pro",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "enable_thinking": true
}'
Python (requests)
import requests

resp = requests.post(
    "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek-v4-pro",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "enable_thinking": true
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek-v4-pro",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "enable_thinking": true
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).

DeepSeek · anthropic-messages · deepseek-v4-pro

curl 'https://api.deepseek.com/anthropic' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek-v4-pro",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "thinking": {
    "type": "enabled"
  }
}'
Python (requests)
import requests

resp = requests.post(
    "https://api.deepseek.com/anthropic",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek-v4-pro",
      "max_tokens": 1024,
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "thinking": {
        "type": "enabled"
      }
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://api.deepseek.com/anthropic", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek-v4-pro",
    "max_tokens": 1024,
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "thinking": {
      "type": "enabled"
    }
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).

DeepSeek · openai-chat · deepseek-v4-pro

curl 'https://api.deepseek.com/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek-v4-pro",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "reasoning_effort": "high"
}'
Python (requests)
import requests

resp = requests.post(
    "https://api.deepseek.com/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek-v4-pro",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "reasoning_effort": "high"
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://api.deepseek.com/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek-v4-pro",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "reasoning_effort": "high"
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).

Fireworks AI · openai-chat · deepseek-v4-pro

curl 'https://api.fireworks.ai/inference/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek-v4-pro",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "reasoning_effort": "high"
}'
Python (requests)
import requests

resp = requests.post(
    "https://api.fireworks.ai/inference/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek-v4-pro",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "reasoning_effort": "high"
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://api.fireworks.ai/inference/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek-v4-pro",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "reasoning_effort": "high"
  }),
})
console.log(await resp.json())

IO Intelligence (io.net) · openai-chat · deepseek-ai/DeepSeek-V4-Pro

curl 'https://api.intelligence.io.solutions/api/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek-ai/DeepSeek-V4-Pro",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "reasoning": {
    "effort": "high"
  }
}'
Python (requests)
import requests

resp = requests.post(
    "https://api.intelligence.io.solutions/api/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek-ai/DeepSeek-V4-Pro",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "reasoning": {
        "effort": "high"
      }
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://api.intelligence.io.solutions/api/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek-ai/DeepSeek-V4-Pro",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "reasoning": {
      "effort": "high"
    }
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).

NVIDIA NIM API · openai-chat · deepseek-ai/deepseek-v4-pro

curl 'https://integrate.api.nvidia.com/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek-ai/deepseek-v4-pro",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ]
}'
Python (requests)
import requests

resp = requests.post(
    "https://integrate.api.nvidia.com/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek-ai/deepseek-v4-pro",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ]
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://integrate.api.nvidia.com/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek-ai/deepseek-v4-pro",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ]
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).

Ollama Cloud · openai-chat · deepseek-v4-pro:0813

curl 'https://ollama.com/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek-v4-pro:0813",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "reasoning_effort": "high"
}'
Python (requests)
import requests

resp = requests.post(
    "https://ollama.com/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek-v4-pro:0813",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "reasoning_effort": "high"
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://ollama.com/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek-v4-pro:0813",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "reasoning_effort": "high"
  }),
})
console.log(await resp.json())

OpenCode Go · openai-chat · deepseek-v4-pro

curl 'https://opencode.ai/zen/go/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek-v4-pro",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "reasoning_effort": "high"
}'
Python (requests)
import requests

resp = requests.post(
    "https://opencode.ai/zen/go/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek-v4-pro",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "reasoning_effort": "high"
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://opencode.ai/zen/go/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek-v4-pro",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "reasoning_effort": "high"
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).

OpenCode Zen · openai-chat · deepseek-v4-pro

curl 'https://opencode.ai/zen/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek-v4-pro",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "reasoning_effort": "high"
}'
Python (requests)
import requests

resp = requests.post(
    "https://opencode.ai/zen/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek-v4-pro",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "reasoning_effort": "high"
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://opencode.ai/zen/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek-v4-pro",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "reasoning_effort": "high"
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).

OpenRouter · openai-chat · deepseek/deepseek-v4-pro-0813

curl 'https://openrouter.ai/api/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek/deepseek-v4-pro-0813",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "reasoning": {
    "effort": "medium"
  }
}'
Python (requests)
import requests

resp = requests.post(
    "https://openrouter.ai/api/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek/deepseek-v4-pro-0813",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "reasoning": {
        "effort": "medium"
      }
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://openrouter.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek/deepseek-v4-pro-0813",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "reasoning": {
      "effort": "medium"
    }
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).

OpenRouter · openai-chat · deepseek/deepseek-v4-pro

curl 'https://openrouter.ai/api/v1/chat/completions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek/deepseek-v4-pro",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about the weather."
    }
  ],
  "reasoning": {
    "effort": "medium"
  }
}'
Python (requests)
import requests

resp = requests.post(
    "https://openrouter.ai/api/v1/chat/completions",
    headers={
      "Authorization": "Bearer <YOUR_API_KEY>",
      "Content-Type": "application/json"
    },
    json={
      "model": "deepseek/deepseek-v4-pro",
      "messages": [
        {
          "role": "user",
          "content": "Tell me about the weather."
        }
      ],
      "reasoning": {
        "effort": "medium"
      }
    },
)
print(resp.json())
TypeScript (fetch)
const resp = await fetch("https://openrouter.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR_API_KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "deepseek/deepseek-v4-pro",
    "messages": [
      {
        "role": "user",
        "content": "Tell me about the weather."
      }
    ],
    "reasoning": {
      "effort": "medium"
    }
  }),
})
console.log(await resp.json())
  • ⚠ Responses include reasoning_content artifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).