@oh-my-pi/pi-ai 13.9.4 → 13.9.5
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/package.json +2 -2
- package/src/model-manager.ts +6 -3
- package/src/models.json +530 -306
- package/src/providers/openai-completions.ts +4 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@oh-my-pi/pi-ai",
|
|
4
|
-
"version": "13.9.
|
|
4
|
+
"version": "13.9.5",
|
|
5
5
|
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
|
6
6
|
"homepage": "https://github.com/can1357/oh-my-pi",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@aws-sdk/client-bedrock-runtime": "^3",
|
|
42
42
|
"@bufbuild/protobuf": "^2.11",
|
|
43
43
|
"@google/genai": "^1.43",
|
|
44
|
-
"@oh-my-pi/pi-utils": "13.9.
|
|
44
|
+
"@oh-my-pi/pi-utils": "13.9.5",
|
|
45
45
|
"@sinclair/typebox": "^0.34",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4",
|
|
47
47
|
"ajv": "^8.18",
|
package/src/model-manager.ts
CHANGED
|
@@ -111,8 +111,8 @@ export async function resolveProviderModels<TApi extends Api = Api, TModelsDevPa
|
|
|
111
111
|
const dynamicFetchSucceeded = fetchedDynamicModels !== null;
|
|
112
112
|
const cacheModels = dynamicFetchSucceeded ? [] : normalizeModelList<TApi>(cache?.models ?? []);
|
|
113
113
|
const dynamicModels = fetchedDynamicModels ?? [];
|
|
114
|
-
const
|
|
115
|
-
const models = mergeDynamicModels(
|
|
114
|
+
const mergedWithCache = mergeDynamicModels(mergeModelSources(staticModels, modelsDevModels), cacheModels);
|
|
115
|
+
const models = mergeDynamicModels(mergedWithCache, dynamicModels);
|
|
116
116
|
const dynamicAuthoritative = !hasDynamicFetcher || dynamicFetchSucceeded || shouldUseFreshCacheAsAuthoritative;
|
|
117
117
|
if (shouldFetchFromNetwork) {
|
|
118
118
|
if (dynamicFetchSucceeded) {
|
|
@@ -125,7 +125,10 @@ export async function resolveProviderModels<TApi extends Api = Api, TModelsDevPa
|
|
|
125
125
|
writeModelCache(
|
|
126
126
|
options.providerId,
|
|
127
127
|
now(),
|
|
128
|
-
|
|
128
|
+
mergeDynamicModels(
|
|
129
|
+
mergeModelSources(staticModels, modelsDevModels),
|
|
130
|
+
normalizeModelList<TApi>(latestCache?.models ?? cache?.models ?? []),
|
|
131
|
+
),
|
|
129
132
|
false,
|
|
130
133
|
dbPath,
|
|
131
134
|
);
|
package/src/models.json
CHANGED
|
@@ -1,4 +1,209 @@
|
|
|
1
1
|
{
|
|
2
|
+
"alibaba-coding-plan": {
|
|
3
|
+
"glm-4.7": {
|
|
4
|
+
"id": "glm-4.7",
|
|
5
|
+
"name": "GLM-4.7",
|
|
6
|
+
"api": "openai-completions",
|
|
7
|
+
"provider": "alibaba-coding-plan",
|
|
8
|
+
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
9
|
+
"reasoning": true,
|
|
10
|
+
"input": [
|
|
11
|
+
"text"
|
|
12
|
+
],
|
|
13
|
+
"cost": {
|
|
14
|
+
"input": 0,
|
|
15
|
+
"output": 0,
|
|
16
|
+
"cacheRead": 0,
|
|
17
|
+
"cacheWrite": 0
|
|
18
|
+
},
|
|
19
|
+
"contextWindow": 202752,
|
|
20
|
+
"maxTokens": 16384,
|
|
21
|
+
"compat": {
|
|
22
|
+
"supportsDeveloperRole": false
|
|
23
|
+
},
|
|
24
|
+
"thinking": {
|
|
25
|
+
"mode": "effort",
|
|
26
|
+
"minLevel": "minimal",
|
|
27
|
+
"maxLevel": "high"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"glm-5": {
|
|
31
|
+
"id": "glm-5",
|
|
32
|
+
"name": "GLM-5",
|
|
33
|
+
"api": "openai-completions",
|
|
34
|
+
"provider": "alibaba-coding-plan",
|
|
35
|
+
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
36
|
+
"reasoning": true,
|
|
37
|
+
"input": [
|
|
38
|
+
"text"
|
|
39
|
+
],
|
|
40
|
+
"cost": {
|
|
41
|
+
"input": 0,
|
|
42
|
+
"output": 0,
|
|
43
|
+
"cacheRead": 0,
|
|
44
|
+
"cacheWrite": 0
|
|
45
|
+
},
|
|
46
|
+
"contextWindow": 202752,
|
|
47
|
+
"maxTokens": 16384,
|
|
48
|
+
"compat": {
|
|
49
|
+
"supportsDeveloperRole": false
|
|
50
|
+
},
|
|
51
|
+
"thinking": {
|
|
52
|
+
"mode": "effort",
|
|
53
|
+
"minLevel": "minimal",
|
|
54
|
+
"maxLevel": "high"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"kimi-k2.5": {
|
|
58
|
+
"id": "kimi-k2.5",
|
|
59
|
+
"name": "Kimi K2.5",
|
|
60
|
+
"api": "openai-completions",
|
|
61
|
+
"provider": "alibaba-coding-plan",
|
|
62
|
+
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
63
|
+
"reasoning": true,
|
|
64
|
+
"input": [
|
|
65
|
+
"text",
|
|
66
|
+
"image"
|
|
67
|
+
],
|
|
68
|
+
"cost": {
|
|
69
|
+
"input": 0,
|
|
70
|
+
"output": 0,
|
|
71
|
+
"cacheRead": 0,
|
|
72
|
+
"cacheWrite": 0
|
|
73
|
+
},
|
|
74
|
+
"contextWindow": 262144,
|
|
75
|
+
"maxTokens": 32768,
|
|
76
|
+
"compat": {
|
|
77
|
+
"supportsDeveloperRole": false
|
|
78
|
+
},
|
|
79
|
+
"thinking": {
|
|
80
|
+
"mode": "effort",
|
|
81
|
+
"minLevel": "minimal",
|
|
82
|
+
"maxLevel": "high"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"MiniMax-M2.5": {
|
|
86
|
+
"id": "MiniMax-M2.5",
|
|
87
|
+
"name": "MiniMax-M2.5",
|
|
88
|
+
"api": "openai-completions",
|
|
89
|
+
"provider": "alibaba-coding-plan",
|
|
90
|
+
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
91
|
+
"reasoning": true,
|
|
92
|
+
"input": [
|
|
93
|
+
"text"
|
|
94
|
+
],
|
|
95
|
+
"cost": {
|
|
96
|
+
"input": 0,
|
|
97
|
+
"output": 0,
|
|
98
|
+
"cacheRead": 0,
|
|
99
|
+
"cacheWrite": 0
|
|
100
|
+
},
|
|
101
|
+
"contextWindow": 204800,
|
|
102
|
+
"maxTokens": 32768,
|
|
103
|
+
"compat": {
|
|
104
|
+
"supportsDeveloperRole": false
|
|
105
|
+
},
|
|
106
|
+
"thinking": {
|
|
107
|
+
"mode": "effort",
|
|
108
|
+
"minLevel": "minimal",
|
|
109
|
+
"maxLevel": "high"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"qwen3-coder-next": {
|
|
113
|
+
"id": "qwen3-coder-next",
|
|
114
|
+
"name": "Qwen3 Coder Next",
|
|
115
|
+
"api": "openai-completions",
|
|
116
|
+
"provider": "alibaba-coding-plan",
|
|
117
|
+
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
118
|
+
"reasoning": false,
|
|
119
|
+
"input": [
|
|
120
|
+
"text"
|
|
121
|
+
],
|
|
122
|
+
"cost": {
|
|
123
|
+
"input": 0,
|
|
124
|
+
"output": 0,
|
|
125
|
+
"cacheRead": 0,
|
|
126
|
+
"cacheWrite": 0
|
|
127
|
+
},
|
|
128
|
+
"contextWindow": 262144,
|
|
129
|
+
"maxTokens": 65536,
|
|
130
|
+
"compat": {
|
|
131
|
+
"supportsDeveloperRole": false
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"qwen3-coder-plus": {
|
|
135
|
+
"id": "qwen3-coder-plus",
|
|
136
|
+
"name": "Qwen3 Coder Plus",
|
|
137
|
+
"api": "openai-completions",
|
|
138
|
+
"provider": "alibaba-coding-plan",
|
|
139
|
+
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
140
|
+
"reasoning": false,
|
|
141
|
+
"input": [
|
|
142
|
+
"text"
|
|
143
|
+
],
|
|
144
|
+
"cost": {
|
|
145
|
+
"input": 0,
|
|
146
|
+
"output": 0,
|
|
147
|
+
"cacheRead": 0,
|
|
148
|
+
"cacheWrite": 0
|
|
149
|
+
},
|
|
150
|
+
"contextWindow": 1048576,
|
|
151
|
+
"maxTokens": 65536,
|
|
152
|
+
"compat": {
|
|
153
|
+
"supportsDeveloperRole": false
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"qwen3-max-2026-01-23": {
|
|
157
|
+
"id": "qwen3-max-2026-01-23",
|
|
158
|
+
"name": "Qwen3 Max",
|
|
159
|
+
"api": "openai-completions",
|
|
160
|
+
"provider": "alibaba-coding-plan",
|
|
161
|
+
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
162
|
+
"reasoning": false,
|
|
163
|
+
"input": [
|
|
164
|
+
"text"
|
|
165
|
+
],
|
|
166
|
+
"cost": {
|
|
167
|
+
"input": 0,
|
|
168
|
+
"output": 0,
|
|
169
|
+
"cacheRead": 0,
|
|
170
|
+
"cacheWrite": 0
|
|
171
|
+
},
|
|
172
|
+
"contextWindow": 262144,
|
|
173
|
+
"maxTokens": 65536,
|
|
174
|
+
"compat": {
|
|
175
|
+
"supportsDeveloperRole": false
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"qwen3.5-plus": {
|
|
179
|
+
"id": "qwen3.5-plus",
|
|
180
|
+
"name": "Qwen3.5 Plus",
|
|
181
|
+
"api": "openai-completions",
|
|
182
|
+
"provider": "alibaba-coding-plan",
|
|
183
|
+
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
184
|
+
"reasoning": true,
|
|
185
|
+
"input": [
|
|
186
|
+
"text",
|
|
187
|
+
"image"
|
|
188
|
+
],
|
|
189
|
+
"cost": {
|
|
190
|
+
"input": 0,
|
|
191
|
+
"output": 0,
|
|
192
|
+
"cacheRead": 0,
|
|
193
|
+
"cacheWrite": 0
|
|
194
|
+
},
|
|
195
|
+
"contextWindow": 1000000,
|
|
196
|
+
"maxTokens": 65536,
|
|
197
|
+
"compat": {
|
|
198
|
+
"supportsDeveloperRole": false
|
|
199
|
+
},
|
|
200
|
+
"thinking": {
|
|
201
|
+
"mode": "effort",
|
|
202
|
+
"minLevel": "minimal",
|
|
203
|
+
"maxLevel": "high"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
2
207
|
"amazon-bedrock": {
|
|
3
208
|
"anthropic.claude-3-5-haiku-20241022-v1:0": {
|
|
4
209
|
"id": "anthropic.claude-3-5-haiku-20241022-v1:0",
|
|
@@ -1808,162 +2013,6 @@
|
|
|
1808
2013
|
}
|
|
1809
2014
|
}
|
|
1810
2015
|
},
|
|
1811
|
-
"alibaba-coding-plan": {
|
|
1812
|
-
"qwen3.5-plus": {
|
|
1813
|
-
"id": "qwen3.5-plus",
|
|
1814
|
-
"name": "Qwen 3.5 Plus",
|
|
1815
|
-
"api": "openai-completions",
|
|
1816
|
-
"provider": "alibaba-coding-plan",
|
|
1817
|
-
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
1818
|
-
"reasoning": true,
|
|
1819
|
-
"input": [
|
|
1820
|
-
"text",
|
|
1821
|
-
"image"
|
|
1822
|
-
],
|
|
1823
|
-
"cost": {
|
|
1824
|
-
"input": 0,
|
|
1825
|
-
"output": 0,
|
|
1826
|
-
"cacheRead": 0,
|
|
1827
|
-
"cacheWrite": 0
|
|
1828
|
-
},
|
|
1829
|
-
"contextWindow": 1000000,
|
|
1830
|
-
"maxTokens": 65536
|
|
1831
|
-
},
|
|
1832
|
-
"qwen3-max-2026-01-23": {
|
|
1833
|
-
"id": "qwen3-max-2026-01-23",
|
|
1834
|
-
"name": "Qwen 3 Max",
|
|
1835
|
-
"api": "openai-completions",
|
|
1836
|
-
"provider": "alibaba-coding-plan",
|
|
1837
|
-
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
1838
|
-
"reasoning": false,
|
|
1839
|
-
"input": [
|
|
1840
|
-
"text"
|
|
1841
|
-
],
|
|
1842
|
-
"cost": {
|
|
1843
|
-
"input": 0,
|
|
1844
|
-
"output": 0,
|
|
1845
|
-
"cacheRead": 0,
|
|
1846
|
-
"cacheWrite": 0
|
|
1847
|
-
},
|
|
1848
|
-
"contextWindow": 262144,
|
|
1849
|
-
"maxTokens": 65536
|
|
1850
|
-
},
|
|
1851
|
-
"qwen3-coder-next": {
|
|
1852
|
-
"id": "qwen3-coder-next",
|
|
1853
|
-
"name": "Qwen 3 Coder Next",
|
|
1854
|
-
"api": "openai-completions",
|
|
1855
|
-
"provider": "alibaba-coding-plan",
|
|
1856
|
-
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
1857
|
-
"reasoning": false,
|
|
1858
|
-
"input": [
|
|
1859
|
-
"text"
|
|
1860
|
-
],
|
|
1861
|
-
"cost": {
|
|
1862
|
-
"input": 0,
|
|
1863
|
-
"output": 0,
|
|
1864
|
-
"cacheRead": 0,
|
|
1865
|
-
"cacheWrite": 0
|
|
1866
|
-
},
|
|
1867
|
-
"contextWindow": 262144,
|
|
1868
|
-
"maxTokens": 65536
|
|
1869
|
-
},
|
|
1870
|
-
"qwen3-coder-plus": {
|
|
1871
|
-
"id": "qwen3-coder-plus",
|
|
1872
|
-
"name": "Qwen 3 Coder Plus",
|
|
1873
|
-
"api": "openai-completions",
|
|
1874
|
-
"provider": "alibaba-coding-plan",
|
|
1875
|
-
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
1876
|
-
"reasoning": false,
|
|
1877
|
-
"input": [
|
|
1878
|
-
"text"
|
|
1879
|
-
],
|
|
1880
|
-
"cost": {
|
|
1881
|
-
"input": 0,
|
|
1882
|
-
"output": 0,
|
|
1883
|
-
"cacheRead": 0,
|
|
1884
|
-
"cacheWrite": 0
|
|
1885
|
-
},
|
|
1886
|
-
"contextWindow": 1048576,
|
|
1887
|
-
"maxTokens": 65536
|
|
1888
|
-
},
|
|
1889
|
-
"glm-5": {
|
|
1890
|
-
"id": "glm-5",
|
|
1891
|
-
"name": "GLM 5",
|
|
1892
|
-
"api": "openai-completions",
|
|
1893
|
-
"provider": "alibaba-coding-plan",
|
|
1894
|
-
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
1895
|
-
"reasoning": true,
|
|
1896
|
-
"input": [
|
|
1897
|
-
"text"
|
|
1898
|
-
],
|
|
1899
|
-
"cost": {
|
|
1900
|
-
"input": 0,
|
|
1901
|
-
"output": 0,
|
|
1902
|
-
"cacheRead": 0,
|
|
1903
|
-
"cacheWrite": 0
|
|
1904
|
-
},
|
|
1905
|
-
"contextWindow": 202752,
|
|
1906
|
-
"maxTokens": 16384
|
|
1907
|
-
},
|
|
1908
|
-
"glm-4.7": {
|
|
1909
|
-
"id": "glm-4.7",
|
|
1910
|
-
"name": "GLM 4.7",
|
|
1911
|
-
"api": "openai-completions",
|
|
1912
|
-
"provider": "alibaba-coding-plan",
|
|
1913
|
-
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
1914
|
-
"reasoning": true,
|
|
1915
|
-
"input": [
|
|
1916
|
-
"text"
|
|
1917
|
-
],
|
|
1918
|
-
"cost": {
|
|
1919
|
-
"input": 0,
|
|
1920
|
-
"output": 0,
|
|
1921
|
-
"cacheRead": 0,
|
|
1922
|
-
"cacheWrite": 0
|
|
1923
|
-
},
|
|
1924
|
-
"contextWindow": 202752,
|
|
1925
|
-
"maxTokens": 16384
|
|
1926
|
-
},
|
|
1927
|
-
"kimi-k2.5": {
|
|
1928
|
-
"id": "kimi-k2.5",
|
|
1929
|
-
"name": "Kimi K2.5",
|
|
1930
|
-
"api": "openai-completions",
|
|
1931
|
-
"provider": "alibaba-coding-plan",
|
|
1932
|
-
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
1933
|
-
"reasoning": true,
|
|
1934
|
-
"input": [
|
|
1935
|
-
"text",
|
|
1936
|
-
"image"
|
|
1937
|
-
],
|
|
1938
|
-
"cost": {
|
|
1939
|
-
"input": 0,
|
|
1940
|
-
"output": 0,
|
|
1941
|
-
"cacheRead": 0,
|
|
1942
|
-
"cacheWrite": 0
|
|
1943
|
-
},
|
|
1944
|
-
"contextWindow": 262144,
|
|
1945
|
-
"maxTokens": 32768
|
|
1946
|
-
},
|
|
1947
|
-
"MiniMax-M2.5": {
|
|
1948
|
-
"id": "MiniMax-M2.5",
|
|
1949
|
-
"name": "MiniMax M2.5",
|
|
1950
|
-
"api": "openai-completions",
|
|
1951
|
-
"provider": "alibaba-coding-plan",
|
|
1952
|
-
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
1953
|
-
"reasoning": true,
|
|
1954
|
-
"input": [
|
|
1955
|
-
"text"
|
|
1956
|
-
],
|
|
1957
|
-
"cost": {
|
|
1958
|
-
"input": 0,
|
|
1959
|
-
"output": 0,
|
|
1960
|
-
"cacheRead": 0,
|
|
1961
|
-
"cacheWrite": 0
|
|
1962
|
-
},
|
|
1963
|
-
"contextWindow": 204800,
|
|
1964
|
-
"maxTokens": 32768
|
|
1965
|
-
}
|
|
1966
|
-
},
|
|
1967
2016
|
"anthropic": {
|
|
1968
2017
|
"claude-3-5-sonnet-20240620": {
|
|
1969
2018
|
"id": "claude-3-5-sonnet-20240620",
|
|
@@ -3646,15 +3695,174 @@
|
|
|
3646
3695
|
"maxLevel": "xhigh"
|
|
3647
3696
|
}
|
|
3648
3697
|
},
|
|
3649
|
-
"gpt-5.2-codex-fast": {
|
|
3650
|
-
"id": "gpt-5.2-codex-fast",
|
|
3651
|
-
"name": "GPT-5.2 Codex Fast",
|
|
3698
|
+
"gpt-5.2-codex-fast": {
|
|
3699
|
+
"id": "gpt-5.2-codex-fast",
|
|
3700
|
+
"name": "GPT-5.2 Codex Fast",
|
|
3701
|
+
"api": "cursor-agent",
|
|
3702
|
+
"provider": "cursor",
|
|
3703
|
+
"baseUrl": "https://api2.cursor.sh",
|
|
3704
|
+
"reasoning": false,
|
|
3705
|
+
"input": [
|
|
3706
|
+
"text"
|
|
3707
|
+
],
|
|
3708
|
+
"cost": {
|
|
3709
|
+
"input": 0,
|
|
3710
|
+
"output": 0,
|
|
3711
|
+
"cacheRead": 0,
|
|
3712
|
+
"cacheWrite": 0
|
|
3713
|
+
},
|
|
3714
|
+
"contextWindow": 272000,
|
|
3715
|
+
"maxTokens": 64000
|
|
3716
|
+
},
|
|
3717
|
+
"gpt-5.2-codex-high": {
|
|
3718
|
+
"id": "gpt-5.2-codex-high",
|
|
3719
|
+
"name": "GPT-5.2 Codex High",
|
|
3720
|
+
"api": "cursor-agent",
|
|
3721
|
+
"provider": "cursor",
|
|
3722
|
+
"baseUrl": "https://api2.cursor.sh",
|
|
3723
|
+
"reasoning": false,
|
|
3724
|
+
"input": [
|
|
3725
|
+
"text"
|
|
3726
|
+
],
|
|
3727
|
+
"cost": {
|
|
3728
|
+
"input": 0,
|
|
3729
|
+
"output": 0,
|
|
3730
|
+
"cacheRead": 0,
|
|
3731
|
+
"cacheWrite": 0
|
|
3732
|
+
},
|
|
3733
|
+
"contextWindow": 272000,
|
|
3734
|
+
"maxTokens": 64000
|
|
3735
|
+
},
|
|
3736
|
+
"gpt-5.2-codex-high-fast": {
|
|
3737
|
+
"id": "gpt-5.2-codex-high-fast",
|
|
3738
|
+
"name": "GPT-5.2 Codex High Fast",
|
|
3739
|
+
"api": "cursor-agent",
|
|
3740
|
+
"provider": "cursor",
|
|
3741
|
+
"baseUrl": "https://api2.cursor.sh",
|
|
3742
|
+
"reasoning": false,
|
|
3743
|
+
"input": [
|
|
3744
|
+
"text"
|
|
3745
|
+
],
|
|
3746
|
+
"cost": {
|
|
3747
|
+
"input": 0,
|
|
3748
|
+
"output": 0,
|
|
3749
|
+
"cacheRead": 0,
|
|
3750
|
+
"cacheWrite": 0
|
|
3751
|
+
},
|
|
3752
|
+
"contextWindow": 272000,
|
|
3753
|
+
"maxTokens": 64000
|
|
3754
|
+
},
|
|
3755
|
+
"gpt-5.2-codex-low": {
|
|
3756
|
+
"id": "gpt-5.2-codex-low",
|
|
3757
|
+
"name": "GPT-5.2 Codex Low",
|
|
3758
|
+
"api": "cursor-agent",
|
|
3759
|
+
"provider": "cursor",
|
|
3760
|
+
"baseUrl": "https://api2.cursor.sh",
|
|
3761
|
+
"reasoning": false,
|
|
3762
|
+
"input": [
|
|
3763
|
+
"text"
|
|
3764
|
+
],
|
|
3765
|
+
"cost": {
|
|
3766
|
+
"input": 0,
|
|
3767
|
+
"output": 0,
|
|
3768
|
+
"cacheRead": 0,
|
|
3769
|
+
"cacheWrite": 0
|
|
3770
|
+
},
|
|
3771
|
+
"contextWindow": 272000,
|
|
3772
|
+
"maxTokens": 64000
|
|
3773
|
+
},
|
|
3774
|
+
"gpt-5.2-codex-low-fast": {
|
|
3775
|
+
"id": "gpt-5.2-codex-low-fast",
|
|
3776
|
+
"name": "GPT-5.2 Codex Low Fast",
|
|
3777
|
+
"api": "cursor-agent",
|
|
3778
|
+
"provider": "cursor",
|
|
3779
|
+
"baseUrl": "https://api2.cursor.sh",
|
|
3780
|
+
"reasoning": false,
|
|
3781
|
+
"input": [
|
|
3782
|
+
"text"
|
|
3783
|
+
],
|
|
3784
|
+
"cost": {
|
|
3785
|
+
"input": 0,
|
|
3786
|
+
"output": 0,
|
|
3787
|
+
"cacheRead": 0,
|
|
3788
|
+
"cacheWrite": 0
|
|
3789
|
+
},
|
|
3790
|
+
"contextWindow": 272000,
|
|
3791
|
+
"maxTokens": 64000
|
|
3792
|
+
},
|
|
3793
|
+
"gpt-5.2-codex-xhigh": {
|
|
3794
|
+
"id": "gpt-5.2-codex-xhigh",
|
|
3795
|
+
"name": "GPT-5.2 Codex Extra High",
|
|
3796
|
+
"api": "cursor-agent",
|
|
3797
|
+
"provider": "cursor",
|
|
3798
|
+
"baseUrl": "https://api2.cursor.sh",
|
|
3799
|
+
"reasoning": false,
|
|
3800
|
+
"input": [
|
|
3801
|
+
"text"
|
|
3802
|
+
],
|
|
3803
|
+
"cost": {
|
|
3804
|
+
"input": 0,
|
|
3805
|
+
"output": 0,
|
|
3806
|
+
"cacheRead": 0,
|
|
3807
|
+
"cacheWrite": 0
|
|
3808
|
+
},
|
|
3809
|
+
"contextWindow": 272000,
|
|
3810
|
+
"maxTokens": 64000
|
|
3811
|
+
},
|
|
3812
|
+
"gpt-5.2-codex-xhigh-fast": {
|
|
3813
|
+
"id": "gpt-5.2-codex-xhigh-fast",
|
|
3814
|
+
"name": "GPT-5.2 Codex Extra High Fast",
|
|
3815
|
+
"api": "cursor-agent",
|
|
3816
|
+
"provider": "cursor",
|
|
3817
|
+
"baseUrl": "https://api2.cursor.sh",
|
|
3818
|
+
"reasoning": false,
|
|
3819
|
+
"input": [
|
|
3820
|
+
"text"
|
|
3821
|
+
],
|
|
3822
|
+
"cost": {
|
|
3823
|
+
"input": 0,
|
|
3824
|
+
"output": 0,
|
|
3825
|
+
"cacheRead": 0,
|
|
3826
|
+
"cacheWrite": 0
|
|
3827
|
+
},
|
|
3828
|
+
"contextWindow": 272000,
|
|
3829
|
+
"maxTokens": 64000
|
|
3830
|
+
},
|
|
3831
|
+
"gpt-5.2-high": {
|
|
3832
|
+
"id": "gpt-5.2-high",
|
|
3833
|
+
"name": "GPT-5.2 High",
|
|
3834
|
+
"api": "cursor-agent",
|
|
3835
|
+
"provider": "cursor",
|
|
3836
|
+
"baseUrl": "https://api2.cursor.sh",
|
|
3837
|
+
"reasoning": true,
|
|
3838
|
+
"input": [
|
|
3839
|
+
"text",
|
|
3840
|
+
"image"
|
|
3841
|
+
],
|
|
3842
|
+
"cost": {
|
|
3843
|
+
"input": 0,
|
|
3844
|
+
"output": 0,
|
|
3845
|
+
"cacheRead": 0,
|
|
3846
|
+
"cacheWrite": 0
|
|
3847
|
+
},
|
|
3848
|
+
"contextWindow": 400000,
|
|
3849
|
+
"maxTokens": 128000,
|
|
3850
|
+
"thinking": {
|
|
3851
|
+
"mode": "effort",
|
|
3852
|
+
"minLevel": "low",
|
|
3853
|
+
"maxLevel": "xhigh"
|
|
3854
|
+
}
|
|
3855
|
+
},
|
|
3856
|
+
"gpt-5.3-codex": {
|
|
3857
|
+
"id": "gpt-5.3-codex",
|
|
3858
|
+
"name": "GPT-5.3 Codex",
|
|
3652
3859
|
"api": "cursor-agent",
|
|
3653
3860
|
"provider": "cursor",
|
|
3654
3861
|
"baseUrl": "https://api2.cursor.sh",
|
|
3655
|
-
"reasoning":
|
|
3862
|
+
"reasoning": true,
|
|
3656
3863
|
"input": [
|
|
3657
|
-
"text"
|
|
3864
|
+
"text",
|
|
3865
|
+
"image"
|
|
3658
3866
|
],
|
|
3659
3867
|
"cost": {
|
|
3660
3868
|
"input": 0,
|
|
@@ -3662,12 +3870,17 @@
|
|
|
3662
3870
|
"cacheRead": 0,
|
|
3663
3871
|
"cacheWrite": 0
|
|
3664
3872
|
},
|
|
3665
|
-
"contextWindow":
|
|
3666
|
-
"maxTokens":
|
|
3873
|
+
"contextWindow": 400000,
|
|
3874
|
+
"maxTokens": 128000,
|
|
3875
|
+
"thinking": {
|
|
3876
|
+
"mode": "effort",
|
|
3877
|
+
"minLevel": "low",
|
|
3878
|
+
"maxLevel": "xhigh"
|
|
3879
|
+
}
|
|
3667
3880
|
},
|
|
3668
|
-
"gpt-5.
|
|
3669
|
-
"id": "gpt-5.
|
|
3670
|
-
"name": "GPT-5.
|
|
3881
|
+
"gpt-5.3-codex-fast": {
|
|
3882
|
+
"id": "gpt-5.3-codex-fast",
|
|
3883
|
+
"name": "GPT-5.3 Codex Fast",
|
|
3671
3884
|
"api": "cursor-agent",
|
|
3672
3885
|
"provider": "cursor",
|
|
3673
3886
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3684,9 +3897,9 @@
|
|
|
3684
3897
|
"contextWindow": 272000,
|
|
3685
3898
|
"maxTokens": 64000
|
|
3686
3899
|
},
|
|
3687
|
-
"gpt-5.
|
|
3688
|
-
"id": "gpt-5.
|
|
3689
|
-
"name": "GPT-5.
|
|
3900
|
+
"gpt-5.3-codex-high": {
|
|
3901
|
+
"id": "gpt-5.3-codex-high",
|
|
3902
|
+
"name": "GPT-5.3 Codex High",
|
|
3690
3903
|
"api": "cursor-agent",
|
|
3691
3904
|
"provider": "cursor",
|
|
3692
3905
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3703,9 +3916,9 @@
|
|
|
3703
3916
|
"contextWindow": 272000,
|
|
3704
3917
|
"maxTokens": 64000
|
|
3705
3918
|
},
|
|
3706
|
-
"gpt-5.
|
|
3707
|
-
"id": "gpt-5.
|
|
3708
|
-
"name": "GPT-5.
|
|
3919
|
+
"gpt-5.3-codex-high-fast": {
|
|
3920
|
+
"id": "gpt-5.3-codex-high-fast",
|
|
3921
|
+
"name": "GPT-5.3 Codex High Fast",
|
|
3709
3922
|
"api": "cursor-agent",
|
|
3710
3923
|
"provider": "cursor",
|
|
3711
3924
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3722,9 +3935,9 @@
|
|
|
3722
3935
|
"contextWindow": 272000,
|
|
3723
3936
|
"maxTokens": 64000
|
|
3724
3937
|
},
|
|
3725
|
-
"gpt-5.
|
|
3726
|
-
"id": "gpt-5.
|
|
3727
|
-
"name": "GPT-5.
|
|
3938
|
+
"gpt-5.3-codex-low": {
|
|
3939
|
+
"id": "gpt-5.3-codex-low",
|
|
3940
|
+
"name": "GPT-5.3 Codex Low",
|
|
3728
3941
|
"api": "cursor-agent",
|
|
3729
3942
|
"provider": "cursor",
|
|
3730
3943
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3741,9 +3954,9 @@
|
|
|
3741
3954
|
"contextWindow": 272000,
|
|
3742
3955
|
"maxTokens": 64000
|
|
3743
3956
|
},
|
|
3744
|
-
"gpt-5.
|
|
3745
|
-
"id": "gpt-5.
|
|
3746
|
-
"name": "GPT-5.
|
|
3957
|
+
"gpt-5.3-codex-low-fast": {
|
|
3958
|
+
"id": "gpt-5.3-codex-low-fast",
|
|
3959
|
+
"name": "GPT-5.3 Codex Low Fast",
|
|
3747
3960
|
"api": "cursor-agent",
|
|
3748
3961
|
"provider": "cursor",
|
|
3749
3962
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3760,9 +3973,9 @@
|
|
|
3760
3973
|
"contextWindow": 272000,
|
|
3761
3974
|
"maxTokens": 64000
|
|
3762
3975
|
},
|
|
3763
|
-
"gpt-5.
|
|
3764
|
-
"id": "gpt-5.
|
|
3765
|
-
"name": "GPT-5.
|
|
3976
|
+
"gpt-5.3-codex-spark-preview": {
|
|
3977
|
+
"id": "gpt-5.3-codex-spark-preview",
|
|
3978
|
+
"name": "GPT-5.3 Codex Spark",
|
|
3766
3979
|
"api": "cursor-agent",
|
|
3767
3980
|
"provider": "cursor",
|
|
3768
3981
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3776,62 +3989,12 @@
|
|
|
3776
3989
|
"cacheRead": 0,
|
|
3777
3990
|
"cacheWrite": 0
|
|
3778
3991
|
},
|
|
3779
|
-
"contextWindow":
|
|
3992
|
+
"contextWindow": 200000,
|
|
3780
3993
|
"maxTokens": 64000
|
|
3781
3994
|
},
|
|
3782
|
-
"gpt-5.
|
|
3783
|
-
"id": "gpt-5.
|
|
3784
|
-
"name": "GPT-5.
|
|
3785
|
-
"api": "cursor-agent",
|
|
3786
|
-
"provider": "cursor",
|
|
3787
|
-
"baseUrl": "https://api2.cursor.sh",
|
|
3788
|
-
"reasoning": true,
|
|
3789
|
-
"input": [
|
|
3790
|
-
"text",
|
|
3791
|
-
"image"
|
|
3792
|
-
],
|
|
3793
|
-
"cost": {
|
|
3794
|
-
"input": 0,
|
|
3795
|
-
"output": 0,
|
|
3796
|
-
"cacheRead": 0,
|
|
3797
|
-
"cacheWrite": 0
|
|
3798
|
-
},
|
|
3799
|
-
"contextWindow": 400000,
|
|
3800
|
-
"maxTokens": 128000,
|
|
3801
|
-
"thinking": {
|
|
3802
|
-
"mode": "effort",
|
|
3803
|
-
"minLevel": "low",
|
|
3804
|
-
"maxLevel": "xhigh"
|
|
3805
|
-
}
|
|
3806
|
-
},
|
|
3807
|
-
"gpt-5.3-codex": {
|
|
3808
|
-
"id": "gpt-5.3-codex",
|
|
3809
|
-
"name": "GPT-5.3 Codex",
|
|
3810
|
-
"api": "cursor-agent",
|
|
3811
|
-
"provider": "cursor",
|
|
3812
|
-
"baseUrl": "https://api2.cursor.sh",
|
|
3813
|
-
"reasoning": true,
|
|
3814
|
-
"input": [
|
|
3815
|
-
"text",
|
|
3816
|
-
"image"
|
|
3817
|
-
],
|
|
3818
|
-
"cost": {
|
|
3819
|
-
"input": 0,
|
|
3820
|
-
"output": 0,
|
|
3821
|
-
"cacheRead": 0,
|
|
3822
|
-
"cacheWrite": 0
|
|
3823
|
-
},
|
|
3824
|
-
"contextWindow": 400000,
|
|
3825
|
-
"maxTokens": 128000,
|
|
3826
|
-
"thinking": {
|
|
3827
|
-
"mode": "effort",
|
|
3828
|
-
"minLevel": "low",
|
|
3829
|
-
"maxLevel": "xhigh"
|
|
3830
|
-
}
|
|
3831
|
-
},
|
|
3832
|
-
"gpt-5.3-codex-fast": {
|
|
3833
|
-
"id": "gpt-5.3-codex-fast",
|
|
3834
|
-
"name": "GPT-5.3 Codex Fast",
|
|
3995
|
+
"gpt-5.3-codex-xhigh": {
|
|
3996
|
+
"id": "gpt-5.3-codex-xhigh",
|
|
3997
|
+
"name": "GPT-5.3 Codex Extra High",
|
|
3835
3998
|
"api": "cursor-agent",
|
|
3836
3999
|
"provider": "cursor",
|
|
3837
4000
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3848,9 +4011,9 @@
|
|
|
3848
4011
|
"contextWindow": 272000,
|
|
3849
4012
|
"maxTokens": 64000
|
|
3850
4013
|
},
|
|
3851
|
-
"gpt-5.3-codex-
|
|
3852
|
-
"id": "gpt-5.3-codex-
|
|
3853
|
-
"name": "GPT-5.3 Codex High",
|
|
4014
|
+
"gpt-5.3-codex-xhigh-fast": {
|
|
4015
|
+
"id": "gpt-5.3-codex-xhigh-fast",
|
|
4016
|
+
"name": "GPT-5.3 Codex Extra High Fast",
|
|
3854
4017
|
"api": "cursor-agent",
|
|
3855
4018
|
"provider": "cursor",
|
|
3856
4019
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3867,9 +4030,9 @@
|
|
|
3867
4030
|
"contextWindow": 272000,
|
|
3868
4031
|
"maxTokens": 64000
|
|
3869
4032
|
},
|
|
3870
|
-
"gpt-5.
|
|
3871
|
-
"id": "gpt-5.
|
|
3872
|
-
"name": "GPT-5.
|
|
4033
|
+
"gpt-5.4-high": {
|
|
4034
|
+
"id": "gpt-5.4-high",
|
|
4035
|
+
"name": "GPT-5.4 High",
|
|
3873
4036
|
"api": "cursor-agent",
|
|
3874
4037
|
"provider": "cursor",
|
|
3875
4038
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3883,12 +4046,12 @@
|
|
|
3883
4046
|
"cacheRead": 0,
|
|
3884
4047
|
"cacheWrite": 0
|
|
3885
4048
|
},
|
|
3886
|
-
"contextWindow":
|
|
4049
|
+
"contextWindow": 200000,
|
|
3887
4050
|
"maxTokens": 64000
|
|
3888
4051
|
},
|
|
3889
|
-
"gpt-5.
|
|
3890
|
-
"id": "gpt-5.
|
|
3891
|
-
"name": "GPT-5.
|
|
4052
|
+
"gpt-5.4-high-fast": {
|
|
4053
|
+
"id": "gpt-5.4-high-fast",
|
|
4054
|
+
"name": "GPT-5.4 High Fast",
|
|
3892
4055
|
"api": "cursor-agent",
|
|
3893
4056
|
"provider": "cursor",
|
|
3894
4057
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3902,12 +4065,12 @@
|
|
|
3902
4065
|
"cacheRead": 0,
|
|
3903
4066
|
"cacheWrite": 0
|
|
3904
4067
|
},
|
|
3905
|
-
"contextWindow":
|
|
4068
|
+
"contextWindow": 200000,
|
|
3906
4069
|
"maxTokens": 64000
|
|
3907
4070
|
},
|
|
3908
|
-
"gpt-5.
|
|
3909
|
-
"id": "gpt-5.
|
|
3910
|
-
"name": "GPT-5.
|
|
4071
|
+
"gpt-5.4-medium": {
|
|
4072
|
+
"id": "gpt-5.4-medium",
|
|
4073
|
+
"name": "GPT-5.4",
|
|
3911
4074
|
"api": "cursor-agent",
|
|
3912
4075
|
"provider": "cursor",
|
|
3913
4076
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3921,12 +4084,12 @@
|
|
|
3921
4084
|
"cacheRead": 0,
|
|
3922
4085
|
"cacheWrite": 0
|
|
3923
4086
|
},
|
|
3924
|
-
"contextWindow":
|
|
4087
|
+
"contextWindow": 200000,
|
|
3925
4088
|
"maxTokens": 64000
|
|
3926
4089
|
},
|
|
3927
|
-
"gpt-5.
|
|
3928
|
-
"id": "gpt-5.
|
|
3929
|
-
"name": "GPT-5.
|
|
4090
|
+
"gpt-5.4-medium-fast": {
|
|
4091
|
+
"id": "gpt-5.4-medium-fast",
|
|
4092
|
+
"name": "GPT-5.4 Fast",
|
|
3930
4093
|
"api": "cursor-agent",
|
|
3931
4094
|
"provider": "cursor",
|
|
3932
4095
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3943,9 +4106,9 @@
|
|
|
3943
4106
|
"contextWindow": 200000,
|
|
3944
4107
|
"maxTokens": 64000
|
|
3945
4108
|
},
|
|
3946
|
-
"gpt-5.
|
|
3947
|
-
"id": "gpt-5.
|
|
3948
|
-
"name": "GPT-5.
|
|
4109
|
+
"gpt-5.4-xhigh": {
|
|
4110
|
+
"id": "gpt-5.4-xhigh",
|
|
4111
|
+
"name": "GPT-5.4 Extra High",
|
|
3949
4112
|
"api": "cursor-agent",
|
|
3950
4113
|
"provider": "cursor",
|
|
3951
4114
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3959,12 +4122,12 @@
|
|
|
3959
4122
|
"cacheRead": 0,
|
|
3960
4123
|
"cacheWrite": 0
|
|
3961
4124
|
},
|
|
3962
|
-
"contextWindow":
|
|
4125
|
+
"contextWindow": 200000,
|
|
3963
4126
|
"maxTokens": 64000
|
|
3964
4127
|
},
|
|
3965
|
-
"gpt-5.
|
|
3966
|
-
"id": "gpt-5.
|
|
3967
|
-
"name": "GPT-5.
|
|
4128
|
+
"gpt-5.4-xhigh-fast": {
|
|
4129
|
+
"id": "gpt-5.4-xhigh-fast",
|
|
4130
|
+
"name": "GPT-5.4 Extra High Fast",
|
|
3968
4131
|
"api": "cursor-agent",
|
|
3969
4132
|
"provider": "cursor",
|
|
3970
4133
|
"baseUrl": "https://api2.cursor.sh",
|
|
@@ -3978,7 +4141,7 @@
|
|
|
3978
4141
|
"cacheRead": 0,
|
|
3979
4142
|
"cacheWrite": 0
|
|
3980
4143
|
},
|
|
3981
|
-
"contextWindow":
|
|
4144
|
+
"contextWindow": 200000,
|
|
3982
4145
|
"maxTokens": 64000
|
|
3983
4146
|
},
|
|
3984
4147
|
"grok-code-fast-1": {
|
|
@@ -5599,6 +5762,31 @@
|
|
|
5599
5762
|
"maxLevel": "high"
|
|
5600
5763
|
}
|
|
5601
5764
|
},
|
|
5765
|
+
"gemini-3.1-flash-lite-preview": {
|
|
5766
|
+
"id": "gemini-3.1-flash-lite-preview",
|
|
5767
|
+
"name": "Gemini 3.1 Flash Lite Preview",
|
|
5768
|
+
"api": "google-generative-ai",
|
|
5769
|
+
"provider": "google",
|
|
5770
|
+
"baseUrl": "https://generativelanguage.googleapis.com/v1beta",
|
|
5771
|
+
"reasoning": true,
|
|
5772
|
+
"input": [
|
|
5773
|
+
"text",
|
|
5774
|
+
"image"
|
|
5775
|
+
],
|
|
5776
|
+
"cost": {
|
|
5777
|
+
"input": 0.5,
|
|
5778
|
+
"output": 3,
|
|
5779
|
+
"cacheRead": 0.05,
|
|
5780
|
+
"cacheWrite": 0
|
|
5781
|
+
},
|
|
5782
|
+
"contextWindow": 1048576,
|
|
5783
|
+
"maxTokens": 65536,
|
|
5784
|
+
"thinking": {
|
|
5785
|
+
"mode": "google-level",
|
|
5786
|
+
"minLevel": "minimal",
|
|
5787
|
+
"maxLevel": "high"
|
|
5788
|
+
}
|
|
5789
|
+
},
|
|
5602
5790
|
"gemini-3.1-pro-preview": {
|
|
5603
5791
|
"id": "gemini-3.1-pro-preview",
|
|
5604
5792
|
"name": "Gemini 3.1 Pro Preview",
|
|
@@ -8730,13 +8918,14 @@
|
|
|
8730
8918
|
},
|
|
8731
8919
|
"google/gemini-3.1-pro-preview": {
|
|
8732
8920
|
"id": "google/gemini-3.1-pro-preview",
|
|
8733
|
-
"name": "
|
|
8921
|
+
"name": "Gemini 3.1 Pro Preview",
|
|
8734
8922
|
"api": "openai-completions",
|
|
8735
8923
|
"provider": "kilo",
|
|
8736
8924
|
"baseUrl": "https://api.kilo.ai/api/gateway",
|
|
8737
|
-
"reasoning":
|
|
8925
|
+
"reasoning": true,
|
|
8738
8926
|
"input": [
|
|
8739
|
-
"text"
|
|
8927
|
+
"text",
|
|
8928
|
+
"image"
|
|
8740
8929
|
],
|
|
8741
8930
|
"cost": {
|
|
8742
8931
|
"input": 0,
|
|
@@ -8744,8 +8933,13 @@
|
|
|
8744
8933
|
"cacheRead": 0,
|
|
8745
8934
|
"cacheWrite": 0
|
|
8746
8935
|
},
|
|
8747
|
-
"contextWindow":
|
|
8748
|
-
"maxTokens":
|
|
8936
|
+
"contextWindow": 1048000,
|
|
8937
|
+
"maxTokens": 64000,
|
|
8938
|
+
"thinking": {
|
|
8939
|
+
"mode": "effort",
|
|
8940
|
+
"minLevel": "low",
|
|
8941
|
+
"maxLevel": "high"
|
|
8942
|
+
}
|
|
8749
8943
|
},
|
|
8750
8944
|
"google/gemini-3.1-pro-preview-customtools": {
|
|
8751
8945
|
"id": "google/gemini-3.1-pro-preview-customtools",
|
|
@@ -9079,7 +9273,7 @@
|
|
|
9079
9273
|
},
|
|
9080
9274
|
"kilo/auto": {
|
|
9081
9275
|
"id": "kilo/auto",
|
|
9082
|
-
"name": "Kilo:
|
|
9276
|
+
"name": "Deprecated: Kilo Auto: Frontier",
|
|
9083
9277
|
"api": "openai-completions",
|
|
9084
9278
|
"provider": "kilo",
|
|
9085
9279
|
"baseUrl": "https://api.kilo.ai/api/gateway",
|
|
@@ -9098,7 +9292,7 @@
|
|
|
9098
9292
|
},
|
|
9099
9293
|
"kilo/auto-free": {
|
|
9100
9294
|
"id": "kilo/auto-free",
|
|
9101
|
-
"name": "
|
|
9295
|
+
"name": "Deprecated: Kilo Auto: Free",
|
|
9102
9296
|
"api": "openai-completions",
|
|
9103
9297
|
"provider": "kilo",
|
|
9104
9298
|
"baseUrl": "https://api.kilo.ai/api/gateway",
|
|
@@ -9117,7 +9311,7 @@
|
|
|
9117
9311
|
},
|
|
9118
9312
|
"kilo/auto-small": {
|
|
9119
9313
|
"id": "kilo/auto-small",
|
|
9120
|
-
"name": "
|
|
9314
|
+
"name": "Deprecated: Kilo Auto: Small",
|
|
9121
9315
|
"api": "openai-completions",
|
|
9122
9316
|
"provider": "kilo",
|
|
9123
9317
|
"baseUrl": "https://api.kilo.ai/api/gateway",
|
|
@@ -11398,13 +11592,14 @@
|
|
|
11398
11592
|
},
|
|
11399
11593
|
"openai/gpt-5.2-pro": {
|
|
11400
11594
|
"id": "openai/gpt-5.2-pro",
|
|
11401
|
-
"name": "
|
|
11595
|
+
"name": "GPT-5.2-Pro",
|
|
11402
11596
|
"api": "openai-completions",
|
|
11403
11597
|
"provider": "kilo",
|
|
11404
11598
|
"baseUrl": "https://api.kilo.ai/api/gateway",
|
|
11405
|
-
"reasoning":
|
|
11599
|
+
"reasoning": true,
|
|
11406
11600
|
"input": [
|
|
11407
|
-
"text"
|
|
11601
|
+
"text",
|
|
11602
|
+
"image"
|
|
11408
11603
|
],
|
|
11409
11604
|
"cost": {
|
|
11410
11605
|
"input": 0,
|
|
@@ -11412,8 +11607,13 @@
|
|
|
11412
11607
|
"cacheRead": 0,
|
|
11413
11608
|
"cacheWrite": 0
|
|
11414
11609
|
},
|
|
11415
|
-
"contextWindow":
|
|
11416
|
-
"maxTokens":
|
|
11610
|
+
"contextWindow": 400000,
|
|
11611
|
+
"maxTokens": 128000,
|
|
11612
|
+
"thinking": {
|
|
11613
|
+
"mode": "effort",
|
|
11614
|
+
"minLevel": "low",
|
|
11615
|
+
"maxLevel": "xhigh"
|
|
11616
|
+
}
|
|
11417
11617
|
},
|
|
11418
11618
|
"openai/gpt-5.3-chat": {
|
|
11419
11619
|
"id": "openai/gpt-5.3-chat",
|
|
@@ -15738,7 +15938,7 @@
|
|
|
15738
15938
|
"mistral": {
|
|
15739
15939
|
"codestral-latest": {
|
|
15740
15940
|
"id": "codestral-latest",
|
|
15741
|
-
"name": "Codestral",
|
|
15941
|
+
"name": "Codestral (latest)",
|
|
15742
15942
|
"api": "openai-completions",
|
|
15743
15943
|
"provider": "mistral",
|
|
15744
15944
|
"baseUrl": "https://api.mistral.ai/v1",
|
|
@@ -15795,7 +15995,7 @@
|
|
|
15795
15995
|
},
|
|
15796
15996
|
"devstral-medium-latest": {
|
|
15797
15997
|
"id": "devstral-medium-latest",
|
|
15798
|
-
"name": "Devstral 2",
|
|
15998
|
+
"name": "Devstral 2 (latest)",
|
|
15799
15999
|
"api": "openai-completions",
|
|
15800
16000
|
"provider": "mistral",
|
|
15801
16001
|
"baseUrl": "https://api.mistral.ai/v1",
|
|
@@ -15872,7 +16072,7 @@
|
|
|
15872
16072
|
},
|
|
15873
16073
|
"magistral-medium-latest": {
|
|
15874
16074
|
"id": "magistral-medium-latest",
|
|
15875
|
-
"name": "Magistral Medium",
|
|
16075
|
+
"name": "Magistral Medium (latest)",
|
|
15876
16076
|
"api": "openai-completions",
|
|
15877
16077
|
"provider": "mistral",
|
|
15878
16078
|
"baseUrl": "https://api.mistral.ai/v1",
|
|
@@ -15920,7 +16120,7 @@
|
|
|
15920
16120
|
},
|
|
15921
16121
|
"ministral-3b-latest": {
|
|
15922
16122
|
"id": "ministral-3b-latest",
|
|
15923
|
-
"name": "Ministral 3B",
|
|
16123
|
+
"name": "Ministral 3B (latest)",
|
|
15924
16124
|
"api": "openai-completions",
|
|
15925
16125
|
"provider": "mistral",
|
|
15926
16126
|
"baseUrl": "https://api.mistral.ai/v1",
|
|
@@ -15939,7 +16139,7 @@
|
|
|
15939
16139
|
},
|
|
15940
16140
|
"ministral-8b-latest": {
|
|
15941
16141
|
"id": "ministral-8b-latest",
|
|
15942
|
-
"name": "Ministral 8B",
|
|
16142
|
+
"name": "Ministral 8B (latest)",
|
|
15943
16143
|
"api": "openai-completions",
|
|
15944
16144
|
"provider": "mistral",
|
|
15945
16145
|
"baseUrl": "https://api.mistral.ai/v1",
|
|
@@ -15997,7 +16197,7 @@
|
|
|
15997
16197
|
},
|
|
15998
16198
|
"mistral-large-latest": {
|
|
15999
16199
|
"id": "mistral-large-latest",
|
|
16000
|
-
"name": "Mistral Large",
|
|
16200
|
+
"name": "Mistral Large (latest)",
|
|
16001
16201
|
"api": "openai-completions",
|
|
16002
16202
|
"provider": "mistral",
|
|
16003
16203
|
"baseUrl": "https://api.mistral.ai/v1",
|
|
@@ -16057,7 +16257,7 @@
|
|
|
16057
16257
|
},
|
|
16058
16258
|
"mistral-medium-latest": {
|
|
16059
16259
|
"id": "mistral-medium-latest",
|
|
16060
|
-
"name": "Mistral Medium",
|
|
16260
|
+
"name": "Mistral Medium (latest)",
|
|
16061
16261
|
"api": "openai-completions",
|
|
16062
16262
|
"provider": "mistral",
|
|
16063
16263
|
"baseUrl": "https://api.mistral.ai/v1",
|
|
@@ -16116,7 +16316,7 @@
|
|
|
16116
16316
|
},
|
|
16117
16317
|
"mistral-small-latest": {
|
|
16118
16318
|
"id": "mistral-small-latest",
|
|
16119
|
-
"name": "Mistral Small",
|
|
16319
|
+
"name": "Mistral Small (latest)",
|
|
16120
16320
|
"api": "openai-completions",
|
|
16121
16321
|
"provider": "mistral",
|
|
16122
16322
|
"baseUrl": "https://api.mistral.ai/v1",
|
|
@@ -16213,7 +16413,7 @@
|
|
|
16213
16413
|
},
|
|
16214
16414
|
"pixtral-large-latest": {
|
|
16215
16415
|
"id": "pixtral-large-latest",
|
|
16216
|
-
"name": "Pixtral Large",
|
|
16416
|
+
"name": "Pixtral Large (latest)",
|
|
16217
16417
|
"api": "openai-completions",
|
|
16218
16418
|
"provider": "mistral",
|
|
16219
16419
|
"baseUrl": "https://api.mistral.ai/v1",
|
|
@@ -20043,7 +20243,7 @@
|
|
|
20043
20243
|
},
|
|
20044
20244
|
"google/gemini-3.1-pro-preview": {
|
|
20045
20245
|
"id": "google/gemini-3.1-pro-preview",
|
|
20046
|
-
"name": "
|
|
20246
|
+
"name": "Gemini 3.1 Pro Preview",
|
|
20047
20247
|
"api": "openai-completions",
|
|
20048
20248
|
"provider": "nanogpt",
|
|
20049
20249
|
"baseUrl": "https://nano-gpt.com/api/v1",
|
|
@@ -20058,8 +20258,8 @@
|
|
|
20058
20258
|
"cacheRead": 0.19999999999999998,
|
|
20059
20259
|
"cacheWrite": 0.375
|
|
20060
20260
|
},
|
|
20061
|
-
"contextWindow":
|
|
20062
|
-
"maxTokens":
|
|
20261
|
+
"contextWindow": 1048000,
|
|
20262
|
+
"maxTokens": 64000,
|
|
20063
20263
|
"thinking": {
|
|
20064
20264
|
"mode": "effort",
|
|
20065
20265
|
"minLevel": "low",
|
|
@@ -23521,7 +23721,7 @@
|
|
|
23521
23721
|
},
|
|
23522
23722
|
"openai/gpt-5.2-pro": {
|
|
23523
23723
|
"id": "openai/gpt-5.2-pro",
|
|
23524
|
-
"name": "
|
|
23724
|
+
"name": "GPT-5.2-Pro",
|
|
23525
23725
|
"api": "openai-completions",
|
|
23526
23726
|
"baseUrl": "https://nano-gpt.com/api/v1",
|
|
23527
23727
|
"provider": "nanogpt",
|
|
@@ -24664,7 +24864,7 @@
|
|
|
24664
24864
|
},
|
|
24665
24865
|
"qwen3-max-2026-01-23": {
|
|
24666
24866
|
"id": "qwen3-max-2026-01-23",
|
|
24667
|
-
"name": "
|
|
24867
|
+
"name": "Qwen3 Max",
|
|
24668
24868
|
"api": "openai-completions",
|
|
24669
24869
|
"provider": "nanogpt",
|
|
24670
24870
|
"baseUrl": "https://nano-gpt.com/api/v1",
|
|
@@ -24678,8 +24878,8 @@
|
|
|
24678
24878
|
"cacheRead": 0,
|
|
24679
24879
|
"cacheWrite": 0
|
|
24680
24880
|
},
|
|
24681
|
-
"contextWindow":
|
|
24682
|
-
"maxTokens":
|
|
24881
|
+
"contextWindow": 262144,
|
|
24882
|
+
"maxTokens": 65536
|
|
24683
24883
|
},
|
|
24684
24884
|
"qwen3-vl-235b-a22b-instruct-original": {
|
|
24685
24885
|
"id": "qwen3-vl-235b-a22b-instruct-original",
|
|
@@ -27636,6 +27836,30 @@
|
|
|
27636
27836
|
"maxLevel": "high"
|
|
27637
27837
|
}
|
|
27638
27838
|
},
|
|
27839
|
+
"minimaxai/minimax-m2.5": {
|
|
27840
|
+
"id": "minimaxai/minimax-m2.5",
|
|
27841
|
+
"name": "MiniMax-M2.5",
|
|
27842
|
+
"api": "openai-completions",
|
|
27843
|
+
"provider": "nvidia",
|
|
27844
|
+
"baseUrl": "https://integrate.api.nvidia.com/v1",
|
|
27845
|
+
"reasoning": true,
|
|
27846
|
+
"input": [
|
|
27847
|
+
"text"
|
|
27848
|
+
],
|
|
27849
|
+
"cost": {
|
|
27850
|
+
"input": 0,
|
|
27851
|
+
"output": 0,
|
|
27852
|
+
"cacheRead": 0,
|
|
27853
|
+
"cacheWrite": 0
|
|
27854
|
+
},
|
|
27855
|
+
"contextWindow": 204800,
|
|
27856
|
+
"maxTokens": 131072,
|
|
27857
|
+
"thinking": {
|
|
27858
|
+
"mode": "effort",
|
|
27859
|
+
"minLevel": "minimal",
|
|
27860
|
+
"maxLevel": "high"
|
|
27861
|
+
}
|
|
27862
|
+
},
|
|
27639
27863
|
"mistralai/codestral-22b-instruct-v0.1": {
|
|
27640
27864
|
"id": "mistralai/codestral-22b-instruct-v0.1",
|
|
27641
27865
|
"name": "Codestral 22b Instruct V0.1",
|
|
@@ -31762,7 +31986,7 @@
|
|
|
31762
31986
|
},
|
|
31763
31987
|
"google/gemini-3.1-pro-preview": {
|
|
31764
31988
|
"id": "google/gemini-3.1-pro-preview",
|
|
31765
|
-
"name": "
|
|
31989
|
+
"name": "Gemini 3.1 Pro Preview",
|
|
31766
31990
|
"api": "openai-completions",
|
|
31767
31991
|
"provider": "openrouter",
|
|
31768
31992
|
"baseUrl": "https://openrouter.ai/api/v1",
|
|
@@ -31777,8 +32001,8 @@
|
|
|
31777
32001
|
"cacheRead": 0.19999999999999998,
|
|
31778
32002
|
"cacheWrite": 0.375
|
|
31779
32003
|
},
|
|
31780
|
-
"contextWindow":
|
|
31781
|
-
"maxTokens":
|
|
32004
|
+
"contextWindow": 1048000,
|
|
32005
|
+
"maxTokens": 64000,
|
|
31782
32006
|
"thinking": {
|
|
31783
32007
|
"mode": "effort",
|
|
31784
32008
|
"minLevel": "low",
|
|
@@ -32170,7 +32394,7 @@
|
|
|
32170
32394
|
"cost": {
|
|
32171
32395
|
"input": 0.27,
|
|
32172
32396
|
"output": 0.95,
|
|
32173
|
-
"cacheRead": 0.
|
|
32397
|
+
"cacheRead": 0.0290000007,
|
|
32174
32398
|
"cacheWrite": 0
|
|
32175
32399
|
},
|
|
32176
32400
|
"contextWindow": 204000,
|
|
@@ -33747,7 +33971,7 @@
|
|
|
33747
33971
|
},
|
|
33748
33972
|
"openai/gpt-5.2-pro": {
|
|
33749
33973
|
"id": "openai/gpt-5.2-pro",
|
|
33750
|
-
"name": "
|
|
33974
|
+
"name": "GPT-5.2-Pro",
|
|
33751
33975
|
"api": "openai-completions",
|
|
33752
33976
|
"baseUrl": "https://openrouter.ai/api/v1",
|
|
33753
33977
|
"provider": "openrouter",
|
|
@@ -39753,7 +39977,7 @@
|
|
|
39753
39977
|
},
|
|
39754
39978
|
"openai/gpt-5.2-pro": {
|
|
39755
39979
|
"id": "openai/gpt-5.2-pro",
|
|
39756
|
-
"name": "GPT
|
|
39980
|
+
"name": "GPT-5.2-Pro",
|
|
39757
39981
|
"api": "anthropic-messages",
|
|
39758
39982
|
"baseUrl": "https://ai-gateway.vercel.sh",
|
|
39759
39983
|
"provider": "vercel-ai-gateway",
|
|
@@ -41056,13 +41280,13 @@
|
|
|
41056
41280
|
"text"
|
|
41057
41281
|
],
|
|
41058
41282
|
"cost": {
|
|
41059
|
-
"input": 0.
|
|
41060
|
-
"output": 0.
|
|
41061
|
-
"cacheRead": 0,
|
|
41283
|
+
"input": 0.1,
|
|
41284
|
+
"output": 0.3,
|
|
41285
|
+
"cacheRead": 0.01,
|
|
41062
41286
|
"cacheWrite": 0
|
|
41063
41287
|
},
|
|
41064
41288
|
"contextWindow": 256000,
|
|
41065
|
-
"maxTokens":
|
|
41289
|
+
"maxTokens": 64000,
|
|
41066
41290
|
"thinking": {
|
|
41067
41291
|
"mode": "budget",
|
|
41068
41292
|
"minLevel": "minimal",
|
|
@@ -41945,7 +42169,7 @@
|
|
|
41945
42169
|
},
|
|
41946
42170
|
"google/gemini-3.1-pro-preview": {
|
|
41947
42171
|
"id": "google/gemini-3.1-pro-preview",
|
|
41948
|
-
"name": "
|
|
42172
|
+
"name": "Gemini 3.1 Pro Preview",
|
|
41949
42173
|
"api": "openai-completions",
|
|
41950
42174
|
"provider": "zenmux",
|
|
41951
42175
|
"baseUrl": "https://zenmux.ai/api/v1",
|
|
@@ -41960,8 +42184,8 @@
|
|
|
41960
42184
|
"cacheRead": 0.2,
|
|
41961
42185
|
"cacheWrite": 4.5
|
|
41962
42186
|
},
|
|
41963
|
-
"contextWindow":
|
|
41964
|
-
"maxTokens":
|
|
42187
|
+
"contextWindow": 1048000,
|
|
42188
|
+
"maxTokens": 64000,
|
|
41965
42189
|
"thinking": {
|
|
41966
42190
|
"mode": "effort",
|
|
41967
42191
|
"minLevel": "low",
|
|
@@ -42325,7 +42549,7 @@
|
|
|
42325
42549
|
},
|
|
42326
42550
|
"minimax/minimax-m2.5-lightning": {
|
|
42327
42551
|
"id": "minimax/minimax-m2.5-lightning",
|
|
42328
|
-
"name": "MiniMax
|
|
42552
|
+
"name": "MiniMax M2.5 highspeed",
|
|
42329
42553
|
"api": "openai-completions",
|
|
42330
42554
|
"provider": "zenmux",
|
|
42331
42555
|
"baseUrl": "https://zenmux.ai/api/v1",
|
|
@@ -42895,7 +43119,7 @@
|
|
|
42895
43119
|
},
|
|
42896
43120
|
"openai/gpt-5.2-pro": {
|
|
42897
43121
|
"id": "openai/gpt-5.2-pro",
|
|
42898
|
-
"name": "
|
|
43122
|
+
"name": "GPT-5.2-Pro",
|
|
42899
43123
|
"api": "openai-completions",
|
|
42900
43124
|
"provider": "zenmux",
|
|
42901
43125
|
"baseUrl": "https://zenmux.ai/api/v1",
|
|
@@ -42911,7 +43135,7 @@
|
|
|
42911
43135
|
"cacheWrite": 0
|
|
42912
43136
|
},
|
|
42913
43137
|
"contextWindow": 400000,
|
|
42914
|
-
"maxTokens":
|
|
43138
|
+
"maxTokens": 128000,
|
|
42915
43139
|
"thinking": {
|
|
42916
43140
|
"mode": "effort",
|
|
42917
43141
|
"minLevel": "low",
|
|
@@ -1063,7 +1063,7 @@ function detectStrictModeSupport(provider: string, baseUrl: string): boolean {
|
|
|
1063
1063
|
* Provider takes precedence over URL-based detection since it's explicitly configured.
|
|
1064
1064
|
* Returns a fully resolved OpenAICompat object with all fields set.
|
|
1065
1065
|
*/
|
|
1066
|
-
function detectCompat(model: Model<"openai-completions">): ResolvedOpenAICompat {
|
|
1066
|
+
export function detectCompat(model: Model<"openai-completions">): ResolvedOpenAICompat {
|
|
1067
1067
|
const provider = model.provider;
|
|
1068
1068
|
const baseUrl = model.baseUrl;
|
|
1069
1069
|
|
|
@@ -1071,6 +1071,7 @@ function detectCompat(model: Model<"openai-completions">): ResolvedOpenAICompat
|
|
|
1071
1071
|
const isZai = provider === "zai" || baseUrl.includes("api.z.ai");
|
|
1072
1072
|
const isOpenRouterKimi = provider === "openrouter" && model.id.includes("moonshotai/kimi");
|
|
1073
1073
|
const isAlibaba = provider === "alibaba-coding-plan" || baseUrl.includes("dashscope");
|
|
1074
|
+
const isQwen = model.id.toLowerCase().includes("qwen");
|
|
1074
1075
|
|
|
1075
1076
|
const isNonStandard =
|
|
1076
1077
|
isCerebras ||
|
|
@@ -1082,6 +1083,7 @@ function detectCompat(model: Model<"openai-completions">): ResolvedOpenAICompat
|
|
|
1082
1083
|
baseUrl.includes("deepseek.com") ||
|
|
1083
1084
|
isAlibaba ||
|
|
1084
1085
|
isZai ||
|
|
1086
|
+
isQwen ||
|
|
1085
1087
|
provider === "opencode-zen" ||
|
|
1086
1088
|
provider === "opencode-go" ||
|
|
1087
1089
|
baseUrl.includes("opencode.ai");
|
|
@@ -1103,7 +1105,7 @@ function detectCompat(model: Model<"openai-completions">): ResolvedOpenAICompat
|
|
|
1103
1105
|
requiresAssistantAfterToolResult: false, // Mistral no longer requires this as of Dec 2024
|
|
1104
1106
|
requiresThinkingAsText: isMistral,
|
|
1105
1107
|
requiresMistralToolIds: isMistral,
|
|
1106
|
-
thinkingFormat: isZai ? "zai" : isAlibaba ? "qwen" : "openai",
|
|
1108
|
+
thinkingFormat: isZai ? "zai" : isAlibaba || isQwen ? "qwen" : "openai",
|
|
1107
1109
|
reasoningContentField: "reasoning_content",
|
|
1108
1110
|
requiresReasoningContentForToolCalls: isOpenRouterKimi,
|
|
1109
1111
|
requiresAssistantContentForToolCalls: isOpenRouterKimi,
|