deepseek-r1-0528 API
Use DeepSeek’s deepseek-r1-0528 for text chat and reasoning through APISea’s OpenAI-compatible API.
deepseek-r1-0528Bảng giá API deepseek-r1-0528
Tất cả giá đều tính bằng USD. So sánh mức giá của APISea với giá niêm yết chính thức cho cùng đơn vị.
| Loại token | APISea | Chính thức | Tiết kiệm |
|---|---|---|---|
| Đầu vào mỗi 1M token | $0.4488 | $0.51 | −12% |
| Đầu ra mỗi 1M token | $1.36 | $1.54 | −12% |
deepseek-r1-0528 là gì?
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.
Điểm nổi bật của 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.
Cách gọi API deepseek-r1-0528 trong 4 bước
- 01
Tạo API key
Đăng nhập APISea, nạp tối thiểu $50 rồi tạo key sk-sea trong bảng điều khiển.
- 02
Đặt base URL
Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.
- 03
Gửi request
Gọi POST /v1/chat/completions với "model": "deepseek-r1-0528" và các tham số bên dưới.
- 04
Xử lý phản hồi
Đọc phản hồi (hoặc truyền token theo luồng bằng stream: true). Mức sử dụng và chi phí sẽ hiển thị trong bảng điều khiển.
Ví dụ request
Tài liệu: 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-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
}'Tham số
| Tham số | Loại | Bắt buộc | Mặc định | Mô tả |
|---|---|---|---|---|
model | string | Bắt buộc | gpt-5 | Model name |
messages | array | Bắt buộc | — | List of conversation messages |
role | string | Bắt buộc | user | Role type |
content | string | Bắt buộc | — | Message content |
temperature | number | Tùy chọn | — | Controls output randomness, range 0-2 |
max_tokens | integer | Tùy chọn | — | Maximum number of tokens to generate |
stream | boolean | Tùy chọn | — | Whether to use streaming output |
top_p | number | Tùy chọn | — | Nucleus sampling parameter, range 0-1 |
frequency_penalty | number | Tùy chọn | — | Frequency penalty, range -2.0 to 2.0 |
presence_penalty | number | Tùy chọn | — | Presence penalty, range -2.0 to 2.0 |
stop | string or array | Tùy chọn | — | Stop sequences |
n | integer | Tùy chọn | — | Number of completions to generate |
Bạn có thể xây dựng gì với 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.
Mẹo để có kết quả tốt hơn
- 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.
Giới hạn và những điều cần biết
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.
Câu hỏi thường gặp về 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.
Model liên quan
deepseek-r1
deepseek-v3.2
deepseek-v4-flash
deepseek-v4-pro
deepseek-v4.1-flash
qwen-turbo
qwen3.6-flash
qwen3.6-plus
Bắt đầu xây dựng với deepseek-r1-0528
Chỉ cần một key, thanh toán theo mức sử dụng từ $50; chỉ tính phí cho các request thành công.