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

deepseek-r1 API

Use deepseek-r1 on APISea for reasoning-focused chat through an OpenAI-compatible API.

חשיבהצ'אט וטקסטסינכרוני
מזהה מודל
deepseek-r1

תמחור API של deepseek-r1

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

סוג tokenAPISeaרשמיחיסכון
קלט לכל 1M tokens$0.4928$0.56−12%
פלט לכל 1M tokens$1.97$2.24−12%

מהו deepseek-r1?

deepseek-r1 is a DeepSeek chat and reasoning model available through APISea. It is suited to applications that ask questions, work through multi-step problems, or discuss supplied text in a conversation. Requests use a messages array with role and content fields, and responses return generated text. The model accepts up to 65,536 input tokens and produces up to 8,192 output tokens. APISea's unified chat interface provides streaming or complete responses, plus controls such as temperature, top_p, and max_tokens.

Call deepseek-r1 through the OpenAI-compatible Chat Completions format using your APISea API key and the base URL https://api.apisea.ai/v1. Pricing is pay-as-you-go: $0.4928 per 1M input tokens and $1.97 per 1M output tokens. The default configuration is about 12% below the provider list price, and APISea bills only for successful requests.

המאפיינים הבולטים של deepseek-r1

Reasoning-Focused Chat

DeepSeek's chat and reasoning model is suited to conversational applications that need to work through questions and supplied information.

Defined Token Limits

Supports a maximum input of 65,536 tokens and a maximum output of 8,192 tokens.

Flexible Response Delivery

The unified chat interface supports streaming responses in SSE format or a complete response returned at once.

Below-List Token Pricing

APISea charges $0.4928 per 1M input tokens and $1.97 per 1M output tokens. The default configuration is about 12% below the provider list price.

איך לקרוא ל-API של deepseek-r1 ב-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-r1" והפרמטרים שלהלן.

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

Multi-Step Question Assistants

Build an assistant that receives a problem, relevant constraints, and follow-up questions in a conversation. Ask for a concise explanation and a final answer.

Document Discussion

Supply text within the input limit and let users ask questions about it. Include relevant passages in the messages to keep the task focused.

Decision Support Drafts

Ask the model to compare supplied options against explicit criteria and draft a recommendation for human review.

Conversational Learning Tools

Create a chat interface where users can ask for explanations and follow-up clarification, passing previous messages as conversation context.

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

  • 01

    Set Output Budgets

    Use max_tokens to bound generated output, staying within the 8,192-token maximum. Shorter requested answers can help control output-token costs.

  • 02

    Choose Delivery Explicitly

    Set stream to true for SSE output or false for a complete response. Specify it explicitly rather than relying on endpoint defaults.

  • 03

    Tune One Sampling Control

    The chat documentation recommends using either temperature or top_p. Lower temperature values make output more deterministic, but do not guarantee identical responses.

  • 04

    Keep Context Focused

    Include the messages and source text needed for the task rather than unrelated material. Input tokens are billed at $0.4928 per 1M tokens, with a maximum input of 65,536 tokens.

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

  • Maximum input is 65,536 tokens per request.

  • Maximum output is 8,192 tokens per request.

  • The supplied documentation describes a text-chat interface and does not establish model-specific support for additional modalities or tools.

שאלות נפוצות על API של deepseek-r1

How much does deepseek-r1 cost on APISea?

APISea pricing is $0.4928 per 1M input tokens and $1.97 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 through APISea?

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

What are deepseek-r1's token limits?

The maximum input is 65,536 tokens, and the maximum output is 8,192 tokens. Set max_tokens within the output limit.

Does deepseek-r1 support streaming?

APISea's 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 general chat documentation lists temperature, top_p, max_tokens, frequency_penalty, presence_penalty, stop, and n. These are gateway-level controls; consult the model documentation for any model-specific restrictions.

Can I use deepseek-r1 commercially?

Commercial use is subject to the provider's terms and applicable APISea terms. Review those terms for your intended application before deployment.

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

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

מתחילים לבנות עם deepseek-r1

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