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

kimi-k2.6 API

Run Moonshot AI’s kimi-k2.6 text chat model on APISea with large token limits and prompt-cache reads.

محادثةالمحادثة والنصمتزامنالتخزين المؤقت للمطالبات
معرّف النموذج
kimi-k2.6

تسعير API لنموذج kimi-k2.6

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

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 1M رمز$0.836$0.95−12%
الإدخال المخزّن مؤقتًا لكل 1M رمز$0.1408$0.16−12%
الإخراج لكل 1M رمز$3.52$4.00−12%

ما هو kimi-k2.6؟

kimi-k2.6 is a text chat model from Moonshot AI’s Kimi family, available through APISea’s OpenAI-compatible Chat Completions interface. Developers can use it for conversational applications, document-based questions, and text generation workflows. Requests contain messages with system, user, or assistant roles, so you can define behavior and include previous conversation turns. The listed limits are 262,144 input tokens and 262,144 output tokens; prompt-cache reads are also supported.

Access the model with one APISea key and the base URL https://api.apisea.ai/v1, selecting kimi-k2.6 in the model parameter. The chat interface offers streaming or complete responses, plus controls for randomness, output length, sampling, repetition, and stop sequences. APISea uses pay-as-you-go billing and charges only for successful requests. Input costs $0.836 per 1M tokens, cached input costs $0.1408 per 1M tokens, and output costs $3.52 per 1M tokens. The default configuration is about 12% below the provider list price.

أبرز مزايا kimi-k2.6

Large Token Limits

The model lists a maximum input of 262,144 tokens and a maximum output of 262,144 tokens. These limits provide room for substantial text inputs and generated responses.

Prompt Cache Reads

kimi-k2.6 supports prompt-cache reads. Cached input is billed at $0.1408 per 1M tokens on APISea.

Flexible Response Delivery

Use streaming for SSE responses or disable streaming to receive a complete response at once. Set the stream parameter explicitly to choose your application’s behavior.

Generation Controls

Adjust temperature or top_p to control output variability. Use max_tokens, repetition penalties, and stop sequences to guide response length and style.

كيفية استدعاء API الخاص بـ kimi-k2.6 في 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": "kimi-k2.6" والمعلمات أدناه.

  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": "kimi-k2.6",
    "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

ما الذي يمكنك إنشاؤه باستخدام kimi-k2.6

Document Question Answering

Include document text and a user’s question in the message array to build a text-based question-answering workflow. Keep the full request within the listed input limit.

Multi-Turn Chat

Build a conversational interface using user and assistant messages for history. A system message can define the assistant’s role and response expectations.

Drafting and Rewriting

Create workflows that request drafts, edits, or alternative wording from supplied text. Specify tone and format in the messages and cap generation with max_tokens.

Long-Text Summaries

Submit lengthy text for a requested summary or structured outline. Define the desired scope and response length rather than relying on the maximum output allowance.

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

  • 01

    Set Output Budgets

    Choose max_tokens based on the response your application needs. Output is billed at $3.52 per 1M tokens, so avoid allowing unnecessarily long responses.

  • 02

    Check Cache Behavior

    Prompt-cache reads have a separate rate of $0.1408 per 1M tokens. Check the documentation for cache behavior before assuming repeated input qualifies for that rate.

  • 03

    Tune One Sampling Control

    The chat documentation recommends using either temperature or top_p. Lower temperature values make output more deterministic; higher values increase randomness.

  • 04

    Choose Streaming Explicitly

    Set stream to true for SSE output or false for a complete response. Explicit configuration avoids relying on endpoint-specific defaults.

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

  • Maximum input is 262,144 tokens; maximum output is 262,144 tokens.

  • Stop sequences are limited to four per request.

  • Prompt-cache read support does not mean every repeated prompt will receive cached-input pricing.

الأسئلة الشائعة حول API الخاص بـ kimi-k2.6

How much does kimi-k2.6 cost on APISea?

Input costs $0.836 per 1M tokens, cached input costs $0.1408 per 1M tokens, and output costs $3.52 per 1M tokens. The default configuration is about 12% below the provider list price, with pay-as-you-go billing only for successful requests.

How do I call kimi-k2.6 through the API?

Use the base URL https://api.apisea.ai/v1 and send a POST request to /chat/completions with Bearer Token authentication. Set the model parameter to kimi-k2.6 and provide a messages array containing role and content fields.

What are the input and output token limits?

The listed maximum input is 262,144 tokens, and the listed maximum output is 262,144 tokens. Use max_tokens to set the requested generation ceiling.

Does kimi-k2.6 support streaming and generation controls?

APISea’s chat interface supports streaming SSE responses and complete non-streaming responses. Its documented controls include temperature, top_p, max_tokens, frequency_penalty, presence_penalty, stop, and n.

Does kimi-k2.6 support prompt caching?

The model supports prompt-cache reads, billed at $0.1408 per 1M tokens on APISea. Consult the documentation for cache behavior and eligibility.

Can I use kimi-k2.6 commercially?

Commercial use is subject to the provider’s terms. Review Moonshot AI’s applicable terms and APISea’s terms before deploying a commercial application.

نماذج ذات صلة

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

ابدأ التطوير باستخدام kimi-k2.6

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