modelpedia 0.0.1 → 0.0.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/dist/index.cjs +60 -35560
- package/dist/index.d.cts +3 -156
- package/dist/index.d.mts +3 -156
- package/dist/index.mjs +60 -35560
- package/dist/providers/alibaba.cjs +835 -0
- package/dist/providers/alibaba.d.cts +7 -0
- package/dist/providers/alibaba.d.mts +7 -0
- package/dist/providers/alibaba.mjs +833 -0
- package/dist/providers/amazon.cjs +1484 -0
- package/dist/providers/amazon.d.cts +7 -0
- package/dist/providers/amazon.d.mts +7 -0
- package/dist/providers/amazon.mjs +1482 -0
- package/dist/providers/anthropic.cjs +698 -0
- package/dist/providers/anthropic.d.cts +7 -0
- package/dist/providers/anthropic.d.mts +7 -0
- package/dist/providers/anthropic.mjs +696 -0
- package/dist/providers/azure.cjs +1491 -0
- package/dist/providers/azure.d.cts +7 -0
- package/dist/providers/azure.d.mts +7 -0
- package/dist/providers/azure.mjs +1489 -0
- package/dist/providers/baseten.cjs +279 -0
- package/dist/providers/baseten.d.cts +7 -0
- package/dist/providers/baseten.d.mts +7 -0
- package/dist/providers/baseten.mjs +277 -0
- package/dist/providers/cerebras.cjs +145 -0
- package/dist/providers/cerebras.d.cts +7 -0
- package/dist/providers/cerebras.d.mts +7 -0
- package/dist/providers/cerebras.mjs +143 -0
- package/dist/providers/cloudflare.cjs +826 -0
- package/dist/providers/cloudflare.d.cts +7 -0
- package/dist/providers/cloudflare.d.mts +7 -0
- package/dist/providers/cloudflare.mjs +824 -0
- package/dist/providers/cohere.cjs +525 -0
- package/dist/providers/cohere.d.cts +7 -0
- package/dist/providers/cohere.d.mts +7 -0
- package/dist/providers/cohere.mjs +523 -0
- package/dist/providers/cursor.cjs +856 -0
- package/dist/providers/cursor.d.cts +7 -0
- package/dist/providers/cursor.d.mts +7 -0
- package/dist/providers/cursor.mjs +854 -0
- package/dist/providers/deepseek.cjs +64 -0
- package/dist/providers/deepseek.d.cts +7 -0
- package/dist/providers/deepseek.d.mts +7 -0
- package/dist/providers/deepseek.mjs +62 -0
- package/dist/providers/fireworks.cjs +3794 -0
- package/dist/providers/fireworks.d.cts +7 -0
- package/dist/providers/fireworks.d.mts +7 -0
- package/dist/providers/fireworks.mjs +3792 -0
- package/dist/providers/google.cjs +972 -0
- package/dist/providers/google.d.cts +7 -0
- package/dist/providers/google.d.mts +7 -0
- package/dist/providers/google.mjs +970 -0
- package/dist/providers/groq.cjs +353 -0
- package/dist/providers/groq.d.cts +7 -0
- package/dist/providers/groq.d.mts +7 -0
- package/dist/providers/groq.mjs +351 -0
- package/dist/providers/huggingface.cjs +1022 -0
- package/dist/providers/huggingface.d.cts +7 -0
- package/dist/providers/huggingface.d.mts +7 -0
- package/dist/providers/huggingface.mjs +1020 -0
- package/dist/providers/meta.cjs +481 -0
- package/dist/providers/meta.d.cts +7 -0
- package/dist/providers/meta.d.mts +7 -0
- package/dist/providers/meta.mjs +479 -0
- package/dist/providers/minimax.cjs +156 -0
- package/dist/providers/minimax.d.cts +7 -0
- package/dist/providers/minimax.d.mts +7 -0
- package/dist/providers/minimax.mjs +154 -0
- package/dist/providers/mistral.cjs +1594 -0
- package/dist/providers/mistral.d.cts +7 -0
- package/dist/providers/mistral.d.mts +7 -0
- package/dist/providers/mistral.mjs +1592 -0
- package/dist/providers/moonshot.cjs +138 -0
- package/dist/providers/moonshot.d.cts +7 -0
- package/dist/providers/moonshot.d.mts +7 -0
- package/dist/providers/moonshot.mjs +136 -0
- package/dist/providers/nvidia.cjs +2040 -0
- package/dist/providers/nvidia.d.cts +7 -0
- package/dist/providers/nvidia.d.mts +7 -0
- package/dist/providers/nvidia.mjs +2038 -0
- package/dist/providers/ollama.cjs +326 -0
- package/dist/providers/ollama.d.cts +7 -0
- package/dist/providers/ollama.d.mts +7 -0
- package/dist/providers/ollama.mjs +324 -0
- package/dist/providers/openai.cjs +9079 -0
- package/dist/providers/openai.d.cts +7 -0
- package/dist/providers/openai.d.mts +7 -0
- package/dist/providers/openai.mjs +9077 -0
- package/dist/providers/opencode.cjs +367 -0
- package/dist/providers/opencode.d.cts +7 -0
- package/dist/providers/opencode.d.mts +7 -0
- package/dist/providers/opencode.mjs +365 -0
- package/dist/providers/openrouter.cjs +7835 -0
- package/dist/providers/openrouter.d.cts +7 -0
- package/dist/providers/openrouter.d.mts +7 -0
- package/dist/providers/openrouter.mjs +7833 -0
- package/dist/providers/perplexity.cjs +311 -0
- package/dist/providers/perplexity.d.cts +7 -0
- package/dist/providers/perplexity.d.mts +7 -0
- package/dist/providers/perplexity.mjs +309 -0
- package/dist/providers/qwen.cjs +835 -0
- package/dist/providers/qwen.d.cts +7 -0
- package/dist/providers/qwen.d.mts +7 -0
- package/dist/providers/qwen.mjs +833 -0
- package/dist/providers/together.cjs +360 -0
- package/dist/providers/together.d.cts +7 -0
- package/dist/providers/together.d.mts +7 -0
- package/dist/providers/together.mjs +358 -0
- package/dist/providers/vercel.cjs +4037 -0
- package/dist/providers/vercel.d.cts +7 -0
- package/dist/providers/vercel.d.mts +7 -0
- package/dist/providers/vercel.mjs +4035 -0
- package/dist/providers/vertex.cjs +1072 -0
- package/dist/providers/vertex.d.cts +7 -0
- package/dist/providers/vertex.d.mts +7 -0
- package/dist/providers/vertex.mjs +1070 -0
- package/dist/providers/xai.cjs +301 -0
- package/dist/providers/xai.d.cts +7 -0
- package/dist/providers/xai.d.mts +7 -0
- package/dist/providers/xai.mjs +299 -0
- package/dist/providers/zai.cjs +243 -0
- package/dist/providers/zai.d.cts +7 -0
- package/dist/providers/zai.d.mts +7 -0
- package/dist/providers/zai.mjs +241 -0
- package/dist/types.d.cts +186 -0
- package/dist/types.d.mts +186 -0
- package/package.json +14 -38
- package/README.md +0 -100
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/providers/ollama.ts
|
|
3
|
+
const provider = {
|
|
4
|
+
"id": "ollama",
|
|
5
|
+
"name": "Ollama",
|
|
6
|
+
"region": "US",
|
|
7
|
+
"url": "https://ollama.com",
|
|
8
|
+
"api_url": "http://localhost:11434/api",
|
|
9
|
+
"docs_url": "https://github.com/ollama/ollama/blob/main/docs/api.md",
|
|
10
|
+
"pricing_url": "https://ollama.com",
|
|
11
|
+
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M7.905 1.09c.216.085.411.225.588.41.295.306.544.744.734 1.263.191.522.315 1.1.362 1.68a5.054 5.054 0 012.049-.636l.051-.004c.87-.07 1.73.087 2.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67 1.67 0 01.589-.41c.257-.1.53-.118.796-.042.401.114.745.368 1.016.737.248.337.434.769.561 1.287.23.934.27 2.163.115 3.645l.053.04.026.019c.757.576 1.284 1.397 1.563 2.35.435 1.487.216 3.155-.534 4.088l-.018.021.002.003c.417.762.67 1.567.724 2.4l.002.03c.064 1.065-.2 2.137-.814 3.19l-.007.01.01.024c.472 1.157.62 2.322.438 3.486l-.006.039a.651.651 0 01-.747.536.648.648 0 01-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643 0 01.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644 0 01.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229 4.229 0 00-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653 0 01-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288 3.288 0 00-1.772-.332c-1.245.099-2.343.801-2.67 1.686a.652.652 0 01-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066 1.588a4.07 4.07 0 00-.068 1.886c.112.558.331 1.02.582 1.269l.008.007c.212.207.257.53.109.785-.36.622-.629 1.549-.673 2.44-.05 1.018.186 1.902.719 2.536l.016.019a.643.643 0 01.095.69c-.576 1.236-.753 2.252-.562 3.052a.652.652 0 01-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339 4.339 0 01-.598-1.309l-.005-.019a5.764 5.764 0 01-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352 5.352 0 01.093-2.49c.262-.915.777-1.701 1.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622 1.015-.737.266-.076.54-.059.797.042zm4.116 9.09c.936 0 1.8.313 2.446.855.63.527 1.005 1.235 1.005 1.94 0 .888-.406 1.58-1.133 2.022-.62.375-1.451.557-2.403.557-1.009 0-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845 0-.707.398-1.417 1.056-1.946.668-.537 1.55-.849 2.485-.849zm0 .896a3.07 3.07 0 00-1.916.65c-.461.37-.722.835-.722 1.25 0 .428.21.829.61 1.134.455.347 1.124.548 1.943.548.799 0 1.473-.147 1.932-.426.463-.28.7-.686.7-1.257 0-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662 1.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375 0 01-.376.373.375.375 0 01-.376-.373v-.46l-.271-.218a.347.347 0 01-.052-.49.353.353 0 01.494-.051l.215.172.22-.174a.353.353 0 01.49.051zm-5.04-1.919c.478 0 .867.39.867.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zm8.706 0c.48 0 .868.39.868.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zM7.44 2.3l-.003.002a.659.659 0 00-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216 1.631-.124 2.782.43-.128.899-.208 1.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628 0 00-.107-.09L7.44 2.3zm9.174.04l-.002.001a.628.628 0 00-.107.09c-.156.163-.32.45-.453.814-.29.794-.387 1.776-.23 2.572l.058.097.008.014h.03a5.184 5.184 0 011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659 0 00-.285-.239h-.004z\"/>\n</svg>",
|
|
12
|
+
"models": [
|
|
13
|
+
{
|
|
14
|
+
"id": "cogito-2.1",
|
|
15
|
+
"name": "cogito-2.1",
|
|
16
|
+
"created_by": "unknown",
|
|
17
|
+
"source": "official",
|
|
18
|
+
"last_updated": "2026-03-21",
|
|
19
|
+
"capabilities": { "streaming": true }
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "deepseek-v3.1",
|
|
23
|
+
"name": "deepseek-v3.1",
|
|
24
|
+
"created_by": "deepseek",
|
|
25
|
+
"source": "official",
|
|
26
|
+
"last_updated": "2026-03-21",
|
|
27
|
+
"family": "deepseek",
|
|
28
|
+
"capabilities": { "streaming": true }
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "deepseek-v3.2",
|
|
32
|
+
"name": "deepseek-v3.2",
|
|
33
|
+
"created_by": "deepseek",
|
|
34
|
+
"source": "official",
|
|
35
|
+
"last_updated": "2026-03-21",
|
|
36
|
+
"family": "deepseek",
|
|
37
|
+
"capabilities": { "streaming": true }
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"id": "devstral-2",
|
|
41
|
+
"name": "devstral-2",
|
|
42
|
+
"created_by": "mistral",
|
|
43
|
+
"source": "official",
|
|
44
|
+
"last_updated": "2026-03-21",
|
|
45
|
+
"family": "devstral",
|
|
46
|
+
"capabilities": { "streaming": true },
|
|
47
|
+
"model_type": "code"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "devstral-small-2",
|
|
51
|
+
"name": "devstral-small-2",
|
|
52
|
+
"created_by": "mistral",
|
|
53
|
+
"source": "official",
|
|
54
|
+
"last_updated": "2026-03-21",
|
|
55
|
+
"family": "devstral",
|
|
56
|
+
"capabilities": { "streaming": true },
|
|
57
|
+
"model_type": "code"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "gemini-3-flash-preview",
|
|
61
|
+
"name": "gemini-3-flash-preview",
|
|
62
|
+
"created_by": "unknown",
|
|
63
|
+
"source": "official",
|
|
64
|
+
"last_updated": "2026-03-21",
|
|
65
|
+
"family": "gemini-3",
|
|
66
|
+
"capabilities": { "streaming": true }
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "gemma3",
|
|
70
|
+
"name": "gemma3",
|
|
71
|
+
"created_by": "google",
|
|
72
|
+
"source": "official",
|
|
73
|
+
"last_updated": "2026-03-21",
|
|
74
|
+
"capabilities": { "streaming": true }
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "glm-4.6",
|
|
78
|
+
"name": "glm-4.6",
|
|
79
|
+
"created_by": "zhipu",
|
|
80
|
+
"source": "official",
|
|
81
|
+
"last_updated": "2026-03-21",
|
|
82
|
+
"capabilities": { "streaming": true }
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "glm-4.7-flash",
|
|
86
|
+
"name": "glm-4.7-flash",
|
|
87
|
+
"created_by": "zhipu",
|
|
88
|
+
"source": "official",
|
|
89
|
+
"last_updated": "2026-03-21",
|
|
90
|
+
"capabilities": { "streaming": true }
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "glm-4.7",
|
|
94
|
+
"name": "glm-4.7",
|
|
95
|
+
"created_by": "zhipu",
|
|
96
|
+
"source": "official",
|
|
97
|
+
"last_updated": "2026-03-21",
|
|
98
|
+
"capabilities": { "streaming": true }
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "glm-5",
|
|
102
|
+
"name": "glm-5",
|
|
103
|
+
"created_by": "zhipu",
|
|
104
|
+
"source": "official",
|
|
105
|
+
"last_updated": "2026-03-21",
|
|
106
|
+
"capabilities": { "streaming": true }
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "glm-ocr",
|
|
110
|
+
"name": "glm-ocr",
|
|
111
|
+
"created_by": "zhipu",
|
|
112
|
+
"source": "official",
|
|
113
|
+
"last_updated": "2026-03-21",
|
|
114
|
+
"capabilities": { "streaming": true }
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "gpt-oss",
|
|
118
|
+
"name": "gpt-oss",
|
|
119
|
+
"created_by": "openai",
|
|
120
|
+
"source": "official",
|
|
121
|
+
"last_updated": "2026-03-21",
|
|
122
|
+
"family": "gpt-oss",
|
|
123
|
+
"capabilities": { "streaming": true }
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "granite4",
|
|
127
|
+
"name": "granite4",
|
|
128
|
+
"created_by": "ibm",
|
|
129
|
+
"source": "official",
|
|
130
|
+
"last_updated": "2026-03-21",
|
|
131
|
+
"capabilities": { "streaming": true }
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "kimi-k2-thinking",
|
|
135
|
+
"name": "kimi-k2-thinking",
|
|
136
|
+
"created_by": "moonshot",
|
|
137
|
+
"source": "official",
|
|
138
|
+
"last_updated": "2026-03-21",
|
|
139
|
+
"capabilities": { "streaming": true }
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "kimi-k2.5",
|
|
143
|
+
"name": "kimi-k2.5",
|
|
144
|
+
"created_by": "moonshot",
|
|
145
|
+
"source": "official",
|
|
146
|
+
"last_updated": "2026-03-21",
|
|
147
|
+
"capabilities": { "streaming": true }
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "kimi-k2",
|
|
151
|
+
"name": "kimi-k2",
|
|
152
|
+
"created_by": "moonshot",
|
|
153
|
+
"source": "official",
|
|
154
|
+
"last_updated": "2026-03-21",
|
|
155
|
+
"capabilities": { "streaming": true }
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"id": "lfm2.5-thinking",
|
|
159
|
+
"name": "lfm2.5-thinking",
|
|
160
|
+
"created_by": "liquid",
|
|
161
|
+
"source": "official",
|
|
162
|
+
"last_updated": "2026-03-21",
|
|
163
|
+
"capabilities": { "streaming": true }
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "lfm2",
|
|
167
|
+
"name": "lfm2",
|
|
168
|
+
"created_by": "liquid",
|
|
169
|
+
"source": "official",
|
|
170
|
+
"last_updated": "2026-03-21",
|
|
171
|
+
"capabilities": { "streaming": true }
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "minimax-m2.1",
|
|
175
|
+
"name": "minimax-m2.1",
|
|
176
|
+
"created_by": "minimax",
|
|
177
|
+
"source": "official",
|
|
178
|
+
"last_updated": "2026-03-21",
|
|
179
|
+
"capabilities": { "streaming": true }
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"id": "minimax-m2.5",
|
|
183
|
+
"name": "minimax-m2.5",
|
|
184
|
+
"created_by": "minimax",
|
|
185
|
+
"source": "official",
|
|
186
|
+
"last_updated": "2026-03-21",
|
|
187
|
+
"capabilities": { "streaming": true }
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "minimax-m2.7",
|
|
191
|
+
"name": "minimax-m2.7",
|
|
192
|
+
"created_by": "minimax",
|
|
193
|
+
"source": "official",
|
|
194
|
+
"last_updated": "2026-03-21",
|
|
195
|
+
"capabilities": { "streaming": true }
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"id": "minimax-m2",
|
|
199
|
+
"name": "minimax-m2",
|
|
200
|
+
"created_by": "minimax",
|
|
201
|
+
"source": "official",
|
|
202
|
+
"last_updated": "2026-03-21",
|
|
203
|
+
"capabilities": { "streaming": true }
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "ministral-3",
|
|
207
|
+
"name": "ministral-3",
|
|
208
|
+
"created_by": "mistral",
|
|
209
|
+
"source": "official",
|
|
210
|
+
"last_updated": "2026-03-21",
|
|
211
|
+
"family": "ministral",
|
|
212
|
+
"capabilities": { "streaming": true }
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"id": "mistral-large-3",
|
|
216
|
+
"name": "mistral-large-3",
|
|
217
|
+
"created_by": "mistral",
|
|
218
|
+
"source": "official",
|
|
219
|
+
"last_updated": "2026-03-21",
|
|
220
|
+
"family": "mistral-large",
|
|
221
|
+
"capabilities": { "streaming": true }
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"id": "nemotron-3-nano",
|
|
225
|
+
"name": "nemotron-3-nano",
|
|
226
|
+
"created_by": "nvidia",
|
|
227
|
+
"source": "official",
|
|
228
|
+
"last_updated": "2026-03-21",
|
|
229
|
+
"capabilities": { "streaming": true }
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "nemotron-3-super",
|
|
233
|
+
"name": "nemotron-3-super",
|
|
234
|
+
"created_by": "nvidia",
|
|
235
|
+
"source": "official",
|
|
236
|
+
"last_updated": "2026-03-21",
|
|
237
|
+
"capabilities": { "streaming": true }
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"id": "nemotron-cascade-2",
|
|
241
|
+
"name": "nemotron-cascade-2",
|
|
242
|
+
"created_by": "nvidia",
|
|
243
|
+
"source": "official",
|
|
244
|
+
"last_updated": "2026-03-21",
|
|
245
|
+
"capabilities": { "streaming": true }
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"id": "qwen3-coder-next",
|
|
249
|
+
"name": "qwen3-coder-next",
|
|
250
|
+
"created_by": "qwen",
|
|
251
|
+
"source": "official",
|
|
252
|
+
"last_updated": "2026-03-21",
|
|
253
|
+
"family": "qwen3",
|
|
254
|
+
"capabilities": { "streaming": true }
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"id": "qwen3-coder",
|
|
258
|
+
"name": "qwen3-coder",
|
|
259
|
+
"created_by": "qwen",
|
|
260
|
+
"source": "official",
|
|
261
|
+
"last_updated": "2026-03-21",
|
|
262
|
+
"family": "qwen3",
|
|
263
|
+
"capabilities": { "streaming": true }
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"id": "qwen3-embedding",
|
|
267
|
+
"name": "qwen3-embedding",
|
|
268
|
+
"created_by": "qwen",
|
|
269
|
+
"source": "official",
|
|
270
|
+
"last_updated": "2026-03-21",
|
|
271
|
+
"family": "qwen3",
|
|
272
|
+
"capabilities": { "streaming": true },
|
|
273
|
+
"model_type": "embed"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"id": "qwen3-next",
|
|
277
|
+
"name": "qwen3-next",
|
|
278
|
+
"created_by": "qwen",
|
|
279
|
+
"source": "official",
|
|
280
|
+
"last_updated": "2026-03-21",
|
|
281
|
+
"family": "qwen3",
|
|
282
|
+
"capabilities": { "streaming": true }
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "qwen3-vl",
|
|
286
|
+
"name": "qwen3-vl",
|
|
287
|
+
"created_by": "qwen",
|
|
288
|
+
"source": "official",
|
|
289
|
+
"last_updated": "2026-03-21",
|
|
290
|
+
"family": "qwen3",
|
|
291
|
+
"capabilities": { "streaming": true }
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"id": "qwen3.5",
|
|
295
|
+
"name": "qwen3.5",
|
|
296
|
+
"created_by": "qwen",
|
|
297
|
+
"source": "official",
|
|
298
|
+
"last_updated": "2026-03-21",
|
|
299
|
+
"family": "qwen3.5",
|
|
300
|
+
"capabilities": { "streaming": true }
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"id": "rnj-1",
|
|
304
|
+
"name": "rnj-1",
|
|
305
|
+
"created_by": "essentialai",
|
|
306
|
+
"source": "official",
|
|
307
|
+
"last_updated": "2026-03-21",
|
|
308
|
+
"capabilities": { "streaming": true }
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"id": "translategemma",
|
|
312
|
+
"name": "translategemma",
|
|
313
|
+
"created_by": "google",
|
|
314
|
+
"source": "official",
|
|
315
|
+
"last_updated": "2026-03-21",
|
|
316
|
+
"capabilities": { "streaming": true }
|
|
317
|
+
}
|
|
318
|
+
]
|
|
319
|
+
};
|
|
320
|
+
const models = provider.models.map((m) => ({
|
|
321
|
+
...m,
|
|
322
|
+
provider: provider.id
|
|
323
|
+
}));
|
|
324
|
+
//#endregion
|
|
325
|
+
exports.models = models;
|
|
326
|
+
exports.provider = provider;
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
//#region src/providers/ollama.ts
|
|
2
|
+
const provider = {
|
|
3
|
+
"id": "ollama",
|
|
4
|
+
"name": "Ollama",
|
|
5
|
+
"region": "US",
|
|
6
|
+
"url": "https://ollama.com",
|
|
7
|
+
"api_url": "http://localhost:11434/api",
|
|
8
|
+
"docs_url": "https://github.com/ollama/ollama/blob/main/docs/api.md",
|
|
9
|
+
"pricing_url": "https://ollama.com",
|
|
10
|
+
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M7.905 1.09c.216.085.411.225.588.41.295.306.544.744.734 1.263.191.522.315 1.1.362 1.68a5.054 5.054 0 012.049-.636l.051-.004c.87-.07 1.73.087 2.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67 1.67 0 01.589-.41c.257-.1.53-.118.796-.042.401.114.745.368 1.016.737.248.337.434.769.561 1.287.23.934.27 2.163.115 3.645l.053.04.026.019c.757.576 1.284 1.397 1.563 2.35.435 1.487.216 3.155-.534 4.088l-.018.021.002.003c.417.762.67 1.567.724 2.4l.002.03c.064 1.065-.2 2.137-.814 3.19l-.007.01.01.024c.472 1.157.62 2.322.438 3.486l-.006.039a.651.651 0 01-.747.536.648.648 0 01-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643 0 01.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644 0 01.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229 4.229 0 00-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653 0 01-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288 3.288 0 00-1.772-.332c-1.245.099-2.343.801-2.67 1.686a.652.652 0 01-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066 1.588a4.07 4.07 0 00-.068 1.886c.112.558.331 1.02.582 1.269l.008.007c.212.207.257.53.109.785-.36.622-.629 1.549-.673 2.44-.05 1.018.186 1.902.719 2.536l.016.019a.643.643 0 01.095.69c-.576 1.236-.753 2.252-.562 3.052a.652.652 0 01-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339 4.339 0 01-.598-1.309l-.005-.019a5.764 5.764 0 01-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352 5.352 0 01.093-2.49c.262-.915.777-1.701 1.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622 1.015-.737.266-.076.54-.059.797.042zm4.116 9.09c.936 0 1.8.313 2.446.855.63.527 1.005 1.235 1.005 1.94 0 .888-.406 1.58-1.133 2.022-.62.375-1.451.557-2.403.557-1.009 0-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845 0-.707.398-1.417 1.056-1.946.668-.537 1.55-.849 2.485-.849zm0 .896a3.07 3.07 0 00-1.916.65c-.461.37-.722.835-.722 1.25 0 .428.21.829.61 1.134.455.347 1.124.548 1.943.548.799 0 1.473-.147 1.932-.426.463-.28.7-.686.7-1.257 0-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662 1.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375 0 01-.376.373.375.375 0 01-.376-.373v-.46l-.271-.218a.347.347 0 01-.052-.49.353.353 0 01.494-.051l.215.172.22-.174a.353.353 0 01.49.051zm-5.04-1.919c.478 0 .867.39.867.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zm8.706 0c.48 0 .868.39.868.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zM7.44 2.3l-.003.002a.659.659 0 00-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216 1.631-.124 2.782.43-.128.899-.208 1.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628 0 00-.107-.09L7.44 2.3zm9.174.04l-.002.001a.628.628 0 00-.107.09c-.156.163-.32.45-.453.814-.29.794-.387 1.776-.23 2.572l.058.097.008.014h.03a5.184 5.184 0 011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659 0 00-.285-.239h-.004z\"/>\n</svg>",
|
|
11
|
+
"models": [
|
|
12
|
+
{
|
|
13
|
+
"id": "cogito-2.1",
|
|
14
|
+
"name": "cogito-2.1",
|
|
15
|
+
"created_by": "unknown",
|
|
16
|
+
"source": "official",
|
|
17
|
+
"last_updated": "2026-03-21",
|
|
18
|
+
"capabilities": { "streaming": true }
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "deepseek-v3.1",
|
|
22
|
+
"name": "deepseek-v3.1",
|
|
23
|
+
"created_by": "deepseek",
|
|
24
|
+
"source": "official",
|
|
25
|
+
"last_updated": "2026-03-21",
|
|
26
|
+
"family": "deepseek",
|
|
27
|
+
"capabilities": { "streaming": true }
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "deepseek-v3.2",
|
|
31
|
+
"name": "deepseek-v3.2",
|
|
32
|
+
"created_by": "deepseek",
|
|
33
|
+
"source": "official",
|
|
34
|
+
"last_updated": "2026-03-21",
|
|
35
|
+
"family": "deepseek",
|
|
36
|
+
"capabilities": { "streaming": true }
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "devstral-2",
|
|
40
|
+
"name": "devstral-2",
|
|
41
|
+
"created_by": "mistral",
|
|
42
|
+
"source": "official",
|
|
43
|
+
"last_updated": "2026-03-21",
|
|
44
|
+
"family": "devstral",
|
|
45
|
+
"capabilities": { "streaming": true },
|
|
46
|
+
"model_type": "code"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "devstral-small-2",
|
|
50
|
+
"name": "devstral-small-2",
|
|
51
|
+
"created_by": "mistral",
|
|
52
|
+
"source": "official",
|
|
53
|
+
"last_updated": "2026-03-21",
|
|
54
|
+
"family": "devstral",
|
|
55
|
+
"capabilities": { "streaming": true },
|
|
56
|
+
"model_type": "code"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "gemini-3-flash-preview",
|
|
60
|
+
"name": "gemini-3-flash-preview",
|
|
61
|
+
"created_by": "unknown",
|
|
62
|
+
"source": "official",
|
|
63
|
+
"last_updated": "2026-03-21",
|
|
64
|
+
"family": "gemini-3",
|
|
65
|
+
"capabilities": { "streaming": true }
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "gemma3",
|
|
69
|
+
"name": "gemma3",
|
|
70
|
+
"created_by": "google",
|
|
71
|
+
"source": "official",
|
|
72
|
+
"last_updated": "2026-03-21",
|
|
73
|
+
"capabilities": { "streaming": true }
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "glm-4.6",
|
|
77
|
+
"name": "glm-4.6",
|
|
78
|
+
"created_by": "zhipu",
|
|
79
|
+
"source": "official",
|
|
80
|
+
"last_updated": "2026-03-21",
|
|
81
|
+
"capabilities": { "streaming": true }
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "glm-4.7-flash",
|
|
85
|
+
"name": "glm-4.7-flash",
|
|
86
|
+
"created_by": "zhipu",
|
|
87
|
+
"source": "official",
|
|
88
|
+
"last_updated": "2026-03-21",
|
|
89
|
+
"capabilities": { "streaming": true }
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "glm-4.7",
|
|
93
|
+
"name": "glm-4.7",
|
|
94
|
+
"created_by": "zhipu",
|
|
95
|
+
"source": "official",
|
|
96
|
+
"last_updated": "2026-03-21",
|
|
97
|
+
"capabilities": { "streaming": true }
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "glm-5",
|
|
101
|
+
"name": "glm-5",
|
|
102
|
+
"created_by": "zhipu",
|
|
103
|
+
"source": "official",
|
|
104
|
+
"last_updated": "2026-03-21",
|
|
105
|
+
"capabilities": { "streaming": true }
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "glm-ocr",
|
|
109
|
+
"name": "glm-ocr",
|
|
110
|
+
"created_by": "zhipu",
|
|
111
|
+
"source": "official",
|
|
112
|
+
"last_updated": "2026-03-21",
|
|
113
|
+
"capabilities": { "streaming": true }
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "gpt-oss",
|
|
117
|
+
"name": "gpt-oss",
|
|
118
|
+
"created_by": "openai",
|
|
119
|
+
"source": "official",
|
|
120
|
+
"last_updated": "2026-03-21",
|
|
121
|
+
"family": "gpt-oss",
|
|
122
|
+
"capabilities": { "streaming": true }
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "granite4",
|
|
126
|
+
"name": "granite4",
|
|
127
|
+
"created_by": "ibm",
|
|
128
|
+
"source": "official",
|
|
129
|
+
"last_updated": "2026-03-21",
|
|
130
|
+
"capabilities": { "streaming": true }
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "kimi-k2-thinking",
|
|
134
|
+
"name": "kimi-k2-thinking",
|
|
135
|
+
"created_by": "moonshot",
|
|
136
|
+
"source": "official",
|
|
137
|
+
"last_updated": "2026-03-21",
|
|
138
|
+
"capabilities": { "streaming": true }
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "kimi-k2.5",
|
|
142
|
+
"name": "kimi-k2.5",
|
|
143
|
+
"created_by": "moonshot",
|
|
144
|
+
"source": "official",
|
|
145
|
+
"last_updated": "2026-03-21",
|
|
146
|
+
"capabilities": { "streaming": true }
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "kimi-k2",
|
|
150
|
+
"name": "kimi-k2",
|
|
151
|
+
"created_by": "moonshot",
|
|
152
|
+
"source": "official",
|
|
153
|
+
"last_updated": "2026-03-21",
|
|
154
|
+
"capabilities": { "streaming": true }
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"id": "lfm2.5-thinking",
|
|
158
|
+
"name": "lfm2.5-thinking",
|
|
159
|
+
"created_by": "liquid",
|
|
160
|
+
"source": "official",
|
|
161
|
+
"last_updated": "2026-03-21",
|
|
162
|
+
"capabilities": { "streaming": true }
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "lfm2",
|
|
166
|
+
"name": "lfm2",
|
|
167
|
+
"created_by": "liquid",
|
|
168
|
+
"source": "official",
|
|
169
|
+
"last_updated": "2026-03-21",
|
|
170
|
+
"capabilities": { "streaming": true }
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "minimax-m2.1",
|
|
174
|
+
"name": "minimax-m2.1",
|
|
175
|
+
"created_by": "minimax",
|
|
176
|
+
"source": "official",
|
|
177
|
+
"last_updated": "2026-03-21",
|
|
178
|
+
"capabilities": { "streaming": true }
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "minimax-m2.5",
|
|
182
|
+
"name": "minimax-m2.5",
|
|
183
|
+
"created_by": "minimax",
|
|
184
|
+
"source": "official",
|
|
185
|
+
"last_updated": "2026-03-21",
|
|
186
|
+
"capabilities": { "streaming": true }
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"id": "minimax-m2.7",
|
|
190
|
+
"name": "minimax-m2.7",
|
|
191
|
+
"created_by": "minimax",
|
|
192
|
+
"source": "official",
|
|
193
|
+
"last_updated": "2026-03-21",
|
|
194
|
+
"capabilities": { "streaming": true }
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "minimax-m2",
|
|
198
|
+
"name": "minimax-m2",
|
|
199
|
+
"created_by": "minimax",
|
|
200
|
+
"source": "official",
|
|
201
|
+
"last_updated": "2026-03-21",
|
|
202
|
+
"capabilities": { "streaming": true }
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "ministral-3",
|
|
206
|
+
"name": "ministral-3",
|
|
207
|
+
"created_by": "mistral",
|
|
208
|
+
"source": "official",
|
|
209
|
+
"last_updated": "2026-03-21",
|
|
210
|
+
"family": "ministral",
|
|
211
|
+
"capabilities": { "streaming": true }
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "mistral-large-3",
|
|
215
|
+
"name": "mistral-large-3",
|
|
216
|
+
"created_by": "mistral",
|
|
217
|
+
"source": "official",
|
|
218
|
+
"last_updated": "2026-03-21",
|
|
219
|
+
"family": "mistral-large",
|
|
220
|
+
"capabilities": { "streaming": true }
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "nemotron-3-nano",
|
|
224
|
+
"name": "nemotron-3-nano",
|
|
225
|
+
"created_by": "nvidia",
|
|
226
|
+
"source": "official",
|
|
227
|
+
"last_updated": "2026-03-21",
|
|
228
|
+
"capabilities": { "streaming": true }
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "nemotron-3-super",
|
|
232
|
+
"name": "nemotron-3-super",
|
|
233
|
+
"created_by": "nvidia",
|
|
234
|
+
"source": "official",
|
|
235
|
+
"last_updated": "2026-03-21",
|
|
236
|
+
"capabilities": { "streaming": true }
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"id": "nemotron-cascade-2",
|
|
240
|
+
"name": "nemotron-cascade-2",
|
|
241
|
+
"created_by": "nvidia",
|
|
242
|
+
"source": "official",
|
|
243
|
+
"last_updated": "2026-03-21",
|
|
244
|
+
"capabilities": { "streaming": true }
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"id": "qwen3-coder-next",
|
|
248
|
+
"name": "qwen3-coder-next",
|
|
249
|
+
"created_by": "qwen",
|
|
250
|
+
"source": "official",
|
|
251
|
+
"last_updated": "2026-03-21",
|
|
252
|
+
"family": "qwen3",
|
|
253
|
+
"capabilities": { "streaming": true }
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "qwen3-coder",
|
|
257
|
+
"name": "qwen3-coder",
|
|
258
|
+
"created_by": "qwen",
|
|
259
|
+
"source": "official",
|
|
260
|
+
"last_updated": "2026-03-21",
|
|
261
|
+
"family": "qwen3",
|
|
262
|
+
"capabilities": { "streaming": true }
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"id": "qwen3-embedding",
|
|
266
|
+
"name": "qwen3-embedding",
|
|
267
|
+
"created_by": "qwen",
|
|
268
|
+
"source": "official",
|
|
269
|
+
"last_updated": "2026-03-21",
|
|
270
|
+
"family": "qwen3",
|
|
271
|
+
"capabilities": { "streaming": true },
|
|
272
|
+
"model_type": "embed"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"id": "qwen3-next",
|
|
276
|
+
"name": "qwen3-next",
|
|
277
|
+
"created_by": "qwen",
|
|
278
|
+
"source": "official",
|
|
279
|
+
"last_updated": "2026-03-21",
|
|
280
|
+
"family": "qwen3",
|
|
281
|
+
"capabilities": { "streaming": true }
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"id": "qwen3-vl",
|
|
285
|
+
"name": "qwen3-vl",
|
|
286
|
+
"created_by": "qwen",
|
|
287
|
+
"source": "official",
|
|
288
|
+
"last_updated": "2026-03-21",
|
|
289
|
+
"family": "qwen3",
|
|
290
|
+
"capabilities": { "streaming": true }
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"id": "qwen3.5",
|
|
294
|
+
"name": "qwen3.5",
|
|
295
|
+
"created_by": "qwen",
|
|
296
|
+
"source": "official",
|
|
297
|
+
"last_updated": "2026-03-21",
|
|
298
|
+
"family": "qwen3.5",
|
|
299
|
+
"capabilities": { "streaming": true }
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "rnj-1",
|
|
303
|
+
"name": "rnj-1",
|
|
304
|
+
"created_by": "essentialai",
|
|
305
|
+
"source": "official",
|
|
306
|
+
"last_updated": "2026-03-21",
|
|
307
|
+
"capabilities": { "streaming": true }
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"id": "translategemma",
|
|
311
|
+
"name": "translategemma",
|
|
312
|
+
"created_by": "google",
|
|
313
|
+
"source": "official",
|
|
314
|
+
"last_updated": "2026-03-21",
|
|
315
|
+
"capabilities": { "streaming": true }
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
};
|
|
319
|
+
const models = provider.models.map((m) => ({
|
|
320
|
+
...m,
|
|
321
|
+
provider: provider.id
|
|
322
|
+
}));
|
|
323
|
+
//#endregion
|
|
324
|
+
export { models, provider };
|