Mô hìnhGiáDoanh nghiệp
500+ API Mô hình AI, Tất cả trong Một API. Chỉ cần CometAPI
API Mô hình
Nhà phát triển
Bắt đầu nhanhTài liệuBảng Điều Khiển API
Công ty
Về chúng tôiDoanh nghiệp
Tài nguyên
Mô hình AIBlogNhật ký thay đổiHỗ trợ
Điều khoản Dịch vụChính sách Bảo mật
© 2026 CometAPI · All rights reserved
Home/Models/DeepSeek/DeepSeek-V3.2
D

DeepSeek-V3.2

Đầu vào:$0.27/M
Đầu ra:$1.08/M
Bối cảnh:128K
Đầu ra tối đa:4K
DeepSeek v3.2 is the latest production release in the DeepSeek V3 family: a large, reasoning-first open-weight language model family designed for long-context understanding, robust agent/tool use, advanced reasoning, coding and math.
Mới
Sử dụng thương mại
Playground
Tổng quan
Tính năng
Giá cả
API
Phiên bản

What is DeepSeek v3.2?

DeepSeek v3.2 is the latest production release in the DeepSeek V3 family: a large, reasoning-first open-weight language model family designed for long-context understanding, robust agent/tool use, advanced reasoning, coding and math. The release bundles multiple variants (production V3.2 and a high-performance V3.2-Speciale). The project emphasizes cost-efficient long-context inference through a new sparse attention mechanism called DeepSeek Sparse Attention (DSA) and agents / “thinking” workflows (“Thinking in Tool-Use”).

Main features (high level)

  • DeepSeek Sparse Attention (DSA): a sparse-attention mechanism intended to dramatically reduce compute in long-context scenarios while preserving long-range reasoning. (Core research claim; used in V3.2-Exp.)
  • Agentic thinking + tool-use integration: V3.2 emphasizes embedding “thinking” into tool-use: the model can operate in reasoning-thinking modes and in non-thinking (normal) modes when calling tools, improving decision-making in multi-step tasks and tool orchestration.
  • Large-scale agent data synthesis pipeline: DeepSeek reports a training corpus and agent-synthesis pipeline spanning thousands of environments and tens of thousands of complex instructions to improve robustness for interactive tasks.
  • DeepSeek Sparse Attention (DSA): DSA is a fine-grained sparse attention method introduced in the V3.2 line (first in V3.2-Exp) that reduces attention complexity (from naive O(L²) to an O(L·k) style with k ≪ L), selecting a smaller set of key/value tokens per query token. The result is substantially lower memory/compute for very long contexts (128K), making long-context inference materially cheaper.
  • Mixture-of-Experts (MoE) backbone and Multi-head Latent Attention (MLA): The V3 family uses MoE to increase capacity efficiently (large nominal parameter counts with limited per-token activation) along with MLA methods to maintain quality and control compute.

Technical specifications (concise table)

  • Nominal parameter range: ~671B – 685B (variant dependent).
  • Context window (documented reference): 128,000 tokens (128K) in vLLM/reference configs.
  • Attention: DeepSeek Sparse Attention (DSA) + MLA; reduced attention complexity for long contexts.
  • Numeric & training precision: BF16 / F32 and compressed quantized formats (F8_E4M3 etc.) available for distribution.
  • Architectural family: MoE (mixture-of-experts) backbone with per-token activation economy.
  • Input / output: standard tokenized text input (chat/message formats supported); supports tool-calls (tool-use API primitives) and both interactive chat-style calls and programmatic completions via API.
  • Offered variants: v3.2, v3.2-Exp (experimental, DSA debut), v3.2-Speciale (reasoning-first, API-only short term).

Benchmark performance

High-compute V3.2-Speciale reaches parity or exceeds contemporary high-end models on several reasoning/math/coding benchmarks, and achieves top-level marks on selected elite math problem sets. The preprint highlights parity with models such as GPT-5 / Kimi K2 on selected reasoning benchmarks, specific improvements versus earlier DeepSeek R1/V3 baselines:

  • AIME: improved from 70.0 to 87.5 (Δ +17.5).
  • GPQA: 71.5 → 81.0 (Δ +9.5).
  • LCB_v6: 63.5 → 73.3 (Δ +9.8).
  • Aider: 57.0 → 71.6 (Δ +14.6).

Comparison with other models (high level)

  • Vs GPT-5 / Gemini 3 Pro (public claims): DeepSeek authors and several press outlets claim parity or superiority on selected reasoning and coding tasks for the Speciale variant, while emphasizing cost efficiency and open licensing as differentiators.
  • Vs open models (Olmo, Nemotron, Moonshot, etc.): DeepSeek highlights agentic training and DSA as key differentiators for long-context efficiency.

