Skip to content

Commit 4908ac0

Browse files
authored
💄 style: Add Kimi K2 model (#8401)
1 parent 1784e4f commit 4908ac0

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

src/config/aiModels/moonshot.ts

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@ import { AIChatModelCard } from '@/types/aiModel';
22

33
// https://platform.moonshot.cn/docs/pricing/chat
44
const moonshotChatModels: AIChatModelCard[] = [
5+
{
6+
abilities: {
7+
functionCall: true,
8+
search: true,
9+
},
10+
contextWindowTokens: 131_072,
11+
description:
12+
'kimi-k2 是一款具备超强代码和 Agent 能力的 MoE 架构基础模型,总参数 1T,激活参数 32B。在通用知识推理、编程、数学、Agent 等主要类别的基准性能测试中,K2 模型的性能超过其他主流开源模型。',
13+
displayName: 'Kimi K2',
14+
enabled: true,
15+
id: 'kimi-k2-0711-preview',
16+
pricing: {
17+
cachedInput: 1,
18+
currency: 'CNY',
19+
input: 4,
20+
output: 16,
21+
},
22+
releasedAt: '2025-07-11',
23+
settings: {
24+
searchImpl: 'params',
25+
},
26+
type: 'chat',
27+
},
528
{
629
abilities: {
730
functionCall: true,
@@ -17,7 +40,7 @@ const moonshotChatModels: AIChatModelCard[] = [
1740
pricing: {
1841
cachedInput: 1,
1942
currency: 'CNY',
20-
input: 10,
43+
input: 10, // 128k 上下文时
2144
output: 30,
2245
},
2346
releasedAt: '2025-02-17',
@@ -56,7 +79,7 @@ const moonshotChatModels: AIChatModelCard[] = [
5679
id: 'moonshot-v1-auto',
5780
pricing: {
5881
currency: 'CNY',
59-
input: 10,
82+
input: 10, // 128k 上下文时
6083
output: 30,
6184
},
6285
settings: {

0 commit comments

Comments
 (0)