@cherrystudio/provider-registry 0.1.2 → 0.2.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.
Files changed (42) hide show
  1. package/data/models.json +218 -2
  2. package/data/provider-models.json +150 -1
  3. package/data/providers.json +9 -1
  4. package/dist/bundled-catalog.cjs +3 -3
  5. package/dist/bundled-catalog.d.cts +1 -1
  6. package/dist/bundled-catalog.d.mts +1 -1
  7. package/dist/bundled-catalog.mjs +3 -3
  8. package/dist/{bundled-models-CKAIAajx.cjs → bundled-models-BmyydLN3.cjs} +274 -2
  9. package/dist/{bundled-models-ANrcKQ2h.mjs → bundled-models-CuKnVXLk.mjs} +274 -2
  10. package/dist/bundled-models.cjs +1 -1
  11. package/dist/bundled-models.d.cts +1 -1
  12. package/dist/bundled-models.d.mts +1 -1
  13. package/dist/bundled-models.mjs +1 -1
  14. package/dist/{bundled-provider-models-Di8bps1n.cjs → bundled-provider-models-BgzNsa6D.cjs} +150 -2
  15. package/dist/{bundled-provider-models-DKmCgFge.mjs → bundled-provider-models-DGsvGf0g.mjs} +150 -2
  16. package/dist/bundled-provider-models.cjs +1 -1
  17. package/dist/bundled-provider-models.d.cts +1 -1
  18. package/dist/bundled-provider-models.d.mts +1 -1
  19. package/dist/bundled-provider-models.mjs +1 -1
  20. package/dist/{bundled-providers-BcszhEy2.mjs → bundled-providers-CJsteihb.mjs} +10 -2
  21. package/dist/{bundled-providers-Bv_iM9AO.cjs → bundled-providers-CceF8bTD.cjs} +10 -2
  22. package/dist/bundled-providers.cjs +1 -1
  23. package/dist/bundled-providers.d.cts +1 -1
  24. package/dist/bundled-providers.d.mts +1 -1
  25. package/dist/bundled-providers.mjs +1 -1
  26. package/dist/index.cjs +26 -3
  27. package/dist/index.d.cts +2 -2
  28. package/dist/index.d.mts +2 -2
  29. package/dist/index.mjs +26 -3
  30. package/dist/{provider-DkSIaann.cjs → provider-C_xJo-Py.cjs} +1 -0
  31. package/dist/{provider-D14qMZsE.mjs → provider-D2l4EBDl.mjs} +1 -0
  32. package/dist/{provider-models-BkxD9T17.mjs → provider-models-CCmPfrkT.mjs} +1 -1
  33. package/dist/{provider-models-DuZBXGmP.d.cts → provider-models-DdTUR-KL.d.cts} +3 -0
  34. package/dist/{provider-models-DuZBXGmP.d.mts → provider-models-DdTUR-KL.d.mts} +3 -0
  35. package/dist/{provider-models-BjKC53mr.cjs → provider-models-WeMLH-Dl.cjs} +1 -1
  36. package/dist/{registry-BjETdicx.d.mts → registry-9E7PzrQ5.d.mts} +1 -1
  37. package/dist/{registry-Di5ULW6Z.d.cts → registry-CbFrDd-J.d.cts} +1 -1
  38. package/dist/registry-loader.cjs +2 -2
  39. package/dist/registry-loader.d.cts +1 -1
  40. package/dist/registry-loader.d.mts +1 -1
  41. package/dist/registry-loader.mjs +2 -2
  42. package/package.json +1 -1
package/data/models.json CHANGED
@@ -9803,6 +9803,17 @@
9803
9803
  }
9804
9804
  }
9805
9805
  },
