Skip to content
Halaman ini belum tersedia dalam bahasa Anda, jadi ditampilkan dalam bahasa Inggris.
DeepSeek · DeepSeek

deepseek-r1-0528 API

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

PenalaranChat & TeksSinkron
ID model
deepseek-r1-0528

Harga API deepseek-r1-0528

Semua harga dalam USD. Bandingkan tarif APISea dengan harga resmi untuk satuan yang sama.

Jenis tokenAPISeaResmiHemat
Input per 1 juta token$0.4488$0.51−12%
Output per 1 juta token$1.36$1.54−12%

Apa itu 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.

Keunggulan 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.

Cara memanggil API deepseek-r1-0528 dalam 4 langkah

  1. 01

    Dapatkan API key

    Masuk ke APISea, isi saldo mulai dari $50, lalu buat key sk-sea di konsol.

  2. 02

    Atur base URL

    Gunakan https://api.apisea.ai/v1 sebagai base URL di SDK atau klien HTTP Anda.

  3. 03

    Kirim permintaan

    Panggil POST /v1/chat/completions dengan "model": "deepseek-r1-0528" dan parameter berikut.

  4. 04

    Tangani respons

    Baca respons (atau streaming token dengan stream: true). Penggunaan dan biaya ditampilkan di konsol Anda.

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
  }'

Parameter

ParameterJenisWajibDefaultDeskripsi
modelstringWajibgpt-5Model name
messagesarrayWajib—List of conversation messages
rolestringWajibuserRole type
contentstringWajib—Message content
temperaturenumberOpsional—Controls output randomness, range 0-2
max_tokensintegerOpsional—Maximum number of tokens to generate
streambooleanOpsional—Whether to use streaming output
top_pnumberOpsional—Nucleus sampling parameter, range 0-1
frequency_penaltynumberOpsional—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberOpsional—Presence penalty, range -2.0 to 2.0
stopstring or arrayOpsional—Stop sequences
nintegerOpsional—Number of completions to generate

Yang bisa Anda buat dengan 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.

Tips untuk hasil yang lebih baik

  • 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.

Batasan dan hal yang perlu diketahui

  • 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.

FAQ 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 terkait

Pilihan: 250+ model · Minimum isi saldo $50

Mulai berkarya dengan deepseek-r1-0528

Satu API key, bayar sesuai penggunaan mulai dari $50, dan hanya dikenai biaya untuk permintaan yang berhasil.