Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
D

DeepSeek-Reasoner

ان پٹ:$0.44/M
آؤٹ پٹ:$1.752/M
جاری کیا گیا:Oct 1, 2025

DeepSeek-Reasoner، DeepSeek کی استدلال-اول LLMs اور API endpoints کی فیملی ہے، جسے (1) کال کرنے والے صارفین کے لیے اندرونی chain-of-thought (CoT) استدلال کو ظاہر کرنے اور (2) متعدد مراحل کی منصوبہ بندی، ریاضی، کوڈنگ، اور ایجنٹ/ٹول کے استعمال کے لیے موزوں کردہ “thinking” موڈز میں کام کرنے کے لیے ڈیزائن کیا گیا ہے۔

تجارتی استعمال

DeepSeek-Reasoner کے لیے Playground

DeepSeek-Reasoner کا Playground دریافت کریں — ماڈلز کو ٹیسٹ کرنے اور حقیقی وقت میں سوالات چلانے کے لیے ایک متحرک ماحول۔ پرامپٹس آزمائیں، پیرامیٹرز ایڈجسٹ کریں، اور فوری طور پر دہرائیں تاکہ ترقی کو تیز کریں اور استعمال کے معاملات کی تصدیق کریں۔

What is DeepSeek-Reasoner?

DeepSeek-Reasoner is the reasoning (or “thinking”) mode/API name for DeepSeek’s reasoning-first models (currently aligned to the DeepSeek-V3.2 family). It is designed to produce an explicit chain of thought (CoT) before emitting a final answer—i.e., the model intentionally generates internal step-by-step reasoning which is exposed (or can be exposed) through the API so callers can inspect or distill it. DeepSeek positions the reasoner variant as the “thinking” counterpart to its non-thinking chat model and markets it for multi-step reasoning, math, coding and agent workflows.

Main features (user-facing)

  • Explicit Chain-of-Thought (CoT) output. API returns a separate reasoning_content field containing the model’s internal stepwise reasoning alongside the final content. This is designed for inspectability and downstream agent logic.
  • “Thinking” vs “Chat” modes. deepseek-reasoner (thinking mode) is distinct from deepseek-chat (non-thinking mode); both were upgraded to the V3.2 generation.
  • Large context windows. DeepSeek exposes very large context lengths . The Reasoner variants are marketed for long-form reasoning and agent memory.
  • JSON output / structured responses. Support for structured JSON outputs useful for programmatic consumption.
  • Agent/agent-builder focus. V3.2 and the Speciale variant are explicitly described as “reasoning-first models built for agents.”

Technical capabilities

  • Inputs: plain text prompts, structured JSON for tool/agent calls, files or long documents (via long context); tokens are standard NLP tokens.
  • Outputs: API returns both reasoning_content (CoT text) and content (final answer). API clients can request only CoT or only final answer by adjusting max_tokens or response parameters. (Practical note: extracting CoT may still be billable as model output.)
  • DeepSeek has iterated via a reasoning-specialized roadmap: base large models (R1 family) followed by focused post-training / reinforcement learning (RLHF-style) and policy-style fine-tuning to improve reasoning depth. The team also uses distillation to compress reasoning capability into smaller, deployable models.
  • The V3.2 series adds agentic post-training for tool-use, hybrid inference (Think / Non-Think), and optimizations for faster “thinking” iterations.
  • Inference efficiency is aided by a sparse attention method (reports call it DeepSeek Sparse Attention — DSA) that focuses compute on relevant segments rather than full dense attention across very long sequences; this reduces cost for very long contexts.

How to access deepseek-reasoner API

Step 1: Sign Up for API Key

Log in to cometapi.com. If you are not our user yet, please register first. Sign into your CometAPI console. 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.

Step 2: Send Requests to deepseek-reasoner API

Select the “deepseek-reasoner” 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. Replace <YOUR_API_KEY> with your actual CometAPI key from your account. base url is Chat format.

Insert your question or request into the content field—this is what the model will respond to . Process the API response to get the generated answer.

Step 3: Retrieve and Verify Results

Process the API response to get the generated answer. After processing, the API responds with the task status and output data.

DeepSeek-Reasoner کی قیمتیں

[ماڈل کا نام] کے لیے مسابقتی قیمتوں کو دریافت کریں، جو مختلف بجٹ اور استعمال کی ضروریات کے مطابق ڈیزائن کیا گیا ہے۔ ہمارے لچکدار منصوبے اس بات کو یقینی بناتے ہیں کہ آپ صرف اسی کے لیے ادائیگی کریں جو آپ استعمال کرتے ہیں، جس سے آپ کی ضروریات بڑھنے کے ساتھ ساتھ اسکیل کرنا آسان ہو جاتا ہے۔ دریافت کریں کہ [ماڈل کا نام] کیسے آپ کے پروجیکٹس کو بہتر بنا سکتا ہے جبکہ اخراجات کو قابو میں رکھتا ہے۔

ModelComet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
deepseek-r1
ان پٹ:$0.44/M
آؤٹ پٹ:$1.752/M
ان پٹ:$0.55/M
آؤٹ پٹ:$2.19/M
-20%
deepseek-r1-0528
ان پٹ:$0.44/M
آؤٹ پٹ:$1.752/M
ان پٹ:$0.55/M
آؤٹ پٹ:$2.19/M
-20%
deepseek-reasoner
ان پٹ:$0.44/M
آؤٹ پٹ:$1.752/M
ان پٹ:$0.55/M
آؤٹ پٹ:$2.19/M
-20%

DeepSeek-Reasoner کے لیے نمونہ کوڈ اور API

DeepSeek-Reasoner کے لیے جامع نمونہ کوڈ اور API وسائل تک رسائی حاصل کریں تاکہ آپ کے انضمام کے عمل کو آسان بنایا جا سکے۔ ہماری تفصیلی دستاویزات قدم بہ قدم رہنمائی فراہم کرتی ہیں، جو آپ کو اپنے پروجیکٹس میں DeepSeek-Reasoner کی مکمل صلاحیت سے فائدہ اٹھانے میں مدد کرتی ہیں۔

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

cURL Code Example

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

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-r1",
    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-r1",
  messages: [
    { role: "system", content: "You are a helpful assistant." },
    { role: "user", content: "Hello!" },
  ],
});

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

DeepSeek-Reasoner کے ورژن

DeepSeek-Reasoner کے متعدد سنیپ شاٹس کی وجوہات میں ممکنہ عوامل شامل ہوسکتے ہیں جیسے اپ ڈیٹس کے بعد آؤٹ پٹ میں تبدیلیاں جس کی وجہ سے مستقل مزاجی کے لیے پرانے سنیپ شاٹس کی ضرورت ہوتی ہے، ڈویلپرز کو ایڈاپٹیشن اور مائیگریشن کے لیے منتقلی کا وقت فراہم کرنا، اور عالمی یا علاقائی اینڈ پوائنٹس کے مطابق مختلف سنیپ شاٹس کا ہونا تاکہ صارف کے تجربے کو بہتر بنایا جاسکے۔ ورژنز کے درمیان تفصیلی فرق کے لیے براہ کرم سرکاری دستاویزات کا حوالہ دیں۔

Version
deepseek-r1
deepseek-r1-0528
deepseek-reasoner