9806
+ {
9807
+ "capabilities": ["embedding", "image-recognition", "audio-recognition", "video-recognition", "file-input"],
9808
+ "contextWindow": 8192,
9809
+ "family": "gemini",
9810
+ "id": "gemini-embedding-2-preview",
9811
+ "inputModalities": ["text", "image", "audio", "video"],
9812
+ "metadata": {},
9813
+ "name": "Gemini Embedding 2 Preview",
9814
+ "outputModalities": ["vector"],
9815
+ "ownedBy": "google"
9816
+ },
9806
9817
  {
9807
9818
  "capabilities": [
9808
9819
  "function-call",
@@ -9909,6 +9920,88 @@
9909
9920
  "wireDialect": "effort"
9910
9921
  }
9911
9922
  },
9923
+ {
9924
+ "capabilities": ["reasoning", "image-recognition", "image-generation", "video-recognition", "file-input"],
9925
+ "contextWindow": 131072,
9926
+ "family": "gemini-flash",
9927
+ "id": "gemini-nano-banana-2-1",
9928
+ "imageGeneration": {
9929
+ "modes": {
9930
+ "generate": {
9931
+ "supports": {
9932
+ "aspectRatio": {
9933
+ "default": "ASPECT_1_1",
9934
+ "options": [
9935
+ "ASPECT_1_1",
9936
+ "ASPECT_1_4",
9937
+ "ASPECT_1_8",
9938
+ "ASPECT_2_3",
9939
+ "ASPECT_3_2",
9940
+ "ASPECT_3_4",
9941
+ "ASPECT_4_1",
9942
+ "ASPECT_4_3",
9943
+ "ASPECT_4_5",
9944
+ "ASPECT_5_4",
9945
+ "ASPECT_8_1",
9946
+ "ASPECT_9_16",
9947
+ "ASPECT_16_9",
9948
+ "ASPECT_21_9"
9949
+ ],
9950
+ "render": "chips",
9951
+ "type": "enum"
9952
+ },
9953
+ "imageResolution": {
9954
+ "default": "1K",
9955
+ "options": ["1K", "2K", "4K"],
9956
+ "render": "chips",
9957
+ "type": "enum"
9958
+ }
9959
+ }
9960
+ }
9961
+ }
9962
+ },
9963
+ "inputModalities": ["text", "image", "video"],
9964
+ "maxOutputTokens": 32768,
9965
+ "metadata": {},
9966
+ "name": "Nano Banana 2.1",
9967
+ "outputModalities": ["text", "image"],
9968
+ "ownedBy": "google",
9969
+ "pricing": {
9970
+ "cacheRead": {
9971
+ "currency": "USD",
9972
+ "perMillionTokens": 0.15
9973
+ },
9974
+ "input": {
9975
+ "currency": "USD",
9976
+ "perMillionTokens": 1.5
9977
+ },
9978
+ "output": {
9979
+ "currency": "USD",
9980
+ "perMillionTokens": 7.5
9981
+ }
9982
+ },
9983
+ "reasoning": {
9984
+ "controls": [
9985
+ {
9986
+ "kind": "effort",
9987
+ "values": ["minimal", "medium", "high"]
9988
+ }
9989
+ ],
9990
+ "supportedEfforts": ["minimal", "medium", "high"],
9991
+ "wireDialect": "effort"
9992
+ }
9993
+ },
9994
+ {
9995
+ "capabilities": ["image-recognition", "video-recognition", "video-generation", "file-input"],
9996
+ "contextWindow": 1048576,
9997
+ "family": "gemini",
9998
+ "id": "gemini-omni-1-1-flash",
9999
+ "inputModalities": ["text", "image", "video"],
10000
+ "metadata": {},
10001
+ "name": "Gemini Omni 1.1 Flash",
10002
+ "outputModalities": ["video"],
10003
+ "ownedBy": "google"
10004
+ },
9912
10005
  {
9913
10006
  "capabilities": ["reasoning", "image-recognition", "video-recognition", "video-generation", "file-input"],
9914
10007
  "contextWindow": 1000000,
@@ -10709,6 +10802,59 @@
10709
10802
  }
10710
10803
  }
10711
10804
  },
