ApX logoApX logo
CalculatorCoursesPricing

Kimi K2-Base

Open Source
Open Weights

Parameters

1T

Context Length

128K

Modality

Text

Architecture

Mixture of Experts

KV Cache Rate

69 KB/tok

License

Modified MIT License

Release Date

11 Jul 2025

Knowledge Cutoff

-

API Pricing (per 1M)

Input: $0.60 · Output: $2.50

Hardware & System Requirements

Precision

Context

Workload Memory: 1878.49 GB

vLLM

FP16 · 8K context · 1 user

Base Weights: 1862.65 GB

KV Cache: 13.34 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

16x NVIDIA H200 141GB

vLLM

1878.5 / 2030.4 GB · TP 8 · PP 2

Determine requirements for your specific workload:

Runtime requirements

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 4.48.3

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashMLA

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Additional required packages

Install alongside standard runtime libraries:

pip install flash_attn

Architecture Diagram

Input TokensToken EmbeddingPosition: RoPEHidden: 7.2k · Context: 128K · Vocab: 163.8kx 61 layersRMSNormPre-AttentionMulti-Layer Attention64Q / 64KV headsHead dim: 112+RMSNormPre-FFNSparse MoE FFNSwiGLU8/384 experts + 1 shared · Intermediate: 2k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#138

BenchmarkScoreRank

Software Engineering

SWE-bench Verified

0.71

#12

Professional Knowledge

MMLU Pro

0.692

#44

Graduate-Level QA

GPQA

0.481

#108

General Text

Text Arena

1419

#109

Intelligence Index

Artificial Analysis

0.13

#239

General Knowledge

Reference
MMLU

0.878

#6

Rankings

Overall Rank

#138

Coding Rank

#57

About Kimi K2-Base

Kimi K2-Base is Moonshot AI's foundational 1T-parameter Mixture-of-Experts base model activating 32B parameters per token. Pretrained on 15.5T tokens, it provides a highly capable platform for fine-tuning complex reasoning and agentic workflows.

Specifications

Attention

Attention Structure

Multi-Layer Attention

Attention Heads

64

Key-Value Heads

64

Position Embedding

ROPE

RoPE Theta

50,000

Normalization

RMS Normalization

Activation Function

SwiGLU

Dimensions

Base Precision

FP16

Hidden Dimension Size

7,168

Number of Layers

61

FFN Intermediate Size (Dense)

2,048

Multi-Token Prediction Heads

0

Tokenizer

Vocabulary Size

163,840

Mixture of Experts

Active Parameters

32.0B

Number of Experts

384

Active Experts

8

Shared Experts

1

FFN Intermediate Size (per Expert)

2,048

Dense Layers Before MoE

1

About Kimi K2

Moonshot AI's Kimi K2 is a Mixture-of-Experts model featuring one trillion total parameters, activating 32 billion per token. Designed for agentic intelligence, it utilizes a sparse architecture with 384 experts and the MuonClip optimizer for training stability, supporting a 128K token context window.


Other Kimi K2 Models
Kimi K2-Base Size, VRAM & Hardware Requirements