kimi-k3 API
kimi-k3 on APISea generates chat responses from text inputs of up to 1,000,000 tokens.
kimi-k3تسعير API لنموذج kimi-k3
جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.
| نوع الـ token | APISea | رسمي | وفّر |
|---|---|---|---|
| الإدخال لكل 1M رمز | $2.64 | $3.00 | −12% |
| الإدخال المخزّن مؤقتًا لكل 1M رمز | $0.264 | $0.30 | −12% |
| الإخراج لكل 1M رمز | $13.20 | $15.00 | −12% |
ما هو kimi-k3؟
kimi-k3 is a text chat model from Moonshot AI’s Kimi family, available through APISea’s OpenAI-compatible Chat Completions interface. It accepts conversation messages with system, user, and assistant roles and generates text responses. With a maximum input of 1,000,000 tokens and maximum output of 104,857 tokens, it offers room for substantial source material and lengthy responses. Developers can use it for document-based conversations, summaries, and text drafting, with temperature, top_p, and max_tokens controls to shape generation.
Call kimi-k3 using one APISea key and the base URL https://api.apisea.ai/v1. Choose streaming responses or return the completed response at once. APISea charges pay-as-you-go rates of $2.64 per 1M tokens for input, $0.264 per 1M tokens for cached input reads, and $13.20 per 1M tokens for output. The default configuration is about 12% below the provider list price, and APISea bills only for successful requests.
أبرز مزايا kimi-k3
Large Text Inputs
Provide up to 1,000,000 input tokens for conversations that include substantial source material.
Long Text Outputs
Generate up to 104,857 output tokens. Set max_tokens to cap the response length for each request.
Prompt Cache Reads
kimi-k3 supports prompt-cache reads, billed at $0.264 per 1M tokens for cached input.
Configurable Chat Responses
Use temperature and top_p to control generation randomness and diversity. Select streaming output or receive the complete response at once.
كيفية استدعاء API الخاص بـ kimi-k3 في 4 خطوات
- 01
احصل على API key
سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.
- 02
اضبط عنوان URL الأساسي
استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.
- 03
أرسل الطلب
استدعِ POST /v1/chat/completions مع "model": "kimi-k3" والمعلمات أدناه.
- 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": "kimi-k3",
"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 |
ما الذي يمكنك إنشاؤه باستخدام kimi-k3
Document-Based Chat
Build a chat interface that includes reference documents in the message context and asks for answers based on that material.
Multi-Document Summaries
Supply related reports or notes and request a consolidated summary, with a clear structure and output budget.
Long-Form Drafting
Turn detailed briefs and source text into drafts, using system instructions to specify tone, organization, and scope.
Multi-Turn Assistants
Pass prior user and assistant messages to build text conversations that retain the supplied conversation context.
نصائح للحصول على نتائج أفضل
- 01
Set an Output Budget
Use max_tokens to limit generated text to what your application needs, rather than requesting the maximum output allowance.
- 02
Separate Instructions From Sources
Put behavior instructions in a system message and source material or questions in user messages. Include prior assistant messages when continuing a conversation.
- 03
Tune One Sampling Control
Start with either temperature or top_p, as the documentation recommends. Lower temperature values make output more deterministic.
- 04
Track Cache-Read Costs
Account for cached input separately when estimating costs: cache reads cost $0.264 per 1M tokens. Confirm cache behavior in the documentation rather than assuming every repeated prompt is cached.
القيود ومعلومات مهمة
Maximum input is 1,000,000 tokens.
Maximum output is 104,857 tokens; max_tokens sets the requested generation cap.
The supplied model facts cover text chat and do not establish image, video, or audio support.
الأسئلة الشائعة حول API الخاص بـ kimi-k3
How much does kimi-k3 cost on APISea?
Input costs $2.64 per 1M tokens, cached input reads cost $0.264 per 1M tokens, and output costs $13.20 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-k3 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 field to kimi-k3 and provide a messages array containing role and content fields.
Which generation parameters can I use?
The documented chat interface includes temperature, top_p, max_tokens, stream, frequency_penalty, presence_penalty, stop, and n. Use system, user, and assistant message roles to supply instructions and conversation context.
What are the input and output limits for kimi-k3?
The maximum input is 1,000,000 tokens, and the maximum output is 104,857 tokens. Use max_tokens to request a smaller output cap.
Does kimi-k3 support streaming and prompt caching?
Streaming responses are available through the chat interface using stream set to true; set it to false for a complete response at once. kimi-k3 supports prompt-cache reads, but the supplied facts do not specify cache creation or retention rules.
Can I use kimi-k3 commercially?
Commercial use is subject to the provider's terms. Review Moonshot AI’s applicable terms and APISea’s terms before deploying your application.
نماذج ذات صلة
kimi-k2.5
kimi-k2.6
kimi-k2.7-code
qwen-turbo
qwen3.6-flash
qwen3.6-plus
qwen3.7-flash
qwen3.7-max
ابدأ التطوير باستخدام kimi-k3
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.