10805
+ {
10806
+ "capabilities": ["reasoning", "image-recognition", "image-generation", "file-input"],
10807
+ "contextWindow": 131072,
10808
+ "family": "gemini-pro",
10809
+ "id": "nano-banana-pro-preview",
10810
+ "imageGeneration": {
10811
+ "modes": {
10812
+ "generate": {
10813
+ "supports": {
10814
+ "aspectRatio": {
10815
+ "default": "ASPECT_1_1",
10816
+ "options": [
10817
+ "ASPECT_1_1",
10818
+ "ASPECT_2_3",
10819
+ "ASPECT_3_2",
10820
+ "ASPECT_3_4",
10821
+ "ASPECT_4_3",
10822
+ "ASPECT_4_5",
10823
+ "ASPECT_5_4",
10824
+ "ASPECT_9_16",
10825
+ "ASPECT_16_9",
10826
+ "ASPECT_21_9"
10827
+ ],
10828
+ "render": "chips",
10829
+ "type": "enum"
10830
+ },
10831
+ "imageResolution": {
10832
+ "default": "1K",
10833
+ "options": ["1K", "2K", "4K"],
10834
+ "render": "chips",
10835
+ "type": "enum"
10836
+ }
10837
+ }
10838
+ }
10839
+ }
10840
+ },
10841
+ "inputModalities": ["text", "image"],
10842
+ "maxOutputTokens": 32768,
10843
+ "metadata": {},
10844
+ "name": "Nano Banana Pro",
10845
+ "outputModalities": ["text", "image"],
10846
+ "ownedBy": "google",
10847
+ "reasoning": {
10848
+ "controls": [
10849
+ {
10850
+ "kind": "effort",
10851
+ "values": ["low", "high"]
10852
+ }
10853
+ ],
10854
+ "supportedEfforts": ["low", "high"],
10855
+ "wireDialect": "effort"
10856
+ }
10857
+ },
10712
10858
  {
10713
10859
  "capabilities": ["embedding"],
10714
10860
  "contextWindow": 8192,
@@ -12304,6 +12450,66 @@
12304
12450
  "supportedEfforts": ["minimal", "low", "medium", "high", "xhigh", "max"]
12305
12451
  }
12306
12452
  },
12453
+ {
12454
+ "capabilities": [
12455
+ "function-call",
12456
+ "reasoning",
12457
+ "image-recognition",
12458
+ "audio-recognition",
12459
+ "video-recognition",
12460
+ "file-input"
12461
+ ],
12462
+ "contextWindow": 1048576,
12463
+ "family": "muse",
12464
+ "id": "muse-spark-open-816b-a42b",
12465
+ "inputModalities": ["text", "image", "video", "audio"],
12466
+ "metadata": {},
12467
+ "name": "Muse Spark Open 816B A42B",
12468
+ "openWeights": true,
12469
+ "outputModalities": ["text"],
12470
+ "ownedBy": "meta",
12471
+ "reasoning": {
12472
+ "controls": [
12473
+ {
12474
+ "default": "xhigh",
12475
+ "kind": "effort",
12476
+ "values": ["low", "medium", "high", "xhigh"]
12477
+ }
12478
+ ],
12479
+ "defaultEffort": "xhigh",
12480
+ "supportedEfforts": ["low", "medium", "high", "xhigh"]
12481
+ }
12482
+ },
12483
+ {
12484
+ "capabilities": [
12485
+ "function-call",
12486
+ "reasoning",
12487
+ "image-recognition",
12488
+ "audio-recognition",
12489
+ "video-recognition",
12490
+ "file-input"
12491
+ ],
12492
+ "contextWindow": 1048576,
12493
+ "family": "muse",
12494
+ "id": "muse-spark-open-816b-a42b-nvfp4",
12495
+ "inputModalities": ["text", "image", "video", "audio"],
12496
+ "metadata": {},
12497
+ "name": "Muse Spark Open 816B A42B NVFP4",
12498
+ "openWeights": true,
12499
+ "outputModalities": ["text"],
12500
+ "ownedBy": "meta",
12501
+ "reasoning": {
12502
+ "controls": [
12503
+ {
12504
+ "default": "xhigh",
12505
+ "kind": "effort",
12506
+ "values": ["low", "medium", "high", "xhigh"]
12507
+ }
12508
+ ],
12509
+ "defaultEffort": "xhigh",
12510
+ "supportedEfforts": ["low", "medium", "high", "xhigh"]
12511
+ }
12512
+ },
12307
12513
  {
12308
12514
  "capabilities": ["image-recognition", "image-generation"],
12309
12515
  "id": "mai-image-2-5",
@@ -17827,7 +18033,17 @@
17827
18033
  },
