Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
DeepSeek · DeepSeek

deepseek-r1-0528 API

Use DeepSeek’s deepseek-r1-0528 for text chat and reasoning through APISea’s OpenAI-compatible API.

استدلالالمحادثة والنصمتزامن
معرّف النموذج
deepseek-r1-0528

تسعير API لنموذج deepseek-r1-0528

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 1M رمز$0.4488$0.51−12%
الإخراج لكل 1M رمز$1.36$1.54−12%

ما هو deepseek-r1-0528؟

deepseek-r1-0528 is a DeepSeek chat and reasoning model available through APISea. Its R1 naming positions it for extended reasoning, making it a candidate for workflows that ask the model to analyze information, work through questions, or explain conclusions. It accepts text messages with user, assistant, and system roles and generates text responses. The documented limits are 163,840 input tokens and 32,768 output tokens.

Call the model through APISea’s OpenAI-compatible Chat Completions interface using one API key and the base URL https://api.apisea.ai/v1. The interface offers streaming or complete responses, output-length control through max_tokens, and sampling controls including temperature and top_p. APISea charges $0.4488 per 1M input tokens and $1.35 per 1M output tokens on a pay-as-you-go basis, billing only successful requests. The default configuration is about 12% below the provider list price.

أبرز مزايا deepseek-r1-0528

Chat and Reasoning

A DeepSeek model in the chat / reasoning category. Its R1 naming positions it for extended reasoning tasks.

Documented Token Limits

Supports a maximum input of 163,840 tokens and a maximum output of 32,768 tokens.

Flexible Response Delivery

Choose streaming responses in SSE format or receive the complete response at once by setting stream explicitly.

Below-List Token Pricing

APISea pricing is $0.4488 per 1M input tokens and $1.35 per 1M output tokens. The default configuration is about 12% below the provider list price.

كيفية استدعاء API الخاص بـ deepseek-r1-0528 في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/chat/completions مع "model": "deepseek-r1-0528" والمعلمات أدناه.

  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-r1-0528",
    "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-r1-0528

Document Analysis

Build a workflow that supplies reference text and asks questions about it, keeping the full request within the input limit.

Reasoning Assistants

Use this reasoning-positioned model to explore multi-step questions and request explanations of conclusions for human review.

Multi-Turn Support

Build text-based assistants that include prior user and assistant messages as conversation context, with a system message defining behavior.

Internal Decision Support

Provide requirements, constraints, and proposed options, then ask for a structured comparison to support a team’s review.

نصائح للحصول على نتائج أفضل

  • 01

    Set an Output Budget

    Use max_tokens to cap generated output for the task, staying within the 32,768-token maximum. Input and output tokens have separate prices.

  • 02

    Choose One Sampling Control

    The documentation recommends using either temperature or top_p. Lower temperature values make output more deterministic; test settings on your own prompts.

  • 03

    Specify Streaming Explicitly

    Set stream to true for SSE output or false for a complete response. Explicit settings avoid relying on route defaults.

  • 04

    Manage Conversation Context

    Send relevant prior turns as assistant and user messages, and use a system message to define behavior. Keep the total input within 163,840 tokens.

القيود ومعلومات مهمة

  • Maximum input is 163,840 tokens.

  • Maximum output is 32,768 tokens.

  • The supplied documentation describes text chat; verify any additional capability before relying on it.

الأسئلة الشائعة حول API الخاص بـ deepseek-r1-0528

How much does deepseek-r1-0528 cost on APISea?

APISea charges $0.4488 per 1M input tokens and $1.35 per 1M output tokens. The default configuration is about 12% below the provider list price, and only successful requests are billed.

How do I call deepseek-r1-0528 through APISea?

Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a POST request to /chat/completions. Authenticate with your APISea Bearer token, set model to deepseek-r1-0528, and provide a messages array.

What parameters can I use?

The documented chat interface includes max_tokens, stream, temperature, top_p, frequency_penalty, presence_penalty, stop, and n. Messages contain role and content fields, with user, assistant, and system roles supported.

What are the input and output limits?

The maximum input is 163,840 tokens, and the maximum output is 32,768 tokens. Use max_tokens to set an output cap within that limit.

Can I use deepseek-r1-0528 commercially?

Commercial use is subject to the provider’s terms. Review the applicable DeepSeek and APISea terms for your intended application.

How does deepseek-r1-0528 differ from other DeepSeek models?

The R1 name positions it for extended reasoning, while the 0528 suffix suggests a pinned snapshot suited to reproducibility. The supplied facts do not establish performance differences against other DeepSeek models.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام deepseek-r1-0528

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.