deepseek-v4-pro API
Use deepseek-v4-pro on APISea for text chat and reasoning with large inputs and prompt-cache reads.
deepseek-v4-proتسعير API لنموذج deepseek-v4-pro
جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.
| نوع الـ token | APISea | رسمي | وفّر |
|---|---|---|---|
| الإدخال لكل 1M رمز | $1.13 | $1.29 | −12% |
| الإدخال المخزّن مؤقتًا لكل 1M رمز | $0.1131 | $0.1286 | −12% |
| الإخراج لكل 1M رمز | $3.39 | $3.86 | −12% |
ما هو deepseek-v4-pro؟
deepseek-v4-pro is a DeepSeek chat and reasoning model available through APISea. Its pro name positions it as a higher-capability tier, while its large input allowance makes it suited to workflows that bring substantial reference material into a conversation. It accepts text messages with system, user, and assistant roles and generates text responses. The documented limits are 1,000,000 input tokens and 393,216 output tokens, with support for prompt-cache reads.
Call deepseek-v4-pro through the OpenAI-compatible Chat Completions interface using one APISea key and the base URL https://api.apisea.ai/v1. Controls include temperature, top_p, max_tokens, and streaming or complete responses. APISea charges $1.13 per 1M tokens for input, $0.1131 per 1M tokens for cached input reads, and $3.39 per 1M tokens for output. The default configuration is about 12% below the provider list price, with pay-as-you-go billing only for successful requests.
أبرز مزايا deepseek-v4-pro
Large Input Allowance
Supply up to 1,000,000 input tokens for conversations that include substantial reference text.
Long Text Outputs
The maximum output is 393,216 tokens. Use max_tokens to set a generation limit for each request.
Prompt Cache Reads
Prompt-cache reads are supported and priced at $0.1131 per 1M tokens on APISea.
Flexible Response Delivery
Choose streaming responses in SSE format or receive the complete response at once. Set stream explicitly to select the behavior.
كيفية استدعاء API الخاص بـ deepseek-v4-pro في 4 خطوات
- 01
احصل على API key
سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.
- 02
اضبط عنوان URL الأساسي
استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.
- 03
أرسل الطلب
استدعِ POST /v1/chat/completions مع "model": "deepseek-v4-pro" والمعلمات أدناه.
- 04
تعامل مع الاستجابة
اقرأ الاستجابة (أو استقبل الـ tokens بالتدفق باستخدام stream: true). يظهر الاستخدام والتكلفة في وحدة التحكم.
أمثلة على الطلبات
الوثائق: General Chat API (Default Streaming)curl https://api.apisea.ai/v1/chat/completions \
-H "Authorization: Bearer $APISEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-pro",
"messages": [
{"role": "system", "content": "You are a concise assistant."},
{"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
],
"stream": false
}'المعلمات
| المعلمة | النوع | مطلوب | افتراضي | الوصف |
|---|---|---|---|---|
model | string | مطلوب | gpt-5 | Model name |
messages | array | مطلوب | — | List of conversation messages |
role | string | مطلوب | user | Role type |
content | string | مطلوب | — | Message content |
temperature | number | اختياري | — | Controls output randomness, range 0-2 |
max_tokens | integer | اختياري | — | Maximum number of tokens to generate |
stream | boolean | اختياري | — | Whether to use streaming output |
top_p | number | اختياري | — | Nucleus sampling parameter, range 0-1 |
frequency_penalty | number | اختياري | — | Frequency penalty, range -2.0 to 2.0 |
presence_penalty | number | اختياري | — | Presence penalty, range -2.0 to 2.0 |
stop | string or array | اختياري | — | Stop sequences |
n | integer | اختياري | — | Number of completions to generate |
ما الذي يمكنك إنشاؤه باستخدام deepseek-v4-pro
Reference-Based Assistants
Build text assistants that answer questions using documents supplied in the conversation. Use system messages to define the assistant's role and response expectations.
Multi-Turn Reasoning
Create conversational workflows for exploring problems and evaluating alternatives. Include prior user and assistant messages to preserve conversation context.
Document Synthesis
Supply source text and ask for summaries, comparisons, or a consolidated brief. The large input allowance accommodates substantial reference material.
Long-Form Drafting
Generate reports or other extended text from instructions and reference material. Set an output budget appropriate to the requested deliverable.
نصائح للحصول على نتائج أفضل
- 01
Set an Output Budget
Use max_tokens to cap generated text rather than defaulting to the maximum allowance. Output is billed at $3.39 per 1M tokens.
- 02
Choose One Sampling Control
Use a lower temperature, such as 0.2, for more deterministic output. The documentation recommends adjusting either temperature or top_p rather than both.
- 03
Budget Cache Reads Separately
Distinguish regular input from cached input reads in cost estimates. Cache reads cost $0.1131 per 1M tokens; confirm cache behavior before assuming an input will receive that rate.
- 04
Make Streaming Explicit
Set stream to true for SSE responses or false for a complete response. This avoids depending on the documented endpoint defaults.
القيود ومعلومات مهمة
Input is limited to 1,000,000 tokens per request.
Output is limited to 393,216 tokens, and max_tokens can impose a lower cap.
Prompt-cache reads are supported, but the supplied documentation does not specify cache eligibility or retention.
الأسئلة الشائعة حول API الخاص بـ deepseek-v4-pro
How much does deepseek-v4-pro cost on APISea?
Input costs $1.13 per 1M tokens, cached input reads cost $0.1131 per 1M tokens, and output costs $3.39 per 1M tokens. The default configuration is about 12% below the provider list price, and APISea bills only successful requests.
How do I call deepseek-v4-pro through the API?
Use the base URL https://api.apisea.ai/v1 and send a POST request to /chat/completions with model set to deepseek-v4-pro and a messages array. Authenticate with your APISea key using Bearer Token authentication.
Which generation parameters are documented?
The Chat Completions interface documents temperature, top_p, max_tokens, stream, frequency_penalty, presence_penalty, stop, and n. Messages contain role and content fields, with system, user, and assistant roles supported.
What are the input and output token limits?
The maximum input is 1,000,000 tokens and the maximum output is 393,216 tokens. Set max_tokens to control the requested output length within that ceiling.
Can I use deepseek-v4-pro commercially?
Commercial use is subject to the provider's terms and applicable APISea terms. The supplied model facts do not establish separate commercial licensing permissions.
How does deepseek-v4-pro compare with lighter DeepSeek models?
The pro name positions it as a higher-capability tier relative to names such as mini or lite. The supplied facts do not include sibling benchmarks or pricing comparisons, so evaluate candidate models on your own workload.
نماذج ذات صلة
deepseek-r1
deepseek-r1-0528
deepseek-v3.2
deepseek-v4-flash
deepseek-v4.1-flash
qwen-turbo
qwen3.6-flash
qwen3.6-plus
ابدأ التطوير باستخدام deepseek-v4-pro
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.