Skip to content
このページはまだお使いの言語に対応していないため、英語で表示されています。
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.

チャットチャット・テキスト同期
モデルID
kimi-k2.5

kimi-k2.5 APIの料金

すべての料金はUSDです。同じ単位でAPISeaの料金と公式価格表の料金を比較しています。

トークン種別APISea公式節約
入力 100万tokenあたり$0.4523$0.514−12%
出力 100万tokenあたり$0.6106$0.6939−12%

kimi-k2.5とは?

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の特長

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を4つのステップで呼び出す方法

  1. 01

    APIキーを取得する

    APISeaにサインインし、$50からチャージして、コンソールでsk-seaキーを作成します。

  2. 02

    ベースURLを設定する

    SDKまたはHTTPクライアントのベースURLにhttps://api.apisea.ai/v1を設定します。

  3. 03

    リクエストを送信する

    "model": "kimi-k2.5"と以下のパラメーターを指定して、POST /v1/chat/completionsを呼び出します。

  4. 04

    レスポンスを処理する

    レスポンスを読み取ります(または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.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
  }'

パラメーター

パラメーター種類必須デフォルト説明
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.5でできること

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.

より良い結果を得るためのヒント

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

制限事項と注意点

  • 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に関するよくある質問

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.

関連モデル

対応モデル数:250+ · 最低チャージ額:$50

kimi-k2.5で開発を始めましょう

APIキー1つで利用でき、$50からの従量課金です。課金対象は成功したリクエストのみです。