Skip to content
DeepSeek · Released 2025-08-26

DeepSeek V3.1 LLM

Context 128K Max output 64K Type LLM Provider Streamlake
deepseek/deepseek-v3.1

DeepSeek V3.1 is DeepSeek's advanced hybrid reasoning model, featuring 671 billion total parameters, 37 billion activated parameters, and a 128K-token context window. It supports both reasoning and non-reasoning modes, allowing developers to optimize for either response quality or speed depending on the task. The model delivers major improvements in reasoning, coding, tool use, and agent workflows, with performance approaching DeepSeek R1 while providing faster responses and more efficient inference. It supports structured tool calling, code agents, search agents, and complex multi-step workflows, making it an excellent choice for research, software development, enterprise automation, and general-purpose AI applications.

Pricing

USD · live rate
Pricing USD / M
Input $0.57
Output $1.71
Cache hit $0.23
Image input

Providers

Same model, multi-channel live comparison · best values highlighted
Provider Context Max output Input /M Output /M Cache /M Latency Throughput
Streamlake 128K 64K $0.57 $1.71 $0.23 615ms 73 t/s
baidu 128K 16K $0.57 $1.71 1106ms 42 t/s

API example

Model Center normalizes requests and responses across providers behind one OpenAI-compatible API.

Call this model directly or through the OpenAI SDK — one API key for every model in the catalog.

Get API Key Get API Key
from openai import OpenAI

client = OpenAI(
    base_url="https://router-integration.test.cogfoundry.ai/api/v1",
    api_key="$MODEL_CENTER_API_KEY",
)

completion = client.chat.completions.create(
    model="deepseek/deepseek-v3.1",
    messages=[{"role": "user", "content": "Which number is larger, 9.11 or 9.8?"}],
    stream=True,
)

for chunk in completion:
    if chunk.choices and chunk.choices[0].delta.content is not None:
        print(chunk.choices[0].delta.content, end="", flush=True)

More from DeepSeek