Skip to content
הדף עדיין אינו זמין בשפה שלכם, ולכן הוא מוצג באנגלית.
DeepSeek · DeepSeek

deepseek-v3.2 API

Use deepseek-v3.2 on APISea for text generation and multi-turn chat through an OpenAI-compatible API.

צ'אטצ'אט וטקסטסינכרוני
מזהה מודל
deepseek-v3.2

תמחור API של deepseek-v3.2

כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.

סוג tokenAPISeaרשמיחיסכון
קלט לכל 1M tokens$0.2262$0.257−12%
פלט לכל 1M tokens$0.3392$0.3855−12%

מהו deepseek-v3.2?

deepseek-v3.2 is a DeepSeek chat model available through APISea for text generation and conversational applications. Send a messages array containing text content and user, assistant, or system roles to supply questions, conversation history, and behavioral instructions. The OpenAI-compatible Chat Completions interface supports streaming responses or complete responses, with controls including temperature, top_p, max_tokens, repetition penalties, and stop sequences. The listed maximum input and output limits are each 163,840 tokens.

Call the model by setting the model parameter to deepseek-v3.2 using your APISea key and the base URL https://api.apisea.ai/v1. APISea charges $0.2262 per 1M input tokens and $0.3392 per 1M output tokens on a pay-as-you-go basis, billing only for successful requests. The default configuration is about 12% below the provider list price. Response usage fields report input, output, and total token counts to help you track consumption.

המאפיינים הבולטים של deepseek-v3.2

Text Conversation Interface

Provide text messages with user, assistant, and system roles. Include prior messages to supply context for multi-turn conversations.

Streaming Response Control

Set stream to true for SSE streaming or false to receive the complete response at once.

Generation Parameter Controls

Adjust temperature or top_p to control output randomness and diversity. Use max_tokens and stop sequences to bound generation.

Below-List Token Pricing

Input costs $0.2262 per 1M tokens and output costs $0.3392 per 1M tokens. The default configuration is about 12% below the provider list price.

איך לקרוא ל-API של deepseek-v3.2 ב-4 שלבים

  1. 01

    יצירת מפתח API

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.

  3. 03

    שליחת הבקשה

    יש לקרוא ל-POST /v1/chat/completions עם "model": "deepseek-v3.2" והפרמטרים שלהלן.

  4. 04

    טיפול בתגובה

    יש לקרוא את התגובה (או להזרים tokens באמצעות stream: true). נתוני השימוש והעלות מופיעים במסוף.

curl https://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v3.2",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
    ],
    "stream": false
  }'

פרמטרים

פרמטרסוגנדרשברירת מחדלתיאור
modelstringנדרשgpt-5Model name
messagesarrayנדרש—List of conversation messages
rolestringנדרשuserRole type
contentstringנדרש—Message content
temperaturenumberאופציונלי—Controls output randomness, range 0-2
max_tokensintegerאופציונלי—Maximum number of tokens to generate
streambooleanאופציונלי—Whether to use streaming output
top_pnumberאופציונלי—Nucleus sampling parameter, range 0-1
frequency_penaltynumberאופציונלי—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberאופציונלי—Presence penalty, range -2.0 to 2.0
stopstring or arrayאופציונלי—Stop sequences
nintegerאופציונלי—Number of completions to generate

מה אפשר לבנות עם deepseek-v3.2

Conversational Assistants

Build text-based assistants that receive user questions and use supplied conversation history to inform subsequent responses.

Document Summaries

Send document text with instructions for a summary, specifying the desired length and structure in the messages.

Content Drafting

Generate initial drafts of emails, help articles, or product descriptions from text briefs and system instructions.

Internal Question Answering

Include relevant reference text alongside a question to build an assistant that answers from the context your application supplies.

טיפים לקבלת תוצאות טובות יותר

  • 01

    Set the Model Explicitly

    Set the model parameter to deepseek-v3.2; the general API documentation lists a different default model. Authenticate with your APISea key using Bearer Token authentication.

  • 02

    Bound Output Spending

    Use max_tokens to cap generated tokens, and inspect prompt_tokens and completion_tokens in response usage to track consumption.

  • 03

    Choose One Sampling Control

    Start with temperature or top_p rather than adjusting both. The documentation recommends using either control; lower temperature values make output more deterministic.

  • 04

    Choose Response Delivery

    Set stream explicitly to match your application: true for SSE streaming or false for a complete response. The documented /v1/chat/completions route defaults to streaming.

מגבלות ודברים שכדאי לדעת

  • Maximum input is 163,840 tokens; maximum output is 163,840 tokens.

  • The documented message content format is text; these facts do not establish image, audio, or video input support.

  • Stop sequences are limited to four per request.

שאלות נפוצות על API של deepseek-v3.2

How much does deepseek-v3.2 cost on APISea?

APISea charges $0.2262 per 1M input tokens and $0.3392 per 1M output tokens. Provider list prices are $0.257 per 1M input tokens and $0.3855 per 1M output tokens, making the default configuration about 12% below list price. Billing is pay-as-you-go and applies only to successful requests.

How do I call deepseek-v3.2 through the API?

Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a POST request to /chat/completions. Set model to deepseek-v3.2, include a messages array, and authenticate with your APISea key as a Bearer Token.

Does deepseek-v3.2 support streaming on APISea?

The unified chat interface supports SSE streaming with stream set to true. Set stream to false to receive the complete response at once.

Which generation parameters can I use?

The documented chat interface includes temperature, top_p, max_tokens, frequency_penalty, presence_penalty, stop, and n. Temperature ranges from 0–2, top_p from 0–1, and both penalty parameters from -2.0 to 2.0.

What are the token limits for deepseek-v3.2?

The listed maximum input is 163,840 tokens, and the listed maximum output is 163,840 tokens. These are separate stated limits, not a documented combined context budget; check the model documentation when planning requests near either limit.

Can I use deepseek-v3.2 commercially?

Commercial use is subject to the provider's terms and applicable APISea terms. Review those terms for your intended application; the supplied model facts do not establish specific licensing permissions.

מודלים קשורים

עומק: יותר מ-250 מודלים · טעינת יתרה מינימלית $50

מתחילים לבנות עם deepseek-v3.2

מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.