Skip to content
Bu sayfa henüz dilinizde sunulmuyor; bu nedenle İngilizce görüntüleniyor.
Moonshot AI · Kimi

kimi-k2.5 API

Use kimi-k2.5 on APISea for text generation and multi-turn chat through an OpenAI-compatible API.

SohbetSohbet ve metinSenkron
Model ID'si
kimi-k2.5

kimi-k2.5 API fiyatlandırması

Tüm fiyatlar USD cinsindendir. APISea ücretleri, aynı birim için resmî liste fiyatıyla karşılaştırılmıştır.

Token türüAPISeaResmiTasarruf edin
Girdi 1M token başına$0.4523$0.514−12%
Çıktı 1M token başına$0.6106$0.6939−12%

kimi-k2.5 nedir?

kimi-k2.5 is a chat model from Moonshot AI’s Kimi family, available through APISea for text generation and conversational applications. Send text messages with user, assistant, and system roles to provide instructions and conversation history. Developers can use this interface to build assistants, draft content, or work with supplied documents. The listed limits are 262,144 input tokens and 262,144 output tokens, giving you explicit boundaries when planning requests.

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 API offers streaming or complete responses, along with controls such as temperature, top_p, max_tokens, and stop sequences. APISea charges $0.4523 per 1M input tokens and $0.6106 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.

kimi-k2.5 öne çıkan özellikleri

Text Conversation Interface

Send messages with user, assistant, and system roles. Include earlier assistant responses to provide multi-turn conversation context.

Listed Token Limits

kimi-k2.5 has a maximum input of 262,144 tokens and a maximum output of 262,144 tokens.

Flexible Response Delivery

Use stream=true for server-sent events or stream=false to receive the complete response at once.

Generation Controls

Set max_tokens to bound generation and temperature or top_p to adjust output variation. Stop sequences let you define where generation should end.

kimi-k2.5 API'sini 4 adımda çağırma

  1. 01

    API key alın

    APISea'de oturum açın, $50 tutarından başlayarak bakiye yükleyin ve konsolda bir sk-sea key oluşturun.

  2. 02

    Base URL'yi ayarlayın

    SDK'nizde veya HTTP istemcinizde base URL olarak https://api.apisea.ai/v1 kullanın.

  3. 03

    İsteği gönderin

    "model": "kimi-k2.5" ve aşağıdaki parametrelerle POST /v1/chat/completions adresini çağırın.

  4. 04

    Yanıtı işleyin

    Yanıtı okuyun (veya stream: true ile token'ları streaming olarak alın). Kullanım ve maliyet konsolunuzda görünür.

curl https://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.5",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
    ],
    "stream": false
  }'

Parametreler

ParametreTürGerekliVarsayılanAçıklama
modelstringGerekligpt-5Model name
messagesarrayGerekli—List of conversation messages
rolestringGerekliuserRole type
contentstringGerekli—Message content
temperaturenumberİsteğe bağlı—Controls output randomness, range 0-2
max_tokensintegerİsteğe bağlı—Maximum number of tokens to generate
streambooleanİsteğe bağlı—Whether to use streaming output
top_pnumberİsteğe bağlı—Nucleus sampling parameter, range 0-1
frequency_penaltynumberİsteğe bağlı—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberİsteğe bağlı—Presence penalty, range -2.0 to 2.0
stopstring or arrayİsteğe bağlı—Stop sequences
nintegerİsteğe bağlı—Number of completions to generate

kimi-k2.5 ile neler geliştirebilirsiniz?

Conversational Assistants

Build a text assistant that receives user questions, system instructions, and prior messages through the chat interface.

Document Summaries

Supply document text and ask for a summary with a defined structure. Budget the instructions and source text within the listed input limit.

Content Drafting

Create a workflow for drafting and revising text, using system messages to specify tone and user messages to provide the brief.

Internal Knowledge Q&A

Pass relevant reference text alongside employee questions to build a text-based knowledge assistant. Ask the model to distinguish supplied information from unanswered questions.

Daha iyi sonuçlar için ipuçları

  • 01

    Set an Output Budget

    Choose max_tokens based on the response length your application needs rather than defaulting to the maximum. Output is billed at $0.6106 per 1M tokens.

  • 02

    Tune One Sampling Control

    Use either temperature or top_p to adjust generation, as recommended in the API documentation. Lower temperature values make output more deterministic.

  • 03

    Choose Streaming Explicitly

    Set stream=true for incremental SSE output or stream=false for a complete response. Setting it explicitly avoids relying on endpoint defaults.

  • 04

    Track Token Usage

    Use prompt_tokens, completion_tokens, and total_tokens in the documented usage object to monitor consumption. Trim unnecessary conversation history to reduce billed input tokens.

Sınırlar ve bilinmesi gerekenler

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

  • The documented message content is text; these facts do not establish image, video, or audio input support.

  • The API accepts up to 4 stop sequences.

kimi-k2.5 API SSS

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

APISea charges $0.4523 per 1M input tokens and $0.6106 per 1M output 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.5 through the API?

Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a POST request to /chat/completions with model set to kimi-k2.5 and a messages array. Authenticate with your APISea API key using a Bearer token.

Does kimi-k2.5 support streaming on APISea?

The documented Chat Completions interface supports streaming through stream=true, returning SSE output. Set stream=false to receive the complete response at once.

Which generation parameters can I use?

The documented interface includes temperature, top_p, max_tokens, frequency_penalty, presence_penalty, stop, and n. Temperature ranges from 0–2, while top_p ranges from 0–1.

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 cap within the output limit.

Can I use kimi-k2.5 commercially?

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

İlgili modeller

Kapsam: 250+ model · Minimum bakiye yükleme $50

kimi-k2.5 ile geliştirmeye başlayın

Tek bir anahtar, $50 tutarından başlayan kullandıkça öde modeli; yalnızca başarılı istekler için ücretlendirilirsiniz.