Skip to main content

1. Model Introduction

Kimi-K2.5 is an open-source, native multimodal agentic model by Moonshot AI, built through continual pretraining on approximately 15 trillion mixed visual and text tokens atop Kimi-K2-Base. It seamlessly integrates vision and language understanding with advanced agentic capabilities, instant and thinking modes. Key Features:
  • Native Multimodality: Pre-trained on vision-language tokens, K2.5 excels in visual knowledge, cross-modal reasoning, and agentic tool use grounded in visual inputs.
  • Coding with Vision: K2.5 generates code from visual specifications (UI designs, video workflows) and autonomously orchestrates tools for visual data processing.
  • Agent Swarm: K2.5 transitions from single-agent scaling to a self-directed, coordinated swarm-like execution scheme. It decomposes complex tasks into parallel sub-tasks executed by dynamically instantiated, domain-specific agents.
  • Speculative Decoding: EAGLE-based speculative decoding support for lower latency.
Available Models: For details, see official documentation and deployment guidance.

2. SGLang Installation

Refer to the official SGLang installation guide.

3. Model Deployment

3.1 Basic Configuration

Interactive Command Generator: Use the configuration selector below to automatically generate the appropriate deployment command for your hardware platform, deployment strategy, and capabilities.

3.2 Configuration Tips

  • Memory: Requires GPUs with >=140GB each. Supported platforms: H200 (8x, TP=8), B300 (8x, TP=8), GB300 (4x, TP=4), MI300X/MI325X (4x, TP=4), MI350X/MI355X (4x, TP=4). Use --context-length 128000 to conserve memory.
  • AMD GPU TP Constraint: On AMD GPUs, TP must be <= 4 (not 8). Kimi-K2.5 has 64 attention heads; the AITER MLA kernel requires heads_per_gpu % 16 == 0. With TP=4, each GPU gets 16 heads (valid). With TP=8, each GPU gets 8 heads (invalid).
  • AMD Docker Image: Use lmsysorg/sglang:v0.5.9-rocm700-mi35x for MI350X/MI355X and lmsysorg/sglang:v0.5.9-rocm700-mi30x for MI300X/MI325X. The ROCm 7.2 images (rocm720) have an AITER compatibility issue.
  • DP Attention: Enable with --dp <N> --enable-dp-attention for production throughput. A common choice is to set --dp equal to --tp, but this is not required.
  • Reasoning Parser: Add --reasoning-parser kimi_k2 to separate thinking and content in model outputs.
  • Tool Call Parser: Add --tool-call-parser kimi_k2 for structured tool calls.

4. Model Invocation

4.1 Basic Usage

See Basic API Usage.

4.2 Advanced Usage

4.2.1 Multimodal (Vision + Text) Input

Kimi-K2.5 supports native multimodal input with images:
Example
Output Example:
Output

4.2.2 Reasoning Output

Kimi-K2.5 supports both thinking mode (default) and instant mode. Thinking Mode (default) — reasoning content is automatically separated:
Example
Instant Mode (thinking off) — disable thinking for faster responses:
Example
Output Example:
Output

4.2.3 Tool Calling

Kimi-K2.5 supports tool calling capabilities for agentic tasks:
Example
Output Example:
Output
Handling Tool Call Results:
Example
Output Example:
Output

4.2.4 Multimodal + Tool Calling (Agentic Vision)

Combine vision understanding with tool calling for advanced agentic tasks:
Example
Output Example:
Output

4.2.5 Speculative Decoding

Nvidia Deploy Kimi-K2.5 with the following command (H200/B300, all features enabled):
Command
Deploy Kimi-K2.5-NVFP4 with the following command (B300, all features enabled):
Command
For GB300, use --tp 4.

5. Benchmark

5.1 Accuracy Benchmark

5.1.1 MMMU Benchmark

You can evaluate the model’s accuracy using the MMMU benchmark, which tests multimodal understanding and reasoning across various subjects:
  • Benchmark Command:
Command
  • Result:
Output

5.2 Speed Benchmark

Test Environment:
  • Hardware: NVIDIA H200 GPU (8x)
  • Model: Kimi-K2.5
  • Tensor Parallelism: 8
  • SGLang Version: 0.5.6.post2
We use SGLang’s built-in benchmarking tool with the random dataset for standardized performance evaluation.

5.2.1 Latency Benchmark

  • Model Deployment:
Command
  • Benchmark Command:
Command
  • Results:
Output
  • Medium Concurrency (Balanced)
Command
Output
  • High Concurrency (Throughput-Optimized)
Command
  • Results:
Output
Scenario 2: Reasoning (1K/8K)
  • Low Concurrency
Command
Output
  • Medium Concurrency
Command
Output
  • High Concurrency
Command
Output
Scenario 3: Summarization (8K/1K)
  • Low Concurrency
Command
Output
  • Medium Concurrency
Command
Output
  • High Concurrency
Command
Output

5.2.2 Speculative Decoding Benchmark

  • Model Deployment:
Command
  • Benchmark Command:
Command
  • Results:
Output
  • Medium Concurrency (Balanced)
Command
Output
  • High Concurrency (Throughput-Optimized)
Command
Output

5.3 Speed Benchmark (AMD MI350X)

Test Environment:
  • Hardware: AMD Instinct MI350X GPU (4x)
  • Model: Kimi-K2.5 (BF16)
  • Tensor Parallelism: 4
  • SGLang Version: 0.5.9
  • Docker Image: lmsysorg/sglang:v0.5.9-rocm700-mi35x
  • ROCm: 7.0
We use SGLang’s built-in benchmarking tool with the random dataset for standardized performance evaluation. :::info AMD GPU TP Constraint Kimi-K2.5 requires TP <= 4 on AMD GPUs. The model has 64 attention heads, and the AITER MLA kernel requires heads_per_gpu % 16 == 0. With TP=4, each GPU gets 16 heads (valid). With TP=8, each GPU gets 8 heads (invalid). :::

5.3.1 Latency Benchmark

  • Model Deployment:
Command
  • Benchmark Command:
Command
  • Results:
Output
  • Medium Concurrency (Balanced)
Command
Output