@lobehub/chat 1.111.0 → 1.111.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursor/rules/code-review.mdc +2 -19
- package/.cursor/rules/cursor-ux.mdc +0 -72
- package/.cursor/rules/project-introduce.mdc +5 -5
- package/.cursor/rules/react-component.mdc +92 -73
- package/.cursor/rules/rules-attach.mdc +28 -61
- package/.cursor/rules/system-role.mdc +8 -20
- package/.cursor/rules/typescript.mdc +55 -14
- package/CHANGELOG.md +50 -0
- package/changelog/v1.json +14 -0
- package/package.json +1 -1
- package/packages/types/src/aiModel.ts +67 -46
- package/packages/types/src/llm.ts +3 -3
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Overview/ProviderList/index.tsx +23 -12
- package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Details/Overview/ModelList/index.tsx +23 -10
- package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelItem.tsx +21 -12
- package/src/config/aiModels/ai21.ts +8 -4
- package/src/config/aiModels/ai360.ts +28 -14
- package/src/config/aiModels/aihubmix.ts +174 -86
- package/src/config/aiModels/anthropic.ts +97 -38
- package/src/config/aiModels/azure.ts +54 -32
- package/src/config/aiModels/azureai.ts +63 -37
- package/src/config/aiModels/baichuan.ts +24 -12
- package/src/config/aiModels/bedrock.ts +60 -30
- package/src/config/aiModels/cohere.ts +60 -30
- package/src/config/aiModels/deepseek.ts +10 -6
- package/src/config/aiModels/fal.ts +43 -6
- package/src/config/aiModels/fireworksai.ts +88 -44
- package/src/config/aiModels/giteeai.ts +1 -1
- package/src/config/aiModels/github.ts +44 -26
- package/src/config/aiModels/google.ts +119 -68
- package/src/config/aiModels/groq.ts +48 -24
- package/src/config/aiModels/higress.ts +617 -310
- package/src/config/aiModels/hunyuan.ts +105 -54
- package/src/config/aiModels/infiniai.ts +104 -52
- package/src/config/aiModels/internlm.ts +16 -8
- package/src/config/aiModels/jina.ts +4 -2
- package/src/config/aiModels/minimax.ts +11 -10
- package/src/config/aiModels/mistral.ts +40 -20
- package/src/config/aiModels/moonshot.ts +42 -22
- package/src/config/aiModels/novita.ts +196 -98
- package/src/config/aiModels/openai.ts +270 -137
- package/src/config/aiModels/openrouter.ts +205 -100
- package/src/config/aiModels/perplexity.ts +36 -6
- package/src/config/aiModels/ppio.ts +76 -38
- package/src/config/aiModels/qwen.ts +257 -133
- package/src/config/aiModels/sambanova.ts +56 -28
- package/src/config/aiModels/sensenova.ts +100 -50
- package/src/config/aiModels/siliconcloud.ts +224 -112
- package/src/config/aiModels/stepfun.ts +44 -22
- package/src/config/aiModels/taichu.ts +8 -4
- package/src/config/aiModels/tencentcloud.ts +12 -6
- package/src/config/aiModels/upstage.ts +8 -4
- package/src/config/aiModels/v0.ts +15 -12
- package/src/config/aiModels/vertexai.ts +49 -27
- package/src/config/aiModels/volcengine.ts +110 -51
- package/src/config/aiModels/wenxin.ts +179 -73
- package/src/config/aiModels/xai.ts +33 -19
- package/src/config/aiModels/zeroone.ts +48 -24
- package/src/config/aiModels/zhipu.ts +118 -69
- package/src/config/modelProviders/ai21.ts +0 -8
- package/src/config/modelProviders/ai360.ts +0 -20
- package/src/config/modelProviders/anthropic.ts +0 -56
- package/src/config/modelProviders/baichuan.ts +0 -30
- package/src/config/modelProviders/bedrock.ts +0 -74
- package/src/config/modelProviders/deepseek.ts +0 -13
- package/src/config/modelProviders/fireworksai.ts +0 -88
- package/src/config/modelProviders/google.ts +0 -59
- package/src/config/modelProviders/groq.ts +0 -48
- package/src/config/modelProviders/higress.ts +0 -727
- package/src/config/modelProviders/hunyuan.ts +0 -45
- package/src/config/modelProviders/infiniai.ts +0 -60
- package/src/config/modelProviders/internlm.ts +0 -8
- package/src/config/modelProviders/mistral.ts +0 -48
- package/src/config/modelProviders/modelscope.ts +2 -1
- package/src/config/modelProviders/openai.ts +5 -100
- package/src/config/modelProviders/openrouter.ts +0 -77
- package/src/config/modelProviders/ppio.ts +0 -95
- package/src/config/modelProviders/qwen.ts +0 -165
- package/src/config/modelProviders/sensenova.ts +0 -45
- package/src/config/modelProviders/siliconcloud.ts +0 -266
- package/src/config/modelProviders/stepfun.ts +0 -60
- package/src/config/modelProviders/taichu.ts +0 -10
- package/src/config/modelProviders/wenxin.ts +0 -90
- package/src/config/modelProviders/xai.ts +0 -16
- package/src/config/modelProviders/zeroone.ts +0 -60
- package/src/config/modelProviders/zhipu.ts +0 -80
- package/src/features/Conversation/Extras/Usage/UsageDetail/ModelCard.tsx +4 -3
- package/src/features/Conversation/Extras/Usage/UsageDetail/pricing.ts +25 -15
- package/src/features/Conversation/Extras/Usage/UsageDetail/tokens.test.ts +7 -5
- package/src/features/Conversation/Extras/Usage/UsageDetail/tokens.ts +6 -5
- package/src/libs/model-runtime/fal/index.ts +8 -2
- package/src/libs/model-runtime/utils/openaiCompatibleFactory/index.test.ts +54 -8
- package/src/server/routers/lambda/agent.ts +2 -2
- package/src/server/routers/lambda/config/__snapshots__/index.test.ts.snap +0 -28
- package/src/server/services/discover/index.ts +7 -6
- package/src/server/services/user/index.ts +1 -2
- package/src/utils/__snapshots__/parseModels.test.ts.snap +28 -4
- package/src/utils/_deprecated/__snapshots__/parseModels.test.ts.snap +0 -8
- package/src/utils/parseModels.test.ts +60 -9
- package/src/utils/pricing.test.ts +183 -0
- package/src/utils/pricing.ts +90 -0
@@ -11,11 +11,6 @@ const Stepfun: ModelProviderCard = {
|
|
11
11
|
enabled: true,
|
12
12
|
functionCall: true,
|
13
13
|
id: 'step-1-flash',
|
14
|
-
pricing: {
|
15
|
-
currency: 'CNY',
|
16
|
-
input: 1,
|
17
|
-
output: 4,
|
18
|
-
},
|
19
14
|
},
|
20
15
|
{
|
21
16
|
contextWindowTokens: 8000,
|
@@ -24,11 +19,6 @@ const Stepfun: ModelProviderCard = {
|
|
24
19
|
enabled: true,
|
25
20
|
functionCall: true,
|
26
21
|
id: 'step-1-8k',
|
27
|
-
pricing: {
|
28
|
-
currency: 'CNY',
|
29
|
-
input: 5,
|
30
|
-
output: 20,
|
31
|
-
},
|
32
22
|
},
|
33
23
|
{
|
34
24
|
contextWindowTokens: 32_000,
|
@@ -37,11 +27,6 @@ const Stepfun: ModelProviderCard = {
|
|
37
27
|
enabled: true,
|
38
28
|
functionCall: true,
|
39
29
|
id: 'step-1-32k',
|
40
|
-
pricing: {
|
41
|
-
currency: 'CNY',
|
42
|
-
input: 15,
|
43
|
-
output: 70,
|
44
|
-
},
|
45
30
|
},
|
46
31
|
{
|
47
32
|
contextWindowTokens: 128_000,
|
@@ -50,11 +35,6 @@ const Stepfun: ModelProviderCard = {
|
|
50
35
|
enabled: true,
|
51
36
|
functionCall: true,
|
52
37
|
id: 'step-1-128k',
|
53
|
-
pricing: {
|
54
|
-
currency: 'CNY',
|
55
|
-
input: 40,
|
56
|
-
output: 200,
|
57
|
-
},
|
58
38
|
},
|
59
39
|
{
|
60
40
|
contextWindowTokens: 256_000,
|
@@ -62,11 +42,6 @@ const Stepfun: ModelProviderCard = {
|
|
62
42
|
displayName: 'Step 1 256K',
|
63
43
|
functionCall: true,
|
64
44
|
id: 'step-1-256k',
|
65
|
-
pricing: {
|
66
|
-
currency: 'CNY',
|
67
|
-
input: 95,
|
68
|
-
output: 300,
|
69
|
-
},
|
70
45
|
},
|
71
46
|
{
|
72
47
|
contextWindowTokens: 16_000,
|
@@ -75,11 +50,6 @@ const Stepfun: ModelProviderCard = {
|
|
75
50
|
enabled: true,
|
76
51
|
functionCall: true,
|
77
52
|
id: 'step-2-16k',
|
78
|
-
pricing: {
|
79
|
-
currency: 'CNY',
|
80
|
-
input: 38,
|
81
|
-
output: 120,
|
82
|
-
},
|
83
53
|
},
|
84
54
|
{
|
85
55
|
contextWindowTokens: 8000,
|
@@ -89,11 +59,6 @@ const Stepfun: ModelProviderCard = {
|
|
89
59
|
enabled: true,
|
90
60
|
functionCall: true,
|
91
61
|
id: 'step-2-mini',
|
92
|
-
pricing: {
|
93
|
-
currency: 'CNY',
|
94
|
-
input: 1,
|
95
|
-
output: 2,
|
96
|
-
},
|
97
62
|
},
|
98
63
|
{
|
99
64
|
contextWindowTokens: 16_000,
|
@@ -101,11 +66,6 @@ const Stepfun: ModelProviderCard = {
|
|
101
66
|
displayName: 'Step 2 16K Exp',
|
102
67
|
functionCall: true,
|
103
68
|
id: 'step-2-16k-exp',
|
104
|
-
pricing: {
|
105
|
-
currency: 'CNY',
|
106
|
-
input: 38,
|
107
|
-
output: 120,
|
108
|
-
},
|
109
69
|
},
|
110
70
|
{
|
111
71
|
contextWindowTokens: 8000,
|
@@ -114,11 +74,6 @@ const Stepfun: ModelProviderCard = {
|
|
114
74
|
enabled: true,
|
115
75
|
functionCall: true,
|
116
76
|
id: 'step-1v-8k',
|
117
|
-
pricing: {
|
118
|
-
currency: 'CNY',
|
119
|
-
input: 5,
|
120
|
-
output: 20,
|
121
|
-
},
|
122
77
|
vision: true,
|
123
78
|
},
|
124
79
|
{
|
@@ -127,11 +82,6 @@ const Stepfun: ModelProviderCard = {
|
|
127
82
|
displayName: 'Step 1V 32K',
|
128
83
|
functionCall: true,
|
129
84
|
id: 'step-1v-32k',
|
130
|
-
pricing: {
|
131
|
-
currency: 'CNY',
|
132
|
-
input: 15,
|
133
|
-
output: 70,
|
134
|
-
},
|
135
85
|
vision: true,
|
136
86
|
},
|
137
87
|
{
|
@@ -140,11 +90,6 @@ const Stepfun: ModelProviderCard = {
|
|
140
90
|
displayName: 'Step 1o Vision 32K',
|
141
91
|
enabled: true,
|
142
92
|
id: 'step-1o-vision-32k',
|
143
|
-
pricing: {
|
144
|
-
currency: 'CNY',
|
145
|
-
input: 15,
|
146
|
-
output: 70,
|
147
|
-
},
|
148
93
|
vision: true,
|
149
94
|
},
|
150
95
|
{
|
@@ -153,11 +98,6 @@ const Stepfun: ModelProviderCard = {
|
|
153
98
|
displayName: 'Step 1.5V Mini',
|
154
99
|
enabled: true,
|
155
100
|
id: 'step-1.5v-mini',
|
156
|
-
pricing: {
|
157
|
-
currency: 'CNY',
|
158
|
-
input: 8,
|
159
|
-
output: 35,
|
160
|
-
},
|
161
101
|
vision: true,
|
162
102
|
},
|
163
103
|
],
|
@@ -10,11 +10,6 @@ const Taichu: ModelProviderCard = {
|
|
10
10
|
enabled: true,
|
11
11
|
functionCall: true,
|
12
12
|
id: 'taichu_llm',
|
13
|
-
pricing: {
|
14
|
-
currency: 'CNY',
|
15
|
-
input: 2,
|
16
|
-
output: 2,
|
17
|
-
},
|
18
13
|
},
|
19
14
|
{
|
20
15
|
contextWindowTokens: 4096,
|
@@ -22,11 +17,6 @@ const Taichu: ModelProviderCard = {
|
|
22
17
|
displayName: 'Taichu 2.0V',
|
23
18
|
enabled: true,
|
24
19
|
id: 'taichu2_mm',
|
25
|
-
pricing: {
|
26
|
-
currency: 'CNY',
|
27
|
-
input: 5,
|
28
|
-
output: 5,
|
29
|
-
},
|
30
20
|
vision: true,
|
31
21
|
},
|
32
22
|
],
|
@@ -11,11 +11,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
11
11
|
enabled: true,
|
12
12
|
functionCall: true,
|
13
13
|
id: 'ernie-3.5-8k',
|
14
|
-
pricing: {
|
15
|
-
currency: 'CNY',
|
16
|
-
input: 0.8,
|
17
|
-
output: 2,
|
18
|
-
},
|
19
14
|
},
|
20
15
|
{
|
21
16
|
contextWindowTokens: 8192,
|
@@ -24,11 +19,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
24
19
|
displayName: 'ERNIE 3.5 8K Preview',
|
25
20
|
functionCall: true,
|
26
21
|
id: 'ernie-3.5-8k-preview',
|
27
|
-
pricing: {
|
28
|
-
currency: 'CNY',
|
29
|
-
input: 0.8,
|
30
|
-
output: 2,
|
31
|
-
},
|
32
22
|
},
|
33
23
|
{
|
34
24
|
contextWindowTokens: 128_000,
|
@@ -38,11 +28,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
38
28
|
enabled: true,
|
39
29
|
functionCall: true,
|
40
30
|
id: 'ernie-3.5-128k',
|
41
|
-
pricing: {
|
42
|
-
currency: 'CNY',
|
43
|
-
input: 0.8,
|
44
|
-
output: 2,
|
45
|
-
},
|
46
31
|
},
|
47
32
|
{
|
48
33
|
contextWindowTokens: 8192,
|
@@ -52,11 +37,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
52
37
|
enabled: true,
|
53
38
|
functionCall: true,
|
54
39
|
id: 'ernie-4.0-8k-latest',
|
55
|
-
pricing: {
|
56
|
-
currency: 'CNY',
|
57
|
-
input: 30,
|
58
|
-
output: 90,
|
59
|
-
},
|
60
40
|
},
|
61
41
|
{
|
62
42
|
contextWindowTokens: 8192,
|
@@ -65,11 +45,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
65
45
|
displayName: 'ERNIE 4.0 8K Preview',
|
66
46
|
functionCall: true,
|
67
47
|
id: 'ernie-4.0-8k-preview',
|
68
|
-
pricing: {
|
69
|
-
currency: 'CNY',
|
70
|
-
input: 30,
|
71
|
-
output: 90,
|
72
|
-
},
|
73
48
|
},
|
74
49
|
{
|
75
50
|
contextWindowTokens: 8192,
|
@@ -79,11 +54,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
79
54
|
enabled: true,
|
80
55
|
functionCall: true,
|
81
56
|
id: 'ernie-4.0-turbo-8k-latest',
|
82
|
-
pricing: {
|
83
|
-
currency: 'CNY',
|
84
|
-
input: 20,
|
85
|
-
output: 60,
|
86
|
-
},
|
87
57
|
},
|
88
58
|
{
|
89
59
|
contextWindowTokens: 128_000,
|
@@ -93,11 +63,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
93
63
|
enabled: true,
|
94
64
|
functionCall: true,
|
95
65
|
id: 'ernie-4.0-turbo-128k',
|
96
|
-
pricing: {
|
97
|
-
currency: 'CNY',
|
98
|
-
input: 20,
|
99
|
-
output: 60,
|
100
|
-
},
|
101
66
|
},
|
102
67
|
{
|
103
68
|
contextWindowTokens: 8192,
|
@@ -106,11 +71,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
106
71
|
displayName: 'ERNIE 4.0 Turbo 8K Preview',
|
107
72
|
functionCall: true,
|
108
73
|
id: 'ernie-4.0-turbo-8k-preview',
|
109
|
-
pricing: {
|
110
|
-
currency: 'CNY',
|
111
|
-
input: 20,
|
112
|
-
output: 60,
|
113
|
-
},
|
114
74
|
},
|
115
75
|
{
|
116
76
|
contextWindowTokens: 8192,
|
@@ -118,11 +78,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
118
78
|
'ERNIE Lite是百度自研的轻量级大语言模型,兼顾优异的模型效果与推理性能,适合低算力AI加速卡推理使用。',
|
119
79
|
displayName: 'ERNIE Lite 8K',
|
120
80
|
id: 'ernie-lite-8k',
|
121
|
-
pricing: {
|
122
|
-
currency: 'CNY',
|
123
|
-
input: 0,
|
124
|
-
output: 0,
|
125
|
-
},
|
126
81
|
},
|
127
82
|
{
|
128
83
|
contextWindowTokens: 128_000,
|
@@ -131,22 +86,12 @@ const BaiduWenxin: ModelProviderCard = {
|
|
131
86
|
displayName: 'ERNIE Lite Pro 128K',
|
132
87
|
functionCall: true,
|
133
88
|
id: 'ernie-lite-pro-128k',
|
134
|
-
pricing: {
|
135
|
-
currency: 'CNY',
|
136
|
-
input: 0.2,
|
137
|
-
output: 0.4,
|
138
|
-
},
|
139
89
|
},
|
140
90
|
{
|
141
91
|
contextWindowTokens: 8192,
|
142
92
|
description: 'ERNIE Tiny是百度自研的超高性能大语言模型,部署与精调成本在文心系列模型中最低。',
|
143
93
|
displayName: 'ERNIE Tiny 8K',
|
144
94
|
id: 'ernie-tiny-8k',
|
145
|
-
pricing: {
|
146
|
-
currency: 'CNY',
|
147
|
-
input: 0,
|
148
|
-
output: 0,
|
149
|
-
},
|
150
95
|
},
|
151
96
|
{
|
152
97
|
contextWindowTokens: 128_000,
|
@@ -154,11 +99,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
154
99
|
'百度2024年最新发布的自研高性能大语言模型,通用能力优异,适合作为基座模型进行精调,更好地处理特定场景问题,同时具备极佳的推理性能。',
|
155
100
|
displayName: 'ERNIE Speed 128K',
|
156
101
|
id: 'ernie-speed-128k',
|
157
|
-
pricing: {
|
158
|
-
currency: 'CNY',
|
159
|
-
input: 0,
|
160
|
-
output: 0,
|
161
|
-
},
|
162
102
|
},
|
163
103
|
{
|
164
104
|
contextWindowTokens: 128_000,
|
@@ -166,11 +106,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
166
106
|
'百度2024年最新发布的自研高性能大语言模型,通用能力优异,效果比ERNIE Speed更优,适合作为基座模型进行精调,更好地处理特定场景问题,同时具备极佳的推理性能。',
|
167
107
|
displayName: 'ERNIE Speed Pro 128K',
|
168
108
|
id: 'ernie-speed-pro-128k',
|
169
|
-
pricing: {
|
170
|
-
currency: 'CNY',
|
171
|
-
input: 0.3,
|
172
|
-
output: 0.6,
|
173
|
-
},
|
174
109
|
},
|
175
110
|
{
|
176
111
|
contextWindowTokens: 8192,
|
@@ -178,11 +113,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
178
113
|
'百度自研的垂直场景大语言模型,适合游戏NPC、客服对话、对话角色扮演等应用场景,人设风格更为鲜明、一致,指令遵循能力更强,推理性能更优。',
|
179
114
|
displayName: 'ERNIE Character 8K',
|
180
115
|
id: 'ernie-char-8k',
|
181
|
-
pricing: {
|
182
|
-
currency: 'CNY',
|
183
|
-
input: 4,
|
184
|
-
output: 8,
|
185
|
-
},
|
186
116
|
},
|
187
117
|
{
|
188
118
|
contextWindowTokens: 8192,
|
@@ -190,22 +120,12 @@ const BaiduWenxin: ModelProviderCard = {
|
|
190
120
|
'百度自研的垂直场景大语言模型,适合游戏NPC、客服对话、对话角色扮演等应用场景,人设风格更为鲜明、一致,指令遵循能力更强,推理性能更优。',
|
191
121
|
displayName: 'ERNIE Character Fiction 8K',
|
192
122
|
id: 'ernie-char-fiction-8k',
|
193
|
-
pricing: {
|
194
|
-
currency: 'CNY',
|
195
|
-
input: 4,
|
196
|
-
output: 8,
|
197
|
-
},
|
198
123
|
},
|
199
124
|
{
|
200
125
|
contextWindowTokens: 8192,
|
201
126
|
description: '百度自研通用大语言模型,在小说续写能力上有明显优势,也可用在短剧、电影等场景。',
|
202
127
|
displayName: 'ERNIE Novel 8K',
|
203
128
|
id: 'ernie-novel-8k',
|
204
|
-
pricing: {
|
205
|
-
currency: 'CNY',
|
206
|
-
input: 40,
|
207
|
-
output: 120,
|
208
|
-
},
|
209
129
|
},
|
210
130
|
{
|
211
131
|
contextWindowTokens: 65_536,
|
@@ -213,11 +133,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
213
133
|
'DeepSeek-V3 为杭州深度求索人工智能基础技术研究有限公司自研的 MoE 模型,其多项评测成绩突出,在主流榜单中位列开源模型榜首。V3 相比 V2.5 模型生成速度实现 3 倍提升,为用户带来更加迅速流畅的使用体验。',
|
214
134
|
displayName: 'DeepSeek V3',
|
215
135
|
id: 'deepseek-v3',
|
216
|
-
pricing: {
|
217
|
-
currency: 'CNY',
|
218
|
-
input: 0.8,
|
219
|
-
output: 1.6,
|
220
|
-
},
|
221
136
|
},
|
222
137
|
{
|
223
138
|
contextWindowTokens: 65_536,
|
@@ -225,11 +140,6 @@ const BaiduWenxin: ModelProviderCard = {
|
|
225
140
|
'DeepSeek-R1 在后训练阶段大规模使用了强化学习技术,在仅有极少标注数据的情况下,极大提升了模型推理能力。在数学、代码、自然语言推理等任务上,性能比肩 OpenAI o1 正式版。',
|
226
141
|
displayName: 'DeepSeek R1',
|
227
142
|
id: 'deepseek-r1',
|
228
|
-
pricing: {
|
229
|
-
currency: 'CNY',
|
230
|
-
input: 2,
|
231
|
-
output: 8,
|
232
|
-
},
|
233
143
|
},
|
234
144
|
],
|
235
145
|
checkModel: 'ernie-speed-128k',
|
@@ -10,10 +10,6 @@ const XAI: ModelProviderCard = {
|
|
10
10
|
enabled: true,
|
11
11
|
functionCall: true,
|
12
12
|
id: 'grok-beta',
|
13
|
-
pricing: {
|
14
|
-
input: 5,
|
15
|
-
output: 15,
|
16
|
-
},
|
17
13
|
},
|
18
14
|
{
|
19
15
|
contextWindowTokens: 8192,
|
@@ -22,10 +18,6 @@ const XAI: ModelProviderCard = {
|
|
22
18
|
enabled: true,
|
23
19
|
functionCall: true,
|
24
20
|
id: 'grok-vision-beta',
|
25
|
-
pricing: {
|
26
|
-
input: 5,
|
27
|
-
output: 15,
|
28
|
-
},
|
29
21
|
vision: true,
|
30
22
|
},
|
31
23
|
{
|
@@ -35,10 +27,6 @@ const XAI: ModelProviderCard = {
|
|
35
27
|
enabled: true,
|
36
28
|
functionCall: true,
|
37
29
|
id: 'grok-2-1212',
|
38
|
-
pricing: {
|
39
|
-
input: 2,
|
40
|
-
output: 10,
|
41
|
-
},
|
42
30
|
releasedAt: '2024-12-12',
|
43
31
|
},
|
44
32
|
{
|
@@ -48,10 +36,6 @@ const XAI: ModelProviderCard = {
|
|
48
36
|
enabled: true,
|
49
37
|
functionCall: true,
|
50
38
|
id: 'grok-2-vision-1212',
|
51
|
-
pricing: {
|
52
|
-
input: 2,
|
53
|
-
output: 10,
|
54
|
-
},
|
55
39
|
releasedAt: '2024-12-12',
|
56
40
|
vision: true,
|
57
41
|
},
|
@@ -9,11 +9,6 @@ const ZeroOne: ModelProviderCard = {
|
|
9
9
|
displayName: 'Yi Lightning',
|
10
10
|
enabled: true,
|
11
11
|
id: 'yi-lightning',
|
12
|
-
pricing: {
|
13
|
-
currency: 'CNY',
|
14
|
-
input: 0.99,
|
15
|
-
output: 0.99,
|
16
|
-
},
|
17
12
|
},
|
18
13
|
{
|
19
14
|
contextWindowTokens: 16_384,
|
@@ -21,11 +16,6 @@ const ZeroOne: ModelProviderCard = {
|
|
21
16
|
displayName: 'Yi Vision V2',
|
22
17
|
enabled: true,
|
23
18
|
id: 'yi-vision-v2',
|
24
|
-
pricing: {
|
25
|
-
currency: 'CNY',
|
26
|
-
input: 6,
|
27
|
-
output: 6,
|
28
|
-
},
|
29
19
|
vision: true,
|
30
20
|
},
|
31
21
|
{
|
@@ -33,44 +23,24 @@ const ZeroOne: ModelProviderCard = {
|
|
33
23
|
description: '小而精悍,轻量极速模型。提供强化数学运算和代码编写能力。',
|
34
24
|
displayName: 'Yi Spark',
|
35
25
|
id: 'yi-spark',
|
36
|
-
pricing: {
|
37
|
-
currency: 'CNY',
|
38
|
-
input: 1,
|
39
|
-
output: 1,
|
40
|
-
},
|
41
26
|
},
|
42
27
|
{
|
43
28
|
contextWindowTokens: 16_384,
|
44
29
|
description: '中型尺寸模型升级微调,能力均衡,性价比高。深度优化指令遵循能力。',
|
45
30
|
displayName: 'Yi Medium',
|
46
31
|
id: 'yi-medium',
|
47
|
-
pricing: {
|
48
|
-
currency: 'CNY',
|
49
|
-
input: 2.5,
|
50
|
-
output: 2.5,
|
51
|
-
},
|
52
32
|
},
|
53
33
|
{
|
54
34
|
contextWindowTokens: 200_000,
|
55
35
|
description: '200K 超长上下文窗口,提供长文本深度理解和生成能力。',
|
56
36
|
displayName: 'Yi Medium 200K',
|
57
37
|
id: 'yi-medium-200k',
|
58
|
-
pricing: {
|
59
|
-
currency: 'CNY',
|
60
|
-
input: 12,
|
61
|
-
output: 12,
|
62
|
-
},
|
63
38
|
},
|
64
39
|
{
|
65
40
|
contextWindowTokens: 16_384,
|
66
41
|
description: '超高性价比、卓越性能。根据性能和推理速度、成本,进行平衡性高精度调优。',
|
67
42
|
displayName: 'Yi Large Turbo',
|
68
43
|
id: 'yi-large-turbo',
|
69
|
-
pricing: {
|
70
|
-
currency: 'CNY',
|
71
|
-
input: 12,
|
72
|
-
output: 12,
|
73
|
-
},
|
74
44
|
},
|
75
45
|
{
|
76
46
|
contextWindowTokens: 16_384,
|
@@ -78,11 +48,6 @@ const ZeroOne: ModelProviderCard = {
|
|
78
48
|
'基于 yi-large 超强模型的高阶服务,结合检索与生成技术提供精准答案,实时全网检索信息服务。',
|
79
49
|
displayName: 'Yi Large RAG',
|
80
50
|
id: 'yi-large-rag',
|
81
|
-
pricing: {
|
82
|
-
currency: 'CNY',
|
83
|
-
input: 25,
|
84
|
-
output: 25,
|
85
|
-
},
|
86
51
|
},
|
87
52
|
{
|
88
53
|
contextWindowTokens: 32_768,
|
@@ -91,33 +56,18 @@ const ZeroOne: ModelProviderCard = {
|
|
91
56
|
displayName: 'Yi Large FC',
|
92
57
|
functionCall: true,
|
93
58
|
id: 'yi-large-fc',
|
94
|
-
pricing: {
|
95
|
-
currency: 'CNY',
|
96
|
-
input: 20,
|
97
|
-
output: 20,
|
98
|
-
},
|
99
59
|
},
|
100
60
|
{
|
101
61
|
contextWindowTokens: 32_768,
|
102
62
|
description: '全新千亿参数模型,提供超强问答及文本生成能力。',
|
103
63
|
displayName: 'Yi Large',
|
104
64
|
id: 'yi-large',
|
105
|
-
pricing: {
|
106
|
-
currency: 'CNY',
|
107
|
-
input: 20,
|
108
|
-
output: 20,
|
109
|
-
},
|
110
65
|
},
|
111
66
|
{
|
112
67
|
contextWindowTokens: 16_384,
|
113
68
|
description: '复杂视觉任务模型,提供高性能图片理解、分析能力。',
|
114
69
|
displayName: 'Yi Vision',
|
115
70
|
id: 'yi-vision',
|
116
|
-
pricing: {
|
117
|
-
currency: 'CNY',
|
118
|
-
input: 6,
|
119
|
-
output: 6,
|
120
|
-
},
|
121
71
|
vision: true,
|
122
72
|
},
|
123
73
|
{
|
@@ -125,22 +75,12 @@ const ZeroOne: ModelProviderCard = {
|
|
125
75
|
description: '初期版本,推荐使用 yi-large(新版本)。',
|
126
76
|
displayName: 'Yi Large Preview',
|
127
77
|
id: 'yi-large-preview',
|
128
|
-
pricing: {
|
129
|
-
currency: 'CNY',
|
130
|
-
input: 20,
|
131
|
-
output: 20,
|
132
|
-
},
|
133
78
|
},
|
134
79
|
{
|
135
80
|
contextWindowTokens: 16_384,
|
136
81
|
description: '轻量化版本,推荐使用 yi-lightning。',
|
137
82
|
displayName: 'Yi Lightning Lite',
|
138
83
|
id: 'yi-lightning-lite',
|
139
|
-
pricing: {
|
140
|
-
currency: 'CNY',
|
141
|
-
input: 0.99,
|
142
|
-
output: 0.99,
|
143
|
-
},
|
144
84
|
},
|
145
85
|
],
|
146
86
|
checkModel: 'yi-lightning',
|