Kimi K2 Instruct 0905
moonshotai/kimi-k2-0905

Kimi K2 0905 是 Kimi K2 0711 的九月更新版本。它是由月之暗面(Moonshot AI)开发的大规模专家混合(MoE)语言模型,拥有1万亿总参数,每次前向传播激活320亿参数。该模型支持长上下文推理,最高可达25.6万tokens,相比之前的12.8万tokens有所扩展。 此次更新改进了智能体编程能力,在各种框架中实现了更高准确性和更好的泛化性能,并增强了前端编程能力,在网页、3D及相关任务中提供更美观和实用的输出。Kimi K2 针对智能体能力进行了优化,包括高级工具使用、推理和代码合成。该模型在编程(LiveCodeBench、SWE-bench)、推理(ZebraLogic、GPQA)和工具使用(Tau2、AceBench)等基准测试中表现优异。该模型采用创新技术栈进行训练,结合了MuonClip优化器,确保大规模MoE训练的稳定性。

Model price

Input /Mt Output /Mt
Uncached
¥4/Mt¥16/Mt

Sample Code

Copy
1base_url="https://api.ppio.com/openai"
2api_key="<YOUR_API_KEY>"
3
4curl "$base_url/v1/chat/completions" \
5  -H "Content-Type: application/json" \
6  -H "Authorization: Bearer $api_key" \
7  -d @- << 'EOF'
8{
9    "model": "moonshotai/kimi-k2-0905",
10    "messages": [
11        
12        {
13            "role": "user",
14            "content": "Hi there!"
15        }
16    ],
17    "response_format": { "type": "text" }
18}
19EOF
20  

Model Information

Context window:

262.1K

Maximum output tokens:

100.4K

Modality:

Input:
Text
Output:
Text

Supported features

Function CallingSupported
Structured OutputSupported
reasoningNot supported

API Integration Guide

Base URL:

https://api.ppio.com/openai

Messages protocol Base URL:

https://api.ppio.com/anthropic

API Endpoints:

/v1/chat/completions

Model ID:

moonshotai/kimi-k2-0905

Usage tierRPMTPM
T1550000000
T210050000000
T3100050000000
T4300050000000
T5600050000000
With more cost-effective products and services
Help you unleash boundless innovation and lead the new era of intelligence
Inquire now