aimodels 0.4.7 → 0.4.9

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 (2) hide show
  1. package/dist/index.js +62 -76
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  // src/data.js
2
2
  var models = {
3
- "claude-3-opus-20240229": {
4
- "id": "claude-3-opus-20240229",
5
- "name": "Claude 3 Opus",
3
+ "claude-3-7-sonnet": {
4
+ "id": "claude-3-7-sonnet",
5
+ "name": "Claude 3.7 Sonnet",
6
6
  "license": "proprietary",
7
7
  "providerIds": [
8
8
  "anthropic",
@@ -14,23 +14,32 @@ var models = {
14
14
  "txt-in",
15
15
  "txt-out",
16
16
  "img-in",
17
- "fn-out"
17
+ "fn-out",
18
+ "reason"
18
19
  ],
19
20
  "context": {
20
21
  "type": "token",
21
22
  "total": 2e5,
22
- "maxOutput": 4096,
23
- "outputIsFixed": 1
23
+ "maxOutput": 8192,
24
+ "outputIsFixed": 1,
25
+ "extended": {
26
+ "reasoning": {
27
+ "maxOutput": 64e3
28
+ },
29
+ "experimental": {
30
+ "maxOutput": 128e3
31
+ }
32
+ }
24
33
  },
25
34
  "aliases": [
26
- "claude-3-opus-latest",
27
- "claude-3-opus"
35
+ "claude-3-7-sonnet-latest",
36
+ "claude-3-7-sonnet-20250219"
28
37
  ],
29
38
  "creatorId": "anthropic"
30
39
  },
31
- "claude-3-sonnet-20240229": {
32
- "id": "claude-3-sonnet-20240229",
33
- "name": "Claude 3 Sonnet",
40
+ "claude-3-5-sonnet": {
41
+ "id": "claude-3-5-sonnet",
42
+ "name": "Claude 3.5 Sonnet",
34
43
  "license": "proprietary",
35
44
  "providerIds": [
36
45
  "anthropic",
@@ -47,18 +56,24 @@ var models = {
47
56
  "context": {
48
57
  "type": "token",
49
58
  "total": 2e5,
50
- "maxOutput": 4096,
59
+ "maxOutput": 8192,
51
60
  "outputIsFixed": 1
52
61
  },
53
62
  "aliases": [
54
- "claude-3-sonnet-latest",
55
- "claude-3-sonnet"
63
+ "claude-3-5-sonnet-latest",
64
+ "claude-3-5-sonnet-20241022"
56
65
  ],
57
66
  "creatorId": "anthropic"
58
67
  },
59
- "claude-3-haiku-20240307": {
60
- "id": "claude-3-haiku-20240307",
61
- "name": "Claude 3 Haiku",
68
+ "claude-3-5-sonnet-20240620": {
69
+ "id": "claude-3-5-sonnet-20240620",
70
+ "name": "Claude 3.5 Sonnet (2024-06-20)",
71
+ "extends": "claude-3-5-sonnet",
72
+ "creatorId": "anthropic"
73
+ },
74
+ "claude-3-opus": {
75
+ "id": "claude-3-opus",
76
+ "name": "Claude 3 Opus",
62
77
  "license": "proprietary",
63
78
  "providerIds": [
64
79
  "anthropic",
@@ -79,13 +94,14 @@ var models = {
79
94
  "outputIsFixed": 1
80
95
  },
81
96
  "aliases": [
82
- "claude-3-haiku"
97
+ "claude-3-opus-latest",
98
+ "claude-3-opus-20240229"
83
99
  ],
84
100
  "creatorId": "anthropic"
85
101
  },
86
- "claude-3-5-sonnet-20241022": {
87
- "id": "claude-3-5-sonnet-20241022",
88
- "name": "Claude 3.5 Sonnet",
102
+ "claude-3-sonnet": {
103
+ "id": "claude-3-sonnet",
104
+ "name": "Claude 3 Sonnet",
89
105
  "license": "proprietary",
90
106
  "providerIds": [
91
107
  "anthropic",
@@ -102,18 +118,18 @@ var models = {
102
118
  "context": {
103
119
  "type": "token",
104
120
  "total": 2e5,
105
- "maxOutput": 8192,
121
+ "maxOutput": 4096,
106
122
  "outputIsFixed": 1
107
123
  },
108
124
  "aliases": [
109
- "claude-3-5-sonnet-latest",
110
- "claude-3-5-sonnet"
125
+ "claude-3-sonnet-latest",
126
+ "claude-3-sonnet-20240229"
111
127
  ],
112
128
  "creatorId": "anthropic"
113
129
  },
114
- "claude-3-5-sonnet-20240620": {
115
- "id": "claude-3-5-sonnet-20240620",
116
- "name": "Claude 3.5 Sonnet (2024-06-20)",
130
+ "claude-3-haiku": {
131
+ "id": "claude-3-haiku",
132
+ "name": "Claude 3 Haiku",
117
133
  "license": "proprietary",
118
134
  "providerIds": [
119
135
  "anthropic",
@@ -130,13 +146,17 @@ var models = {
130
146
  "context": {
131
147
  "type": "token",
132
148
  "total": 2e5,
133
- "maxOutput": 8192,
149
+ "maxOutput": 4096,
134
150
  "outputIsFixed": 1
135
151
  },
152
+ "aliases": [
153
+ "claude-3-haiku-latest",
154
+ "claude-3-haiku-20240307"
155
+ ],
136
156
  "creatorId": "anthropic"
137
157
  },
138
- "claude-3-5-haiku-20241022": {
139
- "id": "claude-3-5-haiku-20241022",
158
+ "claude-3-5-haiku": {
159
+ "id": "claude-3-5-haiku",
140
160
  "name": "Claude 3.5 Haiku",
141
161
  "license": "proprietary",
142
162
  "providerIds": [
@@ -158,44 +178,7 @@ var models = {
158
178
  },
159
179
  "aliases": [
160
180
  "claude-3-5-haiku-latest",
161
- "claude-3-5-haiku"
162
- ],
163
- "creatorId": "anthropic"
164
- },
165
- "claude-3-7-sonnet-20250219": {
166
- "id": "claude-3-7-sonnet-20250219",
167
- "name": "Claude 3.7 Sonnet",
168
- "license": "proprietary",
169
- "providerIds": [
170
- "anthropic",
171
- "aws",
172
- "google"
173
- ],
174
- "capabilities": [
175
- "chat",
176
- "txt-in",
177
- "txt-out",
178
- "img-in",
179
- "fn-out",
180
- "reason"
181
- ],
182
- "context": {
183
- "type": "token",
184
- "total": 2e5,
185
- "maxOutput": 8192,
186
- "outputIsFixed": 1,
187
- "extended": {
188
- "reasoning": {
189
- "maxOutput": 64e3
190
- },
191
- "experimental": {
192
- "maxOutput": 128e3
193
- }
194
- }
195
- },
196
- "aliases": [
197
- "claude-3-7-sonnet-latest",
198
- "claude-3-7-sonnet"
181
+ "claude-3-5-haiku-20241022"
199
182
  ],
200
183
  "creatorId": "anthropic"
201
184
  },
@@ -1280,14 +1263,10 @@ var models = {
1280
1263
  "total": 128e3,
1281
1264
  "maxOutput": 16384
1282
1265
  },
1283
- "creatorId": "openai"
1284
- },
1285
- "chatgpt-4o-latest": {
1286
- "id": "chatgpt-4o-latest",
1287
- "extends": "gpt-4o",
1288
- "overrides": {
1289
- "name": "GPT-4o used in ChatGPT"
1290
- },
1266
+ "aliases": [
1267
+ "chatgpt-4o-latest",
1268
+ "gpt-4o-2024-08-06"
1269
+ ],
1291
1270
  "creatorId": "openai"
1292
1271
  },
1293
1272
  "gpt-4o-2024-11-20": {
@@ -1311,6 +1290,13 @@ var models = {
1311
1290
  "extends": "gpt-4o",
1312
1291
  "overrides": {
1313
1292
  "name": "GPT-4o (2024-05-13)",
1293
+ "capabilities": [
1294
+ "chat",
1295
+ "txt-in",
1296
+ "txt-out",
1297
+ "img-in",
1298
+ "fn-out"
1299
+ ],
1314
1300
  "context": {
1315
1301
  "type": "token",
1316
1302
  "total": 128e3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aimodels",
3
- "version": "0.4.7",
3
+ "version": "0.4.9",
4
4
  "description": "A collection of AI model specifications across different providers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",