Skip to content

Commit e14586b

Browse files
chore: sync model metadata from OpenRouter (#883)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 86fbbdd commit e14586b

3 files changed

Lines changed: 1294 additions & 1293 deletions

File tree

packages/ai-openrouter/src/model-meta.ts

Lines changed: 20 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,11 +1652,11 @@ const DEEPSEEK_DEEPSEEK_CHAT_V3_0324 = {
16521652
pricing: {
16531653
text: {
16541654
input: {
1655-
normal: 0.2,
1655+
normal: 0.24,
16561656
cached: 0.135,
16571657
},
16581658
output: {
1659-
normal: 0.77,
1659+
normal: 0.9,
16601660
},
16611661
},
16621662
image: 0,
@@ -1938,11 +1938,11 @@ const DEEPSEEK_DEEPSEEK_V4_FLASH = {
19381938
pricing: {
19391939
text: {
19401940
input: {
1941-
normal: 0.098,
1942-
cached: 0.02,
1941+
normal: 0.089,
1942+
cached: 0.018,
19431943
},
19441944
output: {
1945-
normal: 0.196,
1945+
normal: 0.18,
19461946
},
19471947
},
19481948
image: 0,
@@ -3892,7 +3892,6 @@ const MINIMAX_MINIMAX_M2 = {
38923892
output: ['text'],
38933893
supports: [
38943894
'frequencyPenalty',
3895-
'logitBias',
38963895
'logprobs',
38973896
'maxCompletionTokens',
38983897
'presencePenalty',
@@ -3907,15 +3906,15 @@ const MINIMAX_MINIMAX_M2 = {
39073906
],
39083907
},
39093908
context_window: 204800,
3910-
max_output_tokens: 196608,
3909+
max_output_tokens: 131072,
39113910
pricing: {
39123911
text: {
39133912
input: {
39143913
normal: 0.255,
3915-
cached: 0.03,
3914+
cached: 0,
39163915
},
39173916
output: {
3918-
normal: 1,
3917+
normal: 1.02,
39193918
},
39203919
},
39213920
image: 0,
@@ -3952,7 +3951,6 @@ const MINIMAX_MINIMAX_M2_1 = {
39523951
output: ['text'],
39533952
supports: [
39543953
'frequencyPenalty',
3955-
'logitBias',
39563954
'maxCompletionTokens',
39573955
'presencePenalty',
39583956
'reasoning',
@@ -3965,15 +3963,15 @@ const MINIMAX_MINIMAX_M2_1 = {
39653963
],
39663964
},
39673965
context_window: 204800,
3968-
max_output_tokens: 196608,
3966+
max_output_tokens: 131072,
39693967
pricing: {
39703968
text: {
39713969
input: {
3972-
normal: 0.29,
3970+
normal: 0.3,
39733971
cached: 0.03,
39743972
},
39753973
output: {
3976-
normal: 0.95,
3974+
normal: 1.2,
39773975
},
39783976
},
39793977
image: 0,
@@ -4757,7 +4755,6 @@ const MOONSHOTAI_KIMI_K2_0905 = {
47574755
output: ['text'],
47584756
supports: [
47594757
'frequencyPenalty',
4760-
'logitBias',
47614758
'maxCompletionTokens',
47624759
'presencePenalty',
47634760
'responseFormat',
@@ -4791,7 +4788,6 @@ const MOONSHOTAI_KIMI_K2_THINKING = {
47914788
output: ['text'],
47924789
supports: [
47934790
'frequencyPenalty',
4794-
'logitBias',
47954791
'logprobs',
47964792
'maxCompletionTokens',
47974793
'presencePenalty',
@@ -4806,12 +4802,12 @@ const MOONSHOTAI_KIMI_K2_THINKING = {
48064802
],
48074803
},
48084804
context_window: 262144,
4809-
max_output_tokens: 262144,
4805+
max_output_tokens: 100352,
48104806
pricing: {
48114807
text: {
48124808
input: {
48134809
normal: 0.6,
4814-
cached: 0.6,
4810+
cached: 0.15,
48154811
},
48164812
output: {
48174813
normal: 2.5,
@@ -8215,31 +8211,26 @@ const QWEN_QWEN3_30B_A3B_THINKING_2507 = {
82158211
input: ['text'],
82168212
output: ['text'],
82178213
supports: [
8218-
'frequencyPenalty',
8219-
'logitBias',
8220-
'logprobs',
82218214
'maxCompletionTokens',
82228215
'presencePenalty',
82238216
'reasoning',
82248217
'responseFormat',
82258218
'seed',
8226-
'stop',
82278219
'temperature',
82288220
'toolChoice',
8229-
'topLogprobs',
82308221
'topP',
82318222
],
82328223
},
82338224
context_window: 131072,
8234-
max_output_tokens: 131072,
8225+
max_output_tokens: 32768,
82358226
pricing: {
82368227
text: {
82378228
input: {
8238-
normal: 0.08,
8239-
cached: 0.08,
8229+
normal: 0.13,
8230+
cached: 0,
82408231
},
82418232
output: {
8242-
normal: 0.4,
8233+
normal: 1.56,
82438234
},
82448235
},
82458236
image: 0,
@@ -8289,14 +8280,11 @@ const QWEN_QWEN3_8B = {
82898280
input: ['text'],
82908281
output: ['text'],
82918282
supports: [
8292-
'frequencyPenalty',
8293-
'logitBias',
82948283
'maxCompletionTokens',
82958284
'presencePenalty',
82968285
'reasoning',
82978286
'responseFormat',
82988287
'seed',
8299-
'stop',
83008288
'temperature',
83018289
'toolChoice',
83028290
'topP',
@@ -8307,11 +8295,11 @@ const QWEN_QWEN3_8B = {
83078295
pricing: {
83088296
text: {
83098297
input: {
8310-
normal: 0.05,
8311-
cached: 0.05,
8298+
normal: 0.117,
8299+
cached: 0,
83128300
},
83138301
output: {
8314-
normal: 0.4,
8302+
normal: 0.455,
83158303
},
83168304
},
83178305
image: 0,
@@ -8663,7 +8651,6 @@ const QWEN_QWEN3_NEXT_80B_A3B_THINKING = {
86638651
output: ['text'],
86648652
supports: [
86658653
'frequencyPenalty',
8666-
'logitBias',
86678654
'logprobs',
86688655
'maxCompletionTokens',
86698656
'presencePenalty',
@@ -12190,7 +12177,6 @@ export type OpenRouterModelOptionsByName = {
1219012177
Pick<
1219112178
OpenRouterBaseOptions,
1219212179
| 'frequencyPenalty'
12193-
| 'logitBias'
1219412180
| 'logprobs'
1219512181
| 'maxCompletionTokens'
1219612182
| 'presencePenalty'
@@ -12209,7 +12195,6 @@ export type OpenRouterModelOptionsByName = {
1220912195
Pick<
1221012196
OpenRouterBaseOptions,
1221112197
| 'frequencyPenalty'
12212-
| 'logitBias'
1221312198
| 'maxCompletionTokens'
1221412199
| 'presencePenalty'
1221512200
| 'reasoning'
@@ -12550,7 +12535,6 @@ export type OpenRouterModelOptionsByName = {
1255012535
Pick<
1255112536
OpenRouterBaseOptions,
1255212537
| 'frequencyPenalty'
12553-
| 'logitBias'
1255412538
| 'maxCompletionTokens'
1255512539
| 'presencePenalty'
1255612540
| 'responseFormat'
@@ -12564,7 +12548,6 @@ export type OpenRouterModelOptionsByName = {
1256412548
Pick<
1256512549
OpenRouterBaseOptions,
1256612550
| 'frequencyPenalty'
12567-
| 'logitBias'
1256812551
| 'logprobs'
1256912552
| 'maxCompletionTokens'
1257012553
| 'presencePenalty'
@@ -13846,18 +13829,13 @@ export type OpenRouterModelOptionsByName = {
1384613829
[QWEN_QWEN3_30B_A3B_THINKING_2507.id]: OpenRouterCommonOptions &
1384713830
Pick<
1384813831
OpenRouterBaseOptions,
13849-
| 'frequencyPenalty'
13850-
| 'logitBias'
13851-
| 'logprobs'
1385213832
| 'maxCompletionTokens'
1385313833
| 'presencePenalty'
1385413834
| 'reasoning'
1385513835
| 'responseFormat'
1385613836
| 'seed'
13857-
| 'stop'
1385813837
| 'temperature'
1385913838
| 'toolChoice'
13860-
| 'topLogprobs'
1386113839
| 'topP'
1386213840
>
1386313841
[QWEN_QWEN3_32B.id]: OpenRouterCommonOptions &
@@ -13880,14 +13858,11 @@ export type OpenRouterModelOptionsByName = {
1388013858
[QWEN_QWEN3_8B.id]: OpenRouterCommonOptions &
1388113859
Pick<
1388213860
OpenRouterBaseOptions,
13883-
| 'frequencyPenalty'
13884-
| 'logitBias'
1388513861
| 'maxCompletionTokens'
1388613862
| 'presencePenalty'
1388713863
| 'reasoning'
1388813864
| 'responseFormat'
1388913865
| 'seed'
13890-
| 'stop'
1389113866
| 'temperature'
1389213867
| 'toolChoice'
1389313868
| 'topP'
@@ -14035,7 +14010,6 @@ export type OpenRouterModelOptionsByName = {
1403514010
Pick<
1403614011
OpenRouterBaseOptions,
1403714012
| 'frequencyPenalty'
14038-
| 'logitBias'
1403914013
| 'logprobs'
1404014014
| 'maxCompletionTokens'
1404114015
| 'presencePenalty'

scripts/.sync-models-last-run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1782864620
1+
1782981491

0 commit comments

Comments
 (0)