Representative use cases

  • Agentic systems / orchestration: multi-tool agents (APIs, web scrapers, code-execution connectors) that benefit from model-level “thinking” + explicit tool-call primitives.
  • Long-document reasoning / analysis: legal documents, large research corpora, meeting transcripts — long-context variants (128k tokens) let you keep very large contexts in a single call.
  • Complex math & coding assistance: V3.2-Speciale is promoted for advanced math reasoning and extensive code debugging tasks per vendor benchmarks.
  • Cost-sensitive production deployments: DSA + pricing changes aim to lower inference costs for high-context workloads.

How to get started to use DeepSeek v3.2 API

DeepSeek v3.2 API Pricing in CometAPI,20% off the official price:

Input Tokens$0.22
Output Tokens$0.35

Required Steps

  • Log in to cometapi.com. If you are not our user yet, please register first
  • Get the access credential API key of the interface. Click “Add Token” at the API token in the personal center, get the token key: sk-xxxxx and submit.
  • Get the url of this site: https://api.cometapi.com/

Use Method

  1. Select the “deepseek-v3.2” endpoint to send the API request and set the request body. The request method and request body are obtained from our website API doc. Our website also provides Apifox test for your convenience.
  2. Replace <YOUR_API_KEY> with your actual CometAPI key from your account.
  3. Select Chat format: Insert your question or request into the content field—this is what the model will respond to.
  4. .Process the API response to get the generated answer.

Giá cả cho DeepSeek-V3.2

Khám phá mức giá cạnh tranh cho DeepSeek-V3.2, được thiết kế để phù hợp với nhiều ngân sách và nhu cầu sử dụng khác nhau. Các gói linh hoạt của chúng tôi đảm bảo bạn chỉ trả tiền cho những gì bạn sử dụng, giúp dễ dàng mở rộng quy mô khi yêu cầu của bạn tăng lên. Khám phá cách DeepSeek-V3.2 có thể nâng cao các dự án của bạn trong khi vẫn kiểm soát được chi phí.
Giá Comet (USD / M Tokens)Giá Chính Thức (USD / M Tokens)Giảm giá
Đầu vào:$0.27/M
Đầu ra:$1.08/M
Đầu vào:$0.3375/M
Đầu ra:$1.35/M
-20%

Mã mẫu và API cho DeepSeek-V3.2

Truy cập mã mẫu toàn diện và tài nguyên API cho DeepSeek-V3.2 để tối ưu hóa quy trình tích hợp của bạn. Tài liệu chi tiết của chúng tôi cung cấp hướng dẫn từng bước, giúp bạn khai thác toàn bộ tiềm năng của DeepSeek-V3.2 trong các dự án của mình.
Python
JavaScript
Curl
from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)

completion = client.chat.completions.create(
    model="deepseek-v3.2-exp",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"},
    ],
)

print(completion.choices[0].message.content)

Python Code Example

from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)

completion = client.chat.completions.create(
    model="deepseek-v3.2-exp",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"},
    ],
)

print(completion.choices[0].message.content)

JavaScript Code Example

import OpenAI from "openai";

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const api_key = process.env.COMETAPI_KEY;
const base_url = "https://api.cometapi.com/v1";

const openai = new OpenAI({
  apiKey: api_key,
  baseURL: base_url,
});

const completion = await openai.chat.completions.create({
  model: "deepseek-v3.2-exp",
  messages: [
    { role: "system", content: "You are a helpful assistant." },
    { role: "user", content: "Hello!" },
  ],
});

console.log(completion.choices[0].message.content);

Curl Code Example

curl https://api.cometapi.com/v1/chat/completions \
     --header "Authorization: Bearer $COMETAPI_KEY" \
     --header "content-type: application/json" \
     --data \
'{
    "model": "deepseek-v3.2-exp",
    "messages": [
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"}
    ]
}'

Các phiên bản của DeepSeek-V3.2

Lý do DeepSeek-V3.2 có nhiều snapshot có thể bao gồm các yếu tố tiềm năng như: sự thay đổi đầu ra sau các bản cập nhật cần các snapshot cũ để đảm bảo tính nhất quán, cung cấp cho nhà phát triển thời gian chuyển tiếp để thích ứng và di chuyển, cũng như các snapshot khác nhau tương ứng với các endpoint toàn cầu hoặc khu vực nhằm tối ưu hóa trải nghiệm người dùng. Để biết chi tiết về sự khác biệt giữa các phiên bản, vui lòng tham khảo tài liệu chính thức.
deepseek-v3.2
DeepSeek-V3.2-Exp-nothinking
DeepSeek-V3.2-Exp-thinking