17828
18034
  "size": {
17829
18035
  "default": "1024x1024",
17830
- "options": ["auto", "1024x1024", "1536x1024", "1024x1536"],
18036
+ "options": [
18037
+ "auto",
18038
+ "1024x1024",
18039
+ "1536x1024",
18040
+ "1024x1536",
18041
+ "1536x864",
18042
+ "864x1536",
18043
+ "1536x960",
18044
+ "3840x2160",
18045
+ "2160x3840"
18046
+ ],
17831
18047
  "render": "chips",
17832
18048
  "type": "enum"
17833
18049
  }
@@ -22752,5 +22968,5 @@
22752
22968
  "ownedBy": "zhipu"
22753
22969
  }
22754
22970
  ],
22755
- "version": "d3224fba2d04d51e"
22971
+ "version": "371e196f7e841bbc"
22756
22972
  }
@@ -12776,6 +12776,25 @@
12776
12776
  },
12777
12777
  "providerId": "gateway"
12778
12778
  },
12779
+ {
12780
+ "apiModelId": "google/gemini-nano-banana-2.1",
12781
+ "modelId": "gemini-nano-banana-2-1",
12782
+ "pricing": {
12783
+ "cacheRead": {
12784
+ "currency": "USD",
12785
+ "perMillionTokens": 0.15
12786
+ },
12787
+ "input": {
12788
+ "currency": "USD",
12789
+ "perMillionTokens": 1.5
12790
+ },
12791
+ "output": {
12792
+ "currency": "USD",
12793
+ "perMillionTokens": 7.5
12794
+ }
12795
+ },
12796
+ "providerId": "gateway"
12797
+ },
12779
12798
  {
12780
12799
  "apiModelId": "google/gemini-omni-flash-preview",
12781
12800
  "modelId": "gemini-omni-flash-preview",
@@ -26054,6 +26073,117 @@
26054
26073
  }
26055
26074
  }
26056
26075
  },
