We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

DeepSeek: DeepSeek V3.1

deepseek/deepseek-chat-v3.1
TextInput: textToolsReasoning164KAdded Aug 21, 2025

Try DeepSeek: DeepSeek V3.1 now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

DeepSeek: DeepSeek V3.1 at a glance

  • Input price is 44% lower than the median of 434 Text models.
  • Context window of 163,840 tokens, enough for long documents and multi-turn conversations.
  • Supports tool (function) calling for agents and integrations.
  • Supports structured JSON output with a schema.
  • Supports reasoning effort control.
  • A typical request (1,000 input / 500 output tokens) costs about $0.00254.

About DeepSeek: DeepSeek V3.1

DeepSeek V3.1 is a text model from DeepSeek, released by the provider on 21 August 2025. It is a large hybrid reasoning model with 671B parameters and 37B active, and it extends the DeepSeek-V3 base with a two-phase long-context design. Its knowledge cutoff is 31 March 2025. The model sits in the text category, so it is aimed at language tasks rather than image or audio work.

The model takes text in and returns text out. It supports both thinking and non-thinking modes, selected through prompt templates, and the reasoning parameter plus include_reasoning let you control and surface that behaviour. The context window is 163,840 tokens, with a maximum output of 32,768 tokens. Supported parameters include temperature, top_p, top_k, min_p, frequency_penalty, presence_penalty, repetition_penalty, logit_bias, logprobs, top_logprobs, seed, stop, max_tokens, response_format, structured_outputs, tool_choice and tools.

Those capabilities point to a few practical uses. Long documents fit comfortably inside the context window, so summarisation, question answering over large inputs and multi-document analysis are reasonable fits. Tool calling and structured outputs suit agents, function calling and pipelines that need machine-readable responses. The reasoning mode helps on tasks that benefit from step-by-step thinking, while the non-thinking mode keeps latency and output shorter for straightforward generation. The seed parameter supports reproducible sampling, and logprobs support classification or confidence checks.

You call the model through api14's OpenAI-compatible API using the model id "deepseek/deepseek-chat-v3.1". Because the interface follows the OpenAI chat completions shape, you send a messages array and set the model field to that id. The request parameters listed above are supported, so you can pass temperature, top_p, top_k, min_p, max_tokens, stop, seed, response_format, structured_outputs, tools, tool_choice, logit_bias, logprobs, top_logprobs, frequency_penalty, presence_penalty, repetition_penalty, reasoning and include_reasoning as needed. The page's live price table covers cost.

A few limits are worth noting. Inputs and outputs are text only, so image, audio or video tasks need a different model. The knowledge cutoff of 31 March 2025 means later events are outside its training data. Output is capped at 32,768 tokens, and the total context at 163,840 tokens, so very large jobs need chunking. If you do not need reasoning or tool calling, a smaller text model may be simpler and faster.

How to call the DeepSeek: DeepSeek V3.1 API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "deepseek/deepseek-chat-v3.1".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "deepseek/deepseek-chat-v3.1",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

Specifications

Context length
163,840
Max output
32,768
Input
text
Output
text
Knowledge cutoff
2025-03-31

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

DeepSeek: DeepSeek V3.1: frequently asked questions

How much does the DeepSeek: DeepSeek V3.1 API cost?
DeepSeek: DeepSeek V3.1 costs Input $0.88 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of DeepSeek: DeepSeek V3.1?
DeepSeek: DeepSeek V3.1 reads up to 163,840 tokens per request: prompt, history and documents together. It writes up to 32,768 output tokens per response.
What can DeepSeek: DeepSeek V3.1 do?
DeepSeek: DeepSeek V3.1 accepts text and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call DeepSeek: DeepSeek V3.1 from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "deepseek/deepseek-chat-v3.1". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to DeepSeek: DeepSeek V3.1?
Comparable Text models at a similar price: Z.ai: GLM 4.6V, Mistral: Codestral 2508, Mistral: Mistral Medium 3.1 (batch). Each runs through the same API key, so switching is one string.

DeepSeek: DeepSeek V3.1 community

New topic

This community has no topics yet. Open the first one about DeepSeek: DeepSeek V3.1.