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.

ChatChat & TextSynchronous
Model id
kimi-k2.5

kimi-k2.5 API pricing

All prices in USD. APISea rates compared with the official list price for the same unit.

Token typeAPISeaOfficialSave
Input per 1M tokens$0.4523$0.514−12%
Output per 1M tokens$0.6106$0.6939−12%

What is 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 highlights

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.

How to call the kimi-k2.5 API in 4 steps

  1. 01

    Get an API key

    Sign in to APISea, top up from $50, and create an sk-sea key in the console.

  2. 02

    Set the base URL

    Use https://api.apisea.ai/v1 as the base URL in your SDK or HTTP client.

  3. 03

    Send the request

    Call POST /v1/chat/completions with "model": "kimi-k2.5" and the parameters below.

  4. 04

    Handle the response

    Read the response (or stream tokens with stream: true). Usage and cost appear in your console.

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
  }'

Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredgpt-5Model name
messagesarrayRequired—List of conversation messages
rolestringRequireduserRole type
contentstringRequired—Message content
temperaturenumberOptional—Controls output randomness, range 0-2
max_tokensintegerOptional—Maximum number of tokens to generate
streambooleanOptional—Whether to use streaming output
top_pnumberOptional—Nucleus sampling parameter, range 0-1
frequency_penaltynumberOptional—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberOptional—Presence penalty, range -2.0 to 2.0
stopstring or arrayOptional—Stop sequences
nintegerOptional—Number of completions to generate

What you can build with 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.

Tips for better results

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

Limits and things to know

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

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.

Related models

Depth: 250+ models · Minimum top-up $50

Start building with kimi-k2.5

One key, pay as you go from $50, billed only for successful requests.