26076
+ {
26077
+ "apiModelId": "google/gemini-nano-banana-2.1",
26078
+ "capabilities": {
26079
+ "add": ["image-generation"]
26080
+ },
26081
+ "endpointTypes": ["openai-image-generation"],
26082
+ "imageGeneration": {
26083
+ "modes": {
26084
+ "edit": {
26085
+ "maxInputImages": 14,
26086
+ "supports": {
26087
+ "aspectRatio": {
26088
+ "options": [
26089
+ "1:1",
26090
+ "1:4",
26091
+ "1:8",
26092
+ "2:3",
26093
+ "3:2",
26094
+ "3:4",
26095
+ "4:1",
26096
+ "4:3",
26097
+ "4:5",
26098
+ "5:4",
26099
+ "8:1",
26100
+ "9:16",
26101
+ "16:9",
26102
+ "21:9"
26103
+ ],
26104
+ "type": "enum"
26105
+ },
26106
+ "numImages": {
26107
+ "max": 1,
26108
+ "min": 1,
26109
+ "step": 1,
26110
+ "type": "range"
26111
+ },
26112
+ "resolution": {
26113
+ "options": ["1K", "2K", "4K"],
26114
+ "type": "enum"
26115
+ }
26116
+ }
26117
+ },
26118
+ "generate": {
26119
+ "supports": {
26120
+ "aspectRatio": {
26121
+ "options": [
26122
+ "1:1",
26123
+ "1:4",
26124
+ "1:8",
26125
+ "2:3",
26126
+ "3:2",
26127
+ "3:4",
26128
+ "4:1",
26129
+ "4:3",
26130
+ "4:5",
26131
+ "5:4",
26132
+ "8:1",
26133
+ "9:16",
26134
+ "16:9",
26135
+ "21:9"
26136
+ ],
26137
+ "type": "enum"
26138
+ },
26139
+ "numImages": {
26140
+ "max": 1,
26141
+ "min": 1,
26142
+ "step": 1,
26143
+ "type": "range"
26144
+ },
26145
+ "resolution": {
26146
+ "options": ["1K", "2K", "4K"],
26147
+ "type": "enum"
26148
+ }
26149
+ }
26150
+ }
26151
+ }
26152
+ },
26153
+ "inputModalities": ["image", "text"],
26154
+ "modelId": "gemini-nano-banana-2-1",
26155
+ "outputModalities": ["image", "text"],
26156
+ "pricing": {
26157
+ "input": {
26158
+ "currency": "USD",
26159
+ "perMillionTokens": 1.5
26160
+ },
26161
+ "output": {
26162
+ "currency": "USD",
26163
+ "perMillionTokens": 7.5
26164
+ }
26165
+ },
26166
+ "providerId": "openrouter",
26167
+ "reasoningContracts": {
26168
+ "openai-chat-completions": {
26169
+ "support": {
26170
+ "controls": [
26171
+ {
26172
+ "default": "minimal",
26173
+ "kind": "effort",
26174
+ "values": ["high", "minimal"]
26175
+ },
26176
+ {
26177
+ "default": true,
26178
+ "kind": "toggle"
26179
+ }
26180
+ ],
26181
+ "defaultEffort": "minimal",
26182
+ "supportedEfforts": ["high", "minimal", "none"]
26183
+ }
26184
+ }
26185
+ }
26186
+ },
26057
26187
  {
26058
26188
  "apiModelId": "~google/gemini-pro-latest",
26059
26189
  "modelId": "gemini-pro-latest",
@@ -40689,6 +40819,25 @@
40689
40819
  },
40690
40820
  "providerId": "vertexai"
40691
40821
  },
40822
+ {
40823
+ "apiModelId": "gemini-nano-banana-2.1",
40824
+ "modelId": "gemini-nano-banana-2-1",
40825
+ "pricing": {
40826
+ "cacheRead": {
40827
+ "currency": "USD",
40828
+ "perMillionTokens": 0.15
40829
+ },
40830
+ "input": {
40831
+ "currency": "USD",
40832
+ "perMillionTokens": 1.5
40833
+ },
40834
+ "output": {
40835
+ "currency": "USD",
40836
+ "perMillionTokens": 30
40837
+ }
40838
+ },
40839
+ "providerId": "vertexai"
40840
+ },
40692
40841
  {
40693
40842
  "apiModelId": "zai-org/glm-4.7-maas",
40694
40843
  "modelId": "glm-4-7-maas",
@@ -41162,5 +41311,5 @@
41162
41311
  "providerId": "zhipu"
41163
41312
  }
41164
41313
  ],
41165
- "version": "c6967aa97b477b01"
41314
+ "version": "24243e9504b54823"
41166
41315
  }
@@ -29,6 +29,7 @@
29
29
  "metadata": {
30
30
  "website": {
31
31
  "apiKey": "https://open.cherryin.ai/console/token",
32
+ "billing": "https://open.cherryin.ai/console/topup",
32
33
  "docs": "https://open.cherryin.ai",
33
34
  "models": "https://open.cherryin.ai/pricing",
34
35
  "official": "https://open.cherryin.ai"
@@ -295,6 +296,7 @@
295
296
  "metadata": {
296
297
  "website": {
297
298
  "apiKey": "https://platform.deepseek.com/api_keys",
299
+ "billing": "https://platform.deepseek.com/top_up",
298
300
  "docs": "https://api-docs.deepseek.com/",
299
301
  "models": "https://api-docs.deepseek.com/",
300
302
  "official": "https://deepseek.com/"
@@ -876,6 +878,7 @@
876
878
  "metadata": {
877
879
  "website": {
878
880
  "apiKey": "https://console.anthropic.com/settings/keys",
881
+ "billing": "https://platform.claude.com/settings/billing",
879
882
  "docs": "https://docs.anthropic.com/en/docs",
880
883
  "models": "https://docs.anthropic.com/en/docs/about-claude/models",
881
884
  "official": "https://anthropic.com/"
@@ -1177,6 +1180,7 @@
1177
1180
  "metadata": {
1178
1181
  "website": {
1179
1182
  "apiKey": "https://platform.openai.com/api-keys",
1183
+ "billing": "https://platform.openai.com/settings/organization/billing/overview",
1180
1184
  "docs": "https://platform.openai.com/docs",
1181
1185
  "models": "https://platform.openai.com/docs/models",
1182
1186
  "official": "https://openai.com/"
@@ -2513,6 +2517,10 @@
2513
2517
  "adapterFamily": "anthropic",
2514
2518
  "baseUrl": "https://router.huggingface.co/v1/"
2515
2519
  },
2520
+ "openai-chat-completions": {
2521
+ "adapterFamily": "openai-compatible",
2522
+ "baseUrl": "https://router.huggingface.co/v1"
2523
+ },
2516
2524
  "openai-responses": {
2517
2525
  "adapterFamily": "open-responses",
2518
2526
  "baseUrl": "https://router.huggingface.co/v1/"
@@ -2718,5 +2726,5 @@
2718
2726
  "presetProviderId": "minimax"
2719
2727
  }
2720
2728
  ],
2721
- "version": "932c0006165e4fcb"
2729
+ "version": "1b44511badb438e6"
2722
2730
  }
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_bundled_models = require("./bundled-models-CKAIAajx.cjs");
3
- const require_bundled_provider_models = require("./bundled-provider-models-Di8bps1n.cjs");
4
- const require_bundled_providers = require("./bundled-providers-Bv_iM9AO.cjs");
2
+ const require_bundled_models = require("./bundled-models-BmyydLN3.cjs");
3
+ const require_bundled_provider_models = require("./bundled-provider-models-BgzNsa6D.cjs");
4
+ const require_bundled_providers = require("./bundled-providers-CceF8bTD.cjs");
5
5
  //#region src/bundled-catalog.ts
6
6
  const bundledCatalog = {
7
7
  models: require_bundled_models.bundledModels,
@@ -1,4 +1,4 @@
1
- import { r as RegistryCatalog } from "./registry-Di5ULW6Z.cjs";
1
+ import { r as RegistryCatalog } from "./registry-CbFrDd-J.cjs";
2
2
  //#region src/bundled-catalog.d.ts
3
3
  declare const bundledCatalog: RegistryCatalog;
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { r as RegistryCatalog } from "./registry-BjETdicx.mjs";
1
+ import { r as RegistryCatalog } from "./registry-9E7PzrQ5.mjs";
2
2
  //#region src/bundled-catalog.d.ts
3
3
  declare const bundledCatalog: RegistryCatalog;
4
4
  //#endregion
@@ -1,6 +1,6 @@
1
- import { t as bundledModels } from "./bundled-models-ANrcKQ2h.mjs";
2
- import { t as bundledProviderModels } from "./bundled-provider-models-DKmCgFge.mjs";
3
- import { t as bundledProviders } from "./bundled-providers-BcszhEy2.mjs";
1
+ import { t as bundledModels } from "./bundled-models-CuKnVXLk.mjs";
2
+ import { t as bundledProviderModels } from "./bundled-provider-models-DGsvGf0g.mjs";
3
+ import { t as bundledProviders } from "./bundled-providers-CJsteihb.mjs";
4
4
  //#region src/bundled-catalog.ts
5
5
  const bundledCatalog = {
6
6
  models: bundledModels,